diff options
| author | Eric Le Bihan <eric.le.bihan.dev@free.fr> | 2016-07-30 16:05:28 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2016-08-01 01:11:57 +0200 |
| commit | 35977a8897db26a309df9afa487a52c09ecece29 (patch) | |
| tree | 0e5d56c99fb7796bc67dacc8020451d7b7e1696c /gnu | |
| parent | 5e74529271fddb9dde88ac15f5ca26300d1cd0b2 (diff) | |
gnu: Add s6-rc.
* gnu/packages/skarnet.scm (s6-rc): New variable.
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/skarnet.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm index 57fc12d1a3c..1eda4461e10 100644 --- a/gnu/packages/skarnet.scm +++ b/gnu/packages/skarnet.scm | |||
| @@ -204,3 +204,45 @@ as an alternative to the BIND, djbdns or other DNS clients."))) | |||
| 204 | It includes command-line client and server management, TCP access control, | 204 | It includes command-line client and server management, TCP access control, |
| 205 | privilege escalation across UNIX domain sockets, IDENT protocol management and | 205 | privilege escalation across UNIX domain sockets, IDENT protocol management and |
| 206 | clock synchronization."))) | 206 | clock synchronization."))) |
| 207 | |||
| 208 | (define-public s6-rc | ||
| 209 | (package | ||
| 210 | (name "s6-rc") | ||
| 211 | (version "0.0.3.0") | ||
| 212 | (source | ||
| 213 | (origin | ||
| 214 | (method url-fetch) | ||
| 215 | (uri (string-append "http://skarnet.org/software/s6-rc/s6-rc-" | ||
| 216 | version ".tar.gz")) | ||
| 217 | (sha256 | ||
| 218 | (base32 | ||
| 219 | "0bl94lbaphbpaaj4wbb86xqgp5bcgrf3m7p80mimw1qsjrvlxfay")))) | ||
| 220 | (build-system gnu-build-system) | ||
| 221 | (inputs `(("skalibs" ,skalibs) | ||
| 222 | ("execline" ,execline) | ||
| 223 | ("s6" ,s6))) | ||
| 224 | (arguments | ||
| 225 | '(#:configure-flags (list | ||
| 226 | (string-append "--with-lib=" | ||
| 227 | (assoc-ref %build-inputs "skalibs") | ||
| 228 | "/lib/skalibs") | ||
| 229 | (string-append "--with-lib=" | ||
| 230 | (assoc-ref %build-inputs "execline") | ||
| 231 | "/lib/execline") | ||
| 232 | (string-append "--with-lib=" | ||
| 233 | (assoc-ref %build-inputs "s6") | ||
| 234 | "/lib/s6") | ||
| 235 | (string-append "--with-sysdeps=" | ||
| 236 | (assoc-ref %build-inputs "skalibs") | ||
| 237 | "/lib/skalibs/sysdeps")) | ||
| 238 | #:tests? #f)) | ||
| 239 | (home-page "http://skarnet.org/software/s6-rc") | ||
| 240 | (license isc) | ||
| 241 | (synopsis "Service manager for s6-based systems") | ||
| 242 | (description | ||
| 243 | "s6-rc is a service manager for s6-based systems, i.e. a suite of | ||
| 244 | programs that can start and stop services, both long-running daemons and | ||
| 245 | one-time initialization scripts, in the proper order according to a dependency | ||
| 246 | tree. It ensures that long-running daemons are supervised by the s6 | ||
| 247 | infrastructure, and that one-time scripts are also run in a controlled | ||
| 248 | environment."))) | ||
