Summary: | net-firewall/ipt_netflow - Netflow iptables module | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Metsger <themixa> |
Component: | New packages | Assignee: | Sergey Popov <pinkbyte> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | barzog, netmon, subscryer |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ipt_NETFLOW
net-misc/ipt_netflow-9999 net-firewall/ipt_netflow-1.7.1 net-firewall/ipt_netflow-1.8 |
Description
Michael Metsger
2009-09-03 11:11:21 UTC
Created attachment 203039 [details]
ipt_NETFLOW
Created attachment 248845 [details]
net-misc/ipt_netflow-9999
There better version, but build system is still ugly.
For what it's worth version 1.7.1 "just worked" with the rather vanilla: ./configure make all install with deps installed. Also, the current ebuild is not up to date as the repo is now using git. Unfortunately I don't have the skills to fix it... :/ (In reply to comment #3) > For what it's worth version 1.7.1 "just worked" with the rather vanilla: > ./configure > make all install > with deps installed. > > Also, the current ebuild is not up to date as the repo is now using git. > Unfortunately I don't have the skills to fix it... :/ You can get working version from my overlay at http://code.google.com/p/barzog-gentoo-overlay/ Created attachment 325806 [details]
net-firewall/ipt_netflow-1.7.1
Updated ebuild from my overlay. Works flawlessly for some monthes on some of my VPN-servers.
(In reply to comment #5) > Created attachment 325806 [details] > net-firewall/ipt_netflow-1.7.1 > > Updated ebuild from my overlay. Works flawlessly for some monthes on some of > my VPN-servers. For me it dies at (and version 1.8 is available): IPTABLES_VERSION="${IPT_VERSION}" IPTABLES_MODULES="${IPT_LIB}" IPTSRC="" all || die "emake failed" >>> Compiling source in /var/tmp/portage/net-analyzer/ipt_netflow-1.7.1/work/ipt _netflow-1.7.1 ... make -j4 CC=x86_64-pc-linux-gnu-gcc KDIR=/usr/src/linux KVERSION=3.0.33 Compiling for kernel 3.0.33 make -C /usr/src/linux M=/var/tmp/portage/net-analyzer/ipt_netflow-1.7.1/work/ip t_netflow-1.7.1 modules make[1]: Вход в каталог `/usr/src/linux-3.0.33' make[1]: предупреждение: сервер задач недоступен: используется -j1. Добавьте `+' к правилу в родительском make. CC [M] /var/tmp/portage/net-analyzer/ipt_netflow-1.7.1/work/ipt_netflow-1.7.1 /ipt_NETFLOW.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/net-analyzer/ipt_netflow-1.7.1/work/ipt_netflow-1.7.1 /ipt_NETFLOW.mod.o LD [M] /var/tmp/portage/net-analyzer/ipt_netflow-1.7.1/work/ipt_netflow-1.7.1 /ipt_NETFLOW.ko make[1]: Выход из каталога `/usr/src/linux-3.0.33' /var/tmp/portage/net-analyzer/ipt_netflow-1.7.1/temp/environment: line 3054: all : команда не найдена * ERROR: net-analyzer/ipt_netflow-1.7.1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 3054: Called die * The specific snippet of code: * IPTABLES_VERSION="${IPT_VERSION}" IPTABLES_MODULES="${IPT_LIB}" IPTSRC= "" all || die "emake failed" * * If you need support, post the output of `emerge --info '=net-analyzer/ipt_net flow-1.7.1'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/ipt_netf low-1.7.1'`. * This ebuild is from an overlay named 'barzog-overlay': '/home/gawriloff/googl e-code/barzog-gentoo-overlay/' * The complete build log is located at '/var/tmp/portage/net-analyzer/ipt_netfl ow-1.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/ipt_ netflow-1.7.1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/ipt_netflow-1.7.1/work/ipt_ netflow-1.7.1' * S: '/var/tmp/portage/net-analyzer/ipt_netflow-1.7.1/work/ipt_netflow-1.7.1' (In reply to comment #6) > For me it dies at (and version 1.8 is available): > > IPTABLES_VERSION="${IPT_VERSION}" IPTABLES_MODULES="${IPT_LIB}" > IPTSRC="" all || die "emake failed" > I have just checked ebuild with 3.0.35, 3.3.8 and 3.5.4 - it compiles fine. It seems that you copy ebuild by copy/paste - cause there is no 'all' command, there is 'emake .... all' command, separated by '\'. Also - thanks for note about 1.8 version - i will take a look on it in a while Created attachment 325978 [details]
net-firewall/ipt_netflow-1.8
Version bump with some improvements:
- EAPI 4;
- avoid autodetection as much as possible;
- virtual/pkgconfig in DEPEND;
- install both of README files(README and README.promisc);
- some cosmetic changes in src_prepare.
latest ebuild works for me. Thanks +*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 |