ports/52200: [maintainer update] fix fetch and Perl location for net/hinfo
Mark Linimon
linimon at lonesome.com
Wed May 14 02:30:06 UTC 2003
>Number: 52200
>Category: ports
>Synopsis: [maintainer update] fix fetch and Perl location for net/hinfo
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 13 19:30:04 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Mark Linimon
>Release: FreeBSD-4.7
>Organization:
FreeBSD
>Environment:
System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root at lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
1. The actual MASTER_SITE where the tarball resides is not
reachable by the FreeBSD build machines. Grr. (distfile survey)
2. The applied patch did not account for perl not being in
the default location. (Thanks to Piet Delport <pjd at 303.za.net>
for the catch and the fix.)
>How-To-Repeat:
make install
>Fix:
--- hinfo/Makefile.dist Sun Apr 13 20:09:58 2003
+++ hinfo/Makefile Tue May 13 21:23:48 2003
@@ -8,8 +8,10 @@
PORTNAME= hinfo
PORTVERSION= 1.0
CATEGORIES= net perl5
-MASTER_SITES= http://www.blars.org/ \
- http://www.lonesome.com/FreeBSD/distfiles/
+# note: the "true" MASTER_SITE is http://www.blars.org, but
+# due to policies on that site, it is not reachable from the
+# FreeBSD build machines.
+MASTER_SITES= http://www.lonesome.com/FreeBSD/distfiles/
MAINTAINER= linimon at lonesome.com
COMMENT= Utility primarily designed to find the owner of an IP block
@@ -34,7 +36,7 @@
# already be patched for you.
post-extract:
.for file in ${HINFO_SCRIPTS}
- ${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' ${WRKSRC}/${file}
+ ${REINPLACE_CMD} -E '1s|^#!.+|#!${PERL}|' ${WRKSRC}/${file}
.endfor
do-install:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list