Archived
1
0
Fork 0

gnu: fakeroot: Update to 1.25.3-1.24d6b08.

* gnu/packages/linux.scm (fakeroot): Update to 1.25.3-1.24d6b08.
This commit is contained in:
Efraim Flashner 2021-08-25 11:45:24 +03:00
parent 89d862493f
commit d9e7d9c408
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7676,18 +7676,21 @@ the superuser to make device nodes.")
(license license:gpl2)))
(define-public fakeroot
;; glibc-2.33 compatibility was added since the last release.
(let ((commit "24d6b0857396cad87b2cabd32fb8af9ef4799915")
(revision "1"))
(package
(name "fakeroot")
(version "1.25.3")
(version (git-version "1.25.3" revision commit))
(source (origin
;; There are no tags in the repository, so take this snapshot.
(method url-fetch)
(uri (string-append "https://deb.debian.org/debian/pool/main/f/"
"fakeroot/fakeroot_" version ".orig.tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://salsa.debian.org/clint/fakeroot.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0v4m3v1bdqvblwj3vqsb3mllgbci6dsgsydq6765nzvz6n1kd44f"))))
"0rg9m30k6v930cmj16qwk1k2vn1l2irxj7r3pp3k1i1sdhfkm3df"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@ -7701,8 +7704,7 @@ the superuser to make device nodes.")
(lambda _
;; Note: The root of the problem is already in "Makefile.am".
(substitute* "Makefile"
(("/bin/sh") (which "sh")))
#t))
(("/bin/sh") (which "sh")))))
(add-after 'unpack 'patch-script
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "scripts/fakeroot.in"
@ -7714,8 +7716,7 @@ the superuser to make device nodes.")
(search-input-file inputs "/bin/cut")) )))
(add-before 'configure 'setenv
(lambda _
(setenv "LIBS" "-lacl")
#t))
(setenv "LIBS" "-lacl")))
(add-before 'check 'prepare-check
(lambda _
(setenv "SHELL" (which "bash"))
@ -7731,8 +7732,7 @@ the superuser to make device nodes.")
(("daemon:") "1:"))
;; We don't have an /etc/passwd entry for "root" - use numeric IDs.
(substitute* "test/compare-tar"
(("tar -tvf") "tar --numeric-owner -tvf"))
#t)))))
(("tar -tvf") "tar --numeric-owner -tvf")))))))
(native-inputs
`(;; For bootstrapping the package.
("autoconf" ,autoconf)
@ -7759,7 +7759,7 @@ have root privileges to create the constituent files of the archives with
the correct permissions and ownership, and then pack them up, or one would
have to construct the archives directly, without using the archiver.")
(home-page "http://freshmeat.sourceforge.net/projects/fakeroot")
(license license:gpl3+)))
(license license:gpl3+))))
(define-public fakechroot
(package