Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2011 21:11:26 +0800 (CST)
From:      Joe Horn <joehorn@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/157149: [MAINTAINER] databases/tuning-primer: Resolve file fetching issue
Message-ID:  <20110518131126.B33C94DFC24@Leo.mi.chu.edu.tw>
Resent-Message-ID: <201105181320.p4IDKA6o088087@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157149
>Category:       ports
>Synopsis:       [MAINTAINER] databases/tuning-primer: Resolve file fetching issue
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 18 13:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sat Feb 19 03:10:57 CST 2011
>Description:
- If MASTER_SITE_BACKUP was defined, DISTNAME without version number will be a problem while fetching
- Bump PORTREVISION

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
Define MASTER_SITE_BACKUP , then execute the following command :

# cd /usr/ports/databases/tuning-primer && make

>Fix:

--- tuning-primer-1.6.r0_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/tuning-primer/Makefile /home/admin/joehorn/tuning-primer/Makefile
--- /usr/ports/databases/tuning-primer/Makefile	2011-05-18 16:17:48.000000000 +0800
+++ /home/admin/joehorn/tuning-primer/Makefile	2011-05-18 21:03:31.000000000 +0800
@@ -7,10 +7,10 @@
 
 PORTNAME=	tuning-primer
 PORTVERSION=	1.6.r0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases
-MASTER_SITES=	http://launchpadlibrarian.net/71733465/
-DISTNAME=	${PORTNAME}.sh
+MASTER_SITES=	http://mirror.joehorn.idv.tw/${PORTNAME}/
+DISTNAME=	${PORTNAME}-${PORTVERSION}.sh
 EXTRACT_SUFX=
 EXTRACT_ONLY=
 
@@ -25,7 +25,7 @@
 PLIST_FILES=	bin/${PORTNAME}
 
 do-install:
-	@${CP} ${DISTDIR}/${PORTNAME}.sh \
+	@${CP} ${DISTDIR}/${PORTNAME}-${PORTVERSION}.sh \
 		${PREFIX}/bin/${PORTNAME}
 	@${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}
 	@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}' \
diff -ruN --exclude=CVS /usr/ports/databases/tuning-primer/distinfo /home/admin/joehorn/tuning-primer/distinfo
--- /usr/ports/databases/tuning-primer/distinfo	2011-05-18 16:17:48.000000000 +0800
+++ /home/admin/joehorn/tuning-primer/distinfo	2011-05-18 21:03:35.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (tuning-primer.sh) = 9e0e0bde78d830285c8b996af91ce7a12a0f2daf2c58bc6635e00f368b6af837
-SIZE (tuning-primer.sh) = 50243
+SHA256 (tuning-primer-1.6.r0.sh) = 9e0e0bde78d830285c8b996af91ce7a12a0f2daf2c58bc6635e00f368b6af837
+SIZE (tuning-primer-1.6.r0.sh) = 50243
--- tuning-primer-1.6.r0_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110518131126.B33C94DFC24>