* [gentoo-commits] gentoo-x86 commit in net-firewall/ipt_netflow: ipt_netflow-1.8-r4.ebuild ChangeLog ipt_netflow-1.8-r1.ebuild ipt_netflow-1.8-r2.ebuild
@ 2013-12-19 19:16 Sergey Popov (pinkbyte)
0 siblings, 0 replies; only message in thread
From: Sergey Popov (pinkbyte) @ 2013-12-19 19:16 UTC (permalink / raw
To: gentoo-commits
pinkbyte 13/12/19 19:16:43
Modified: ChangeLog
Added: ipt_netflow-1.8-r4.ebuild
Removed: ipt_netflow-1.8-r1.ebuild ipt_netflow-1.8-r2.ebuild
Log:
Revision bump: add compatibility patch for kernel 3.11. Drop old
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Revision Changes Path
1.12 net-firewall/ipt_netflow/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ChangeLog?r1=1.11&r2=1.12
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog 4 Sep 2013 09:11:47 -0000 1.11
+++ ChangeLog 19 Dec 2013 19:16:43 -0000 1.12
@@ -1,6 +1,13 @@
# ChangeLog for net-firewall/ipt_netflow
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ChangeLog,v 1.11 2013/09/04 09:11:47 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ChangeLog,v 1.12 2013/12/19 19:16:43 pinkbyte Exp $
+
+*ipt_netflow-1.8-r4 (19 Dec 2013)
+
+ 19 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> -ipt_netflow-1.8-r1.ebuild,
+ -ipt_netflow-1.8-r2.ebuild, +ipt_netflow-1.8-r4.ebuild,
+ +files/ipt_netflow-1.8-numphyspages-fix.patch:
+ Revision bump: add compatibility patch for kernel 3.11. Drop old
04 Sep 2013; Sergey Popov <pinkbyte@gentoo.org>
files/ipt_netflow-1.8-procfs-fix.patch:
1.1 net-firewall/ipt_netflow/ipt_netflow-1.8-r4.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ipt_netflow-1.8-r4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ipt_netflow-1.8-r4.ebuild?rev=1.1&content-type=text/plain
Index: ipt_netflow-1.8-r4.ebuild
===================================================================
# Copyright 1999-2013 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-r4.ebuild,v 1.1 2013/12/19 19:16:43 pinkbyte Exp $
EAPI="5"
inherit eutils linux-info linux-mod multilib toolchain-funcs
DESCRIPTION="Netflow iptables module"
HOMEPAGE="http://sourceforge.net/projects/ipt-netflow"
SRC_URI="mirror://sourceforge/ipt-netflow/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pax_kernel"
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'
# bug #455984
epatch "${FILESDIR}"/${PN}-1.8-configure.patch
# compatibility with 3.10 kernel
epatch "${FILESDIR}"/${PN}-1.8-procfs-fix.patch
# compatibility with 3.11 kernel
epatch "${FILESDIR}"/${PN}-1.8-numphyspages-fix.patch
# bug #466430
if use pax_kernel; then
epatch "${FILESDIR}"/${PN}-1.8-pax-const.patch
fi
epatch_user
}
src_configure() {
local IPT_VERSION="$($(tc-getPKG_CONFIG) --modversion xtables)"
# econf can not be used, cause configure script fails when see unknown parameter
# ipt-src need to be defined, see bug #455984
./configure \
--ipt-lib="${IPT_LIB}" \
--ipt-src="/usr/" \
--ipt-ver="${IPT_VERSION}" \
--kdir="${KV_DIR}" \
--kver="${KV_FULL}" \
|| 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
doheader ipt_NETFLOW.h
dodoc README*
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-12-19 19:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 19:16 [gentoo-commits] gentoo-x86 commit in net-firewall/ipt_netflow: ipt_netflow-1.8-r4.ebuild ChangeLog ipt_netflow-1.8-r1.ebuild ipt_netflow-1.8-r2.ebuild Sergey Popov (pinkbyte)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox