ports/160125: Update port: mail/rlytest

KATO Tsuguru tkato432 at yahoo.com
Wed Aug 24 18:50:30 UTC 2011


>Number:         160125
>Category:       ports
>Synopsis:       Update port: mail/rlytest
>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:29 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/mail/rlytest/Makefile mail/rlytest/Makefile
--- /usr/ports/mail/rlytest/Makefile	2011-08-03 15:38:41.000000000 +0900
+++ mail/rlytest/Makefile	2011-08-25 02:53:20.000000000 +0900
@@ -8,31 +8,31 @@
 PORTNAME=	rlytest
 PORTVERSION=	1.22
 CATEGORIES=	mail security
-MASTER_SITES=	http://www.unicom.com/sw/rlytest/
-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 relay
 
-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=		rlytest.1
 PLIST_FILES=	bin/rlytest
 
-pre-patch:
-	@${SED} '1s:^#!/usr/local/bin/perl:#!${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/rlytest
+post-patch:
+	@${REINPLACE_CMD} -e 's|^#!.*|#!${PERL}|' ${WRKSRC}/${PORTNAME}
 
 do-build:
-	@pod2man ${WRKSRC}/rlytest > ${WRKSRC}/rlytest.1
+	@cd ${WRKSRC} && pod2man ${PORTNAME} > ${PORTNAME}.1
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/rlytest ${PREFIX}/bin/
-	@${INSTALL_MAN} ${WRKSRC}/rlytest.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/mail/rlytest/distinfo mail/rlytest/distinfo
--- /usr/ports/mail/rlytest/distinfo	2011-07-04 02:08:39.000000000 +0900
+++ mail/rlytest/distinfo	2011-08-22 04:21:20.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (rlytest) = 36eccdaa983a2a51e45ce77135920f11834ec28ef09cdb0af051712366316a7b
-SIZE (rlytest) = 10278
+SHA256 (rlytest-1.22.gz) = e9897acb931ebfd78c9d0a3c46e281333712f32b4ad9efe5583c6a9f08fbc8c4
+SIZE (rlytest-1.22.gz) = 4378
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list