aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-08-22 21:40:48 +0800
committer宋文武 <iyzsong@gmail.com>2015-08-28 19:53:26 +0800
commitca2a55d46b7b13faf424cb8721f2d6fe662119d7 (patch)
treedadd0b31c2706a93a9bb84e7d830e3b91bb64be4
parentcef644e6276d9a9a983be6b99bf9b9695b140a11 (diff)
downloadgnu-guix-ca2a55d46b7b13faf424cb8721f2d6fe662119d7.tar
gnu-guix-ca2a55d46b7b13faf424cb8721f2d6fe662119d7.tar.gz
gnu: shadow: Update to 4.2.1.
* gnu/packages/admin.scm (shadow): Update to 4.2.1. [source]: Use the release tarball.
-rw-r--r--gnu/packages/admin.scm20
1 files changed, 9 insertions, 11 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 9c48430fa6..53cf65e11a 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -191,17 +191,15 @@ client and server, a telnet client and server, and an rsh client and server.")
(define-public shadow
(package
(name "shadow")
- (version "4.1.5.1")
+ (version "4.2.1")
(source (origin
- ;; Shadow has no real upstream, and not even tarballs.
- ;; See <https://lists.gnu.org/archive/html/guix-devel/2014-03/msg00233.html>.
- (method git-fetch)
- (uri (git-reference
- (url "git://git.debian.org/git/pkg-shadow/shadow")
- (commit (string-append "upstream/" version))))
- (sha256
- (base32
- "1xx85d83kmacmjzqbamgydcjkwsqd5fi1s2wgwx6myq5wa39qx0n"))))
+ (method url-fetch)
+ (uri (string-append
+ "http://pkg-shadow.alioth.debian.org/releases/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0h9x1zdbq0pqmygmc1x459jraiqw4gqz8849v268crk78z8r621v"))))
(build-system gnu-build-system)
(arguments
'(;; 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.
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
- (man (string-append out "/share/man/man1")))
+ (man (string-append out "/share/man")))
(delete-file (string-append bin "/groups"))
(for-each delete-file (find-files man "^groups\\."))
#t))