3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #12178 from mdorman/revert-iptables

Revert "iptables: 1.4.21 -> 1.6.0"
This commit is contained in:
Eelco Dolstra 2016-01-08 10:45:53 +01:00
commit f9cf253e61

View file

@ -1,22 +1,14 @@
{stdenv, fetchurl, bison, flex, libnetfilter_conntrack, libnftnl, libmnl}:
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "iptables-${version}";
version = "1.6.0";
version = "1.4.21";
src = fetchurl {
url = "http://www.netfilter.org/projects/iptables/files/${name}.tar.bz2";
sha256 = "0q0w1x4aijid8wj7dg1ny9fqwll483f1sqw7kvkskd8q1c52mdsb";
sha256 = "1q6kg7sf0pgpq0qhab6sywl23cngxxfzc9zdzscsba8x09l4q02j";
};
nativeBuildInputs = [bison flex];
buildInputs = [libnetfilter_conntrack libnftnl libmnl];
preConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -lmnl -lnftnl"
'';
configureFlags = ''
--enable-devel
--enable-shared