ChangeLog

# ChangeLog for net-firewall/ipp2p
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ChangeLog,v 1.37 2008/07/04 20:14:01 mrness Exp $

04 Jul 2008; Alin Năstac ipp2p-0.8.2-r4.ebuild:
Update iptables dependency atom to
30 Dec 2007; Alin Năstac
+files/ipp2p-0.8.2-iptables-1.4.0.patch,
files/ipp2p-0.8.2-kernel-2.6.22.patch, ipp2p-0.8.2-r4.ebuild:
Fix incompatibilities with iptables-1.4.0 (#203744).

17 Aug 2007; Alin Năstac
-files/ipp2p-0.8.2-kernel-2.6.21.patch, -ipp2p-0.8.2-r3.ebuild:
Remove old revision.

13 Aug 2007; Christian Faulhammer
ipp2p-0.8.2-r4.ebuild:
stable x86, bug 186953

10 Aug 2007; Steve Dibb ipp2p-0.8.2-r4.ebuild:
amd64 stable, bug 186953

30 Jul 2007; Gustavo Zacarias ipp2p-0.8.2-r4.ebuild:
Stable on sparc wrt #186953

30 Jul 2007; Markus Rothe ipp2p-0.8.2-r4.ebuild:
Stable on ppc64; bug #186953

*ipp2p-0.8.2-r4 (11 Jul 2007)

11 Jul 2007; Alin Năstac
+files/ipp2p-0.8.2-kernel-2.6.22.patch, +ipp2p-0.8.2-r4.ebuild:
Fix broken compilation against kernel 2.6.22, thanks to Yakov Suraev
(#184808).

19 Jun 2007; Alin Năstac
-files/ipp2p-0.8.2-matchsize.patch, -ipp2p-0.8.2-r2.ebuild:
Remove old revision.

*ipp2p-0.8.2-r3 (22 May 2007)

22 May 2007; Alin Năstac
+files/ipp2p-0.8.2-kernel-2.6.21.patch, +ipp2p-0.8.2-r3.ebuild:
Fix unknown symbol error when build for 2.6.21 kernel (#179425).

10 Mar 2007; Alin Năstac ipp2p-0.8.2-r2.ebuild:
Remove $ROOT from src_compile (#168039).

16 Jan 2007; Alin Năstac -ipp2p-0.8.0.ebuild,
-ipp2p-0.8.2.ebuild, -ipp2p-0.8.2-r1.ebuild, ipp2p-0.8.2-r2.ebuild:
Stable on amd64. Remove obsolete versions.

16 Jan 2007; Raúl Porcel ipp2p-0.8.2-r2.ebuild:
stable x86 wrt bug 157175

15 Jan 2007; Gustavo Zacarias ipp2p-0.8.2-r2.ebuild:
Stable on sparc wrt #157175

14 Jan 2007; Markus Rothe ipp2p-0.8.2-r2.ebuild:
Stable on ppc64; bug #157175

*ipp2p-0.8.2-r2 (14 Jan 2007)

14 Jan 2007; Alin Năstac
+files/ipp2p-0.8.2-matchsize.patch, +ipp2p-0.8.2-r2.ebuild:
Fix invalid size error on amd64 (bug #157175 comment #5).

*ipp2p-0.8.2-r1 (04 Jan 2007)

04 Jan 2007; Alin Nastac +ipp2p-0.8.2-r1.ebuild:
Link libipt_ipp2p.o dynamically when iptables 1.3.6 or better is installed
(#157238).

06 Dec 2006; Markus Rothe ipp2p-0.8.2.ebuild:
Stable on ppc64; bug #157175

05 Dec 2006; Gustavo Zacarias ipp2p-0.8.2.ebuild:
Stable on sparc wrt #157175

*ipp2p-0.8.2 (05 Dec 2006)

05 Dec 2006; Alin Năstac metadata.xml,
+ipp2p-0.8.2.ebuild:
Version bumped as stable on x86 (#141700).

23 May 2006; Markus Rothe ipp2p-0.8.0.ebuild:
Stable on ppc64

01 Apr 2006; Jeremy Huddleston
-ipp2p-0.7.4-r2.ebuild, -ipp2p-0.8.0_rc3.ebuild, ipp2p-0.8.0.ebuild:
Removing old versions. Stabilizing on amd64, sparc, x86.

26 Feb 2006; Jeremy Huddleston
ipp2p-0.7.4-r2.ebuild, ipp2p-0.8.0_rc3.ebuild, ipp2p-0.8.0.ebuild:
Fixed SLOT to 0.

*ipp2p-0.8.0 (28 Oct 2005)

28 Oct 2005; Jeremy Huddleston
+ipp2p-0.8.0.ebuild:
Version bump.

07 Aug 2005; Jeremy Huddleston
ipp2p-0.7.4-r2.ebuild, ipp2p-0.8.0_rc3.ebuild:
Fix bug #101635.

06 Aug 2005; Jeremy Huddleston
-files/ipp2p-0.7-Makefile.patch, -ipp2p-0.7.1-r1.ebuild,
ipp2p-0.7.4-r2.ebuild:
Stable amd64, sparc, x86 as the older version doesn't build with current
kernels. Removing older version.

*ipp2p-0.8.0_rc3 (25 Jul 2005)
*ipp2p-0.7.4-r2 (25 Jul 2005)

25 Jul 2005; Jeremy Huddleston
-ipp2p-0.7.4-r1.ebuild, +ipp2p-0.7.4-r2.ebuild, +ipp2p-0.8.0_rc3.ebuild:
Don't use CFLAGS when building the kernel module. Version bump.

25 Jun 2005; David Holm ipp2p-0.7.4-r1.ebuild:
Added to ~ppc.

*ipp2p-0.7.4-r1 (25 Jun 2005)

25 Jun 2005; Jeremy Huddleston
-ipp2p-0.7.4.ebuild, +ipp2p-0.7.4-r1.ebuild:
Fixed version detection of iptables. Moved iptables to RDEPEND.

*ipp2p-0.7.4 (24 Jun 2005)

24 Jun 2005; Jeremy Huddleston
-files/ipp2p-0.6-Makefile.patch, +ipp2p-0.7.4.ebuild:
Version bump. Closes bug #95965.

*ipp2p-0.7.1-r1 (02 Mar 2005)

02 Mar 2005; Jeremy Huddleston
-ipp2p-0.6-r1.ebuild, +ipp2p-0.7.1-r1.ebuild, -ipp2p-0.7.1.ebuild,
-ipp2p-0.7.ebuild:
Revbump since it was incompatible with a change in linux-mod. See bug
#80499. Stable amd64, x86.

*ipp2p-0.7.1 (11 Jan 2005)

11 Jan 2005; Jeremy Huddleston
ipp2p-0.6-r1.ebuild, -ipp2p-0.6.ebuild, +ipp2p-0.7.1.ebuild:
Version bump closes bug #77457. Moving 0.6-r1 to stable.

*ipp2p-0.7 (26 Dec 2004)

26 Dec 2004; Jeremy Huddleston
+files/ipp2p-0.7-Makefile.patch, +ipp2p-0.7.ebuild:
Version bump closes bug #75652.

*ipp2p-0.6-r1 (07 Dec 2004)

07 Dec 2004; Jeremy Huddleston
+ipp2p-0.6-r1.ebuild:
Converted to linux-mod eclass.

06 Dec 2004; Jeremy Huddleston ipp2p-0.6.ebuild:
Updated HOMEPAGE per request of upstream author. Stable amd64, x86.

*ipp2p-0.6 (26 Oct 2004)

26 Oct 2004; Jeremy Huddleston +metadata.xml,
+files/ipp2p-0.6-Makefile.patch, +ipp2p-0.6.ebuild:
Ebuild provided by me.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX ipp2p-0.8.2-iptables-1.4.0.patch 1202 RMD160 5b90d6217dd7acbe73f1fc91d8a530067cb5e4fc SHA1 0d474d3fef15013a7d5bcae7cdd058d2a942bdd0 SHA256 729c218d40bc4b6e68a954e4af7919c4235fe531aa9cc4ed93f851f851588671
AUX ipp2p-0.8.2-kernel-2.6.22.patch 3106 RMD160 8a088c8a72695aa59626d59253a80c78deaf72ea SHA1 8449486f8341900d0e0af783008455fc84741ba1 SHA256 90272cfa66b333d31271bd918b3879e63e3dd5681e6fd9436ba5276329618719
DIST ipp2p-0.8.2.tar.gz 18976 RMD160 097cd4175af3f97f3687f343087b8fe0af20ba38 SHA1 98dbcf84b23e7afde3286fd0f1c1816b437d082e SHA256 b265f5a1ce62de5a6cc60b9af22134a8d19b23e14b47a897057bca91188e0ee7
EBUILD ipp2p-0.8.2-r4.ebuild 1801 RMD160 e0258e92eb1b556e17c2091923d341a0ea6aaf0d SHA1 59b66bc8bd6a2a907c3099bca5e991210fcccd5e SHA256 ed6653bcb93b58481565abcc54949fc9b7c5d5676444eac6d1b2551d3e1e35ef
MISC ChangeLog 5877 RMD160 e8bb511c9cd7f2f73499b3bead28486b71daa110 SHA1 4854ad2df4aa4cb7cef11e34c923caec5389f210 SHA256 01e171061cc2f51e703563d14fe07052c0be74840afff5cbfb65b953c4998e84
MISC metadata.xml 839 RMD160 b60b70128145c55c72e5e8bf6aaead3859c1985c SHA1 0affaf5fd1e0e806c3f2f487406e6c6918974563 SHA256 b6788dee2536d343a9d66aad17c358fce18091ac2a710b2eae090d5e4afba9cd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhuhJUACgkQPrHvTlXvhtsi/QCeKL/HKs85HY935Kd3NbXM1v9Q
NnUAoKQo+hjZuO7Ywu+gFiRkeIVt/euE
=kpaA
-----END PGP SIGNATURE-----

files

ipp2p-0.8.2-r4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ipp2p-0.8.2-r4.ebuild,v 1.7 2008/07/04 20:14:01 mrness Exp $

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"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ppc64 sparc x86"
IUSE=""

RDEPEND="virtual/modutils

DEPEND="${RDEPEND}
virtual/linux-sources"

pkg_setup() {
CONFIG_CHECK="NETFILTER"
NETFILTER_ERROR="Your kernel is not configured to support Netfilter."
MODULE_NAMES="ipt_ipp2p(${PN}:${S}:${S})"

linux-mod_pkg_setup
}

src_unpack() {
unpack ${A}

cd "${S}"
epatch "${FILESDIR}"/${P}-kernel-2.6.22.patch
convert_to_m Makefile

sed -i -e "s/^IPTABLES_VERSION/#IPTABLES_VERSION/" Makefile
if has_version '>=net-firewall/iptables-1.3.6' ; then
sed -i -e "s/ld -shared/\$\(CC\) -shared/" Makefile
if has_version '>=net-firewall/iptables-1.4.0' ; then
epatch "${FILESDIR}"/${P}-iptables-1.4.0.patch
fi
fi
}

src_compile() {
local IPTABLES_VERSION="$(/sbin/iptables --version | cut -f2 -dv)"
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" \
IPTABLES_SRC="/usr" IPTABLES_VERSION="${IPTABLES_VERSION}" libipt_ipp2p.so \
|| die "Failed to build iptables module"

local myARCH="${ARCH}"
ARCH="$(tc-arch-kernel)"
emake KERNEL_SRC="${KV_DIR}" \
IPTABLES_SRC="/usr" IPTABLES_VERSION="${IPTABLES_VERSION}" \
|| die "Failed to build kernel module."
ARCH="${myARCH}"
}

src_install() {
exeinto /$(get_libdir)/iptables
doexe libipt_ipp2p.so

dodoc README
linux-mod_src_install
}

pkg_postinst() {
linux-mod_pkg_postinst
}

metadata.xml




no-herd

eradicator@gentoo.org


mrness@gentoo.org
Alin Năstac
Secondary maintainer

IPP2P uses suitable search patterns to identify P2P traffic thus allowing
the reliable identification of traffic belonging to many P2P networks. Once identified one
may handle P2P traffic in different ways - dropping such traffic, putting into low priority
classes or shaping to a given bandwidth limit is possible. Reducing costs, freeing network
resources and therefore improving network performance is often the result of using IPP2P.