From aaff68eed37cd619863eafa2828328b8d1738f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 4 Apr 2014 22:04:00 +0200 Subject: [PATCH] gnu: shadow: Take the source from Git. * gnu/packages/admin.scm (shadow)[source]: Use the git repo. --- gnu/packages/admin.scm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 89df1a9148..0d50c1b9ca 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -22,6 +22,7 @@ (define-module (gnu packages admin) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) @@ -164,13 +165,15 @@ (define-public shadow (name "shadow") (version "4.1.5.1") (source (origin - (method url-fetch) - (uri (string-append - "http://pkg-shadow.alioth.debian.org/releases/shadow-" - version ".tar.bz2")) + ;; Shadow has no real upstream, and not even tarballs. + ;; See . + (method git-fetch) + (uri (git-reference + (url "git://git.debian.org/git/pkg-shadow/shadow") + (commit (string-append "upstream/" version)))) (sha256 (base32 - "1yvqx57vzih0jdy3grir8vfbkxp0cl0myql37bnmi2yn90vk6cma")))) + "1xx85d83kmacmjzqbamgydcjkwsqd5fi1s2wgwx6myq5wa39qx0n")))) (build-system gnu-build-system) (arguments '(;; Assume System V `setpgrp (void)', which is the default on GNU