gnu: iptables: Update to 1.6.1.

* gnu/packages/linux.scm (iptables): Update to 1.6.1.
[source], [home-page]: Use HTTPS URLs.
[inputs]: Add libmnl and libnftnl.
[native-inputs]: Add bison, flex, and pkg-config.
master
Leo Famulari 2017-04-15 17:57:15 -04:00
parent b754c6121b
commit 13223c8e59
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 11 additions and 4 deletions

View File

@ -1016,21 +1016,28 @@ external rate conversion.")
(define-public iptables (define-public iptables
(package (package
(name "iptables") (name "iptables")
(version "1.4.21") (version "1.6.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"http://www.netfilter.org/projects/iptables/files/iptables-" "https://www.netfilter.org/projects/iptables/files/iptables-"
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1q6kg7sf0pgpq0qhab6sywl23cngxxfzc9zdzscsba8x09l4q02j")))) "1x8c9y340x79djsq54bc1674ryv59jfphrk4f88i7qbvbnyxghhg"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)
("flex" ,flex)
("bison" ,bison)))
(inputs
`(("libmnl" ,libmnl)
("libnftnl" ,libnftnl)))
(arguments (arguments
'(#:tests? #f ; no test suite '(#:tests? #f ; no test suite
#:configure-flags ; add $libdir to the RUNPATH of executables #:configure-flags ; add $libdir to the RUNPATH of executables
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")))) (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))))
(home-page "http://www.netfilter.org/projects/iptables/index.html") (home-page "https://www.netfilter.org/projects/iptables/index.html")
(synopsis "Program to configure the Linux IP packet filtering rules") (synopsis "Program to configure the Linux IP packet filtering rules")
(description (description
"iptables is the userspace command line program used to configure the "iptables is the userspace command line program used to configure the