aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/lsof.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-10-06 01:01:20 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-10-06 01:35:27 +0800
commit05da43104c37dfa548559d4d43a54c3083be2e86 (patch)
tree8c3160e59d787bb8dc28034d431721565f708f24 /gnu/packages/lsof.scm
parentfb59f4f392635f459ed199a3d291dbdb7c437aae (diff)
downloadguix-05da43104c37dfa548559d4d43a54c3083be2e86.tar
guix-05da43104c37dfa548559d4d43a54c3083be2e86.tar.gz
gnu: lsof: Update to 4.99.3.
* gnu/packages/lsof.scm (lsof): Update to 4.99.3. [native-inputs]: Add libtool. [arguments]<#:phases>: Add fix-configure-ac-version phase. Change-Id: Id086d46c5dbef6028e5eae4df1d2f0b24d4c3d76
Diffstat (limited to 'gnu/packages/lsof.scm')
-rw-r--r--gnu/packages/lsof.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm
index 8fd932daaf..f3f808ad90 100644
--- a/gnu/packages/lsof.scm
+++ b/gnu/packages/lsof.scm
@@ -36,7 +36,7 @@
(define-public lsof
(package
(name "lsof")
- (version "4.98.0")
+ (version "4.99.3")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -45,17 +45,25 @@
(file-name (git-file-name name version))
(sha256
(base32
- "0cjmhd01p5a9cy52lirv1rkidrzhyn366f4h212jcf1cmp8xh0hd"))))
+ "1v32407al4j0hhcph95lv4xvr9h012lii29iyq41iwj39zwfavax"))))
(build-system gnu-build-system)
(native-inputs (list automake
autoconf
groff ;for soelim
+ libtool
perl
pkg-config
procps ;for ps
util-linux)) ;for unshare
(arguments
`(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-configure-ac-version
+ ;; see https://github.com/lsof-org/lsof/commit/932a0b3b1992497e23fd9b8d31116b9ca9b0f98d
+ ;; to fix tests/case-01-version.bash test fail.
+ (lambda _
+ (substitute* "configure.ac"
+ (("4\\.99\\.0")
+ "4.99.3"))))
(add-before 'bootstrap 'disable-failing-tests
(lambda _
(substitute* "Makefile.am"