diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2012-10-14 11:26:44 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2012-10-14 11:26:44 +0000 |
commit | 1f316133f21cda95c905f379428e53929e1d5484 (patch) | |
tree | aa5e5f07616dd00e38bf9b02c468147dc938def9 /net-firewall/ipt_netflow | |
parent | Version bump (diff) | |
download | gentoo-2-1f316133f21cda95c905f379428e53929e1d5484.tar.gz gentoo-2-1f316133f21cda95c905f379428e53929e1d5484.tar.bz2 gentoo-2-1f316133f21cda95c905f379428e53929e1d5484.zip |
Initial commit wrt bug #283578
(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall/ipt_netflow')
-rw-r--r-- | net-firewall/ipt_netflow/ChangeLog | 10 | ||||
-rw-r--r-- | net-firewall/ipt_netflow/Manifest | 4 | ||||
-rw-r--r-- | net-firewall/ipt_netflow/ipt_netflow-1.8.ebuild | 56 | ||||
-rw-r--r-- | net-firewall/ipt_netflow/metadata.xml | 9 |
4 files changed, 79 insertions, 0 deletions
diff --git a/net-firewall/ipt_netflow/ChangeLog b/net-firewall/ipt_netflow/ChangeLog new file mode 100644 index 000000000000..a71e4b54a97d --- /dev/null +++ b/net-firewall/ipt_netflow/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-firewall/ipt_netflow +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ChangeLog,v 1.1 2012/10/14 11:26:44 pinkbyte Exp $ + +*ipt_netflow-1.8 (14 Oct 2012) + + 14 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> +ipt_netflow-1.8.ebuild, + +metadata.xml: + Initial commit wrt bug #283578 + diff --git a/net-firewall/ipt_netflow/Manifest b/net-firewall/ipt_netflow/Manifest new file mode 100644 index 000000000000..9d0778b73aad --- /dev/null +++ b/net-firewall/ipt_netflow/Manifest @@ -0,0 +1,4 @@ +DIST ipt_netflow-1.8.tgz 20921 SHA256 e705646698c1b0275eea0f34038fa7e00bf660d2bc591d3ac04afa0fe3f1ddd0 SHA512 2b0195bd56ecd04c52a11e3347b5e4fb09dc784a3394fee3e0a7e5749e39f4b6af48cd6748dd96ce33d13dd13ae05d096f2a9e0bade33d57a028d568d5b7da20 WHIRLPOOL cfd16cc4be9cab5157b2784c20f6792fd1208c0f5d58dcd8f8a3ee3870d12afe317897c7bf2b265c459ba3f0567cf331a2056ef0e95f6f2f28092318167ad5c4 +EBUILD ipt_netflow-1.8.ebuild 1445 SHA256 ceebccd342ac51eab79c287dd49c92869003051d2a6d9def4bdc9d23a86ced9a SHA512 972bfc062ce7bc1cfb58299497c21ab622d8b76244e9cff1638f6f67998d9107de702c55871507f8e3de86195ee07caec04eb8bf6b9faee5914a0a1e6d5b283c WHIRLPOOL 9fc11e871d72ec2d5ad9e05ee4fb8dc5ce57a85771afbfe9791d3cf138eac2e13ebfb84ddcd2b1382a2a4f5acd551e5d9399c80825447be59775573c68676a9a +MISC ChangeLog 283 SHA256 41797db8c8e26d7b1fd2725369e1ce680c46ce70a3317187c9ea1b1a7d917295 SHA512 4d45766379d336f52490727fd72b4e70b4f63a47499f0f14f7c61ca37e7e9c322dff10e7a0a35349f667bb1adf36d9cc9aef880ce8eeb4c09dc7ffccb90b9745 WHIRLPOOL e7fd4ce1faf8e379ae02cc4f796ad286a3efdf482efa4e9651448efb1d7adfad7aca1b1846cdd57b0ff958369d48ccb6eae81d586b7823afd22257caa2205e78 +MISC metadata.xml 254 SHA256 e52c9cf66790c5d0546903589295bdbd82d8987534c9916670dedbed6b8874b1 SHA512 c83f5af17d5c3f334bae635762f6b62ef5d98c52705b67a8036b60edbdeb7d48f18e8b6b50895c421023023c95423dcfec3fcc5c6c363480ee596729b6be8021 WHIRLPOOL a95c23a3ef77afbadc01d64ac0e1e2c876a322f10454ea64e2ca729c9512fe6eb903e08c99e2a238cc5e4d63f12222c325428928908db78b4ed26dffd1712d65 diff --git a/net-firewall/ipt_netflow/ipt_netflow-1.8.ebuild b/net-firewall/ipt_netflow/ipt_netflow-1.8.ebuild new file mode 100644 index 000000000000..2b796142592a --- /dev/null +++ b/net-firewall/ipt_netflow/ipt_netflow-1.8.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ipt_netflow-1.8.ebuild,v 1.1 2012/10/14 11:26:44 pinkbyte Exp $ + +EAPI="4" + +inherit linux-info linux-mod multilib toolchain-funcs + +MY_PN="ipt-netflow" + +DESCRIPTION="Netflow iptables module" +HOMEPAGE="http://sourceforge.net/projects/ipt-netflow" +SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND="net-firewall/iptables" +DEPEND="${RDEPEND} + virtual/linux-sources + virtual/pkgconfig" + +BUILD_TARGETS="all" +CONFIG_CHECK="IP_NF_IPTABLES" +MODULE_NAMES="ipt_NETFLOW(ipt_netflow:${S})" + +IPT_LIB=/usr/$(get_libdir)/xtables + +src_prepare() { + sed -i -e 's:-I$(KDIR)/include::' \ + -e 's:gcc -O2:$(CC) $(CFLAGS) $(LDFLAGS):' \ + -e 's:gcc:$(CC) $(CFLAGS) $(LDFLAGS):' Makefile.in || die 'sed on Makefile.in failed' + sed -i -e '/IPT_NETFLOW_VERSION/s/1.7.2/1.8/' ipt_NETFLOW.c || die 'sed on ipt_NETFLOW.c failed' +} + +src_configure() { + local IPT_VERSION="$($(tc-getPKG_CONFIG) --modversion xtables)" + # econf can not be used, cause configure script fails when see unknown parameter + ./configure --kver="${KV_FULL}" --kdir="${KV_DIR}" \ + --ipt-ver="${IPT_VERSION}" --ipt-lib="${IPT_LIB}" || die 'configure failed' +} + +src_compile() { + local ARCH=$(tc-arch-kernel) + emake CC="$(tc-getCC)" all +} + +src_install() { + linux-mod_src_install + exeinto "${IPT_LIB}" + doexe libipt_NETFLOW.so + insinto /usr/include + doins ipt_NETFLOW.h + dodoc README* +} diff --git a/net-firewall/ipt_netflow/metadata.xml b/net-firewall/ipt_netflow/metadata.xml new file mode 100644 index 000000000000..7b47a3a9c4a9 --- /dev/null +++ b/net-firewall/ipt_netflow/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>netmon</herd> + <maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> +</pkgmetadata> |