aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm54
1 files changed, 34 insertions, 20 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 319e78c05a..9c48430fa6 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -60,29 +60,43 @@
#:use-module (gnu packages man))
(define-public dmd
- (package
- (name "dmd")
- (version "0.2")
- (source (origin
- (method url-fetch)
- (uri (string-append "ftp://alpha.gnu.org/gnu/dmd/dmd-"
- version ".tar.gz"))
- (sha256
- (base32
- "10fl4k96f17gqx2fv8iw9c61ld26gsk4bbrlfqckdmiimz1k175z"))))
- (build-system gnu-build-system)
- (arguments
- '(#:configure-flags '("--localstatedir=/var")))
- (native-inputs `(("pkg-config" ,pkg-config)))
- (inputs `(("guile" ,guile-2.0)))
- (synopsis "Daemon managing daemons")
- (description
- "GNU DMD is a daemon-managing daemon, meaning that it manages the
+ (let ((base-version "0.2")
+ (patch-level "01"))
+ (package
+ (name "dmd")
+ (version (string-append base-version "." patch-level))
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "ftp://alpha.gnu.org/gnu/dmd/dmd-"
+ base-version ".tar.gz"))
+ (sha256
+ (base32
+ "10fl4k96f17gqx2fv8iw9c61ld26gsk4bbrlfqckdmiimz1k175z"))
+ (patches
+ (list (origin
+ ;; This patch augments 'make-fork+exec-constructor' and
+ ;; is used by a bunch of services.
+ (method url-fetch)
+ (uri (string-append
+ "http://git.savannah.gnu.org/cgit/dmd.git/patch/"
+ "?id=d1d0ff30b3ed2b86b0a3c9bc048d2a855f8e31e6"))
+ (sha256
+ (base32
+ "1lqymypixfiyb72d6bn24m06ry2q1ljnnv0qrc89pbb4z9azaa4d"))
+ (file-name "dmd-user-group.patch"))))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:configure-flags '("--localstatedir=/var")))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (inputs `(("guile" ,guile-2.0)))
+ (synopsis "Daemon managing daemons")
+ (description
+ "GNU DMD is a daemon-managing daemon, meaning that it manages the
execution of system services, replacing similar functionality found in
typical init systems. It provides dependency-handling through a convenient
interface and is based on GNU Guile.")
- (license license:gpl3+)
- (home-page "http://www.gnu.org/software/dmd/")))
+ (license license:gpl3+)
+ (home-page "http://www.gnu.org/software/dmd/"))))
(define-public dfc
(package