svn commit: r306866 - in head/security/smtpscan: . files
Pawel Pekala
pawel at FreeBSD.org
Fri Nov 2 16:01:38 UTC 2012
Author: pawel
Date: Fri Nov 2 16:01:37 2012
New Revision: 306866
URL: http://svn.freebsd.org/changeset/ports/306866
Log:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Switch to PLIST_FILES
PR: ports/172250
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Feature safe: yes
Deleted:
head/security/smtpscan/files/
head/security/smtpscan/pkg-plist
Modified:
head/security/smtpscan/Makefile
head/security/smtpscan/pkg-descr
Modified: head/security/smtpscan/Makefile
==============================================================================
--- head/security/smtpscan/Makefile Fri Nov 2 15:59:33 2012 (r306865)
+++ head/security/smtpscan/Makefile Fri Nov 2 16:01:37 2012 (r306866)
@@ -1,24 +1,45 @@
-# New ports collection makefile for: smtpscan
-# Date created: 1 decembre 2002
-# Whom: Hubert Tournier <hubert at frbsd.org>
-#
+# Created by: Hubert Tournier <hubert at frbsd.org>
# $FreeBSD$
-#
PORTNAME= smtpscan
PORTVERSION= 0.5
PORTREVISION= 2
CATEGORIES= security mail perl5
-MASTER_SITES= http://www.frbsd.org/dist/
+MASTER_SITES= PACKETSTORM/UNIX/scanners \
+ http://www.frbsd.org/dist/
MAINTAINER= ports at FreeBSD.org
-COMMENT= A remote SMTP server version detector
+COMMENT= Remote SMTP server version detector
+
+LICENSE= GPLv2
RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
-USE_PERL5= yes
-MAN1= smtpscan.1
-MAKEFILE=${FILESDIR}/Makefile
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}
+NO_BUILD= yes
+
+USE_PERL5_RUN= yes
+
+MAN1= smtpscan.1
+PLIST_FILES= bin/smtpscan \
+ %%DATADIR%%/fingerprints \
+ %%DATADIR%%/tests
+PLIST_DIRS= %%DATADIR%%
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^#!.*|#!${PERL}| ; \
+ s|/usr/local/share|${PREFIX}/share| ; \
+ s|@VERSION@|${PORTVERSION}|' ${WRKSRC}/src/smtpscan
+ @${REINPLACE_CMD} -e \
+ 's|@VERSION@|${PORTVERSION}| ; \
+ s|@prefix@|${PREFIX}/share|' ${WRKSRC}/docs/man/smtpscan.1
+
+do-install:
+ (cd ${WRKSRC}/src && ${INSTALL_SCRIPT} smtpscan ${PREFIX}/bin)
+ (cd ${WRKSRC}/docs/man \
+ && ${INSTALL_MAN} smtpscan.1 ${MANPREFIX}/man/man1)
+ @${MKDIR} ${DATADIR}
+ (cd ${WRKSRC}/src && ${INSTALL_SCRIPT} fingerprints tests ${DATADIR})
.include <bsd.port.mk>
Modified: head/security/smtpscan/pkg-descr
==============================================================================
--- head/security/smtpscan/pkg-descr Fri Nov 2 15:59:33 2012 (r306865)
+++ head/security/smtpscan/pkg-descr Fri Nov 2 16:01:37 2012 (r306866)
@@ -1,5 +1,5 @@
-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 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.
-WWW: http://www.bordet.info/dc/
+WWW: http://packetstormsecurity.org/UNIX/scanners/
More information about the svn-ports-all
mailing list