From 63efa560017bce96396a2c0d6bc14c50a649ae0c Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston <eradicator@gentoo.org>
Date: Sun, 26 Dec 2004 19:54:42 +0000
Subject: Version bump closes bug #75652.

---
 net-firewall/ipp2p/ChangeLog                      |  8 +++-
 net-firewall/ipp2p/Manifest                       | 12 +----
 net-firewall/ipp2p/files/digest-ipp2p-0.7         |  1 +
 net-firewall/ipp2p/files/ipp2p-0.7-Makefile.patch | 35 +++++++++++++++
 net-firewall/ipp2p/ipp2p-0.7.ebuild               | 55 +++++++++++++++++++++++
 5 files changed, 100 insertions(+), 11 deletions(-)
 create mode 100644 net-firewall/ipp2p/files/digest-ipp2p-0.7
 create mode 100644 net-firewall/ipp2p/files/ipp2p-0.7-Makefile.patch
 create mode 100644 net-firewall/ipp2p/ipp2p-0.7.ebuild

(limited to 'net-firewall/ipp2p')

diff --git a/net-firewall/ipp2p/ChangeLog b/net-firewall/ipp2p/ChangeLog
index 1eb5056e3a8b..bc97b8883765 100644
--- a/net-firewall/ipp2p/ChangeLog
+++ b/net-firewall/ipp2p/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for net-firewall/ipp2p
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ChangeLog,v 1.3 2004/12/08 00:05:22 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ChangeLog,v 1.4 2004/12/26 19:54:42 eradicator Exp $
+
+*ipp2p-0.7 (26 Dec 2004)
+
+  26 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
+  +files/ipp2p-0.7-Makefile.patch, +ipp2p-0.7.ebuild:
+  Version bump closes bug #75652.
 
 *ipp2p-0.6-r1 (07 Dec 2004)
 
diff --git a/net-firewall/ipp2p/Manifest b/net-firewall/ipp2p/Manifest
index 2081686a38e5..305bf7319a40 100644
--- a/net-firewall/ipp2p/Manifest
+++ b/net-firewall/ipp2p/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 MD5 3ee568b63d3eb9028fa9214414c94986 ipp2p-0.6.ebuild 1019
 MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226
+MD5 f2ea73f86008b1b3efcd36a82b76b21f ipp2p-0.7.ebuild 1127
 MD5 efdb86aa732f4f4cf33f9a2da6d51444 ChangeLog 682
 MD5 67c58e94b5aec13e9b6dca903a9d5782 ipp2p-0.6-r1.ebuild 1167
 MD5 7dde11c31f867f3b9c624ac8dcb944a4 files/digest-ipp2p-0.6 58
 MD5 210b099d966d09350c8cfc0d81ec56ce files/ipp2p-0.6-Makefile.patch 996
 MD5 7dde11c31f867f3b9c624ac8dcb944a4 files/digest-ipp2p-0.6-r1 58
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBtkWQArHZZzCEUG0RAmc4AJ9U0jSKsfYkhE8eqtolvlytvQ+1KgCfQ+/z
-i71LTphLaf7KIr6q06JgbMw=
-=fJWl
------END PGP SIGNATURE-----
+MD5 3493a751f553b880c087ad0e71ac242a files/digest-ipp2p-0.7 60
diff --git a/net-firewall/ipp2p/files/digest-ipp2p-0.7 b/net-firewall/ipp2p/files/digest-ipp2p-0.7
new file mode 100644
index 000000000000..9aa18cd30a46
--- /dev/null
+++ b/net-firewall/ipp2p/files/digest-ipp2p-0.7
@@ -0,0 +1 @@
+MD5 ba11c907dce9841b7d659eb0e962a5ff ipp2p-0.7.tar.gz 16428
diff --git a/net-firewall/ipp2p/files/ipp2p-0.7-Makefile.patch b/net-firewall/ipp2p/files/ipp2p-0.7-Makefile.patch
new file mode 100644
index 000000000000..0f52119f4ec0
--- /dev/null
+++ b/net-firewall/ipp2p/files/ipp2p-0.7-Makefile.patch
@@ -0,0 +1,35 @@
+diff -Naur ipp2p-0.7.orig/Makefile ipp2p-0.7/Makefile
+--- ipp2p-0.7.orig/Makefile	2004-12-23 03:52:39.000000000 -0800
++++ ipp2p-0.7/Makefile	2004-12-26 11:50:11.064315453 -0800
+@@ -15,16 +15,11 @@
+ 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 = -DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\"
+ 
+ 
+ KERNEL_SRC = /lib/modules/$(shell uname -r)/build
+-IUSER = -I/usr/src/iptables-1.2.9/include
+-CC = gcc
+-CFLAGS = -O3 -Wall
+-
+-
+ 
+ all: modules libipt_ipp2p.so
+ 
+@@ -34,11 +29,11 @@
+ 	$(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:
diff --git a/net-firewall/ipp2p/ipp2p-0.7.ebuild b/net-firewall/ipp2p/ipp2p-0.7.ebuild
new file mode 100644
index 000000000000..d081d0b1f7d5
--- /dev/null
+++ b/net-firewall/ipp2p/ipp2p-0.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ipp2p-0.7.ebuild,v 1.1 2004/12/26 19:54:42 eradicator Exp $
+
+IUSE=""
+
+inherit linux-mod eutils
+
+DESCRIPTION="Netfilter module for dealing with P2P Applications."
+HOMEPAGE="http://www.ipp2p.org/index_en.html"
+SRC_URI="http://www.ipp2p.org/downloads/${P}.tar.gz"
+
+SLOT="${KV}"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="virtual/modutils"
+
+DEPEND="${RDEPEND}
+	>=net-firewall/iptables-1.2.11
+	virtual/linux-sources"
+
+pkg_setup() {
+	CONFIG_CHECK="NETFILTER"
+	NETFILTER_ERROR="Your kernel is not configured to support Netfilter."
+	MODULE_NAMES="ipt_ipp2p"
+
+	linux-mod_pkg_setup
+}
+
+src_unpack() {
+	unpack ${A}
+
+	cd ${S}
+	epatch ${FILESDIR}/${P}-Makefile.patch
+}
+
+src_compile() {
+	xarch="${ARCH}"
+	unset ARCH
+	emake KERNEL_SRC=${KV_DIR} || die "Parallel Make Failed"
+	ARCH="${xarch}"
+}
+
+src_install() {
+	exeinto /$(get_libdir)/iptables
+	doexe libipt_ipp2p.so
+
+	dodoc README
+	linux-mod_src_install
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+}
-- 
cgit v1.2.3-65-gdbad