mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: avahi: Default to nss-mdns 0.10.
This works around <https://bugs.gnu.org/30396>. Reported by George myglc2 Clemmer <myglc2@gmail.com>. * gnu/packages/avahi.scm (nss-mdns-0.10): New variable. * gnu/services/avahi.scm (avahi-service-type): Use it.
This commit is contained in:
parent
8f8842cc7b
commit
a68fdfea96
2 changed files with 30 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2013, 2014, 2015, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;;
|
||||
|
@ -100,3 +100,28 @@ DNS-SD (for \"DNS-Based Service Discovery\") protocols.")
|
|||
most often used in home and other small networks without a local name server,
|
||||
to resolve host names in the @samp{.local} top-level domain.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public nss-mdns-0.10
|
||||
;; Kept here to work around in bug in 0.11: <https://bugs.gnu.org/30396> and
|
||||
;; <https://github.com/lathiat/nss-mdns/issues/26>.
|
||||
(package
|
||||
(inherit nss-mdns)
|
||||
(version "0.10")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (list
|
||||
(string-append
|
||||
"mirror://debian/pool/main/n/nss-mdns/nss-mdns_"
|
||||
version ".orig.tar.gz")
|
||||
"http://pkgs.fedoraproject.org/repo/pkgs/nss-mdns/nss-mdns-0.10.tar.gz/03938f17646efbb50aa70ba5f99f51d7/nss-mdns-0.10.tar.gz"
|
||||
|
||||
;; This used to be the canonical URL but it vanished.
|
||||
;; See <http://bugs.gnu.org/18704>.
|
||||
;; (string-append
|
||||
;; "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-"
|
||||
;; version ".tar.gz")
|
||||
))
|
||||
(sha256
|
||||
(base32
|
||||
"0vgs6j0qsl0mwzh5a0m0bykr7x6bx79vnbyn0r3q289rghp3qs0y"))
|
||||
(file-name (string-append "nss-mdns-" version ".tar.gz"))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue