ports/160145: Update port: security/pxytest
KATO Tsuguru
tkato432 at yahoo.com
Wed Aug 24 18:50:38 UTC 2011
>Number: 160145
>Category: ports
>Synopsis: Update port: security/pxytest
>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: Wed Aug 24 18:50:37 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/security/pxytest/Makefile security/pxytest/Makefile
--- /usr/ports/security/pxytest/Makefile 2011-08-03 15:47:16.000000000 +0900
+++ security/pxytest/Makefile 2011-08-25 02:53:41.000000000 +0900
@@ -8,31 +8,32 @@
PORTNAME= pxytest
PORTVERSION= 1.36
CATEGORIES= security
-MASTER_SITES= http://www.unicom.com/sw/pxytest/
-DISTNAME= ${PORTNAME}
-EXTRACT_SUFX=
-EXTRACT_ONLY= # defined
+MASTER_SITES= http://www.unicom.com/files/
+EXTRACT_SUFX= .gz
MAINTAINER= ports at FreeBSD.org
COMMENT= Test remote system for unsecured mail proxies
-BROKEN= does not fetch
-
-USE_PERL5= yes
+EXTRACT_CMD= ${GZIP_CMD}
+EXTRACT_BEFORE_ARGS= -dc
+EXTRACT_AFTER_ARGS= > ${WRKDIR}/${PORTNAME}
NO_WRKSUBDIR= yes
+USE_PERL5_RUN= yes
+
MAN1= pxytest.1
PLIST_FILES= bin/pxytest
-pre-patch:
- @${SED} '1s:^#!/usr/bin/perl:#!${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/pxytest
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's:^#!.*:#!${PERL}:' ${WRKSRC}/${PORTNAME}
do-build:
- @pod2man ${WRKSRC}/pxytest > ${WRKSRC}/pxytest.1
+ @cd ${WRKSRC} && pod2man ${PORTNAME} > ${PORTNAME}.1
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/pxytest ${PREFIX}/bin/
- @${INSTALL_MAN} ${WRKSRC}/pxytest.1 ${PREFIX}/man/man1/
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff -urN /usr/ports/security/pxytest/distinfo security/pxytest/distinfo
--- /usr/ports/security/pxytest/distinfo 2011-07-04 02:13:36.000000000 +0900
+++ security/pxytest/distinfo 2011-08-22 16:39:02.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (pxytest) = a86a15f1684091e95c1afadc8bfb40d6bd54e20af6364bfdc697938aa94715c9
-SIZE (pxytest) = 48040
+SHA256 (pxytest-1.36.gz) = bdcd2d1f8260c6cfd3db6f32188b79732533c1b31160f2ad7e8341c6c0ca67a1
+SIZE (pxytest-1.36.gz) = 16766
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list