summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-12-03 00:40:45 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-12-05 17:58:58 +0100
commitedb8aa3a28d410ef6fcb9355b57f9be26f87caed (patch)
tree7e0b6045c6c8d5a6e1491627f04f0368bc46cb68 /gnu/packages
parent6711ad08c723ffa21a0307c41aa8f966b7614cdd (diff)
gnu: avahi: Incorporate grafted changes.
* gnu/packages/avahi.scm (avahi)[replacement]: Remove. [source](patches): Add avahi-CVE-2018-1000845.patch. [properties]: New field. (avahi/fixed): Remove variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/avahi.scm17
1 files changed, 4 insertions, 13 deletions
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm
index e84fed6a71e..f82a421e084 100644
--- a/gnu/packages/avahi.scm
+++ b/gnu/packages/avahi.scm
@@ -35,7 +35,6 @@
35 (package 35 (package
36 (name "avahi") 36 (name "avahi")
37 (version "0.7") 37 (version "0.7")
38 (replacement avahi/fixed)
39 (home-page "http://avahi.org") 38 (home-page "http://avahi.org")
40 (source (origin 39 (source (origin
41 (method url-fetch) 40 (method url-fetch)
@@ -44,7 +43,10 @@
44 (sha256 43 (sha256
45 (base32 44 (base32
46 "0128n7jlshw4bpx0vg8lwj8qwdisjxi7mvniwfafgnkzzrfrpaap")) 45 "0128n7jlshw4bpx0vg8lwj8qwdisjxi7mvniwfafgnkzzrfrpaap"))
47 (patches (search-patches "avahi-localstatedir.patch")))) 46 (patches (search-patches "avahi-localstatedir.patch"
47 "avahi-CVE-2018-1000845.patch"))))
48 ;; Hide a duplicate of the CVE fixed above.
49 (properties `((lint-hidden-cve . ("CVE-2017-6519"))))
48 (build-system gnu-build-system) 50 (build-system gnu-build-system)
49 (arguments 51 (arguments
50 '(#:configure-flags '("--with-distro=none" 52 '(#:configure-flags '("--with-distro=none"
@@ -75,17 +77,6 @@ network. It is an implementation of the mDNS (for \"Multicast DNS\") and
75DNS-SD (for \"DNS-Based Service Discovery\") protocols.") 77DNS-SD (for \"DNS-Based Service Discovery\") protocols.")
76 (license lgpl2.1+))) 78 (license lgpl2.1+)))
77 79
78(define avahi/fixed
79 (package
80 (inherit avahi)
81 (source (origin
82 (inherit (package-source avahi))
83 (patches
84 (append (search-patches "avahi-CVE-2018-1000845.patch")
85 (origin-patches (package-source avahi))))))
86 ;; Hide a duplicate of the CVE fixed above.
87 (properties `((lint-hidden-cve . ("CVE-2017-6519"))))))
88
89(define-public nss-mdns 80(define-public nss-mdns
90 (package 81 (package
91 (name "nss-mdns") 82 (name "nss-mdns")