diff --git a/security/smtpscan/Makefile b/security/smtpscan/Makefile index e4228a9f92b..a63aafff648 100644 --- a/security/smtpscan/Makefile +++ b/security/smtpscan/Makefile @@ -1,11 +1,12 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2003/04/19 20:31:55 sturm Exp $ +# $OpenBSD: Makefile,v 1.1.1.2 2003/04/20 16:04:58 pvalchev Exp $ -COMMENT= "remote SMTP server detection" +COMMENT= "Remote SMTP Server Detection" VERSION= 0.4 DISTNAME= smtpscan-${VERSION} CATEGORIES= security net mail +HOMEPAGE= http://www.greyhats.org/outils/smtpscan/ MAINTAINER= Jim Geovedi # GPL2 @@ -17,21 +18,22 @@ PERMIT_DISTFILES_FTP= Yes MASTER_SITES= http://www.greyhats.org/outils/smtpscan/ \ ${MASTER_SITE_PACKETSTORM:=UNIX/scanners/} -RUN_DEPENDS= :p5-Net-DNS-*:net/p5-Net-DNS +BUILD_DEPENDS= :p5-Net-DNS-*:net/p5-Net-DNS +RUN_DEPENDS= ${BUILD_DEPENDS} NO_BUILD= Yes NO_REGRESS= Yes WRKDIST= ${WRKDIR}/smtpscan -post-patch: - @perl -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/src/smtpscan - @perl -pi -e 's|\@prefix\@|${PREFIX}/share|g' \ +do-install: + @perl -pi -e 's|/usr/local|${TRUEPREFIX}|g' ${WRKSRC}/src/smtpscan + @perl -pi -e 's|\@prefix\@|${TRUEPREFIX}/share|g' \ ${WRKSRC}/docs/man/smtpscan.1 @perl -pi -e 's|\@VERSION\@|${VERSION}|g' ${WRKSRC}/src/smtpscan \ ${WRKSRC}/docs/man/smtpscan.1 - -do-install: + ${INSTALL_SCRIPT_DIR} ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/src/smtpscan ${PREFIX}/bin + ${INSTALL_MAN_DIR} ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/man/smtpscan.1 ${PREFIX}/man/man1 ${INSTALL_DATA_DIR} ${PREFIX}/share/smtpscan ${INSTALL_DATA} ${WRKSRC}/src/fingerprints ${PREFIX}/share/smtpscan diff --git a/security/smtpscan/pkg/DESCR b/security/smtpscan/pkg/DESCR index f41fc0ee00b..9bac355d642 100644 --- a/security/smtpscan/pkg/DESCR +++ b/security/smtpscan/pkg/DESCR @@ -2,10 +2,12 @@ smtpscan is a remote SMTP server version detector. It can be used to guess which mail software is used on a remote server, that may hide its SMTP banner. -smtpscan works by testing the remote SMTP server's reaction on different -tests defined in ${PREFIX}/share/smtpscan/tests. Almost all of these tests -consist of weird SMTP requests, whose answer is not precisely defined in -the corresponding RFCs. Some other times, they check whether the remote -SMTP server is simply RFC compliant. After each test, the remote server -returns an SMTP Error Message. Fingerprints are made of SMTP Error Messages -corresponding to the tests. +smtpscan works by testing the remote SMTP server reaction, thanks to +tests defined in the tests (${PREFIX}/share/smtpscan/tests) file. Almost +all of those tests consists in weird SMTP request, whose answer is not +precisely defined in the corresponding RFCs. Some other times, they check +whether the remote SMTP server is simply RFC compliant. After each test, +remote server returns a SMTP Error Message. Fingerprints are made of +SMTP Error Messages corresponding to the tests. + +WWW: ${HOMEPAGE}