diff --git a/security/gag/Makefile b/security/gag/Makefile index 1b0a5d34c3b0..a7ab9c203a72 100644 --- a/security/gag/Makefile +++ b/security/gag/Makefile @@ -1,26 +1,28 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= gag PORTVERSION= 2.9 CATEGORIES= security MASTER_SITES= http://staff.washington.edu/dittrich/misc/ DISTNAME= sickenscan EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Stacheldraht (DOS attack) agent detector ALL_TARGET= gag PORTDOCS= README PLIST_FILES= sbin/gag OPTIONS_DEFINE= DOCS do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/gag/files/patch-Makefile b/security/gag/files/patch-Makefile index e4bf647e6c48..ef1fe1912134 100644 --- a/security/gag/files/patch-Makefile +++ b/security/gag/files/patch-Makefile @@ -1,21 +1,21 @@ ---- Makefile.orig Mon Jan 10 13:13:12 2000 -+++ Makefile Mon May 12 15:15:36 2003 +--- Makefile.orig 2000-01-10 21:13:12 UTC ++++ Makefile @@ -1,7 +1,7 @@ -CFLAGS= +#CFLAGS= # For Solaris 2.5.1 and above, uncomment the following line. -LIBS=-lresolv -lsocket -lnsl +#LIBS=-lresolv -lsocket -lnsl default: @clear -@@ -11,7 +11,7 @@ +@@ -11,7 +11,7 @@ default: @echo "to suit your operating system, then use 'make gag'" gag: gag.o - $(CC) -o gag gag.c $(LIBS) + $(CC) -o gag gag.o $(LIBS) # This assumes the source is in a directory named "sickenscan". tar: sickenscan.tar diff --git a/security/gag/files/patch-gag.c b/security/gag/files/patch-gag.c index ae425a84ee05..1ef4a13487b9 100644 --- a/security/gag/files/patch-gag.c +++ b/security/gag/files/patch-gag.c @@ -1,22 +1,22 @@ ---- gag.c.orig Mon May 12 15:15:07 2003 -+++ gag.c Mon May 12 15:15:09 2003 +--- gag.c.orig 2000-01-10 21:03:15 UTC ++++ gag.c @@ -16,8 +16,7 @@ * */ -#if YOU_HAVE_NOT_READ_THIS_YET - +/* This software should only be used in compliance with all applicable laws and the policies and preferences of the owners of any networks, systems, or hosts scanned with the software -@@ -34,8 +33,7 @@ +@@ -34,8 +33,7 @@ WASHINGTON BE LIABLE FOR ANY SPECIAL, IN DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -#endif +*/ #define GAG "gesundheit!" #define VERSION "$Revision: 2.9 $"