pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/p0f 1) Solaris (and others) require libpcap f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3699d173ac1a
branches: trunk
changeset: 462592:3699d173ac1a
user: recht <recht%pkgsrc.org@localhost>
date: Sun Oct 05 18:13:00 2003 +0000
description:
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:
security/p0f/Makefile | 5 +++--
security/p0f/distinfo | 3 ++-
security/p0f/patches/patch-ad | 30 ++++++++++++++++++++++++++++++
3 files changed, 35 insertions(+), 3 deletions(-)
diffs (72 lines):
diff -r 394f1e3195b6 -r 3699d173ac1a security/p0f/Makefile
--- a/security/p0f/Makefile Sun Oct 05 17:56:09 2003 +0000
+++ b/security/p0f/Makefile Sun Oct 05 18:13:00 2003 +0000
@@ -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 @@
EXTRACT_SUFX= .tgz
MAINTAINER= dawszy%arhea.net@localhost
+HOMEPAGE= http://lcamtuf.coredump.cx/p0f.shtml
COMMENT= Passive OS fingerprinting tool
-HOMEPAGE= http://lcamtuf.coredump.cx/p0f.shtml
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
@@ -42,4 +42,5 @@
${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 -r 394f1e3195b6 -r 3699d173ac1a security/p0f/distinfo
--- a/security/p0f/distinfo Sun Oct 05 17:56:09 2003 +0000
+++ b/security/p0f/distinfo Sun Oct 05 18:13:00 2003 +0000
@@ -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 -r 394f1e3195b6 -r 3699d173ac1a security/p0f/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p0f/patches/patch-ad Sun Oct 05 18:13:00 2003 +0000
@@ -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@localhost>
+ #
+
+-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
+
Home |
Main Index |
Thread Index |
Old Index