diff options
| author | Mark H Weaver <mhw@netris.org> | 2018-01-26 00:15:26 -0500 |
|---|---|---|
| committer | Mark H Weaver <mhw@netris.org> | 2018-01-26 00:15:26 -0500 |
| commit | b89d8a4271c8ef02c9b1e51a2c86341cdc09c760 (patch) | |
| tree | f8e763584ac99d810135956cb09511434a703821 /gnu/packages/avahi.scm | |
| parent | 7bf0170e9fbcb08f9edb875dc08e27584826a1c2 (diff) | |
| parent | a81f7eb858bf7e320d4dccde183d303247b6d47a (diff) | |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/avahi.scm')
| -rw-r--r-- | gnu/packages/avahi.scm | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm index 94af0a1be33..661214e23ab 100644 --- a/gnu/packages/avahi.scm +++ b/gnu/packages/avahi.scm | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> | 3 | ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> |
| 4 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> | ||
| 4 | ;;; | 5 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 6 | ;;; This file is part of GNU Guix. |
| 6 | ;;; | 7 | ;;; |
| @@ -76,39 +77,26 @@ DNS-SD (for \"DNS-Based Service Discovery\") protocols.") | |||
| 76 | (define-public nss-mdns | 77 | (define-public nss-mdns |
| 77 | (package | 78 | (package |
| 78 | (name "nss-mdns") | 79 | (name "nss-mdns") |
| 79 | (version "0.10") | 80 | (version "0.11") |
| 80 | (source (origin | 81 | (source (origin |
| 81 | (method url-fetch) | 82 | (method url-fetch) |
| 82 | (uri (list | 83 | (uri (string-append "https://github.com/lathiat/nss-mdns" |
| 83 | (string-append | 84 | "/releases/download/v" version "/" |
| 84 | "mirror://debian/pool/main/n/nss-mdns/nss-mdns_" | 85 | name "-" version ".tar.gz")) |
| 85 | version ".orig.tar.gz") | ||
| 86 | "http://pkgs.fedoraproject.org/repo/pkgs/nss-mdns/nss-mdns-0.10.tar.gz/03938f17646efbb50aa70ba5f99f51d7/nss-mdns-0.10.tar.gz" | ||
| 87 | |||
| 88 | ;; This used to be the canonical URL but it vanished. | ||
| 89 | ;; See <http://bugs.gnu.org/18704>. | ||
| 90 | ;; (string-append | ||
| 91 | ;; "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-" | ||
| 92 | ;; version ".tar.gz") | ||
| 93 | )) | ||
| 94 | (sha256 | 86 | (sha256 |
| 95 | (base32 | 87 | (base32 |
| 96 | "0vgs6j0qsl0mwzh5a0m0bykr7x6bx79vnbyn0r3q289rghp3qs0y")) | 88 | "14jwy6mklzgjz3mfmw67mxhszrw9d3d3yjjhg87j4crci6m19i39")))) |
| 97 | (file-name (string-append name "-" version ".tar.gz")))) | ||
| 98 | (build-system gnu-build-system) | 89 | (build-system gnu-build-system) |
| 99 | (arguments | 90 | (arguments |
| 100 | ;; The Avahi daemon socket is expected by src/Makefile.am to be at | 91 | ;; The Avahi daemon socket is expected by src/Makefile.am to be at |
| 101 | ;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir) | 92 | ;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir) |
| 102 | ;; appropriately. | 93 | ;; appropriately. |
| 103 | '(#:configure-flags '("--localstatedir=/var"))) | 94 | '(#:configure-flags '("--localstatedir=/var"))) |
| 104 | 95 | (home-page "https://github.com/lathiat/nss-mdns") | |
| 105 | ;; XXX: Stale URL, missing replacement. See <http://bugs.gnu.org/18704>. | 96 | (synopsis "Multicast DNS Name Service Switch (@dfn{NSS}) plug-in") |
| 106 | (home-page "http://0pointer.de/lennart/projects/nss-mdns/") | ||
| 107 | |||
| 108 | (synopsis "The mDNS Name Service Switch (NSS) plug-in") | ||
| 109 | (description | 97 | (description |
| 110 | "Nss-mdns is a plug-in for the Name Service Switch (NSS) functionality | 98 | "Nss-mdns is a plug-in for the GNU C Library's Name Service Switch |
| 111 | of the GNU C Library, providing host name resolution via Multicast DNS (mDNS). | 99 | (@dfn{NSS}) that resolves host names via multicast DNS (@dfn{mDNS}). It is |
| 112 | It allows for name resolution by programs in the ad-hoc mDNS domain | 100 | most often used in home and other small networks without a local name server, |
| 113 | '.local'.") | 101 | to resolve host names in the @samp{.local} top-level domain.") |
| 114 | (license lgpl2.1+))) | 102 | (license lgpl2.1+))) |
