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