[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/17: gnu: iptables: Update to 1.8.5.
From: |
guix-commits |
Subject: |
09/17: gnu: iptables: Update to 1.8.5. |
Date: |
Tue, 9 Jun 2020 22:38:15 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 0cafb90d15658f7f69af251d25f9a55ca8098520
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jun 10 02:37:13 2020 +0200
gnu: iptables: Update to 1.8.5.
* gnu/packages/linux.scm (iptables): Update to 1.8.5.
[source]: Add URL.
[arguments]: Add an ‘install-missing-script’ phase.
---
gnu/packages/linux.scm | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index db83069..fc78172 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2073,15 +2073,17 @@ external rate conversion.")
(define-public iptables
(package
(name "iptables")
- (version "1.8.4")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "mirror://netfilter.org/iptables/iptables-"
- version ".tar.bz2"))
- (sha256
- (base32
- "0z0mgs1ghvn3slc868mgbf2g26njgrzcy5ggyb5w4i55j1a3lflr"))))
+ ;; XXX When updating, remove the ‘install-missing-script’ phase.
+ (version "1.8.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (list (string-append "mirror://netfilter.org/iptables/iptables-"
+ version ".tar.bz2")
+ (string-append "https://www.netfilter.org/projects/iptables/"
+ "files/iptables-" version ".tar.bz2")))
+ (sha256
+ (base32 "02a3575ypdpg6a2x752mhk3f7h1381ymkq1n0gss6fp6292xfmyl"))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)
@@ -2093,7 +2095,19 @@ external rate conversion.")
(arguments
'(#:tests? #f ; no test suite
#: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"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-missing-script
+ ;; A typo prevents installation of /sbin/iptables-apply. It's been
+ ;; fixed upstream (d4ed0c741fc789bb09d977d74d30875fdd50d08b), but
+ ;; a patch would require bootstrapping and more inputs. Simply copy
+ ;; the file ourselves.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (sbin (string-append out "/sbin")))
+ (install-file "iptables/iptables-apply" sbin)
+ #t))))))
(home-page "https://www.netfilter.org/projects/iptables/index.html")
(synopsis "Programs to configure Linux IP packet filtering rules")
(description
- 04/17: gnu: mm-common: Update to 1.0.1., (continued)
- 04/17: gnu: mm-common: Update to 1.0.1., guix-commits, 2020/06/09
- 01/17: gnu: djview: Update to 4.11., guix-commits, 2020/06/09
- 03/17: gnu: mm-common: Don't use NAME in source URI., guix-commits, 2020/06/09
- 05/17: gnu: smb4k: Update to 3.0.6., guix-commits, 2020/06/09
- 06/17: gnu: gtkspell3: Update to 3.0.10., guix-commits, 2020/06/09
- 07/17: gnu: libnftnl: Update to 1.1.7., guix-commits, 2020/06/09
- 08/17: gnu: nftables: Update to 0.9.5., guix-commits, 2020/06/09
- 11/17: gnu: mpop: Update to 1.4.10., guix-commits, 2020/06/09
- 13/17: gnu: libnumbertext: Update to 1.0.6., guix-commits, 2020/06/09
- 14/17: gnu: pd: Don't hard-code Tk version., guix-commits, 2020/06/09
- 09/17: gnu: iptables: Update to 1.8.5.,
guix-commits <=
- 10/17: gnu: nvme-cli: Update to 1.11.2., guix-commits, 2020/06/09
- 12/17: gnu: msmtp: Update to 1.8.11., guix-commits, 2020/06/09
- 17/17: gnu: dlib: Update to 19.20., guix-commits, 2020/06/09
- 15/17: gnu: pd: Use HTTPS home page., guix-commits, 2020/06/09
- 16/17: gnu: pd: Update to 0.51-0., guix-commits, 2020/06/09