ipt_netflow: remove broken live ebuild

This commit is contained in:
Sergey Popov 2012-09-28 14:07:59 +04:00
parent a7f4ba1a84
commit 2ac3109f7d
2 changed files with 0 additions and 64 deletions

View File

@ -1,3 +1,2 @@
DIST ipt_netflow-1.7.1.tgz 21263 RMD160 ae53cd9374d2419482efa789186dc7c631c6cfd3 SHA1 f244b2595aa39fb5a4100a3df6473b41832cdecb SHA256 d208dec7401404c21950c3d5db286649e17fbf7414d720d9dab7d9a6a88aba4a
EBUILD ipt_netflow-1.7.1.ebuild 1560 RMD160 da93a66907b632c2103c19b51e3645464c8f9f7a SHA1 8fd3d7c97bb4e0f1b2ba52214544f038e0e20e02 SHA256 2ba19d7bfcc8ca6bbd2de0b10ebd6072a85b2254f3a9b0254839dd23affc514a
EBUILD ipt_netflow-9999.ebuild 1580 RMD160 542e0941a19371df94754acfc893f820cdfa2e23 SHA1 c7482e18e7e7e4b30a4afb70d2817f2b13e57609 SHA256 a7eb2553837f834b519225ae97e32b9f8a62d723f0d5a44c49418bf7fb12b95e

View File

@ -1,63 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-88-r1.ebuild,v 1.1 2009/07/27 13:57:06 dang Exp $
EAPI="2"
inherit git eutils linux-mod multilib
EGIT_PROJECT="ipt_netflow"
EGIT_REPO_URI="git://ipt-netflow.git.sourceforge.net/gitroot/ipt-netflow/ipt-netflow"
DESCRIPTION="Netflow iptables module"
HOMEPAGE="http://sourceforge.net/projects/ipt-netflow"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="net-firewall/iptables"
DEPEND="${RDEPEND}
virtual/linux-sources"
S=${WORKDIR}/${PN}
BUILD_TARGETS="all"
ARCH=$(tc-arch-kernel)
MODULE_NAMES="ipt_NETFLOW(ipt_netflow:${S})"
pkg_setup() {
linux-info_pkg_setup
CONFIG_CHECK="IP_NF_IPTABLES"
linux-mod_pkg_setup
}
src_prepare() {
# OK, let's deal with this mess...
sed -i 's:-I$(KDIR)/include::' Makefile.in || die "sed failed"
sed -i 's:gcc -O2:$(CC) $(LDFLAGS) $(CFLAGS):' Makefile.in || die "sed failed!"
sed -i 's:gcc:$(CC) $(LDFLAGS) $(CFLAGS):' Makefile.in || die "sed failed!"
cp "${S}"/Makefile{.in,}
}
src_configure() {
cd ${S}
./configure
}
src_compile() {
local IPT_VERSION=`pkg-config --modversion xtables`
local IPT_LIB=/$(get_libdir)/xtables
MAKEOPTS="-j1"
emake KDIR="${KV_DIR}" KVERSION="${KV_FULL}" IPTABLES_VERSION="${IPT_VERSION}" \
IPTABLES_MODULES="${IPT_LIB}" IPTSRC="" all || die "emake failed"
}
src_install() {
linux-mod_src_install
exeinto /$(get_libdir)/xtables
doexe libipt_NETFLOW.so
insinto /usr/include
doins ipt_NETFLOW.h
dodoc README
}