2008-08-15 13:49:43 +04:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2009-07-23 22:16:24 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2013-11-20 22:33:26 +04:00
|
|
|
name = "iptables-1.4.21";
|
2008-08-15 13:49:43 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-07-23 22:16:24 +04:00
|
|
|
url = "http://www.netfilter.org/projects/iptables/files/${name}.tar.bz2";
|
2013-11-20 22:33:26 +04:00
|
|
|
sha256 = "1q6kg7sf0pgpq0qhab6sywl23cngxxfzc9zdzscsba8x09l4q02j";
|
2008-08-15 13:49:43 +04:00
|
|
|
};
|
|
|
|
|
2013-11-20 22:33:26 +04:00
|
|
|
configureFlags = ''
|
|
|
|
--enable-devel
|
|
|
|
--enable-shared
|
|
|
|
'';
|
2010-05-21 02:11:44 +04:00
|
|
|
|
2008-08-15 13:49:43 +04:00
|
|
|
meta = {
|
|
|
|
description = "A program to configure the Linux IP packet filtering ruleset";
|
|
|
|
homepage = http://www.netfilter.org/projects/iptables/index.html;
|
2010-08-14 03:11:58 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-08-15 13:49:43 +04:00
|
|
|
};
|
|
|
|
}
|