me
/
guix
Archived
1
0
Fork 0

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.
master
Marius Bakke 2019-12-03 00:40:45 +01:00
parent 6711ad08c7
commit edb8aa3a28
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 13 deletions

View File

@ -35,7 +35,6 @@
(package (package
(name "avahi") (name "avahi")
(version "0.7") (version "0.7")
(replacement avahi/fixed)
(home-page "http://avahi.org") (home-page "http://avahi.org")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -44,7 +43,10 @@
(sha256 (sha256
(base32 (base32
"0128n7jlshw4bpx0vg8lwj8qwdisjxi7mvniwfafgnkzzrfrpaap")) "0128n7jlshw4bpx0vg8lwj8qwdisjxi7mvniwfafgnkzzrfrpaap"))
(patches (search-patches "avahi-localstatedir.patch")))) (patches (search-patches "avahi-localstatedir.patch"
"avahi-CVE-2018-1000845.patch"))))
;; Hide a duplicate of the CVE fixed above.
(properties `((lint-hidden-cve . ("CVE-2017-6519"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags '("--with-distro=none" '(#:configure-flags '("--with-distro=none"
@ -75,17 +77,6 @@ network. It is an implementation of the mDNS (for \"Multicast DNS\") and
DNS-SD (for \"DNS-Based Service Discovery\") protocols.") DNS-SD (for \"DNS-Based Service Discovery\") protocols.")
(license lgpl2.1+))) (license lgpl2.1+)))
(define avahi/fixed
(package
(inherit avahi)
(source (origin
(inherit (package-source avahi))
(patches
(append (search-patches "avahi-CVE-2018-1000845.patch")
(origin-patches (package-source avahi))))))
;; Hide a duplicate of the CVE fixed above.
(properties `((lint-hidden-cve . ("CVE-2017-6519"))))))
(define-public nss-mdns (define-public nss-mdns
(package (package
(name "nss-mdns") (name "nss-mdns")