diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-10-26 08:31:50 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-10-26 08:31:50 +0000 |
commit | e173637c7cee60c959e98f90668f47d832e665f6 (patch) | |
tree | 4523212540740bfd5e23591dd3240c22bdd200de /net-firewall | |
parent | stable on ppc gsla: 68571 (diff) | |
download | historical-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')
-rw-r--r-- | net-firewall/ipp2p/ChangeLog | 10 | ||||
-rw-r--r-- | net-firewall/ipp2p/Manifest | 15 | ||||
-rw-r--r-- | net-firewall/ipp2p/files/digest-ipp2p-0.6 | 1 | ||||
-rw-r--r-- | net-firewall/ipp2p/files/ipp2p-0.6-Makefile.patch | 34 | ||||
-rw-r--r-- | net-firewall/ipp2p/ipp2p-0.6.ebuild | 49 | ||||
-rw-r--r-- | net-firewall/ipp2p/metadata.xml | 8 |
6 files changed, 117 insertions, 0 deletions
diff --git a/net-firewall/ipp2p/ChangeLog b/net-firewall/ipp2p/ChangeLog new file mode 100644 index 000000000000..97a031cb792c --- /dev/null +++ b/net-firewall/ipp2p/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2004/10/26 08:31:50 eradicator Exp $ + +*ipp2p-0.6 (26 Oct 2004) + + 26 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> +metadata.xml, + +files/ipp2p-0.6-Makefile.patch, +ipp2p-0.6.ebuild: + Ebuild provided by me. + diff --git a/net-firewall/ipp2p/Manifest b/net-firewall/ipp2p/Manifest new file mode 100644 index 000000000000..d62a8c2a5d19 --- /dev/null +++ b/net-firewall/ipp2p/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 c7e363af72536fa7d302ff8959f43e96 ipp2p-0.6.ebuild 1067 +MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226 +MD5 7cf942e53a0383ccd2308f6c5aa13152 ChangeLog 391 +MD5 7dde11c31f867f3b9c624ac8dcb944a4 files/digest-ipp2p-0.6 58 +MD5 210b099d966d09350c8cfc0d81ec56ce files/ipp2p-0.6-Makefile.patch 996 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBfguMArHZZzCEUG0RAjKwAJ9Wqk0UlZWBEorJ/viOgEPtTsChXwCdF+xL +4UWe1GaSrj5wQb1nWdixTUM= +=TxCB +-----END PGP SIGNATURE----- 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: diff --git a/net-firewall/ipp2p/ipp2p-0.6.ebuild b/net-firewall/ipp2p/ipp2p-0.6.ebuild new file mode 100644 index 000000000000..8f5ad0dd195a --- /dev/null +++ b/net-firewall/ipp2p/ipp2p-0.6.ebuild @@ -0,0 +1,49 @@ +# 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.6.ebuild,v 1.1 2004/10/26 08:31:50 eradicator Exp $ + +IUSE="" + +inherit kernel-mod eutils + +MY_PV=${PV/./} +MY_P="${PN}.${MY_PV}" +S="${WORKDIR}/${PN}" + +DESCRIPTION="Netfilter module for dealing with P2P Applications." +HOMEPAGE="http://rnvs.informatik.uni-leipzig.de/ipp2p/index_en.html" +SRC_URI="http://rnvs.informatik.uni-leipzig.de/ipp2p/downloads/${MY_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" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-Makefile.patch +} + +src_compile() { + unset ARCH + emake KERNEL_SRC=${KERNEL_DIR} || die "Parallel Make Failed" +} + + +src_install() { + exeinto /$(get_libdir)/iptables + doexe libipt_ipp2p.so + + kernel-mod_getversion + insinto /lib/modules/${KV_MK_VERSION_FULL}/kernel/net/ipv4/netfilter + doins ipt_ipp2p.ko + + dodoc README +} diff --git a/net-firewall/ipp2p/metadata.xml b/net-firewall/ipp2p/metadata.xml new file mode 100644 index 000000000000..15a401e91b43 --- /dev/null +++ b/net-firewall/ipp2p/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>eradicator@gentoo.org</email> +</maintainer> +</pkgmetadata> |