jer         14/08/09 09:58:09

  Modified:             ChangeLog
  Added:                ipt_netflow-2.0.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.11-r1/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.15                 net-firewall/ipt_netflow/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ChangeLog?rev=1.15&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ChangeLog?rev=1.15&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ChangeLog?r1=1.14&r2=1.15

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog   18 Jul 2014 12:41:29 -0000      1.14
+++ ChangeLog   9 Aug 2014 09:58:09 -0000       1.15
@@ -1,6 +1,12 @@
 # ChangeLog for net-firewall/ipt_netflow
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ChangeLog,v 1.14 
2014/07/18 12:41:29 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ChangeLog,v 1.15 
2014/08/09 09:58:09 jer Exp $
+
+*ipt_netflow-2.0 (09 Aug 2014)
+
+  09 Aug 2014; Jeroen Roovers <[email protected]> +ipt_netflow-2.0.ebuild,
+  +files/ipt_netflow-2.0-configure.patch:
+  Version bump.
 
   18 Jul 2014; Jeroen Roovers <[email protected]> -ipt_netflow-1.8-r3.ebuild,
   ipt_netflow-1.8-r4.ebuild, files/ipt_netflow-1.8-pax-const.patch,



1.1                  net-firewall/ipt_netflow/ipt_netflow-2.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ipt_netflow-2.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipt_netflow/ipt_netflow-2.0.ebuild?rev=1.1&content-type=text/plain

Index: ipt_netflow-2.0.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ipt_netflow-2.0.ebuild,v 1.1 
2014/08/09 09:58:09 jer 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
"

# set S before MODULE_NAMES
S=${WORKDIR}/${PN/_/-}-${PV}

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:make -C:$(MAKE) -C:g' \
                -e 's:gcc -O2:$(CC) $(CFLAGS) $(LDFLAGS):' \
                -e 's:gcc:$(CC) $(CFLAGS) $(LDFLAGS):' \
                Makefile.in || die

        # bug #455984
        epatch "${FILESDIR}"/${PN}-2.0-configure.patch

        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() {
        emake ARCH="$(tc-arch-kernel)" CC="$(tc-getCC)" all
}

src_install() {
        linux-mod_src_install
        exeinto "${IPT_LIB}"
        doexe libipt_NETFLOW.so
        doheader ipt_NETFLOW.h
        dodoc README*
}




Reply via email to