summaryrefslogtreecommitdiff
path: root/net/packit
diff options
context:
space:
mode:
authordrochner <drochner>2005-07-13 14:19:38 +0000
committerdrochner <drochner>2005-07-13 14:19:38 +0000
commit9068591d361f1cbf6df8ed8f119d6587f7591abe (patch)
tree82b15a0dbe07c6b0f0e485d323c473f0dfe17bd7 /net/packit
parent8e693e99cd8f292c5bea692b9a849641b06044d9 (diff)
downloadpkgsrc-9068591d361f1cbf6df8ed8f119d6587f7591abe.tar.gz
allow this to build against pkgsrc libpcap
Diffstat (limited to 'net/packit')
-rw-r--r--net/packit/Makefile3
-rw-r--r--net/packit/distinfo4
-rw-r--r--net/packit/patches/patch-aa16
-rw-r--r--net/packit/patches/patch-ab14
4 files changed, 34 insertions, 3 deletions
diff --git a/net/packit/Makefile b/net/packit/Makefile
index bc14fc68fe3..117827ff51f 100644
--- a/net/packit/Makefile
+++ b/net/packit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:46:57 tv Exp $
+# $NetBSD: Makefile,v 1.3 2005/07/13 14:19:38 drochner Exp $
DISTNAME= packit-1.0
CATEGORIES= net
@@ -10,7 +10,6 @@ HOMEPAGE= http://packit.sourceforge.net/
COMMENT= Network auditing tool with the ability to manipulate IP traffic
GNU_CONFIGURE= YES
-USE_BUILTIN.libpcap= YES
CONFIGURE_ARGS+= --with-libpcap-includes=${BUILDLINK_PREFIX.libpcap}/include
CONFIGURE_ARGS+= --with-libpcap-libraries=${BUILDLINK_PREFIX.libpcap}/lib
diff --git a/net/packit/distinfo b/net/packit/distinfo
index 03d6353dba9..610a6dd3ee4 100644
--- a/net/packit/distinfo
+++ b/net/packit/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:13:59 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/07/13 14:19:38 drochner Exp $
SHA1 (packit-1.0.tgz) = 21e1540c55879123d6bcca92c64d371b734893b1
RMD160 (packit-1.0.tgz) = 02b2ec56ccac5f8d755c0d84f1360b1cea698fce
Size (packit-1.0.tgz) = 138367 bytes
+SHA1 (patch-aa) = 01dbe7c947682016aa302c9963bf227d15c39c55
+SHA1 (patch-ab) = 1c3139bdd9c73435acee53bcf49278899b386a17
diff --git a/net/packit/patches/patch-aa b/net/packit/patches/patch-aa
new file mode 100644
index 00000000000..48659b6f814
--- /dev/null
+++ b/net/packit/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2005/07/13 14:19:38 drochner Exp $
+
+--- src/globals.h.orig 2005-07-13 15:58:53.000000000 +0200
++++ src/globals.h
+@@ -29,9 +29,10 @@
+ #endif
+
+ #include <libnet.h>
++#include <net/bpf.h>
++#define PCAP_DONT_INCLUDE_PCAP_BPF_H
+ #include <pcap.h>
+ #include <sys/types.h>
+-#include <net/bpf.h>
+ #include <signal.h>
+ #include <time.h>
+ #include <stdio.h>
diff --git a/net/packit/patches/patch-ab b/net/packit/patches/patch-ab
new file mode 100644
index 00000000000..2fd07849e38
--- /dev/null
+++ b/net/packit/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2005/07/13 14:19:38 drochner Exp $
+
+--- src/main.h.orig 2005-07-13 16:01:20.000000000 +0200
++++ src/main.h
+@@ -24,9 +24,7 @@
+ #define __MAIN_H
+
+ #include <libnet.h>
+-#include <pcap.h>
+ #include <sys/types.h>
+-#include <net/bpf.h>
+ #include <signal.h>
+ #include <time.h>
+ #include <stdio.h>