gnu: libarchive: Ungraft.

* gnu/packages/backup.scm (libarchive)[replacement]: Remove.
[source]: Add ‘patches’.
(libarchive/fixed): Remove.

Change-Id: I32b717c2166a6683043e0169b96f383dc9404b96
This commit is contained in:
Ludovic Courtès 2024-05-15 22:14:41 +02:00
parent 526f8b955c
commit 1b4733b77e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -260,7 +260,6 @@ backups (called chunks) to allow easy burning to CD/DVD.")
(define-public libarchive (define-public libarchive
(package (package
(name "libarchive") (name "libarchive")
(replacement libarchive/fixed)
(version "3.6.1") (version "3.6.1")
(source (source
(origin (origin
@ -270,6 +269,7 @@ backups (called chunks) to allow easy burning to CD/DVD.")
(string-append "https://github.com/libarchive/libarchive" (string-append "https://github.com/libarchive/libarchive"
"/releases/download/v" version "/libarchive-" "/releases/download/v" version "/libarchive-"
version ".tar.xz"))) version ".tar.xz")))
(patches (search-patches "libarchive-remove-potential-backdoor.patch"))
(sha256 (sha256
(base32 (base32
"1rj8q5v26lxxr8x4b4nqbrj7p06qvl91hb8cdxi3xx3qp771lhas")))) "1rj8q5v26lxxr8x4b4nqbrj7p06qvl91hb8cdxi3xx3qp771lhas"))))
@ -349,25 +349,6 @@ random access nor for in-place modification. This package provides the
@command{bsdcat}, @command{bsdcpio} and @command{bsdtar} commands.") @command{bsdcat}, @command{bsdcpio} and @command{bsdtar} commands.")
(license license:bsd-2))) (license license:bsd-2)))
(define-public libarchive/fixed
(hidden-package
(package
(inherit libarchive)
(version "3.6.1")
(source
(origin
(method url-fetch)
(uri (list (string-append "https://libarchive.org/downloads/libarchive-"
version ".tar.xz")
(string-append "https://github.com/libarchive/libarchive"
"/releases/download/v" version "/libarchive-"
version ".tar.xz")))
(patches (search-patches "libarchive-remove-potential-backdoor.patch"))
(sha256
(base32
"1rj8q5v26lxxr8x4b4nqbrj7p06qvl91hb8cdxi3xx3qp771lhas")))))))
(define-public rdup (define-public rdup
(package (package
(name "rdup") (name "rdup")