From 3651c4714e52cfb1b0e2e98825d5f754a3a06eab Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 1 Oct 2017 22:11:57 +0300 Subject: [PATCH] gnu: libtasn1: Ungraft package. * gnu/packages/tls.scm (libtasn1)[replacement]: Remove field. [source]: Add patch. (libtasn1/fixed): Remove variable. --- gnu/packages/tls.scm | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 0e59d7df10..e37876ce04 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -56,7 +56,6 @@ (package (name "libtasn1") (version "4.12") - (replacement libtasn1/fixed) (source (origin (method url-fetch) @@ -64,7 +63,8 @@ version ".tar.gz")) (sha256 (base32 - "0ls7jdq3y5fnrwg0pzhq11m21r8pshac2705bczz6mqjc8pdllv7")))) + "0ls7jdq3y5fnrwg0pzhq11m21r8pshac2705bczz6mqjc8pdllv7")) + (patches (search-patches "libtasn1-CVE-2017-10790.patch")))) (build-system gnu-build-system) (native-inputs `(("perl" ,perl))) (home-page "https://www.gnu.org/software/libtasn1/") @@ -76,13 +76,6 @@ networking, allowing for formal validation of data according to some specifications.") (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 (package (name "asn1c")