diff options
author | erwin <erwin@FreeBSD.org> | 2003-06-13 19:51:29 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-06-13 19:51:29 +0800 |
commit | 401717f7f049051f383042891be58498473c81d0 (patch) | |
tree | 4fa5e62ef75fdf5c84f16036ba76ce5049049367 /mail/rlytest | |
parent | efafabe6a7dc2d48cb2c31cab94d6db5efe370e8 (diff) | |
download | freebsd-ports-gnome-401717f7f049051f383042891be58498473c81d0.tar.gz freebsd-ports-gnome-401717f7f049051f383042891be58498473c81d0.tar.zst freebsd-ports-gnome-401717f7f049051f383042891be58498473c81d0.zip |
Cleanup
Nasty perl dependencies, obsolete dist URL
PR: 53277
Submitted by: maintainer
Diffstat (limited to 'mail/rlytest')
-rw-r--r-- | mail/rlytest/Makefile | 21 | ||||
-rw-r--r-- | mail/rlytest/pkg-descr | 9 | ||||
-rw-r--r-- | mail/rlytest/pkg-message | 18 |
3 files changed, 13 insertions, 35 deletions
diff --git a/mail/rlytest/Makefile b/mail/rlytest/Makefile index 5fcfcf8c064a..0c84530f963a 100644 --- a/mail/rlytest/Makefile +++ b/mail/rlytest/Makefile @@ -11,28 +11,25 @@ CATEGORIES= mail security MASTER_SITES= http://www.unicom.com/sw/rlytest/ DISTNAME= ${PORTNAME} EXTRACT_SUFX= -EXTRACT_ONLY= # defined +EXTRACT_ONLY= # defined -MAINTAINER= paul@it.ca -COMMENT= Test an SMTP host for third-party relay +MAINTAINER= paul+ports@it.ca +COMMENT= Test remote system for unsecured mail relay USE_PERL5= yes -NO_WRKSUBDIR= yes +NO_WRKSUBDIR= yes -MAN1= rlytest.1 +MAN1= rlytest.1 pre-patch: - perl -pe 's,^#!/usr/local/bin/perl$$,#!/usr/bin/perl,' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/rlytest + @${SED} '1s:^#!/usr/local/bin/perl:#!${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/rlytest do-build: - pod2man ${WRKSRC}/rlytest > ${WRKSRC}/rlytest.1 + @pod2man ${WRKSRC}/rlytest > ${WRKSRC}/rlytest.1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/rlytest ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/rlytest.1 ${PREFIX}/man/man1/ - -post-install: - ${CAT} ${PKGMESSAGE} + @${INSTALL_SCRIPT} ${WRKSRC}/rlytest ${PREFIX}/bin/ + @${INSTALL_MAN} ${WRKSRC}/rlytest.1 ${PREFIX}/man/man1/ .include <bsd.port.mk> diff --git a/mail/rlytest/pkg-descr b/mail/rlytest/pkg-descr index c018ac2c8bb0..1925fab72e4c 100644 --- a/mail/rlytest/pkg-descr +++ b/mail/rlytest/pkg-descr @@ -6,11 +6,10 @@ relay massive amounts of junk email. A host that allows third-party relay should IMMEDIATELY be secured, disconnected, or shunned as a menace to the Internet. -See http://www.unicom.com/sw/#rlytest for mor information. +See http://www.unicom.com/sw/rlytest for more information. -rlytest was written by Chip Rosenthal, and is featured at -http://maps.vix.com/tsi/ and http://www.badrelay.org/. +pxytest was written by Chip Rosenthal. -- Paul Chvostek <paul@it.ca> +- Paul Chvostek <paul+ports@it.ca> -WWW: http://www.unicom.com/sw/#rlytest +WWW: http://www.unicom.com/sw/rlytest diff --git a/mail/rlytest/pkg-message b/mail/rlytest/pkg-message deleted file mode 100644 index 898425a4b109..000000000000 --- a/mail/rlytest/pkg-message +++ /dev/null @@ -1,18 +0,0 @@ - -NOTE: If you wish to make easier use of the rlytest program from within -scripts, you might want to modify the exit codes it uses. Line 122 of -the script contains the exit code used if the relay was accepted (bad), -and line 165 contains the exit code used if the relay was rejected -(good). The original author has expressed a wish that his code not be -modified automatically in this way by this distribution, but if you wish -to modify your local copy, you should feel free to do so. - -If you just change the "0" line line 122 to a "1", then in shell scripts -you'll be able to use constructs like: - - if /usr/local/bin/rlytest $hostname >/dev/null 2>/dev/null ; then - echo "$hostname is good" - else - echo "$hostname is evil" - fi - |