summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-10-01 22:11:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-10-01 22:16:44 +0300
commit3651c4714e52cfb1b0e2e98825d5f754a3a06eab (patch)
tree619c79bacd23c3ca6a9cab47149557c5d656a9a4
parentde429a93429fef13727bc84c1cab8a3fbbe150dd (diff)
downloadguix-3651c4714e52cfb1b0e2e98825d5f754a3a06eab.tar.gz
gnu: libtasn1: Ungraft package.
* gnu/packages/tls.scm (libtasn1)[replacement]: Remove field.
[source]: Add patch.
(libtasn1/fixed): Remove variable.
-rw-r--r--gnu/packages/tls.scm11
1 files 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")