summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-10-27 17:55:36 +0000
committerJeroen Roovers <jer@gentoo.org>2013-10-27 17:55:36 +0000
commit65bf30d5f46f6324084a52dad5ad00ba72103604 (patch)
treecd6fa27f76b1a37b4b2d81e94f280375c6b2f48a /net-analyzer/scanlogd/files
parentDepend on sec-policy/selinux-dracut if USE=selinux, fixes bug #489080 (diff)
downloadgentoo-2-65bf30d5f46f6324084a52dad5ad00ba72103604.tar.gz
gentoo-2-65bf30d5f46f6324084a52dad5ad00ba72103604.tar.bz2
gentoo-2-65bf30d5f46f6324084a52dad5ad00ba72103604.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer/scanlogd/files')
-rw-r--r--net-analyzer/scanlogd/files/scanlogd-2.2.6-Makefile.patch5
-rw-r--r--net-analyzer/scanlogd/files/scanlogd-2.2.7-gentoo.patch21
2 files changed, 23 insertions, 3 deletions
diff --git a/net-analyzer/scanlogd/files/scanlogd-2.2.6-Makefile.patch b/net-analyzer/scanlogd/files/scanlogd-2.2.6-Makefile.patch
index 07dbd9b834f3..ef36abda0911 100644
--- a/net-analyzer/scanlogd/files/scanlogd-2.2.6-Makefile.patch
+++ b/net-analyzer/scanlogd/files/scanlogd-2.2.6-Makefile.patch
@@ -1,6 +1,5 @@
-diff -urN ./scanlogd-2.2.6.orig/Makefile ./scanlogd-2.2.6/Makefile
---- ./scanlogd-2.2.6.orig/Makefile 2006-03-05 11:03:15.000000000 +0100
-+++ ./scanlogd-2.2.6/Makefile 2006-03-27 00:39:16.000000000 +0200
+--- a/./scanlogd-2.2.6/Makefile 2006-03-05 11:03:15.000000000 +0100
++++ b/./scanlogd-2.2.6/Makefile 2006-03-27 00:39:16.000000000 +0200
@@ -1,8 +1,6 @@
CC = gcc
LD = $(CC)
diff --git a/net-analyzer/scanlogd/files/scanlogd-2.2.7-gentoo.patch b/net-analyzer/scanlogd/files/scanlogd-2.2.7-gentoo.patch
new file mode 100644
index 000000000000..4d1d2f01c643
--- /dev/null
+++ b/net-analyzer/scanlogd/files/scanlogd-2.2.7-gentoo.patch
@@ -0,0 +1,21 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,14 +1,11 @@
+-CC = gcc
+ LD = $(CC)
+ RM = rm -f
+-CFLAGS = -Wall -O2 -fomit-frame-pointer
+-LDFLAGS = -s
+
+-PCAP_H = -I/usr/include/pcap
+-PCAP_L = -lpcap
++PCAP_H = $(shell pcap-config --cflags)
++PCAP_L = $(shell pcap-config --libs)
+
+-NIDS_H = -I/usr/local/include
+-NIDS_L = -L/usr/local/lib -lnids -lnet -lpcap
++NIDS_H = -I/usr/include
++NIDS_L = -lnids
+
+ PROJ = scanlogd
+