gnu: setbfree: Disable unsupported optimizations on non-x86.
[jackhill/guix/guix.git] / gnu / packages / admin.scm
CommitLineData
233e7676 1;;; GNU Guix --- Functional package management for GNU
61bdd0d8 2;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
340c7033 3;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
9a727700 4;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
87216303 5;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
da6c3749 6;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
15926aec 7;;; Copyright © 2015 Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
1df895b0 8;;;
233e7676 9;;; This file is part of GNU Guix.
1df895b0 10;;;
233e7676 11;;; GNU Guix is free software; you can redistribute it and/or modify it
1df895b0
LC
12;;; under the terms of the GNU General Public License as published by
13;;; the Free Software Foundation; either version 3 of the License, or (at
14;;; your option) any later version.
15;;;
233e7676 16;;; GNU Guix is distributed in the hope that it will be useful, but
1df895b0
LC
17;;; WITHOUT ANY WARRANTY; without even the implied warranty of
18;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19;;; GNU General Public License for more details.
20;;;
21;;; You should have received a copy of the GNU General Public License
233e7676 22;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
1df895b0 23
4aeea896 24(define-module (gnu packages admin)
f61e0e79 25 #:use-module ((guix licenses) #:prefix license:)
1df895b0 26 #:use-module (guix packages)
4fb7e0de 27 #:use-module (guix utils)
1df895b0 28 #:use-module (guix download)
aaff68ee 29 #:use-module (guix git-download)
fbc1a58f 30 #:use-module (guix build-system cmake)
1df895b0 31 #:use-module (guix build-system gnu)
c773aba8 32 #:use-module (guix build-system trivial)
59a43334 33 #:use-module (gnu packages)
c73d4c92 34 #:use-module (gnu packages base)
9a9e72d5 35 #:use-module (gnu packages ncurses)
9927622f 36 #:use-module (gnu packages readline)
f15164e7
LC
37 #:use-module (gnu packages linux)
38 #:use-module (gnu packages guile)
1dba6407 39 #:use-module (gnu packages gettext)
c73d4c92 40 #:use-module (gnu packages perl)
87216303 41 #:use-module (gnu packages tcl)
f61e0e79 42 #:use-module (gnu packages compression)
a7fd7b68 43 #:use-module (gnu packages tls)
61bdd0d8 44 #:use-module (gnu packages gnupg)
02c86a5e
LC
45 #:use-module (gnu packages bison)
46 #:use-module (gnu packages flex)
47 #:use-module (gnu packages glib)
87216303 48 #:use-module (gnu packages pkg-config)
b36fcf95 49 #:use-module (gnu packages popt)
fccf2fe0 50 #:use-module (gnu packages texinfo)
e1485c7b 51 #:use-module (gnu packages groff)
42dc3af5
MW
52 #:use-module (gnu packages pciutils)
53 #:use-module (gnu packages libusb)
54 #:use-module (gnu packages libftdi)
c4492a16 55 #:use-module (gnu packages image)
da6c3749 56 #:use-module (gnu packages xorg)
d525da85
LC
57 #:use-module (gnu packages python)
58 #:use-module (gnu packages man))
f15164e7
LC
59
60(define-public dmd
61 (package
62 (name "dmd")
b3342b54 63 (version "0.2")
f15164e7
LC
64 (source (origin
65 (method url-fetch)
d0821398
LC
66 (uri (string-append "ftp://alpha.gnu.org/gnu/dmd/dmd-"
67 version ".tar.gz"))
f15164e7
LC
68 (sha256
69 (base32
b3342b54 70 "10fl4k96f17gqx2fv8iw9c61ld26gsk4bbrlfqckdmiimz1k175z"))))
f15164e7
LC
71 (build-system gnu-build-system)
72 (arguments
73 '(#:configure-flags '("--localstatedir=/var")))
2941448e
LC
74 (native-inputs `(("pkg-config" ,pkg-config)))
75 (inputs `(("guile" ,guile-2.0)))
f15164e7 76 (synopsis "Daemon managing daemons")
a22dc0c4 77 (description
79c311b8
LC
78 "GNU DMD is a daemon-managing daemon, meaning that it manages the
79execution of system services, replacing similar functionality found in
80typical init systems. It provides dependency-handling through a convenient
81interface and is based on GNU Guile.")
f61e0e79 82 (license license:gpl3+)
f15164e7 83 (home-page "http://www.gnu.org/software/dmd/")))
1df895b0 84
fbc1a58f
CR
85(define-public dfc
86 (package
87 (name "dfc")
180d7ac1 88 (version "3.0.4")
fbc1a58f
CR
89 (source
90 (origin
91 (method url-fetch)
92 (uri (string-append
180d7ac1 93 "http://projects.gw-computing.net/attachments/download/79/dfc-"
fbc1a58f
CR
94 version ".tar.gz"))
95 (sha256
96 (base32
180d7ac1 97 "0zk1ppx93ijimf4sbgqilxxikpsa2gmpbynknyh41xy7jbdjxp0b"))))
fbc1a58f
CR
98 (build-system cmake-build-system)
99 (arguments '(#:tests? #f)) ; There are no tests.
1dba6407 100 (native-inputs `(("gettext" ,gnu-gettext)))
fbc1a58f
CR
101 (home-page "http://projects.gw-computing.net/projects/dfc")
102 (synopsis "Display file system space usage using graphs and colors")
103 (description
104 "dfc (df color) is a modern version of df. It uses colors, draws pretty
105graphs and can export its output to different formats.")
f61e0e79 106 (license license:bsd-3)))
fbc1a58f 107
340c7033
CR
108(define-public htop
109 (package
110 (name "htop")
da891830 111 (version "1.0.3")
340c7033
CR
112 (source (origin
113 (method url-fetch)
20e6c852 114 (uri (string-append "http://hisham.hm/htop/releases/"
340c7033
CR
115 version "/htop-" version ".tar.gz"))
116 (sha256
117 (base32
da891830 118 "0a8qbpsifzjwc4f45xfwm48jhm59g6q5hlib4bf7z13mgy95fp05"))))
340c7033
CR
119 (build-system gnu-build-system)
120 (inputs
121 `(("ncurses" ,ncurses)))
122 (home-page "http://htop.sourceforge.net/")
123 (synopsis "Interactive process viewer")
124 (description
125 "This is htop, an interactive process viewer. It is a text-mode
126application (for console or X terminals) and requires ncurses.")
f61e0e79 127 (license license:gpl2)))
340c7033 128
1df895b0
LC
129(define-public pies
130 (package
131 (name "pies")
132 (version "1.2")
133 (source
134 (origin
135 (method url-fetch)
136 (uri (string-append "mirror://gnu/pies/pies-"
137 version ".tar.bz2"))
138 (sha256
139 (base32
140 "18w0dbg77i56cx1bwa789w0qi3l4xkkbascxcv2b6gbm0zmjg1g6"))))
141 (build-system gnu-build-system)
142 (home-page "http://www.gnu.org/software/pies/")
f50d2669 143 (synopsis "Program invocation and execution supervisor")
1df895b0 144 (description
79c311b8 145 "GNU pies is a program that supervises the invocation and execution of
a22dc0c4
LC
146other programs. It reads the list of programs to be started from its
147configuration file, executes them, and then monitors their status,
148re-executing them as necessary.")
f61e0e79 149 (license license:gpl3+)))
1df895b0
LC
150
151(define-public inetutils
152 (package
153 (name "inetutils")
8b1c8e4e 154 (version "1.9.4")
01eafd38
LC
155 (source (origin
156 (method url-fetch)
157 (uri (string-append "mirror://gnu/inetutils/inetutils-"
158 version ".tar.gz"))
159 (sha256
160 (base32
8b1c8e4e 161 "05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"))))
1df895b0 162 (build-system gnu-build-system)
01eafd38 163 (arguments `(;; FIXME: `tftp.sh' relies on `netstat' from utils-linux,
1df895b0
LC
164 ;; which is currently missing.
165 #:tests? #f))
9927622f
LC
166 (inputs `(("ncurses" ,ncurses)
167 ("readline" ,readline))) ; for 'ftp'
1df895b0 168 (home-page "http://www.gnu.org/software/inetutils/")
f50d2669 169 (synopsis "Basic networking utilities")
1df895b0 170 (description
a22dc0c4
LC
171 "Inetutils is a collection of common network programs, such as an ftp
172client and server, a telnet client and server, and an rsh client and server.")
f61e0e79 173 (license license:gpl3+)))
9a9e72d5
LC
174
175(define-public shadow
176 (package
177 (name "shadow")
178 (version "4.1.5.1")
179 (source (origin
aaff68ee
LC
180 ;; Shadow has no real upstream, and not even tarballs.
181 ;; See <https://lists.gnu.org/archive/html/guix-devel/2014-03/msg00233.html>.
182 (method git-fetch)
183 (uri (git-reference
184 (url "git://git.debian.org/git/pkg-shadow/shadow")
185 (commit (string-append "upstream/" version))))
9a9e72d5
LC
186 (sha256
187 (base32
aaff68ee 188 "1xx85d83kmacmjzqbamgydcjkwsqd5fi1s2wgwx6myq5wa39qx0n"))))
9a9e72d5
LC
189 (build-system gnu-build-system)
190 (arguments
191 '(;; Assume System V `setpgrp (void)', which is the default on GNU
192 ;; variants (`AC_FUNC_SETPGRP' is not cross-compilation capable.)
193 #:configure-flags '("--with-libpam" "ac_cv_func_setpgrp_void=yes")
194
195 #:phases (alist-cons-before
196 'build 'set-nscd-file-name
197 (lambda* (#:key inputs #:allow-other-keys)
198 ;; Use the right file name for nscd.
199 (let ((libc (assoc-ref inputs "libc")))
200 (substitute* "lib/nscd.c"
201 (("/usr/sbin/nscd")
202 (string-append libc "/sbin/nscd")))))
203 (alist-cons-after
204 'install 'remove-groups
205 (lambda* (#:key outputs #:allow-other-keys)
206 ;; Remove `groups', which is already provided by Coreutils.
207 (let* ((out (assoc-ref outputs "out"))
208 (bin (string-append out "/bin"))
209 (man (string-append out "/share/man/man1")))
210 (delete-file (string-append bin "/groups"))
211 (for-each delete-file (find-files man "^groups\\."))
212 #t))
8d846470 213 %standard-phases))))
9a9e72d5
LC
214
215 (inputs (if (string-suffix? "-linux"
216 (or (%current-target-system)
217 (%current-system)))
218 `(("linux-pam" ,linux-pam))
219 '()))
220 (home-page "http://pkg-shadow.alioth.debian.org/")
221 (synopsis "Authentication-related tools such as passwd, su, and login")
222 (description
223 "Shadow provides a number of authentication-related tools, including:
224login, passwd, su, groupadd, and useradd.")
225
226 ;; The `vipw' program is GPLv2+.
227 ;; libmisc/salt.c is public domain.
f61e0e79 228 (license license:bsd-3)))
1e151896
LC
229
230(define-public mingetty
231 (package
232 (name "mingetty")
233 (version "1.08")
234 (source (origin
235 (method url-fetch)
236 (uri (string-append "mirror://sourceforge/mingetty/mingetty-"
237 version ".tar.gz"))
238 (sha256
239 (base32
240 "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g"))))
241 (build-system gnu-build-system)
242 (arguments
243 `(#:phases (alist-replace 'configure
244 (lambda* (#:key inputs outputs
245 #:allow-other-keys)
246 (let* ((out (assoc-ref outputs "out"))
247 (man8 (string-append
248 out "/share/man/man8"))
249 (sbin (string-append out "/sbin"))
250 (shadow (assoc-ref inputs "shadow"))
251 (login (string-append shadow
252 "/bin/login")))
253 (substitute* "Makefile"
254 (("^SBINDIR.*")
255 (string-append "SBINDIR = " out
256 "/sbin\n"))
257 (("^MANDIR.*")
258 (string-append "MANDIR = " out
259 "/share/man/man8\n")))
260
261 ;; Pick the right 'login' by default.
262 (substitute* "mingetty.c"
263 (("\"/bin/login\"")
264 (string-append "\"" login "\"")))
265
266 (mkdir-p sbin)
267 (mkdir-p man8)))
268 %standard-phases)
269 #:tests? #f)) ; no tests
270 (inputs `(("shadow" ,shadow)))
271
272 (home-page "http://sourceforge.net/projects/mingetty")
273 (synopsis "Getty for the text console")
274 (description
275 "Small console getty that is started on the Linux text console,
276asks for a login name and then transfers over to 'login'. It is extended to
277allow automatic login and starting any app.")
f61e0e79 278 (license license:gpl2+)))
c773aba8
LC
279
280(define-public net-base
281 (package
282 (name "net-base")
db719df7 283 (version "5.3")
c773aba8
LC
284 (source (origin
285 (method url-fetch)
286 (uri (string-append
34af3684 287 "mirror://debian/pool/main/n/netbase/netbase_"
db719df7 288 version ".tar.xz"))
c773aba8
LC
289 (sha256
290 (base32
db719df7 291 "12xqjwg3p4rzmmh2iib6sigm9l29y3dgk74mmnw64k84jnbwdxl1"))))
c773aba8
LC
292 (build-system trivial-build-system)
293 (arguments
294 `(#:modules ((guix build utils))
295 #:builder (begin
296 (use-modules (guix build utils)
297 (srfi srfi-26))
298
299 (let* ((source (assoc-ref %build-inputs "source"))
300 (tar (assoc-ref %build-inputs "tar"))
db719df7 301 (xz (assoc-ref %build-inputs "xz"))
c773aba8
LC
302 (output (assoc-ref %outputs "out"))
303 (etc (string-append output "/etc")))
db719df7 304 (setenv "PATH" (string-append xz "/bin"))
c773aba8
LC
305 (system* (string-append tar "/bin/tar") "xvf"
306 source)
307 (chdir ,(string-append "netbase-" version))
308 (mkdir-p etc)
309 (for-each copy-file
310 '("etc-services" "etc-protocols" "etc-rpc")
311 (map (cut string-append etc "/" <>)
312 '("services" "protocols" "rpc")))
313 #t))))
314 (native-inputs `(("tar" ,tar)
f61e0e79 315 ("xz" ,xz)))
c773aba8
LC
316 (synopsis "IANA protocol, port, and RPC number assignments")
317 (description
318 "This package provides the /etc/services, /etc/protocols, and /etc/rpc
319files, which contain information about the IANA-assigned port, protocol, and
320ONC RPC numbers")
321 (home-page "http://packages.debian.org/sid/netbase")
f61e0e79 322 (license license:gpl2)))
94c4a58a
LC
323
324(define-public netcat
325 (package
326 (name "netcat")
327 (version "0.7.1")
328 (source (origin
329 (method url-fetch)
330 (uri (string-append "mirror://sourceforge/netcat/netcat-"
331 version ".tar.bz2"))
332 (sha256
333 (base32
334 "1frjcdkhkpzk0f84hx6hmw5l0ynpmji8vcbaxg8h5k2svyxz0nmm"))))
335 (build-system gnu-build-system)
0e4e89c2
MW
336 (arguments
337 `(#:configure-flags
338 ;; By default, man and info pages are put in PREFIX/{man,info},
339 ;; but we want them in PREFIX/share/{man,info}.
340 (let ((out (assoc-ref %outputs "out")))
341 (list (string-append "--mandir=" out "/share/man")
342 (string-append "--infodir=" out "/share/info")))))
94c4a58a
LC
343 (home-page "http://netcat.sourceforge.net")
344 (synopsis "Read and write data over TCP/IP")
345 (description
346 "Netcat is a featured networking utility which reads and writes data
347across network connections, using the TCP/IP protocol. It is designed to be a
348reliable \"back-end\" tool that can be used directly or easily driven by other
35b9e423 349programs and scripts. At the same time, it is a feature-rich network debugging
94c4a58a
LC
350and exploration tool, since it can create almost any kind of connection you
351would need and has several interesting built-in capabilities.")
f61e0e79 352 (license license:gpl2+)))
d038cac1
LC
353
354(define-public alive
355 (package
356 (name "alive")
357 (version "2.0.2")
358 (source (origin
359 (method url-fetch)
360 (uri (string-append "mirror://gnu/alive/alive-"
361 version ".tar.xz"))
362 (sha256
363 (base32
364 "1vrzg51ai68x9yld7vbgl58sxaw5qpx8rbakwcxn4cqq6vpxj38j"))))
365 (build-system gnu-build-system)
366 (arguments '(#:configure-flags '("alive_cv_nice_ping=yes")))
367 (inputs `(("guile" ,guile-2.0)
368 ("inetutils" ,inetutils)))
369 (home-page "http://www.gnu.org/software/alive/")
370 (synopsis "Autologin and keep-alive daemon")
371 (description
372 "GNU Alive sends periodic pings to a server, generally to keep a
373connection alive.")
f61e0e79 374 (license license:gpl3+)))
c73d4c92
LC
375
376(define-public isc-dhcp
377 (package
378 (name "isc-dhcp")
447ce591 379 (version "4.3.1")
c73d4c92
LC
380 (source (origin
381 (method url-fetch)
382 (uri (string-append "http://ftp.isc.org/isc/dhcp/"
383 version "/dhcp-" version ".tar.gz"))
384 (sha256
385 (base32
447ce591 386 "1w4s7sni1m9223ya8m2a64lr62845c6xlraprjf8zfx6lylbqv16"))))
c73d4c92
LC
387 (build-system gnu-build-system)
388 (arguments
389 '(#:phases (alist-cons-after
390 'configure 'post-configure
391 (lambda* (#:key outputs #:allow-other-keys)
392 ;; Point to the right client script, which will be
393 ;; installed in a later phase.
394 (substitute* "includes/dhcpd.h"
395 (("#define[[:blank:]]+_PATH_DHCLIENT_SCRIPT.*")
396 (let ((out (assoc-ref outputs "out")))
397 (string-append "#define _PATH_DHCLIENT_SCRIPT \""
398 out "/libexec/dhclient-script"
399 "\"\n"))))
400
401 ;; During the 'build' phase, 'bind.tar.gz' is extracted, so
402 ;; we must patch shebangs in there and make sure the right
403 ;; shell is used.
404 (with-directory-excursion "bind"
405 (substitute* "Makefile"
406 (("\\./configure")
407 (let ((sh (which "sh")))
408 (string-append "./configure CONFIG_SHELL="
409 sh " SHELL=" sh))))
410
411 (system* "tar" "xf" "bind.tar.gz")
412 (for-each patch-shebang
447ce591 413 (find-files "bind-9.9.5-P1" ".*"))
c73d4c92 414 (zero? (system* "tar" "cf" "bind.tar.gz"
447ce591 415 "bind-9.9.5-P1"))))
c73d4c92
LC
416 (alist-cons-after
417 'install 'post-install
418 (lambda* (#:key inputs outputs #:allow-other-keys)
419 ;; Install the dhclient script for GNU/Linux and make sure
420 ;; if finds all the programs it needs.
421 (let* ((out (assoc-ref outputs "out"))
422 (libexec (string-append out "/libexec"))
423 (coreutils (assoc-ref inputs "coreutils"))
94c43007 424 (inetutils (assoc-ref inputs "inetutils"))
c73d4c92
LC
425 (net-tools (assoc-ref inputs "net-tools"))
426 (sed (assoc-ref inputs "sed")))
427 (substitute* "client/scripts/linux"
428 (("/sbin/ip")
429 (string-append (assoc-ref inputs "iproute")
430 "/sbin/ip")))
431
432 (mkdir-p libexec)
433 (copy-file "client/scripts/linux"
434 (string-append libexec "/dhclient-script"))
435
94c43007
MW
436 (wrap-program
437 (string-append libexec "/dhclient-script")
438 `("PATH" ":" prefix
439 ,(map (lambda (dir)
440 (string-append dir "/bin:"
441 dir "/sbin"))
442 (list inetutils net-tools coreutils sed))))))
c73d4c92
LC
443 %standard-phases))))
444
445 (native-inputs `(("perl" ,perl)))
446
94c43007
MW
447 (inputs `(("inetutils" ,inetutils)
448 ("net-tools" ,net-tools)
dc343935
LC
449 ("iproute" ,iproute)
450
451 ;; When cross-compiling, we need the cross Coreutils and sed.
452 ;; Otherwise just use those from %FINAL-INPUTS.
453 ,@(if (%current-target-system)
454 `(("coreutils" ,coreutils)
455 ("sed" ,sed))
456 '())))
c73d4c92
LC
457
458 (home-page "http://www.isc.org/products/DHCP/")
459 (synopsis "Dynamic Host Configuration Protocol (DHCP) tools")
460 (description
461 "ISC's Dynamic Host Configuration Protocol (DHCP) distribution provides a
462reference implementation of all aspects of DHCP, through a suite of DHCP
463tools: server, client, and relay agent.")
f61e0e79 464 (license license:isc)))
02c86a5e
LC
465
466(define-public libpcap
467 (package
468 (name "libpcap")
469 (version "1.5.3")
470 (source (origin
471 (method url-fetch)
472 (uri (string-append "http://www.tcpdump.org/release/libpcap-"
473 version ".tar.gz"))
474 (sha256
475 (base32
476 "14wyjywrdi1ikaj6yc9c72m6m2r64z94lb0gm7k1a3q6q5cj3scs"))))
477 (build-system gnu-build-system)
478 (native-inputs `(("bison" ,bison) ("flex" ,flex)))
479 (arguments '(#:tests? #f)) ; no 'check' target
480 (home-page "http://www.tcpdump.org")
481 (synopsis "Network packet capture library")
482 (description
483 "libpcap is an interface for user-level packet capture. It provides a
484portable framework for low-level network monitoring. Applications include
485network statistics collection, security monitoring, network debugging, etc.")
486
487 ;; fad-*.c and a couple other files are BSD-4, but the rest is BSD-3.
f61e0e79 488 (license license:bsd-3)))
02c86a5e 489
1da34f5a
LC
490(define-public tcpdump
491 (package
492 (name "tcpdump")
493 (version "4.5.1")
494 (source (origin
495 (method url-fetch)
496 (uri (string-append "http://www.tcpdump.org/release/tcpdump-"
497 version ".tar.gz"))
498 (sha256
499 (base32
500 "15hb7zkzd66nag102qbv100hcnf7frglbkylmr8adwr8f5jkkaql"))))
501 (build-system gnu-build-system)
10db1e6c 502 (inputs `(("libpcap" ,libpcap)
cc2b77df 503 ("openssl" ,openssl)))
1da34f5a 504 (native-inputs `(("perl" ,perl))) ; for tests
1da34f5a
LC
505 (home-page "http://www.tcpdump.org/")
506 (synopsis "Network packet analyzer")
507 (description
508 "Tcpdump is a command-line tool to analyze network traffic passing
509through the network interface controller.")
f61e0e79 510 (license license:bsd-3)))
1da34f5a 511
02c86a5e
LC
512(define-public jnettop
513 (package
514 (name "jnettop")
515 (version "0.13.0")
516 (source (origin
517 (method url-fetch)
518 (uri (string-append "http://jnettop.kubs.info/dist/jnettop-"
519 version ".tar.gz"))
520 (sha256
521 (base32
522 "1855np7c4b0bqzhf1l1dyzxb90fpnvrirdisajhci5am6als31z9"))))
523 (build-system gnu-build-system)
524 (native-inputs
525 `(("pkg-config" ,pkg-config)))
526 (inputs
527 `(("glib" ,glib)
528 ("ncurses" ,ncurses)
529 ("libpcap" ,libpcap)))
530 (home-page "http://jnettop.kubs.info/")
531 (synopsis "Visualize network traffic by bandwidth use")
532 (description
533 "Jnettop is a traffic visualiser, which captures traffic going
534through the host it is running from and displays streams sorted
535by bandwidth they use.")
f61e0e79 536 (license license:gpl2+)))
87216303
EB
537
538(define-public clusterssh
539 (package
540 (name "clusterssh")
541 (version "3.28")
542 (source (origin
543 (method url-fetch)
544 (uri (string-append "mirror://sourceforge/clusterssh/"
545 "clusterssh-" version ".tar.gz"))
546 (sha256
547 (base32
548 "1bwggpvaj2al5blg1ynapviv2kpydffpzq2zkhi81najnvzc1rr7"))))
549 (build-system gnu-build-system)
550 (inputs `(("perl" ,perl)))
551 (propagated-inputs `(("xterm" ,xterm)
552 ("perl-tk" ,perl-tk)
553 ("perl-x11-protocol" ,perl-x11-protocol)))
554 (arguments
555 `(#:phases
556 (alist-cons-after
557 'install 'set-load-paths
558 (lambda* (#:key inputs outputs #:allow-other-keys)
559 ;; Put the perl-tk and perl-x11-protocol modules in the perl inc
560 ;; path for PROG
561 (let* ((out (assoc-ref outputs "out"))
562 (prog (string-append out "/bin/cssh"))
563 (perl-ver ,(package-version perl))
564 (x11-inc (string-append
565 (assoc-ref inputs "perl-x11-protocol")
566 "/lib/perl5/site_perl/" perl-ver))
567 (tk-inc (string-append
568 (assoc-ref inputs "perl-tk")
569 "/lib/perl5/site_perl/" perl-ver
570 "/x86_64-linux")))
571 (wrap-program
572 prog
573 `("PERL5LIB" ":" prefix (,x11-inc ,tk-inc)))))
574 %standard-phases)))
575 ;; The clusterssh.sourceforge.net address requires login to view
576 (home-page "http://sourceforge.net/projects/clusterssh/")
577 (synopsis "Secure concurrent multi-server terminal control")
578 (description
579 "ClusterSSH controls a number of xterm windows via a single graphical
580console window to allow commands to be interactively run on multiple servers
581over ssh connections.")
f61e0e79 582 (license license:gpl2+)))
fccf2fe0
LC
583
584(define-public rottlog
585 (package
586 (name "rottlog")
587 (version "0.72.2")
588 (source (origin
589 (method url-fetch)
590 (uri (string-append "mirror://gnu/rottlog/rottlog-"
591 version ".tar.gz"))
592 (sha256
593 (base32
594 "0751mb9l2f0jrk3vj6q8ilanifd121dliwk0c34g8k0dlzsv3kd7"))
595 (modules '((guix build utils)))
596 (snippet
597 '(substitute* "Makefile.in"
598 (("-o \\$\\{LOG_OWN\\} -g \\$\\{LOG_GROUP\\}")
599 ;; Don't try to chown root.
600 "")
601 (("mkdir -p \\$\\(ROTT_STATDIR\\)")
602 ;; Don't attempt to create /var/lib/rottlog.
603 "true")))))
604 (build-system gnu-build-system)
605 (arguments
606 '(#:configure-flags (list (string-append "ROTT_ETCDIR="
607 (assoc-ref %outputs "out")
608 "/etc")
609 "--localstatedir=/var")
610 #:phases (alist-cons-after
611 'install 'install-info
612 (lambda _
613 (zero? (system* "make" "install-info")))
614 %standard-phases)))
615 (native-inputs `(("texinfo" ,texinfo)
616 ("util-linux" ,util-linux))) ; for 'cal'
617 (home-page "http://www.gnu.org/software/rottlog/")
618 (synopsis "Log rotation and management")
619 (description
620 "GNU Rot[t]log is a program for managing log files. It is used to
621automatically rotate out log files when they have reached a given size or
622according to a given schedule. It can also be used to automatically compress
623and archive such logs. Rot[t]log will mail reports of its activity to the
624system administrator.")
f61e0e79 625 (license license:gpl3+)))
e1485c7b
LC
626
627(define-public sudo
628 (package
629 (name "sudo")
a915ab6a 630 (version "1.8.10p3")
e1485c7b
LC
631 (source (origin
632 (method url-fetch)
633 (uri
634 (list (string-append "http://www.sudo.ws/sudo/dist/sudo-"
635 version ".tar.gz")
636 (string-append "ftp://ftp.sudo.ws/pub/sudo/OLD/sudo-"
637 version ".tar.gz")))
638 (sha256
639 (base32
a915ab6a 640 "002l6h27pnhb77b65frhazbhknsxvrsnkpi43j7i0qw1lrgi7nkf"))))
e1485c7b
LC
641 (build-system gnu-build-system)
642 (arguments
e1626e3b
SB
643 `(#:configure-flags '("--with-logpath=/var/log/sudo.log"
644 "--with-rundir=/run/sudo"
645 "--with-vardir=/var/db/sudo"
646 "--with-iologdir=/var/log/sudo-io")
e1485c7b
LC
647 #:phases (alist-cons-before
648 'configure 'pre-configure
649 (lambda _
650 (substitute* "configure"
651 ;; Refer to the right executables.
652 (("/usr/bin/mv") (which "mv"))
653 (("/usr/bin/sh") (which "sh")))
654 (substitute* (find-files "." "Makefile\\.in")
655 (("-O [[:graph:]]+ -G [[:graph:]]+")
656 ;; Allow installation as non-root.
657 "")
658 (("^install: (.*)install-sudoers(.*)" _ before after)
659 ;; Don't try to create /etc/sudoers.
e1626e3b
SB
660 (string-append "install: " before after "\n"))
661 (("\\$\\(DESTDIR\\)\\$\\(rundir\\)")
662 ;; Don't try to create /run/sudo.
663 "$(TMPDIR)/dummy")
664 (("\\$\\(DESTDIR\\)\\$\\(vardir\\)")
665 ;; Don't try to create /var/db/sudo.
666 "$(TMPDIR)/dummy")))
e1485c7b
LC
667 %standard-phases)
668
669 ;; XXX: The 'testsudoers' test series expects user 'root' to exist, but
670 ;; the chroot's /etc/passwd doesn't have it. Turn off the tests.
671 #:tests? #f))
672 (inputs
673 `(("groff" ,groff)
674 ("linux-pam" ,linux-pam)
675 ("coreutils" ,coreutils)))
676 (home-page "http://www.sudo.ws/")
677 (synopsis "Run commands as root")
678 (description
679 "Sudo (su \"do\") allows a system administrator to delegate authority to
680give certain users (or groups of users) the ability to run some (or all)
681commands as root or another user while providing an audit trail of the
682commands and their arguments.")
683
684 ;; See <http://www.sudo.ws/sudo/license.html>.
f61e0e79 685 (license license:x11)))
952298d7 686
4fb7e0de 687(define-public wpa-supplicant-light
952298d7 688 (package
4fb7e0de 689 (name "wpa-supplicant-light")
10d98240 690 (version "2.4")
952298d7
LC
691 (source (origin
692 (method url-fetch)
693 (uri (string-append
9a727700 694 "http://w1.fi/releases/wpa_supplicant-"
952298d7
LC
695 version
696 ".tar.gz"))
697 (sha256
698 (base32
10d98240 699 "08li21q1wjn5chrv289w666il9ah1w419y3dkq2rl4wnq0rci385"))
23d00fb0 700 (patches
d48c8e7b
MW
701 (map search-patch '("wpa-supplicant-CVE-2015-1863.patch"
702 "wpa-supplicant-2015-2-fix.patch"
703 "wpa-supplicant-2015-3-fix.patch"
704 "wpa-supplicant-2015-4-fix-pt1.patch"
705 "wpa-supplicant-2015-4-fix-pt2.patch"
706 "wpa-supplicant-2015-4-fix-pt3.patch"
707 "wpa-supplicant-2015-4-fix-pt4.patch"
9fb00f38
MW
708 "wpa-supplicant-2015-4-fix-pt5.patch"
709 "wpa-supplicant-2015-5-fix.patch")))))
952298d7
LC
710 (build-system gnu-build-system)
711 (arguments
712 '(#:phases (alist-replace
713 'configure
714 (lambda* (#:key outputs #:allow-other-keys)
715 (chdir "wpa_supplicant")
716 (copy-file "defconfig" ".config")
717 (let ((port (open-file ".config" "al")))
718 (display "
719 CONFIG_DEBUG_SYSLOG=y
40b4c6d6 720
61bdd0d8
LC
721 # Choose GnuTLS (the default is OpenSSL.)
722 CONFIG_TLS=gnutls
723
952298d7
LC
724 CONFIG_DRIVER_NL80211=y
725 CFLAGS += $(shell pkg-config libnl-3.0 --cflags)
726 CONFIG_LIBNL32=y
727 CONFIG_READLINE=y\n" port)
728 (close-port port)))
ffd74de0
LC
729
730 (alist-cons-after
731 'install 'install-man-pages
732 (lambda* (#:key outputs #:allow-other-keys)
733 (let* ((out (assoc-ref outputs "out"))
734 (man (string-append out "/share/man"))
735 (man5 (string-append man "/man5"))
736 (man8 (string-append man "/man8")))
737 (define (copy-man-page target)
738 (lambda (file)
739 (copy-file file
740 (string-append target "/"
741 (basename file)))))
742
743 (mkdir-p man5) (mkdir man8)
744 (for-each (copy-man-page man5)
745 (find-files "doc/docbook" "\\.5"))
746 (for-each (copy-man-page man8)
747 (find-files "doc/docbook" "\\.8"))
748 #t))
749 %standard-phases))
952298d7
LC
750
751 #:make-flags (list "CC=gcc"
752 (string-append "BINDIR=" (assoc-ref %outputs "out")
753 "/sbin")
754 (string-append "LIBDIR=" (assoc-ref %outputs "out")
755 "/lib"))
756 #:tests? #f))
757 (inputs
758 `(("readline" ,readline)
759 ("libnl" ,libnl)
61bdd0d8
LC
760 ("gnutls" ,gnutls)
761 ("libgcrypt" ,libgcrypt))) ;needed by crypto_gnutls.c
952298d7
LC
762 (native-inputs
763 `(("pkg-config" ,pkg-config)))
9a727700 764 (home-page "http://w1.fi/wpa_supplicant/")
952298d7
LC
765 (synopsis "Connecting to WPA and WPA2-protected wireless networks")
766 (description
767 "wpa_supplicant is a WPA Supplicant with support for WPA and WPA2 (IEEE
768802.11i / RSN). Supplicant is the IEEE 802.1X/WPA component that is used in
769the client stations. It implements key negotiation with a WPA Authenticator
770and it controls the roaming and IEEE 802.11 authentication/association of the
771WLAN driver.
772
773This package provides the 'wpa_supplicant' daemon and the 'wpa_cli' command.")
774
775 ;; In practice, this is linked against Readline, which makes it GPLv3+.
f61e0e79 776 (license license:bsd-3)))
c6b76405 777
4fb7e0de
MW
778(define-public wpa-supplicant
779 (package (inherit wpa-supplicant-light)
780 (name "wpa-supplicant")
781 (inputs `(("dbus" ,dbus)
782 ,@(package-inputs wpa-supplicant-light)))
783 (arguments
784 (substitute-keyword-arguments (package-arguments wpa-supplicant-light)
785 ((#:phases phases)
786 `(alist-cons-after
787 'configure 'configure-for-dbus
788 (lambda _
789 (let ((port (open-file ".config" "al")))
790 (display "
791 CONFIG_CTRL_IFACE_DBUS=y
792 CONFIG_CTRL_IFACE_DBUS_NEW=y
793 CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port)
794 (close-port port))
795 #t)
24066017
796 (alist-cons-after
797 'install-man-pages 'install-dbus-conf
798 (lambda* (#:key outputs #:allow-other-keys)
799 (let* ((out (assoc-ref outputs "out"))
800 (dir (string-append out "/etc/dbus-1/system.d")))
801 (mkdir-p dir)
802 (copy-file "dbus/dbus-wpa_supplicant.conf"
803 (string-append dir "/wpa_supplicant.conf"))))
804 ,phases)))))))
4fb7e0de 805
c6b76405
LC
806(define-public wakelan
807 (package
808 (name "wakelan")
809 (version "1.1")
810 (source (origin
811 (method url-fetch)
812 (uri (string-append
813 "ftp://ftp.gwdg.de/pub/linux/metalab/system/network/misc/wakelan-"
814 version ".tar.gz"))
815 (sha256
816 (base32
817 "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x"))))
818 (build-system gnu-build-system)
819 (arguments
820 '(#:phases (alist-replace
821 'configure
822 (lambda* (#:key outputs #:allow-other-keys)
823 (let ((out (assoc-ref outputs "out")))
824 (mkdir-p (string-append out "/bin"))
825 (mkdir-p (string-append out "/share/man/man1"))
826
827 ;; It's an old configure script that doesn't understand
828 ;; the extra options we pass.
829 (setenv "CONFIG_SHELL" (which "bash"))
830 (zero?
831 (system* "./configure"
832 (string-append "--prefix=" out)
833 (string-append "--mandir=" out
834 "/share/man")))))
835 %standard-phases)
836 #:tests? #f))
837 (home-page "http://kernel.org") ; really, no home page
838 (synopsis "Send a wake-on-LAN packet")
839 (description
840 "WakeLan broadcasts a properly formatted UDP packet across the local area
841network, which causes enabled computers to power on.")
f61e0e79 842 (license license:gpl2+)))
d43f4296
LC
843
844(define-public dmidecode
845 (package
846 (name "dmidecode")
847 (version "2.12")
848 (source (origin
849 (method url-fetch)
850 (uri (string-append
851 "mirror://savannah/dmidecode/dmidecode-"
852 version ".tar.bz2"))
853 (sha256
854 (base32
855 "122hgaw8mpqdfra159lfl6pyk3837giqx6vq42j64fjnbl2z6gwi"))))
856 (build-system gnu-build-system)
857 (arguments
858 '(#:phases (alist-delete 'configure %standard-phases)
859 #:tests? #f ; no 'check' target
860 #:make-flags (list (string-append "prefix="
861 (assoc-ref %outputs "out")))))
862 (home-page "http://www.nongnu.org/dmidecode/")
863 (synopsis "Read hardware information from the BIOS")
864 (description
865 "Dmidecode reports information about your system's hardware as described
866in your system BIOS according to the SMBIOS/DMI standard. This typically
867includes system manufacturer, model name, serial number, BIOS version, asset
868tag as well as a lot of other details of varying level of interest and
869reliability depending on the manufacturer. This will often include usage
870status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory
871module slots, and the list of I/O ports (e.g. serial, parallel, USB).")
f61e0e79 872 (license license:gpl2+)))
42dc3af5 873
13c8c2bf
MW
874(define-public acpica
875 (package
876 (name "acpica")
2036a648 877 (version "20150410")
13c8c2bf
MW
878 (source (origin
879 (method url-fetch)
880 (uri (string-append
881 "https://acpica.org/sites/acpica/files/acpica-unix2-"
882 version ".tar.gz"))
883 (sha256
884 (base32
2036a648 885 "0q1fjwkyw9x6gsva6fd0zbn7ly4fx0ha4853f416np9kf2irillw"))))
13c8c2bf
MW
886 (build-system gnu-build-system)
887 (native-inputs `(("flex" ,flex)
888 ("bison" ,bison)))
889 (arguments
890 '(#:make-flags (list (string-append "PREFIX=" %output)
891 "HOST=_LINUX"
892 "OPT_CFLAGS=-Wall -fno-strict-aliasing")
893 #:tests? #f ; no 'check' target.
894 #:phases (alist-delete 'configure %standard-phases)))
895 (home-page "http://acpica.org/")
35b9e423 896 (synopsis "Tools for the development and debug of ACPI tables")
13c8c2bf
MW
897 (description
898 "The ACPI Component Architecture (ACPICA) project provides an
899OS-independent reference implementation of the Advanced Configuration and
900Power Interface Specification (ACPI). ACPICA code contains those portions of
901ACPI meant to be directly integrated into the host OS as a kernel-resident
902subsystem, and a small set of tools to assist in developing and debugging ACPI
903tables. This package contains only the user-space tools needed for ACPI table
904development, not the kernel implementation of ACPI.")
f61e0e79 905 (license license:gpl2))) ; Dual GPLv2/ACPICA Licence
4cf7bd2b
MW
906
907(define-public stress
908 (package
909 (name "stress")
910 (version "1.0.1")
911 (source (origin
912 (method url-fetch)
913 (uri (string-append "mirror://debian/pool/main/s/stress/stress_"
914 version ".orig.tar.gz"))
915 (sha256
916 (base32
917 "1v9vnzlihqfjsxa93hdbrq72pqqk00dkylmlg8jpxhm7s1w9qfl1"))))
918 (build-system gnu-build-system)
919 (home-page "http://packages.debian.org/wheezy/stress")
9e771e3b 920 (synopsis "Impose load on and stress test a computer system")
4cf7bd2b 921 (description
35b9e423 922 "Stress is a tool that imposes a configurable amount of CPU, memory, I/O,
4cf7bd2b
MW
923or disk stress on a POSIX-compliant operating system and reports any errors it
924detects.
925
35b9e423 926Stress is not a benchmark. It is a tool used by system administrators to
4cf7bd2b
MW
927evaluate how well their systems will scale, by kernel programmers to evaluate
928perceived performance characteristics, and by systems programmers to expose
929the classes of bugs which only or more frequently manifest themselves when the
930system is under heavy load.")
f61e0e79 931 (license license:gpl2+)))
b36fcf95
EB
932
933(define-public detox
934 (package
935 (name "detox")
936 (version "1.2.0")
937 (source (origin
938 (method url-fetch)
939 (uri (string-append "mirror://sourceforge/detox/detox-"
940 version ".tar.bz2"))
941 (sha256
942 (base32
943 "1y6vvjqsg54kl49cry73jbfhr04s7wjs779vrr9zrq6kww7dkymb"))))
944 (build-system gnu-build-system)
945 ;; Both flex and popt are used in this case for their runtime libraries
946 ;; (libfl and libpopt).
947 (inputs
948 `(("flex" ,flex)
949 ("popt" ,popt)))
950 (arguments
951 `(#:configure-flags `(,(string-append "--with-popt="
952 (assoc-ref %build-inputs "popt")))
953 #:tests? #f)) ;no 'check' target
954 (home-page "http://detox.sourceforge.net")
955 (synopsis "Clean up filenames")
956 (description
957 "Detox is a program that renames files to make them easier to work with
958under Unix and related operating systems. Spaces and various other unsafe
959characters (such as \"$\") get replaced with \"_\". ISO 8859-1 (Latin-1)
960characters can be replaced as well, as can UTF-8 characters.")
f61e0e79 961 (license license:bsd-3)))
c4492a16
LC
962
963(define-public testdisk
964 (package
965 (name "testdisk")
966 (version "6.14")
967 (source (origin
968 (method url-fetch)
969 (uri (string-append "http://www.cgsecurity.org/testdisk-"
970 version ".tar.bz2"))
971 (sha256
972 (base32
973 "0v1jap83f5h99zv01v3qmqm160d36n4ysi0gyq7xzb3mqgmw75x5"))))
974 (build-system gnu-build-system)
975 (inputs
976 `(;; ("ntfs" ,ntfs)
977 ("util-linux" ,util-linux)
cc2b77df 978 ("openssl" ,openssl)
f61e0e79 979 ("zlib" ,zlib)
c4492a16
LC
980 ("e2fsprogs" ,e2fsprogs)
981 ("libjpeg" ,libjpeg)
982 ("ncurses" ,ncurses)))
983 (home-page "http://www.cgsecurity.org/wiki/TestDisk")
984 (synopsis "Data recovery tool")
985 (description
986 "TestDisk is a program for data recovery, primarily designed to help
987recover lost partitions and/or make non-booting disks bootable again.")
f61e0e79 988 (license license:gpl2+)))
c4492a16 989
15926aec
AS
990(define-public tree
991 (package
992 (name "tree")
993 (version "1.7.0")
994 (source (origin
995 (method url-fetch)
996 (uri (string-append
997 "http://mama.indstate.edu/users/ice/tree/src/tree-"
998 version ".tgz"))
999 (sha256
1000 (base32 "04kviw799qxly08zb8n5mgxfd96gyis6x69q2qiw86jnh87c4mv9"))))
1001 (build-system gnu-build-system)
1002 (arguments
1003 '(#:phases (alist-delete 'configure %standard-phases)
1004 #:tests? #f ; no check target
1005 #:make-flags (let ((out (assoc-ref %outputs "out")))
1006 (list (string-append "prefix=" out)))))
1007 (synopsis "Recursively list the contents of a directory")
1008 (description
1009 "Tree is a recursive directory listing command that produces a depth
1010indented listing of files, which is colorized ala dircolors if the LS_COLORS
1011environment variable is set and output is to tty.")
1012 (home-page "http://mama.indstate.edu/users/ice/tree/")
1013 (license license:gpl2+)))
1014
c2619e10
LC
1015(define-public direvent
1016 (package
1017 (name "direvent")
1018 (version "5.0")
1019 (source (origin
1020 (method url-fetch)
1021 (uri (string-append "mirror://gnu/direvent/direvent-"
1022 version ".tar.gz"))
1023 (sha256
1024 (base32
1025 "1i14131y6m8wvirz6piw4zxz2q1kbpl0lniv5kl55rx4k372dg8z"))
1026 (modules '((guix build utils)))
1027 (snippet '(substitute* "tests/testsuite"
1028 (("#![[:blank:]]?/bin/sh")
1029 "#!$SHELL")))))
1030 (build-system gnu-build-system)
1031 (arguments
1032 '(#:phases (alist-cons-before
1033 'build 'patch-/bin/sh
1034 (lambda* (#:key inputs #:allow-other-keys)
1035 ;; Use the right shell when executing the watcher.
1036 (let ((bash (assoc-ref inputs "bash")))
1037 (substitute* "src/direvent.c"
1038 (("\"/bin/sh\"")
1039 (string-append "\"" bash "/bin/sh\"")))))
1040 %standard-phases)))
1041 (home-page "http://www.gnu.org/software/direvent/")
1042 (synopsis "Daemon to monitor directories for events such as file removal")
1043 (description
1044 "A daemon that monitors directories for events, such as creating,
35b9e423 1045deleting or modifying files. It can monitor different sets of directories for
c2619e10
LC
1046different events. When an event is detected, direvent calls a specified
1047external program with information about the event, such as the location
c5779c93
LC
1048within the file system where it occurred. Thus, \"direvent\" provides an
1049easy way to react immediately if given files undergo changes, for example, to
c2619e10 1050track changes in important system configuration files.")
f61e0e79 1051 (license license:gpl3+)))
da6c3749
TUBK
1052
1053(define-public libcap-ng
1054 (package
1055 (name "libcap-ng")
1056 (version "0.7.4")
1057 (source (origin
1058 (method url-fetch)
1059 (uri (string-append
1060 "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-"
1061 version ".tar.gz"))
1062 (sha256
1063 (base32
1064 "0ssvnh4cvhya0c1j6k6192zvqcq7nc0x01fb5nwhr0prfqr0i8j8"))))
1065 (build-system gnu-build-system)
1066 (inputs `(("python" ,python)))
1067 (home-page "http://people.redhat.com/sgrubb/libcap-ng/")
1068 (synopsis "Library for more easily working with POSIX capabilities")
1069 (description
1070 "The libcap-ng library is intended to make programming with POSIX
1071capabilities easier than the traditional libcap library. It includes
1072utilities that can analyse all currently running applications and print out
1073any capabilities and whether or not it has an open ended bounding set. The
1074included utilities are designed to let admins and developers spot apps from
1075various ways that may be running with too much privilege.")
1076 ;; The library is lgpl2.1+, but also ships some utils which are gpl2+.
f61e0e79 1077 (license (list license:lgpl2.1+ license:gpl2+))))
d02f2cc4
TUBK
1078
1079(define-public smartmontools
1080 (package
1081 (name "smartmontools")
1082 (version "6.3")
1083 (source (origin
1084 (method url-fetch)
1085 (uri (string-append
1086 "mirror://sourceforge/smartmontools/smartmontools/"
1087 version "/smartmontools-" version ".tar.gz"))
1088 (sha256
1089 (base32
1090 "06gy71jh2d3gcfmlbbrsqw7215knkfq59q3j6qdxfrar39fhcxx7"))))
1091 (build-system gnu-build-system)
1092 (inputs `(("libcap-ng" ,libcap-ng)))
1093 (home-page "http://www.smartmontools.org/")
1094 (synopsis "S.M.A.R.T. harddisk control and monitoring tools")
1095 (description
1096 "The smartmontools package contains utility programs to control and
1097monitor storage systems using the Self-Monitoring, Analysis and Reporting
1098Technology System (S.M.A.R.T.) built into most modern ATA and SCSI harddisks.
1099In many cases, these utilities will provide advanced warning of disk
1100degradation and failure.")
f61e0e79 1101 (license license:gpl2+)))
6efd0823
RW
1102
1103(define-public fdupes
1104 (package
1105 (name "fdupes")
1106 (version "1.51")
1107 (source
1108 (origin
1109 (method url-fetch)
1110 (uri (string-append
1111 "https://github.com/adrianlopezroche/fdupes/archive/fdupes-"
1112 version ".tar.gz"))
1113 (sha256
1114 (base32
1115 "11j96vxl9vg3jsnxqxskrv3gad6dh7hz2zpyc8n31xzyxka1c7kn"))))
1116 (build-system gnu-build-system)
1117 (arguments
1118 '(#:phases (alist-delete 'configure %standard-phases)
1119 #:tests? #f ; no 'check' target
1120 #:make-flags (list (string-append "PREFIX="
1121 (assoc-ref %outputs "out")))))
1122 (home-page "https://github.com/adrianlopezroche/fdupes")
1123 (synopsis "Identify duplicate files")
1124 (description
1125 "fdupes is a program for identifying duplicate files residing within
1126specified directories.")
1127 (license license:expat)))