From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czW51-00028u-2z for guix-patches@gnu.org; Sat, 15 Apr 2017 18:22:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czW4w-0005kY-3G for guix-patches@gnu.org; Sat, 15 Apr 2017 18:22:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czW4w-0005kG-0o for guix-patches@gnu.org; Sat, 15 Apr 2017 18:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czW4v-0001hp-Oq for guix-patches@gnu.org; Sat, 15 Apr 2017 18:22:01 -0400 Subject: bug#26526: Update iptables to 1.6.1 Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czW4M-00025N-St for guix-patches@gnu.org; Sat, 15 Apr 2017 18:21:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czW4H-00059t-VN for guix-patches@gnu.org; Sat, 15 Apr 2017 18:21:26 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41933) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czW4H-00058W-O0 for guix-patches@gnu.org; Sat, 15 Apr 2017 18:21:21 -0400 Received: from localhost (unknown [172.58.225.158]) by mail.messagingengine.com (Postfix) with ESMTPA id E4A9D2466B for ; Sat, 15 Apr 2017 18:21:16 -0400 (EDT) Date: Sat, 15 Apr 2017 18:21:10 -0400 From: Leo Famulari Message-ID: <20170415222110.GA17880@jasmine> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26526@debbugs.gnu.org --f2QGlHpHGjS2mn6Y Content-Type: multipart/mixed; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline These patches update iptables to the latest and add some new dependencies that it requires by default. We could avoid these dependencies by configuring iptables with '--disable-nftables'. --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-Add-libmnl.patch" Content-Transfer-Encoding: quoted-printable =46rom 5d2bb12bdfdc6202b5d05296ef4552dc8bc97654 Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Sat, 15 Apr 2017 17:57:00 -0400 Subject: [PATCH 1/3] gnu: Add libmnl. * gnu/packages/linux.scm (libmnl): New variable. --- gnu/packages/linux.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e1ae84e3a..4e1aa0b14 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3711,3 +3711,25 @@ and more on DMI-capable x86 or EFI (IA-64) systems a= nd on some PowerPC machines (PowerMac G4 is known to work).") (home-page "https://www.ezix.org/project/wiki/HardwareLiSter") (license license:gpl2+))) + +(define-public libmnl + (package + (name "libmnl") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.netfilter.org/projects/libmnl/fil= es/" + "libmnl-" version ".tar.bz2")) + (sha256 + (base32 + "108zampspaalv44zn0ar9h386dlfixpd149bnxa5hsi8kxlqj7qp")))) + (build-system gnu-build-system) + (home-page "https://www.netfilter.org/projects/libmnl/") + (synopsis "Netlink utility library") + (description "Libmnl is a minimalistic user-space library oriented to +Netlink developers. There are a lot of common tasks in parsing, validatin= g, +constructing of both the Netlink header and TLVs that are repetitive and e= asy to +get wrong. This library aims to provide simple helpers that allows you to +re-use code and to avoid re-inventing the wheel.") + (license license:lgpl2.1+))) --=20 2.12.2 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0002-gnu-Add-libnftnl.patch" Content-Transfer-Encoding: quoted-printable =46rom 6aa620fc5490bad32a83089332c612634f76d013 Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Sat, 15 Apr 2017 18:12:31 -0400 Subject: [PATCH 2/3] gnu: Add libnftnl. * gnu/packages/linux.scm (libnftnl): New variable. --- gnu/packages/linux.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 4e1aa0b14..7a744ede6 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3733,3 +3733,28 @@ constructing of both the Netlink header and TLVs tha= t are repetitive and easy to get wrong. This library aims to provide simple helpers that allows you to re-use code and to avoid re-inventing the wheel.") (license license:lgpl2.1+))) + +(define-public libnftnl + (package + (name "libnftnl") + (version "1.0.7") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.netfilter.org/projects/libnftnl/f= iles/" + "libnftnl-" version ".tar.bz2")) + (sha256 + (base32 + "10irjrylcfkbp11617yr19vpfhgl54w0kw02jhj0i1abqv5nxdlv")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libmnl" ,libmnl))) + (home-page "https://www.netfilter.org/projects/libnftnl/index.html") + (synopsis "Netlink programming interface to the Linux nf_tables subsys= tem") + (description "Libnftnl is a userspace library providing a low-level ne= tlink +programming interface to the in-kernel nf_tables subsystem. The library +libnftnl has been previously known as libnftables. This library is curren= tly +used by nftables.") + (license license:gpl2+))) --=20 2.12.2 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0003-gnu-iptables-Update-to-1.6.1.patch" Content-Transfer-Encoding: quoted-printable =46rom d2c481f1aa97f0f40dcf3afd14ae8e930abbdf92 Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Sat, 15 Apr 2017 17:57:15 -0400 Subject: [PATCH 3/3] 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. --- gnu/packages/linux.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 7a744ede6..7075e7c85 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1016,21 +1016,28 @@ external rate conversion.") (define-public iptables (package (name "iptables") - (version "1.4.21") + (version "1.6.1") (source (origin (method url-fetch) (uri (string-append - "http://www.netfilter.org/projects/iptables/files/iptab= les-" + "https://www.netfilter.org/projects/iptables/files/ipta= bles-" version ".tar.bz2")) (sha256 (base32 - "1q6kg7sf0pgpq0qhab6sywl23cngxxfzc9zdzscsba8x09l4q02j")))) + "1x8c9y340x79djsq54bc1674ryv59jfphrk4f88i7qbvbnyxghhg")))) (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("flex" ,flex) + ("bison" ,bison))) + (inputs + `(("libmnl" ,libmnl) + ("libnftnl" ,libnftnl))) (arguments '(#:tests? #f ; no test suite #:configure-flags ; add $libdir to the RUNPATH of executables (list (string-append "LDFLAGS=3D-Wl,-rpath=3D" %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") (description "iptables is the userspace command line program used to configure the --=20 2.12.2 --pWyiEgJYm5f9v55/-- --f2QGlHpHGjS2mn6Y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljynNIACgkQJkb6MLrK fwgk9RAAyGFoR3XYVRdRXdPtZhu6NOmrpqBqGxTdDeZn2M8+pPVvlmKvoO541y31 RUwwvkmQIyD2iirMWer9bFq32NdVsg2KAgYTjAp2+gBSYMbPyOYTLz2FdaP++cYP wUe/eXa4cwlvBQk3OXh2zhU9bo4wZ2LC3hzxCl9ldk4om/iS3f5JhWwx8uYk0Kk9 cLGZtBfu53ZDbB6t9p7b0+pR8ACh5cj6KQ9EAkt0tfvFKoVorreRS31MQp5gyJtw 3GZCpGDbmZKBzU5vAhN0NovTJdJveJZGm+VcBQvqaRPPJpc+9bmwL27mHH8bOBVI S+tPFZ799sEg70fRT84hSnIT7IyJ4KuaRJhx/dkcexEX8a5KXkm1pAYxQruAUsBB sLk9B8PZe5KsqXs7EqBFNQi5jfFxd5w6lh2RflgYAauX/i3TfXnZw5z5ODm9eRPg FnniWpx0nO0ROpfPl4uz5U0xD/9aj+inwb48aJjg7VNa7+BPSuILlMrwVVNxgdO3 5umjMYmddpDsFzAPeY2CKWwULw1XQ9cap4ZH3iRrE9TQyhs2+FvHjbOyvjSlhQpv OIvdThy1VrOx/OpwrAv/8nIUdLDcObMeOO0BI2OlfxPatBTH4dWr1MN8d5qj5tRP TEY7i+IjsLKKlzk9uOlNynYfKeTWc2V8diLuKnhGXqVJcvJ0vXE= =Qt/M -----END PGP SIGNATURE----- --f2QGlHpHGjS2mn6Y--