summaryrefslogtreecommitdiffstats
path: root/security/labrea/Makefile
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-12-19 08:22:45 +0000
committerwill <will@FreeBSD.org>2001-12-19 08:22:45 +0000
commit17c9f294ea2b2aee23ed073d8bd87af4676f9024 (patch)
treedfc37c025d0b02eb8fcc2d07167041df017e8010 /security/labrea/Makefile
parent48e590443755c39e7c3ca243d91407291a954c14 (diff)
downloadFreeBSD-ports-17c9f294ea2b2aee23ed073d8bd87af4676f9024.zip
FreeBSD-ports-17c9f294ea2b2aee23ed073d8bd87af4676f9024.tar.gz
Add labrea 2.3, a defense mechanism against CodeRed.
PR: 31082 Submitted by: nick@rogness.net
Diffstat (limited to 'security/labrea/Makefile')
-rw-r--r--security/labrea/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/security/labrea/Makefile b/security/labrea/Makefile
new file mode 100644
index 0000000..798b32a
--- /dev/null
+++ b/security/labrea/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: LaBrea
+# Date created: 20 September 2001
+# Whom: nick@rogness.net
+#
+# $FreeBSD$
+##
+
+PORTNAME= LaBrea
+PORTVERSION= 2.3
+CATEGORIES= security
+MASTER_SITES= http://www.hackbusters.net/LaBrea/
+DISTNAME= LaBrea${PORTVERSION:S/./_/g}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= nick@rogness.net
+
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+
+WRKSRC= ${WRKDIR}/LaBrea
+ALL_TARGET= LaBrea
+
+pre-build:
+ ${PERL} -pi -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g;\
+ s@LOCALBASE=/usr/local@LOCALBASE=${LOCALBASE}@g" \
+ ${WRKSRC}/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/LaBrea
+ ${INSTALL_MAN} ${WRKSRC}/LaBrea.README ${PREFIX}/share/doc/LaBrea
+ @echo "******************************************"
+ @echo "You will need to read the LaBrea.README in"
+ @echo "${PREFIX}/share/doc/LaBrea"
+ @echo "Before your run this!!"
+ @echo "******************************************"
+ @echo .
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud