pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/packit allow this to build against pkgsrc libpcap
details: https://anonhg.NetBSD.org/pkgsrc/rev/8c4ea07b218b
branches: trunk
changeset: 496800:8c4ea07b218b
user: drochner <drochner%pkgsrc.org@localhost>
date: Wed Jul 13 14:19:38 2005 +0000
description:
allow this to build against pkgsrc libpcap
diffstat:
net/packit/Makefile | 3 +--
net/packit/distinfo | 4 +++-
net/packit/patches/patch-aa | 16 ++++++++++++++++
net/packit/patches/patch-ab | 14 ++++++++++++++
4 files changed, 34 insertions(+), 3 deletions(-)
diffs (67 lines):
diff -r a7d0c01d185b -r 8c4ea07b218b net/packit/Makefile
--- a/net/packit/Makefile Wed Jul 13 14:18:22 2005 +0000
+++ b/net/packit/Makefile Wed Jul 13 14:19:38 2005 +0000
@@ -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 @@
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 -r a7d0c01d185b -r 8c4ea07b218b net/packit/distinfo
--- a/net/packit/distinfo Wed Jul 13 14:18:22 2005 +0000
+++ b/net/packit/distinfo Wed Jul 13 14:19:38 2005 +0000
@@ -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 -r a7d0c01d185b -r 8c4ea07b218b net/packit/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/packit/patches/patch-aa Wed Jul 13 14:19:38 2005 +0000
@@ -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 -r a7d0c01d185b -r 8c4ea07b218b net/packit/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/packit/patches/patch-ab Wed Jul 13 14:19:38 2005 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index