Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283578 - net-firewall/ipt_netflow - Netflow iptables module
Summary: net-firewall/ipt_netflow - Netflow iptables module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2009-09-03 11:11 UTC by Michael Metsger
Modified: 2012-10-14 11:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ipt_NETFLOW (ipt_netflow-9999.ebuild,1.63 KB, text/plain)
2009-09-03 11:12 UTC, Michael Metsger
Details
net-misc/ipt_netflow-9999 (ipt_netflow-9999.ebuild,1.56 KB, text/plain)
2010-09-27 22:23 UTC, Azamat H. Hackimov
Details
net-firewall/ipt_netflow-1.7.1 (ipt_netflow-1.7.1.ebuild,1.30 KB, text/plain)
2012-10-06 15:11 UTC, Sergey Popov
Details
net-firewall/ipt_netflow-1.8 (ipt_netflow-1.8.ebuild,1.22 KB, text/plain)
2012-10-08 09:52 UTC, Sergey Popov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Metsger 2009-09-03 11:11:21 UTC
ipt_NETFLOW is Netflow iptables module.
http://sourceforge.net/projects/ipt-netflow

Reproducible: Always
Comment 1 Michael Metsger 2009-09-03 11:12:07 UTC
Created attachment 203039 [details]
ipt_NETFLOW
Comment 2 Azamat H. Hackimov 2010-09-27 22:23:56 UTC
Created attachment 248845 [details]
net-misc/ipt_netflow-9999

There better version, but build system is still ugly.
Comment 3 subscryer 2011-05-10 14:51:08 UTC
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... :/
Comment 4 Oleg Gawriloff 2011-05-10 15:04:54 UTC
(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/
Comment 5 Sergey Popov gentoo-dev 2012-10-06 15:11:44 UTC
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.
Comment 6 Oleg Gawriloff 2012-10-08 06:23:05 UTC
(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'
Comment 7 Sergey Popov gentoo-dev 2012-10-08 08:44:41 UTC
(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
Comment 8 Sergey Popov gentoo-dev 2012-10-08 09:52:00 UTC
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.
Comment 9 Oleg Gawriloff 2012-10-11 10:14:09 UTC
latest ebuild works for me. Thanks
Comment 10 Sergey Popov gentoo-dev 2012-10-14 11:27:54 UTC
+*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