aboutsummaryrefslogtreecommitdiff
path: root/security/unicornscan/Makefile
diff options
context:
space:
mode:
authorNiels Heinen <niels@FreeBSD.org>2005-01-11 10:24:37 +0000
committerNiels Heinen <niels@FreeBSD.org>2005-01-11 10:24:37 +0000
commite67b0f6574993db814be6a937bc97a567484aae7 (patch)
tree6d2a575cb5158e800750dd59dda1687d6dbcc0b2 /security/unicornscan/Makefile
parentde6f1f7952fcec6edb3982eb2bb20b34ea702ab7 (diff)
downloadports-e67b0f6574993db814be6a937bc97a567484aae7.tar.gz
ports-e67b0f6574993db814be6a937bc97a567484aae7.zip
Notes
Diffstat (limited to 'security/unicornscan/Makefile')
-rw-r--r--security/unicornscan/Makefile64
1 files changed, 64 insertions, 0 deletions
diff --git a/security/unicornscan/Makefile b/security/unicornscan/Makefile
new file mode 100644
index 000000000000..723fd609f70c
--- /dev/null
+++ b/security/unicornscan/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: unicornscan
+# Date created: 4 October 2004
+# Whom: cykyc
+#
+# $FreeBSD$
+#
+
+PORTNAME= unicornscan
+PORTVERSION= 0.4.2
+CATEGORIES= security
+MASTER_SITES= http://www.dyadsecurity.com/unicornscan/
+
+MAINTAINER= cykyc@yahoo.com
+COMMENT= Next-generation of udpscan plus a high-speed TCP scanner
+
+BUILD_DEPENDS= ${LOCALBASE}/include/libnet/libnet-types.h:${PORTSDIR}/net/libnet-devel
+
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+MAN1= unicornscan.1
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+post-patch:
+.for text in pkg-message
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
+ ${PKGDIR}/${text} >${WRKDIR}/${text}
+.endfor
+
+do-install:
+ ${MKDIR} ${PREFIX}/etc/unicornscan
+ ${MKDIR} ${PREFIX}/libexec/unicornscan/modules
+ ${MKDIR} ${PREFIX}/share/unicornscan
+ ${MKDIR} ${PREFIX}/var/unicornscan
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/unicornscan ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/tools/fantaip ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/scan_progs/unisend ${PREFIX}/libexec/unicornscan
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/scan_progs/unilisten ${PREFIX}/libexec/unicornscan
+ ${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/etc|' \
+ ${WRKSRC}/fconf/unicorn.conf
+ for confs in ${WRKSRC}/fconf/*.conf; do\
+ ${INSTALL_DATA} $$confs ${PREFIX}/etc/unicornscan/`basename $$confs`.sample ;\
+ done
+ ${INSTALL_DATA} ${WRKSRC}/fconf/port-numbers ${PREFIX}/share/unicornscan
+ for mods in ${WRKSRC}/src/payload_modules/*.so; do\
+ ${INSTALL_PROGRAM} $$mods ${PREFIX}/libexec/unicornscan/modules/ ;\
+ done
+ for mods in ${WRKSRC}/src/report_modules/shlibs/*.so; do\
+ ${INSTALL_PROGRAM} $$mods ${PREFIX}/libexec/unicornscan/modules/ ;\
+ done
+ for pofs in p0f.fp p0fa.fp p0fr.fp; do\
+ ${INSTALL_DATA} ${WRKSRC}/src/report_modules/p0f/$$pofs ${PREFIX}/share/unicornscan/ ;\
+ done
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/report_modules/shlibs/libp0f.so \
+ ${PREFIX}/libexec/unicornscan/modules/
+ ${INSTALL_MAN} ${WRKSRC}/docs/unicornscan.1 ${PREFIX}/man/man1/
+ for files in LICENSE README misc/UDP_PAYLOADS_NEEDED \
+ TODO_BUGSTOFIX README.database; do\
+ ${INSTALL_DATA} ${WRKSRC}/$$files ${PREFIX}/share/unicornscan/ ;\
+ done
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>