gnu: net-base: Update to 5.3.

Reported by nebuli on #guix.

* gnu/packages/admin.scm (net-base): Update to 5.3.
This commit is contained in:
Ludovic Courtès 2014-11-13 14:02:14 +01:00
parent 9a0569aafe
commit db719df769

View file

@ -274,15 +274,15 @@ (define-public mingetty
(define-public net-base (define-public net-base
(package (package
(name "net-base") (name "net-base")
(version "5.2") (version "5.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"mirror://debian/pool/main/n/netbase/netbase_" "mirror://debian/pool/main/n/netbase/netbase_"
version ".tar.gz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"01rkvqrg7krkx8b432nz6bpi8w3s4cm5q5r891k23cdrc9nsaayn")))) "12xqjwg3p4rzmmh2iib6sigm9l29y3dgk74mmnw64k84jnbwdxl1"))))
(build-system trivial-build-system) (build-system trivial-build-system)
(arguments (arguments
`(#:modules ((guix build utils)) `(#:modules ((guix build utils))
@ -292,10 +292,10 @@ (define-public net-base
(let* ((source (assoc-ref %build-inputs "source")) (let* ((source (assoc-ref %build-inputs "source"))
(tar (assoc-ref %build-inputs "tar")) (tar (assoc-ref %build-inputs "tar"))
(gzip (assoc-ref %build-inputs "gzip")) (xz (assoc-ref %build-inputs "xz"))
(output (assoc-ref %outputs "out")) (output (assoc-ref %outputs "out"))
(etc (string-append output "/etc"))) (etc (string-append output "/etc")))
(setenv "PATH" (string-append gzip "/bin")) (setenv "PATH" (string-append xz "/bin"))
(system* (string-append tar "/bin/tar") "xvf" (system* (string-append tar "/bin/tar") "xvf"
source) source)
(chdir ,(string-append "netbase-" version)) (chdir ,(string-append "netbase-" version))
@ -306,7 +306,7 @@ (define-public net-base
'("services" "protocols" "rpc"))) '("services" "protocols" "rpc")))
#t)))) #t))))
(native-inputs `(("tar" ,tar) (native-inputs `(("tar" ,tar)
("gzip" ,c:gzip))) ("xz" ,c:xz)))
(synopsis "IANA protocol, port, and RPC number assignments") (synopsis "IANA protocol, port, and RPC number assignments")
(description (description
"This package provides the /etc/services, /etc/protocols, and /etc/rpc "This package provides the /etc/services, /etc/protocols, and /etc/rpc