diff options
author | recht <recht@pkgsrc.org> | 2003-10-05 18:13:00 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2003-10-05 18:13:00 +0000 |
commit | 16a8a5497e57594d56341ef1c8be67757ebdeb9e (patch) | |
tree | 9f16c9b36495e2c3a1cedd0b79b6ddda27aa7efc /security | |
parent | b84c77b2b591f1fb61054f7a4d2900b8db858b61 (diff) | |
download | pkgsrc-16a8a5497e57594d56341ef1c8be67757ebdeb9e.tar.gz |
1) Solaris (and others) require libpcap from pkgsrc. Use buildlink2
2) Fix the SunOS makefile, which isn't complete. Tidy up while here.
3) Re-order COMMENT/HOMEPAGE to appease pkglint.
provided by Jonathan Perkin in PR 22916.
Diffstat (limited to 'security')
-rw-r--r-- | security/p0f/Makefile | 5 | ||||
-rw-r--r-- | security/p0f/distinfo | 3 | ||||
-rw-r--r-- | security/p0f/patches/patch-ad | 30 |
3 files changed, 35 insertions, 3 deletions
diff --git a/security/p0f/Makefile b/security/p0f/Makefile index a51993a7248..6d70ea2028c 100644 --- a/security/p0f/Makefile +++ b/security/p0f/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/10/01 23:43:16 itojun Exp $ +# $NetBSD: Makefile,v 1.9 2003/10/05 18:13:00 recht Exp $ # DISTNAME= p0f @@ -8,8 +8,8 @@ MASTER_SITES= http://lcamtuf.coredump.cx/ EXTRACT_SUFX= .tgz MAINTAINER= dawszy@arhea.net -COMMENT= Passive OS fingerprinting tool HOMEPAGE= http://lcamtuf.coredump.cx/p0f.shtml +COMMENT= Passive OS fingerprinting tool USE_BUILDLINK2= yes USE_PKGINSTALL= yes @@ -42,4 +42,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/p0fr.fp ${PREFIX}/share/examples/p0f ${INSTALL_MAN} ${WRKSRC}/p0f.1 ${PREFIX}/man/man1 +.include "../../net/libpcap/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/p0f/distinfo b/security/p0f/distinfo index 6ae47cd8f02..35feaa7f183 100644 --- a/security/p0f/distinfo +++ b/security/p0f/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.8 2003/10/01 23:43:16 itojun Exp $ +$NetBSD: distinfo,v 1.9 2003/10/05 18:13:00 recht Exp $ SHA1 (p0f-2.0.2/p0f.tgz) = 3d863d7a669a3041af46ac4a9a84ec0ca6a30f1d Size (p0f-2.0.2/p0f.tgz) = 74524 bytes SHA1 (patch-aa) = 370fa780873e606697acbc21c9fc9fdce81f6ab6 SHA1 (patch-ab) = 6bf3c0997a303ec8de7f25a483c830d368d5c1a2 SHA1 (patch-ac) = 4e7e07910c848a8e4505a202e7fee51e46e06078 +SHA1 (patch-ad) = 692d3f3f2c8bd9071764c0c973cdd91d87bf5f1f diff --git a/security/p0f/patches/patch-ad b/security/p0f/patches/patch-ad new file mode 100644 index 00000000000..cc15218b8a5 --- /dev/null +++ b/security/p0f/patches/patch-ad @@ -0,0 +1,30 @@ +$NetBSD: patch-ad,v 1.1 2003/10/05 18:13:00 recht Exp $ + +--- mk/SunOS~ 2003-09-19 20:04:06.000000000 +0200 ++++ mk/SunOS 2003-10-05 20:06:00.000000000 +0200 +@@ -5,9 +5,9 @@ + # (C) Copyright 2000-2003 by Michal Zalewski <lcamtuf@coredump.cx> + # + +-CC = gcc +-LIBS = -lpcap -I/opt/local/include -L/opt/local/lib -lsocket -lnsl +-CFLAGS = -O3 -Wall -fomit-frame-pointer -funroll-loops ++#CC = gcc ++LIBS = $(LDFLAGS) -lpcap -lsocket -lnsl ++#CFLAGS = -O3 -Wall -fomit-frame-pointer -funroll-loops + FILE = p0f + + all: $(FILE) +@@ -17,10 +17,10 @@ + static: $(FILE)-static + + $(FILE): $(FILE).c +- $(CC) $(CFLAGS) -o $@ $(FILE).c $(LIBS) ++ $(CC) $(CFLAGS) -o $@ $(FILE).c $(FILE)-query.c $(LIBS) + + $(FILE)-static: $(FILE).c +- $(CC) -static $(CFLAGS) -o $@ $(FILE).c $(LIBS) ++ $(CC) -static $(CFLAGS) -o $@ $(FILE).c $(FILE)-query.c $(LIBS) + + p0fq: test/p0fq + |