Version bump.
authorJeremy Huddleston <eradicator@gentoo.org>
Fri, 28 Oct 2005 06:32:58 +0000 (06:32 +0000)
committerJeremy Huddleston <eradicator@gentoo.org>
Fri, 28 Oct 2005 06:32:58 +0000 (06:32 +0000)
Package-Manager: portage-2.0.53_rc6

net-firewall/ipp2p/ChangeLog
net-firewall/ipp2p/Manifest
net-firewall/ipp2p/files/digest-ipp2p-0.8.0 [new file with mode: 0644]
net-firewall/ipp2p/ipp2p-0.8.0.ebuild [new file with mode: 0644]

index 5f4be4d8388fef2e3978984f65fc0106ab59d3c4..c804ba7af562c04791d804b020018974b0b045e9 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-firewall/ipp2p
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ChangeLog,v 1.12 2005/08/07 17:32:34 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ChangeLog,v 1.13 2005/10/28 06:32:58 eradicator Exp $
+
+*ipp2p-0.8.0 (28 Oct 2005)
+
+  28 Oct 2005; Jeremy Huddleston <eradicator@gentoo.org>
+  +ipp2p-0.8.0.ebuild:
+  Version bump.
 
   07 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org>
   ipp2p-0.7.4-r2.ebuild, ipp2p-0.8.0_rc3.ebuild:
index 9cdb0ed55e1f41ed9888e5c2826abb13d1c67dc5..888a7a55e106ebfbadc582ccc2c4590e57c71548 100644 (file)
@@ -1,16 +1,18 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 3bd2459420a6df2f8cb9f9f751ccf76c ChangeLog 2451
-MD5 72379179076a0247afe7b5901655c099 ipp2p-0.7.4-r2.ebuild 1497
-MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226
-MD5 ac78b036f1f0d6ea6ad85092f7c77b29 ipp2p-0.8.0_rc3.ebuild 1501
+MD5 dfe3ceb19ede75af3f251f92ede29323 ChangeLog 2576
 MD5 365ee13da4034ff82a0b8abd6055f9cc files/digest-ipp2p-0.7.4-r2 62
+MD5 08d3c2a63c11372897fb93c3b66b63a8 files/digest-ipp2p-0.8.0 62
 MD5 a282b5a7786f803a6d63f41ee34251e2 files/digest-ipp2p-0.8.0_rc3 66
+MD5 72379179076a0247afe7b5901655c099 ipp2p-0.7.4-r2.ebuild 1497
+MD5 a8e80bbc33726c93e732e42a665ac56a ipp2p-0.8.0.ebuild 1497
+MD5 ac78b036f1f0d6ea6ad85092f7c77b29 ipp2p-0.8.0_rc3.ebuild 1501
+MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFC9kYbArHZZzCEUG0RAuqOAJ4rwS2hnPUyKsRAxjzZAKrAMNxpJQCfbb6k
-h5Zm6bZWyDzGYjDS1qmCXzU=
-=ifmg
+iD8DBQFDYcYnOpjtAl+gMRURAnhkAJ4lrqIg0LJbFZFXg1tIovF/NHRZGQCgsGf5
+zGsctNYuEYicg8SFSst5lTg=
+=LTKS
 -----END PGP SIGNATURE-----
diff --git a/net-firewall/ipp2p/files/digest-ipp2p-0.8.0 b/net-firewall/ipp2p/files/digest-ipp2p-0.8.0
new file mode 100644 (file)
index 0000000..a7177a5
--- /dev/null
@@ -0,0 +1 @@
+MD5 8738d6ad5600ac5577bd599e6d279bef ipp2p-0.8.0.tar.gz 18910
diff --git a/net-firewall/ipp2p/ipp2p-0.8.0.ebuild b/net-firewall/ipp2p/ipp2p-0.8.0.ebuild
new file mode 100644 (file)
index 0000000..f596fc0
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ipp2p-0.8.0.ebuild,v 1.1 2005/10/28 06:32:58 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 ~ppc ~sparc ~x86"
+
+RDEPEND="virtual/modutils
+        >=net-firewall/iptables-1.2.11"
+
+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}
+       convert_to_m ${S}/Makefile
+
+       sed -i -e 's/^IPTABLES_VERSION/#IPTABLES_VERSION/' ${S}/Makefile
+}
+
+src_compile() {
+       local IPTABLES_VERSION="$(${ROOT}/sbin/iptables --version | cut -f2 -dv)"
+       emake CFLAGS="${CFLAGS}" IPTABLES_SRC="${ROOT}/usr" IPTABLES_VERSION="${IPTABLES_VERSION}" libipt_ipp2p.so || die "Failed to build iptables module"
+
+       local xarch="${ARCH}"
+       unset ARCH
+       emake KERNEL_SRC="${KV_DIR}" IPTABLES_SRC="${ROOT}/usr" IPTABLES_VERSION="${IPTABLES_VERSION}" || die "Failed to build kernel modle."
+       ARCH="${xarch}"
+}
+
+src_install() {
+       exeinto /$(get_libdir)/iptables
+       doexe libipt_ipp2p.so
+
+       dodoc README
+       linux-mod_src_install
+}
+
+pkg_postinst() {
+       linux-mod_pkg_postinst
+}