summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-10-26 08:31:50 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-10-26 08:31:50 +0000
commite173637c7cee60c959e98f90668f47d832e665f6 (patch)
tree4523212540740bfd5e23591dd3240c22bdd200de /net-firewall/ipp2p/files
parentstable on ppc gsla: 68571 (diff)
downloadhistorical-e173637c7cee60c959e98f90668f47d832e665f6.tar.gz
historical-e173637c7cee60c959e98f90668f47d832e665f6.tar.bz2
historical-e173637c7cee60c959e98f90668f47d832e665f6.zip
Initial ebuild provided by me. This is a netfilter module to deal with p2p applications.
Diffstat (limited to 'net-firewall/ipp2p/files')
-rw-r--r--net-firewall/ipp2p/files/digest-ipp2p-0.61
-rw-r--r--net-firewall/ipp2p/files/ipp2p-0.6-Makefile.patch34
2 files changed, 35 insertions, 0 deletions
diff --git a/net-firewall/ipp2p/files/digest-ipp2p-0.6 b/net-firewall/ipp2p/files/digest-ipp2p-0.6
new file mode 100644
index 000000000000..bf369b132197
--- /dev/null
+++ b/net-firewall/ipp2p/files/digest-ipp2p-0.6
@@ -0,0 +1 @@
+MD5 9ac3ab4f48755500dbb0020292088efe ipp2p.06.tar.gz 6752
diff --git a/net-firewall/ipp2p/files/ipp2p-0.6-Makefile.patch b/net-firewall/ipp2p/files/ipp2p-0.6-Makefile.patch
new file mode 100644
index 000000000000..3acd9b687591
--- /dev/null
+++ b/net-firewall/ipp2p/files/ipp2p-0.6-Makefile.patch
@@ -0,0 +1,34 @@
+--- Makefile.orig 2004-10-26 01:21:56.916739945 -0700
++++ Makefile 2004-10-26 01:22:16.672041397 -0700
+@@ -20,16 +20,12 @@
+ SED = sed
+ IPTABLES = /sbin/iptables
+ IPTABLES_VERSION = \
+- $(shell iptables --version | sed -e 's/^iptables v//')
++ $(shell $(IPTABLES) --version | sed -e 's/^iptables v//')
+ IPTABLES_OPTION = -DNETFILTER_VERSION=\"$(IPTABLES_VERSION)\"
+
+
+ KERNEL_SRC = /lib/modules/$(shell uname -r)/build
+-IUSER = -I/usr/src/iptables-1.2.9/include
+ CC = gcc
+-CFLAGS = -O2 -Wall
+-
+-
+
+ all: modules libipt_ipp2p.so
+
+@@ -39,11 +35,10 @@
+ $(CC) $(CFLAGS) -I$(KERNEL_SRC)/include -c ipt_ipp2p.c -D__KERNEL__ -DMODULE $(MODVERSIONS)
+
+ ipt_ipp2p.ko:
+- $(MAKE) -C $(KERNEL_SRC) SUBDIRS=$(PWD) modules
+-
++ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules
+
+ libipt_ipp2p.so: libipt_ipp2p.c ipt_ipp2p.h
+- $(CC) $(CFLAGS) $(IPTABLES_OPTION) $(IUSER) -fPIC -c libipt_ipp2p.c
++ $(CC) $(CFLAGS) $(IPTABLES_OPTION) -fPIC -c libipt_ipp2p.c
+ ld -shared -o libipt_ipp2p.so libipt_ipp2p.o
+
+ clean: