summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-12-26 19:54:42 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-12-26 19:54:42 +0000
commitf7404e8bbd565e93c280183f6d6b4d76a00cd782 (patch)
tree110d8d9e8697c52ca55fe9abb30a73178fe16d15 /net-firewall/ipp2p
parentAdded ~sparc keyword wrt bug #73702. (diff)
downloadhistorical-f7404e8bbd565e93c280183f6d6b4d76a00cd782.tar.gz
historical-f7404e8bbd565e93c280183f6d6b4d76a00cd782.tar.bz2
historical-f7404e8bbd565e93c280183f6d6b4d76a00cd782.zip
Version bump closes bug #75652.
Diffstat (limited to 'net-firewall/ipp2p')
-rw-r--r--net-firewall/ipp2p/ChangeLog8
-rw-r--r--net-firewall/ipp2p/Manifest11
-rw-r--r--net-firewall/ipp2p/files/digest-ipp2p-0.71
-rw-r--r--net-firewall/ipp2p/files/ipp2p-0.7-Makefile.patch35
-rw-r--r--net-firewall/ipp2p/ipp2p-0.7.ebuild55
5 files changed, 105 insertions, 5 deletions
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..8c32043d17bc 100644
--- a/net-firewall/ipp2p/Manifest
+++ b/net-firewall/ipp2p/Manifest
@@ -3,15 +3,18 @@ Hash: SHA1
MD5 3ee568b63d3eb9028fa9214414c94986 ipp2p-0.6.ebuild 1019
MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226
-MD5 efdb86aa732f4f4cf33f9a2da6d51444 ChangeLog 682
+MD5 838cf9ab0243cc8d93fde7c2b4b82495 ipp2p-0.7.ebuild 1102
+MD5 06515efeb52bbc7810f2f0966fc41318 ChangeLog 854
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
+MD5 3493a751f553b880c087ad0e71ac242a files/digest-ipp2p-0.7 60
+MD5 ab7e8116b2ec2c738835b5facdfbf3d3 files/ipp2p-0.7-Makefile.patch 1069
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBtkWQArHZZzCEUG0RAmc4AJ9U0jSKsfYkhE8eqtolvlytvQ+1KgCfQ+/z
-i71LTphLaf7KIr6q06JgbMw=
-=fJWl
+iD8DBQFBzxcMArHZZzCEUG0RAvyVAKCE6KKrT915LdBugLl+LKYAZyTj/gCeIXP4
+6X6HYH12T36O+f4e6jOVojg=
+=OsHj
-----END PGP SIGNATURE-----
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
+}