gnu: shadow: Update to 4.2.1.

* gnu/packages/admin.scm (shadow): Update to 4.2.1.
  [source]: Use the release tarball.
This commit is contained in:
宋文武 2015-08-22 21:40:48 +08:00
parent cef644e627
commit ca2a55d46b
1 changed files with 9 additions and 11 deletions

View File

@ -191,17 +191,15 @@ client and server, a telnet client and server, and an rsh client and server.")
(define-public shadow (define-public shadow
(package (package
(name "shadow") (name "shadow")
(version "4.1.5.1") (version "4.2.1")
(source (origin (source (origin
;; Shadow has no real upstream, and not even tarballs. (method url-fetch)
;; See <https://lists.gnu.org/archive/html/guix-devel/2014-03/msg00233.html>. (uri (string-append
(method git-fetch) "http://pkg-shadow.alioth.debian.org/releases/"
(uri (git-reference name "-" version ".tar.xz"))
(url "git://git.debian.org/git/pkg-shadow/shadow") (sha256
(commit (string-append "upstream/" version)))) (base32
(sha256 "0h9x1zdbq0pqmygmc1x459jraiqw4gqz8849v268crk78z8r621v"))))
(base32
"1xx85d83kmacmjzqbamgydcjkwsqd5fi1s2wgwx6myq5wa39qx0n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(;; Assume System V `setpgrp (void)', which is the default on GNU '(;; Assume System V `setpgrp (void)', which is the default on GNU
@ -222,7 +220,7 @@ client and server, a telnet client and server, and an rsh client and server.")
;; Remove `groups', which is already provided by Coreutils. ;; Remove `groups', which is already provided by Coreutils.
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")) (bin (string-append out "/bin"))
(man (string-append out "/share/man/man1"))) (man (string-append out "/share/man")))
(delete-file (string-append bin "/groups")) (delete-file (string-append bin "/groups"))
(for-each delete-file (find-files man "^groups\\.")) (for-each delete-file (find-files man "^groups\\."))
#t)) #t))