ports/157149: [MAINTAINER] databases/tuning-primer: Resolve file fetching issue
Joe Horn
joehorn at gmail.com
Wed May 18 13:20:10 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list