gnu: libtasn1: Ungraft package.

* gnu/packages/tls.scm (libtasn1)[replacement]: Remove field.
[source]: Add patch.
(libtasn1/fixed): Remove variable.
This commit is contained in:
Efraim Flashner 2017-10-01 22:11:57 +03:00
parent de429a9342
commit 3651c4714e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 9 deletions

View File

@ -56,7 +56,6 @@
(package (package
(name "libtasn1") (name "libtasn1")
(version "4.12") (version "4.12")
(replacement libtasn1/fixed)
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -64,7 +63,8 @@
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0ls7jdq3y5fnrwg0pzhq11m21r8pshac2705bczz6mqjc8pdllv7")))) "0ls7jdq3y5fnrwg0pzhq11m21r8pshac2705bczz6mqjc8pdllv7"))
(patches (search-patches "libtasn1-CVE-2017-10790.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("perl" ,perl))) (native-inputs `(("perl" ,perl)))
(home-page "https://www.gnu.org/software/libtasn1/") (home-page "https://www.gnu.org/software/libtasn1/")
@ -76,13 +76,6 @@ networking, allowing for formal validation of data according to some
specifications.") specifications.")
(license license:lgpl2.0+))) (license license:lgpl2.0+)))
(define libtasn1/fixed
(package
(inherit libtasn1)
(source (origin
(inherit (package-source libtasn1))
(patches (search-patches "libtasn1-CVE-2017-10790.patch"))))))
(define-public asn1c (define-public asn1c
(package (package
(name "asn1c") (name "asn1c")