aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-13 13:58:20 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-13 13:58:20 +0100
commit9a0569aafe39c620ee16a9ae0c343754f22ccb69 (patch)
tree77b1611b08aa9ffc54466c2530878cec56b23f53
parentbff39668b9f31f4aead5a2bbe449136f6700474b (diff)
downloadgnu-guix-9a0569aafe39c620ee16a9ae0c343754f22ccb69.tar
gnu-guix-9a0569aafe39c620ee16a9ae0c343754f22ccb69.tar.gz
gnu: lsof: Update to 4.88.
Reported by nebuli on #guix. * gnu/packages/lsof.scm (%ftp-base): New variable. (lsof): Update to 4.88. Add /OLD as alternate URL.
-rw-r--r--gnu/packages/lsof.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm
index f7e5ec07de..8062b99d65 100644
--- a/gnu/packages/lsof.scm
+++ b/gnu/packages/lsof.scm
@@ -23,16 +23,22 @@
#:use-module (guix build-system gnu)
#:use-module (gnu packages perl))
+(define %ftp-base
+ "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/")
+
(define-public lsof
(package
(name "lsof")
- (version "4.87")
+ (version "4.88")
(source (origin
(method url-fetch)
- (uri (string-append "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_"
- version ".tar.bz2"))
- (sha256 (base32
- "0b6si72sml7gr9784ak491cxxbm9mx5bh174yg6rrirbv04kgpfz"))))
+ (uri (list (string-append %ftp-base "lsof_"
+ version ".tar.bz2")
+ (string-append %ftp-base "OLD/lsof_"
+ version ".tar.bz2")))
+ (sha256
+ (base32
+ "16y9wm26rg81mihnzcbdg8h8vhxmq8kn62ssxb8cqydp4q79nvzy"))))
(build-system gnu-build-system)
(inputs `(("perl" ,perl)))
(arguments