Mirror of GNU Guix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1710 lines
70 KiB

gnu: Use synopses from the Womb. * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/gawk.scm, gnu/packages/gcc.scm, packages/gcc.scm, b/gnu/packages/gcc.scm, 4b982 100644 s/gcc.scm, s/gcc.scm, @@ %standard-phases))))) `((gcc-libc . ,(assoc-ref inputs "libc")))) The GNU Compiler Collection") GNU Compiler Collection") n ompiler Collection includes compiler front ends for C, C++, tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as gnu/packages/gdb.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/global.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mailutils.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm: Use synopses from the Womb.
9 years ago
Synchronize package descriptions with the Womb. * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/freeipmi.scm, gnu/packages/gawk.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/gdb.scm, gnu/packages/gdbm.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/global.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/gv.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/lightning.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/ocrad.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/plotutils.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/rush.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm, gnu/packages/xnee.scm, gnu/packages/zile.scm: Change value of the 'description' field to that of the Womb.
8 years ago
gnu: Use synopses from the Womb. * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/gawk.scm, gnu/packages/gcc.scm, packages/gcc.scm, b/gnu/packages/gcc.scm, 4b982 100644 s/gcc.scm, s/gcc.scm, @@ %standard-phases))))) `((gcc-libc . ,(assoc-ref inputs "libc")))) The GNU Compiler Collection") GNU Compiler Collection") n ompiler Collection includes compiler front ends for C, C++, tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as gnu/packages/gdb.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/global.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mailutils.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm: Use synopses from the Womb.
9 years ago
Synchronize package descriptions with the Womb. * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/freeipmi.scm, gnu/packages/gawk.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/gdb.scm, gnu/packages/gdbm.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/global.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/gv.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/lightning.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/ocrad.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/plotutils.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/rush.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm, gnu/packages/xnee.scm, gnu/packages/zile.scm: Change value of the 'description' field to that of the Womb.
8 years ago
gnu packages: Clean up synopses and descriptions. * gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/databases.scm, gnu/packages/enchant.scm, gnu/packages/firmware.scm, gnu/packages/fonts.scm, gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm, gnu/packages/haskell.scm, gnu/packages/language.scm, gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm, gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm, gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm, gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl.scm, gnu/packages/pretty-print.scm, gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm, gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm, gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm: Fix typos. Trim long lines. Add missing periods in the end of sentences. Use double spaces between sentences. Remove trailing whitespaces.
7 years ago
gnu: Some cleanup based on lint checkers. * gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm, gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm, gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm, gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libdaemon.scm, gnu/packages/libevent.scm, gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm, gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pkg-config.scm, gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm, gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm, gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm, gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm, gnu/packages/valgrind.scm, gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm, gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust according to lint checkers. * gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri. * /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
7 years ago
gnu: packages: Use 'search-patches' everywhere. * gnu/packages/abiword.scm: Use 'search-patches' for 'patches' field. * gnu/packages/acl.scm: Likewise. * gnu/packages/admin.scm: Likewise. * gnu/packages/algebra.scm: Likewise. * gnu/packages/animation.scm: Likewise. * gnu/packages/apr.scm: Likewise. * gnu/packages/audacity.scm: Likewise. * gnu/packages/audio.scm: Likewise. * gnu/packages/autotools.scm: Likewise. * gnu/packages/avahi.scm: Likewise. * gnu/packages/backup.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bash.scm: Likewise. * gnu/packages/bioinformatics.scm: Likewise. * gnu/packages/cdrom.scm: Likewise. * gnu/packages/ci.scm: Likewise. * gnu/packages/cmake.scm: Likewise. * gnu/packages/cpio.scm: Likewise. * gnu/packages/cross-base.scm: Likewise. * gnu/packages/dico.scm: Likewise. * gnu/packages/doxygen.scm: Likewise. * gnu/packages/ebook.scm: Likewise. * gnu/packages/elf.scm: Likewise. * gnu/packages/emacs.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/flashing-tools.scm: Likewise. * gnu/packages/fltk.scm: Likewise. * gnu/packages/ftp.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gawk.scm: Likewise. * gnu/packages/gcc.scm: Likewise. * gnu/packages/gd.scm: Likewise. * gnu/packages/ghostscript.scm: Likewise. * gnu/packages/glib.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/gnucash.scm: Likewise. * gnu/packages/gnunet.scm: Likewise. * gnu/packages/gnupg.scm: Likewise. * gnu/packages/gnuzilla.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/grub.scm: Likewise. * gnu/packages/gtk.scm: Likewise. * gnu/packages/guile.scm: Likewise. * gnu/packages/icu4c.scm: Likewise. * gnu/packages/idutils.scm: Likewise. * gnu/packages/image.scm: Likewise. * gnu/packages/imagemagick.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/ldc.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libevent.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/libunwind.scm: Likewise. * gnu/packages/libusb.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lirc.scm: Likewise. * gnu/packages/llvm.scm: Likewise. * gnu/packages/lsh.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/lxqt.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/maths.scm: Likewise. * gnu/packages/mcrypt.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/mit-krb5.scm: Likewise. * gnu/packages/mp3.scm: Likewise. * gnu/packages/multiprecision.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/ninja.scm: Likewise. * gnu/packages/nvi.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/orpheus.scm: Likewise. * gnu/packages/ots.scm: Likewise. * gnu/packages/parallel.scm: Likewise. * gnu/packages/patchutils.scm: Likewise. * gnu/packages/pcre.scm: Likewise. * gnu/packages/pdf.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/plotutils.scm: Likewise. * gnu/packages/polkit.scm: Likewise. * gnu/packages/pulseaudio.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/qemu.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/rdf.scm: Likewise. * gnu/packages/readline.scm: Likewise. * gnu/packages/rush.scm: Likewise. * gnu/packages/scheme.scm: Likewise. * gnu/packages/screen.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/slim.scm: Likewise. * gnu/packages/ssh.scm: Likewise. * gnu/packages/tcl.scm: Likewise. * gnu/packages/tcsh.scm: Likewise. * gnu/packages/texinfo.scm: Likewise. * gnu/packages/tls.scm: Likewise. * gnu/packages/tor.scm: Likewise. * gnu/packages/tv.scm: Likewise. * gnu/packages/valgrind.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/vpn.scm: Likewise. * gnu/packages/vtk.scm: Likewise. * gnu/packages/w3m.scm: Likewise. * gnu/packages/web.scm: Likewise. * gnu/packages/wicd.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xfce.scm: Likewise. * gnu/packages/xiph.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise. * gnu/packages/zip.scm: Likewise.
6 years ago
gnu: Some cleanup based on lint checkers. * gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm, gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm, gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm, gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libdaemon.scm, gnu/packages/libevent.scm, gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm, gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pkg-config.scm, gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm, gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm, gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm, gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm, gnu/packages/valgrind.scm, gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm, gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust according to lint checkers. * gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri. * /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
7 years ago
gnu: Some cleanup based on lint checkers. * gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm, gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm, gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm, gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libdaemon.scm, gnu/packages/libevent.scm, gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm, gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pkg-config.scm, gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm, gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm, gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm, gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm, gnu/packages/valgrind.scm, gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm, gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust according to lint checkers. * gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri. * /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
7 years ago
gnu: Some cleanup based on lint checkers. * gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm, gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm, gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm, gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libdaemon.scm, gnu/packages/libevent.scm, gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm, gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pkg-config.scm, gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm, gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm, gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm, gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm, gnu/packages/valgrind.scm, gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm, gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust according to lint checkers. * gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri. * /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
7 years ago
gnu packages: Clean up synopses and descriptions. * gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/databases.scm, gnu/packages/enchant.scm, gnu/packages/firmware.scm, gnu/packages/fonts.scm, gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm, gnu/packages/haskell.scm, gnu/packages/language.scm, gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm, gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm, gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm, gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl.scm, gnu/packages/pretty-print.scm, gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm, gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm, gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm: Fix typos. Trim long lines. Add missing periods in the end of sentences. Use double spaces between sentences. Remove trailing whitespaces.
7 years ago
gnu: Some cleanup based on lint checkers. * gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm, gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm, gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm, gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libdaemon.scm, gnu/packages/libevent.scm, gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm, gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pkg-config.scm, gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm, gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm, gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm, gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm, gnu/packages/valgrind.scm, gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm, gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust according to lint checkers. * gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri. * /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
7 years ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
  3. ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
  4. ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
  5. ;;; Copyright © 2014, 2015, 2016 Eric Bavier <bavier@member.fsf.org>
  6. ;;; Copyright © 2015, 2016 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
  7. ;;; Copyright © 2015 Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
  8. ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
  9. ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
  10. ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
  11. ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
  12. ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
  13. ;;; Copyright © 2016 Peter Feigl <peter.feigl@nexoid.at>
  14. ;;;
  15. ;;; This file is part of GNU Guix.
  16. ;;;
  17. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  18. ;;; under the terms of the GNU General Public License as published by
  19. ;;; the Free Software Foundation; either version 3 of the License, or (at
  20. ;;; your option) any later version.
  21. ;;;
  22. ;;; GNU Guix is distributed in the hope that it will be useful, but
  23. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  24. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25. ;;; GNU General Public License for more details.
  26. ;;;
  27. ;;; You should have received a copy of the GNU General Public License
  28. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  29. (define-module (gnu packages admin)
  30. #:use-module ((guix licenses) #:prefix license:)
  31. #:use-module (guix packages)
  32. #:use-module (guix utils)
  33. #:use-module (guix download)
  34. #:use-module (guix git-download)
  35. #:use-module (guix build-system cmake)
  36. #:use-module (guix build-system gnu)
  37. #:use-module (guix build-system python)
  38. #:use-module (guix build-system trivial)
  39. #:use-module (gnu packages)
  40. #:use-module (gnu packages base)
  41. #:use-module (gnu packages cyrus-sasl)
  42. #:use-module (gnu packages ncurses)
  43. #:use-module (gnu packages readline)
  44. #:use-module (gnu packages linux)
  45. #:use-module (gnu packages lua)
  46. #:use-module (gnu packages guile)
  47. #:use-module (gnu packages gettext)
  48. #:use-module (gnu packages pcre)
  49. #:use-module (gnu packages perl)
  50. #:use-module (gnu packages tcl)
  51. #:use-module (gnu packages compression)
  52. #:use-module (gnu packages tls)
  53. #:use-module (gnu packages gnupg)
  54. #:use-module (gnu packages bison)
  55. #:use-module (gnu packages flex)
  56. #:use-module (gnu packages glib)
  57. #:use-module (gnu packages openldap)
  58. #:use-module (gnu packages mcrypt)
  59. #:use-module (gnu packages pkg-config)
  60. #:use-module (gnu packages popt)
  61. #:use-module (gnu packages python)
  62. #:use-module (gnu packages texinfo)
  63. #:use-module (gnu packages groff)
  64. #:use-module (gnu packages pciutils)
  65. #:use-module (gnu packages libusb)
  66. #:use-module (gnu packages libftdi)
  67. #:use-module (gnu packages image)
  68. #:use-module (gnu packages xorg)
  69. #:use-module (gnu packages python)
  70. #:use-module (gnu packages man)
  71. #:use-module (gnu packages autotools))
  72. (define-public aide
  73. (package
  74. (name "aide")
  75. (version "0.15.1")
  76. (source (origin
  77. (method url-fetch)
  78. (uri (string-append "mirror://sourceforge/aide/aide/"
  79. version "/aide-" version ".tar.gz"))
  80. (sha256
  81. (base32
  82. "1vsrc0s62kv1i84skm6k6zy868gayjck268qwj38rpspc8c5qgih"))))
  83. (build-system gnu-build-system)
  84. (native-inputs
  85. `(("bison" ,bison)
  86. ("flex" ,flex)))
  87. (inputs
  88. `(("libgcrypt" ,libgcrypt)
  89. ("libgpg-error" ,libgpg-error)
  90. ("libmhash" ,libmhash)
  91. ("zlib" ,zlib)))
  92. (synopsis "File and directory integrity checker")
  93. (description
  94. "AIDE (Advanced Intrusion Detection Environment) is a file and directory
  95. integrity checker. It creates a database from the regular expression rules
  96. that it finds from its configuration files. Once this database is initialized
  97. it can be used to verify the integrity of the files. It has several message
  98. digest algorithms that are used to check the integrity of files. All of the
  99. usual file attributes can be checked for inconsistencies.")
  100. (home-page "http://aide.sourceforge.net/")
  101. (license license:gpl2+)))
  102. (define-public progress
  103. (package
  104. (name "progress")
  105. (version "0.13")
  106. (source (origin
  107. (method url-fetch)
  108. (uri (string-append "https://github.com/Xfennec/"
  109. name "/archive/v" version ".tar.gz"))
  110. (sha256
  111. (base32 "133iar4vq5vlklydb4cyazjy6slmpbndrws474mg738bd8avc30n"))
  112. (file-name (string-append name "-" version ".tar.gz"))))
  113. (build-system gnu-build-system)
  114. (inputs
  115. `(("ncurses" ,ncurses)))
  116. (arguments
  117. `(#:tests? #f ; There is no test suite.
  118. #:make-flags (list "CC=gcc" "LDFLAGS+=-lncurses"
  119. (string-append "PREFIX=" (assoc-ref %outputs "out")))
  120. #:phases
  121. (modify-phases %standard-phases
  122. (delete 'configure)))) ; There's no configure phase.
  123. (home-page "https://github.com/Xfennec/progress")
  124. (synopsis "Program to view the progress of the coreutils commands")
  125. (description "A program that looks for coreutils basic commands (cp, mv,
  126. dd, tar, gzip/gunzip, cat, etc.) currently running on your system and displays
  127. the percentage of copied data. It can also show estimated time and throughput,
  128. and provides a \"top-like\" mode (monitoring).")
  129. (license license:gpl3+)))
  130. (define-public dmd
  131. ;; Deprecated. Kept around "just in case."
  132. (let ((base-version "0.2")
  133. (patch-level "01"))
  134. (package
  135. (name "dmd")
  136. (version (string-append base-version "." patch-level))
  137. (source (origin
  138. (method url-fetch)
  139. (uri (string-append "ftp://alpha.gnu.org/gnu/dmd/dmd-"
  140. base-version ".tar.gz"))
  141. (sha256
  142. (base32
  143. "10fl4k96f17gqx2fv8iw9c61ld26gsk4bbrlfqckdmiimz1k175z"))
  144. (patches
  145. (list (origin
  146. ;; This patch augments 'make-fork+exec-constructor' and
  147. ;; is used by a bunch of services.
  148. (method url-fetch)
  149. (uri (string-append
  150. "http://git.savannah.gnu.org/cgit/shepherd.git/"
  151. "patch?id=d1d0ff30b3ed2b86b0a3c9bc048d2a855f8e31e6"))
  152. (sha256
  153. (base32
  154. "1lqymypixfiyb72d6bn24m06ry2q1ljnnv0qrc89pbb4z9azaa4d"))
  155. (file-name "dmd-user-group.patch"))))))
  156. (build-system gnu-build-system)
  157. (arguments
  158. '(#:configure-flags '("--localstatedir=/var")))
  159. (native-inputs `(("pkg-config" ,pkg-config)))
  160. (inputs `(("guile" ,guile-2.0)))
  161. (synopsis "Daemon managing daemons")
  162. (description
  163. "GNU DMD is a daemon-managing daemon, meaning that it manages the
  164. execution of system services, replacing similar functionality found in
  165. typical init systems. It provides dependency-handling through a convenient
  166. interface and is based on GNU Guile.")
  167. (license license:gpl3+)
  168. (home-page "http://www.gnu.org/software/dmd/"))))
  169. (define-public shepherd
  170. (package
  171. (name "shepherd")
  172. (version "0.3.1")
  173. (source (origin
  174. (method url-fetch)
  175. (uri (string-append "ftp://alpha.gnu.org/gnu/dmd/shepherd-"
  176. version ".tar.gz"))
  177. (sha256
  178. (base32
  179. "0f3yi3n4sl9myiay95yhv2a9an338qddfjrbv7da753ip66dkfz6"))))
  180. (build-system gnu-build-system)
  181. (arguments
  182. '(#:configure-flags '("--localstatedir=/var")))
  183. (native-inputs `(("pkg-config" ,pkg-config)))
  184. (inputs `(("guile" ,guile-2.0)))
  185. (synopsis "System service manager")
  186. (description
  187. "The GNU Shepherd is a daemon-managing daemon, meaning that it supervises
  188. the execution of system services, replacing similar functionality found in
  189. typical init systems. It provides dependency-handling through a convenient
  190. interface and is based on GNU Guile.")
  191. (license license:gpl3+)
  192. (home-page "http://www.gnu.org/software/shepherd/")))
  193. (define-public dfc
  194. (package
  195. (name "dfc")
  196. (version "3.0.4")
  197. (source
  198. (origin
  199. (method url-fetch)
  200. (uri (string-append
  201. "http://projects.gw-computing.net/attachments/download/79/dfc-"
  202. version ".tar.gz"))
  203. (sha256
  204. (base32
  205. "0zk1ppx93ijimf4sbgqilxxikpsa2gmpbynknyh41xy7jbdjxp0b"))))
  206. (build-system cmake-build-system)
  207. (arguments '(#:tests? #f)) ; There are no tests.
  208. (native-inputs `(("gettext" ,gnu-gettext)))
  209. (home-page "http://projects.gw-computing.net/projects/dfc")
  210. (synopsis "Display file system space usage using graphs and colors")
  211. (description
  212. "dfc (df color) is a modern version of df. It uses colors, draws pretty
  213. graphs and can export its output to different formats.")
  214. (license license:bsd-3)))
  215. (define-public htop
  216. (package
  217. (name "htop")
  218. (version "2.0.1")
  219. (source (origin
  220. (method url-fetch)
  221. (uri (string-append "http://hisham.hm/htop/releases/"
  222. version "/htop-" version ".tar.gz"))
  223. (sha256
  224. (base32
  225. "0rjn9ybqx5sav7z4gn18f1q6k23nmqyb6yydfgghzdznz9nn447l"))))
  226. (build-system gnu-build-system)
  227. (inputs
  228. `(("ncurses" ,ncurses)))
  229. (home-page "http://htop.sourceforge.net/")
  230. (synopsis "Interactive process viewer")
  231. (description
  232. "This is htop, an interactive process viewer. It is a text-mode
  233. application (for console or X terminals) and requires ncurses.")
  234. (license license:gpl2)))
  235. (define-public pies
  236. (package
  237. (name "pies")
  238. (version "1.2")
  239. (source
  240. (origin
  241. (method url-fetch)
  242. (uri (string-append "mirror://gnu/pies/pies-"
  243. version ".tar.bz2"))
  244. (sha256
  245. (base32
  246. "18w0dbg77i56cx1bwa789w0qi3l4xkkbascxcv2b6gbm0zmjg1g6"))))
  247. (build-system gnu-build-system)
  248. (home-page "http://www.gnu.org/software/pies/")
  249. (synopsis "Program invocation and execution supervisor")
  250. (description
  251. "GNU pies is a program that supervises the invocation and execution of
  252. other programs. It reads the list of programs to be started from its
  253. configuration file, executes them, and then monitors their status,
  254. re-executing them as necessary.")
  255. (license license:gpl3+)))
  256. (define-public inetutils
  257. (package
  258. (name "inetutils")
  259. (version "1.9.4")
  260. (source (origin
  261. (method url-fetch)
  262. (uri (string-append "mirror://gnu/inetutils/inetutils-"
  263. version ".tar.gz"))
  264. (sha256
  265. (base32
  266. "05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"))))
  267. (build-system gnu-build-system)
  268. (arguments `(;; FIXME: `tftp.sh' relies on `netstat' from utils-linux,
  269. ;; which is currently missing.
  270. #:tests? #f))
  271. (inputs `(("ncurses" ,ncurses)
  272. ("readline" ,readline))) ; for 'ftp'
  273. (home-page "http://www.gnu.org/software/inetutils/")
  274. (synopsis "Basic networking utilities")
  275. (description
  276. "Inetutils is a collection of common network programs, such as an ftp
  277. client and server, a telnet client and server, and an rsh client and server.")
  278. (license license:gpl3+)))
  279. (define-public shadow
  280. (package
  281. (name "shadow")
  282. (version "4.2.1")
  283. (source (origin
  284. (method url-fetch)
  285. (uri (string-append
  286. "http://pkg-shadow.alioth.debian.org/releases/"
  287. name "-" version ".tar.xz"))
  288. (sha256
  289. (base32
  290. "0h9x1zdbq0pqmygmc1x459jraiqw4gqz8849v268crk78z8r621v"))))
  291. (build-system gnu-build-system)
  292. (arguments
  293. '(;; Assume System V `setpgrp (void)', which is the default on GNU
  294. ;; variants (`AC_FUNC_SETPGRP' is not cross-compilation capable.)
  295. #:configure-flags '("--with-libpam" "ac_cv_func_setpgrp_void=yes")
  296. #:phases (alist-cons-before
  297. 'build 'set-nscd-file-name
  298. (lambda* (#:key inputs #:allow-other-keys)
  299. ;; Use the right file name for nscd.
  300. (let ((libc (assoc-ref inputs "libc")))
  301. (substitute* "lib/nscd.c"
  302. (("/usr/sbin/nscd")
  303. (string-append libc "/sbin/nscd")))))
  304. (alist-cons-after
  305. 'install 'remove-groups
  306. (lambda* (#:key outputs #:allow-other-keys)
  307. ;; Remove `groups', which is already provided by Coreutils.
  308. (let* ((out (assoc-ref outputs "out"))
  309. (bin (string-append out "/bin"))
  310. (man (string-append out "/share/man")))
  311. (delete-file (string-append bin "/groups"))
  312. (for-each delete-file (find-files man "^groups\\."))
  313. #t))
  314. %standard-phases))))
  315. (inputs (if (string-suffix? "-linux"
  316. (or (%current-target-system)
  317. (%current-system)))
  318. `(("linux-pam" ,linux-pam))
  319. '()))
  320. (home-page "http://pkg-shadow.alioth.debian.org/")
  321. (synopsis "Authentication-related tools such as passwd, su, and login")
  322. (description
  323. "Shadow provides a number of authentication-related tools, including:
  324. login, passwd, su, groupadd, and useradd.")
  325. ;; The `vipw' program is GPLv2+.
  326. ;; libmisc/salt.c is public domain.
  327. (license license:bsd-3)))
  328. (define-public mingetty
  329. (package
  330. (name "mingetty")
  331. (version "1.08")
  332. (source (origin
  333. (method url-fetch)
  334. (uri (string-append "mirror://sourceforge/mingetty/mingetty-"
  335. version ".tar.gz"))
  336. (sha256
  337. (base32
  338. "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g"))))
  339. (build-system gnu-build-system)
  340. (arguments
  341. `(#:phases (alist-replace 'configure
  342. (lambda* (#:key inputs outputs
  343. #:allow-other-keys)
  344. (let* ((out (assoc-ref outputs "out"))
  345. (man8 (string-append
  346. out "/share/man/man8"))
  347. (sbin (string-append out "/sbin"))
  348. (shadow (assoc-ref inputs "shadow"))
  349. (login (string-append shadow
  350. "/bin/login")))
  351. (substitute* "Makefile"
  352. (("^SBINDIR.*")
  353. (string-append "SBINDIR = " out
  354. "/sbin\n"))
  355. (("^MANDIR.*")
  356. (string-append "MANDIR = " out
  357. "/share/man/man8\n")))
  358. ;; Pick the right 'login' by default.
  359. (substitute* "mingetty.c"
  360. (("\"/bin/login\"")
  361. (string-append "\"" login "\"")))
  362. (mkdir-p sbin)
  363. (mkdir-p man8)))
  364. %standard-phases)
  365. #:tests? #f)) ; no tests
  366. (inputs `(("shadow" ,shadow)))
  367. (home-page "http://sourceforge.net/projects/mingetty")
  368. (synopsis "Getty for the text console")
  369. (description
  370. "Small console getty that is started on the Linux text console,
  371. asks for a login name and then transfers over to 'login'. It is extended to
  372. allow automatic login and starting any app.")
  373. (license license:gpl2+)))
  374. (define-public net-base
  375. (package
  376. (name "net-base")
  377. (version "5.3")
  378. (source (origin
  379. (method url-fetch)
  380. (uri (string-append
  381. "mirror://debian/pool/main/n/netbase/netbase_"
  382. version ".tar.xz"))
  383. (sha256
  384. (base32
  385. "12xqjwg3p4rzmmh2iib6sigm9l29y3dgk74mmnw64k84jnbwdxl1"))))
  386. (build-system trivial-build-system)
  387. (arguments
  388. `(#:modules ((guix build utils))
  389. #:builder (begin
  390. (use-modules (guix build utils)
  391. (srfi srfi-26))
  392. (let* ((source (assoc-ref %build-inputs "source"))
  393. (tar (assoc-ref %build-inputs "tar"))
  394. (xz (assoc-ref %build-inputs "xz"))
  395. (output (assoc-ref %outputs "out"))
  396. (etc (string-append output "/etc")))
  397. (setenv "PATH" (string-append xz "/bin"))
  398. (system* (string-append tar "/bin/tar") "xvf"
  399. source)
  400. (chdir ,(string-append "netbase-" version))
  401. (mkdir-p etc)
  402. (for-each copy-file
  403. '("etc-services" "etc-protocols" "etc-rpc")
  404. (map (cut string-append etc "/" <>)
  405. '("services" "protocols" "rpc")))
  406. #t))))
  407. (native-inputs `(("tar" ,tar)
  408. ("xz" ,xz)))
  409. (synopsis "IANA protocol, port, and RPC number assignments")
  410. (description
  411. "This package provides the /etc/services, /etc/protocols, and /etc/rpc
  412. files, which contain information about the IANA-assigned port, protocol, and
  413. ONC RPC numbers.")
  414. (home-page "http://packages.debian.org/sid/netbase")
  415. (license license:gpl2)))
  416. (define-public netcat
  417. (package
  418. (name "netcat")
  419. (version "0.7.1")
  420. (source (origin
  421. (method url-fetch)
  422. (uri (string-append "mirror://sourceforge/netcat/netcat-"
  423. version ".tar.bz2"))
  424. (sha256
  425. (base32
  426. "1frjcdkhkpzk0f84hx6hmw5l0ynpmji8vcbaxg8h5k2svyxz0nmm"))))
  427. (build-system gnu-build-system)
  428. (arguments
  429. `(#:configure-flags
  430. ;; By default, man and info pages are put in PREFIX/{man,info},
  431. ;; but we want them in PREFIX/share/{man,info}.
  432. (let ((out (assoc-ref %outputs "out")))
  433. (list (string-append "--mandir=" out "/share/man")
  434. (string-append "--infodir=" out "/share/info")))))
  435. (home-page "http://netcat.sourceforge.net")
  436. (synopsis "Read and write data over TCP/IP")
  437. (description
  438. "Netcat is a featured networking utility which reads and writes data
  439. across network connections, using the TCP/IP protocol. It is designed to be a
  440. reliable \"back-end\" tool that can be used directly or easily driven by other
  441. programs and scripts. At the same time, it is a feature-rich network debugging
  442. and exploration tool, since it can create almost any kind of connection you
  443. would need and has several interesting built-in capabilities.")
  444. (license license:gpl2+)))
  445. (define-public alive
  446. (package
  447. (name "alive")
  448. (version "2.0.2")
  449. (source (origin
  450. (method url-fetch)
  451. (uri (string-append "mirror://gnu/alive/alive-"
  452. version ".tar.xz"))
  453. (sha256
  454. (base32
  455. "1vrzg51ai68x9yld7vbgl58sxaw5qpx8rbakwcxn4cqq6vpxj38j"))))
  456. (build-system gnu-build-system)
  457. (arguments '(#:configure-flags '("alive_cv_nice_ping=yes")))
  458. (inputs `(("guile" ,guile-2.0)
  459. ("inetutils" ,inetutils)))
  460. (home-page "http://www.gnu.org/software/alive/")
  461. (synopsis "Autologin and keep-alive daemon")
  462. (description
  463. "GNU Alive sends periodic pings to a server, generally to keep a
  464. connection alive.")
  465. (license license:gpl3+)))
  466. (define-public isc-dhcp
  467. (let* ((bind-major-version "9")
  468. (bind-minor-version "9")
  469. (bind-patch-version "9")
  470. (bind-release-type "") ; for patch release, use "-P"
  471. (bind-release-version "") ; for patch release, e.g. "4"
  472. (bind-version (string-append bind-major-version
  473. "."
  474. bind-minor-version
  475. "."
  476. bind-patch-version
  477. bind-release-type
  478. bind-release-version)))
  479. (package
  480. (name "isc-dhcp")
  481. (version "4.3.4")
  482. (source (origin
  483. (method url-fetch)
  484. (uri (string-append "http://ftp.isc.org/isc/dhcp/"
  485. version "/dhcp-" version ".tar.gz"))
  486. (sha256
  487. (base32
  488. "0zk0imll6bfyp9p4ndn8h6s4ifijnw5bhixswifr5rnk7pp5l4gm"))))
  489. (build-system gnu-build-system)
  490. (arguments
  491. `(#:parallel-build? #f
  492. #:phases
  493. (modify-phases %standard-phases
  494. (add-after 'unpack 'replace-bundled-bind
  495. (lambda* (#:key inputs #:allow-other-keys)
  496. (delete-file "bind/bind.tar.gz")
  497. (copy-file (assoc-ref inputs "bind-source-tarball")
  498. "bind/bind.tar.gz")
  499. (chmod "bind/bind.tar.gz" #o644)
  500. (substitute* "bind/version.tmp"
  501. (("^MAJORVER=.*")
  502. (format #f "MAJORVER=~a\n" ,bind-major-version))
  503. (("^MINORVER=.*")
  504. (format #f "MINORVER=~a\n" ,bind-minor-version))
  505. (("^PATCHVER=.*")
  506. (format #f "PATCHVER=~a\n" ,bind-patch-version))
  507. (("^RELEASETYPE=.*")
  508. (format #f "RELEASETYPE=~a\n" ,bind-release-type))
  509. (("^RELEASEVER=.*")
  510. (format #f "RELEASEVER=~a\n" ,bind-release-version)))
  511. #t))
  512. (add-after 'configure 'post-configure
  513. (lambda* (#:key outputs #:allow-other-keys)
  514. ;; Point to the right client script, which will be
  515. ;; installed in a later phase.
  516. (substitute* "includes/dhcpd.h"
  517. (("#define[[:blank:]]+_PATH_DHCLIENT_SCRIPT.*")
  518. (let ((out (assoc-ref outputs "out")))
  519. (string-append "#define _PATH_DHCLIENT_SCRIPT \""
  520. out "/libexec/dhclient-script"
  521. "\"\n"))))
  522. ;; During the 'build' phase, 'bind.tar.gz' is extracted, so
  523. ;; we must patch shebangs in there and make sure the right
  524. ;; shell is used.
  525. (with-directory-excursion "bind"
  526. (substitute* "Makefile"
  527. (("\\./configure")
  528. (let ((sh (which "sh")))
  529. (string-append "./configure CONFIG_SHELL="
  530. sh " SHELL=" sh))))
  531. (let ((bind-directory (string-append "bind-" ,bind-version)))
  532. (system* "tar" "xf" "bind.tar.gz")
  533. (for-each patch-shebang
  534. (find-files bind-directory ".*"))
  535. (zero? (system* "tar" "cf" "bind.tar.gz"
  536. bind-directory
  537. ;; avoid non-determinism in the archive
  538. "--sort=name"
  539. "--mtime=@0"
  540. "--owner=root:0"
  541. "--group=root:0"))))))
  542. (add-after 'install 'post-install
  543. (lambda* (#:key inputs outputs #:allow-other-keys)
  544. ;; Install the dhclient script for GNU/Linux and make sure
  545. ;; if finds all the programs it needs.
  546. (let* ((out (assoc-ref outputs "out"))
  547. (libexec (string-append out "/libexec"))
  548. (coreutils (assoc-ref inputs "coreutils"))
  549. (inetutils (assoc-ref inputs "inetutils"))
  550. (net-tools (assoc-ref inputs "net-tools"))
  551. (sed (assoc-ref inputs "sed")))
  552. (substitute* "client/scripts/linux"
  553. (("/sbin/ip")
  554. (string-append (assoc-ref inputs "iproute")
  555. "/sbin/ip")))
  556. (mkdir-p libexec)
  557. (copy-file "client/scripts/linux"
  558. (string-append libexec "/dhclient-script"))
  559. (wrap-program
  560. (string-append libexec "/dhclient-script")
  561. `("PATH" ":" prefix
  562. ,(map (lambda (dir)
  563. (string-append dir "/bin:"
  564. dir "/sbin"))
  565. (list inetutils net-tools coreutils sed))))))))))
  566. (native-inputs `(("perl" ,perl)))
  567. (inputs `(("inetutils" ,inetutils)
  568. ("net-tools" ,net-tools)
  569. ("iproute" ,iproute)
  570. ;; XXX isc-dhcp bundles a copy of bind that has security
  571. ;; flaws, so we use a newer version.
  572. ("bind-source-tarball"
  573. ,(origin
  574. (method url-fetch)
  575. (uri (string-append "http://ftp.isc.org/isc/bind9/"
  576. bind-version
  577. "/bind-" bind-version ".tar.gz"))
  578. (sha256
  579. (base32
  580. "0w8qqm6p2y6x57j2l0a3278g173wd84dsr4py9z00191f3wra74q"))))
  581. ;; When cross-compiling, we need the cross Coreutils and sed.
  582. ;; Otherwise just use those from %FINAL-INPUTS.
  583. ,@(if (%current-target-system)
  584. `(("coreutils" ,coreutils)
  585. ("sed" ,sed))
  586. '())))
  587. (home-page "http://www.isc.org/products/DHCP/")
  588. (synopsis "Dynamic Host Configuration Protocol (DHCP) tools")
  589. (description
  590. "ISC's Dynamic Host Configuration Protocol (DHCP) distribution provides a
  591. reference implementation of all aspects of DHCP, through a suite of DHCP
  592. tools: server, client, and relay agent.")
  593. (license license:isc)
  594. (properties '((cpe-name . "dhcp"))))))
  595. (define-public libpcap
  596. (package
  597. (name "libpcap")
  598. (version "1.7.4")
  599. (source (origin
  600. (method url-fetch)
  601. (uri (string-append "http://www.tcpdump.org/release/libpcap-"
  602. version ".tar.gz"))
  603. (sha256
  604. (base32
  605. "1c28ykkizd7jqgzrfkg7ivqjlqs9p6lygp26bsw2i0z8hwhi3lvs"))))
  606. (build-system gnu-build-system)
  607. (native-inputs `(("bison" ,bison) ("flex" ,flex)))
  608. (arguments '(#:configure-flags '("--with-pcap=linux")
  609. #:tests? #f)) ; no 'check' target
  610. (home-page "http://www.tcpdump.org")
  611. (synopsis "Network packet capture library")
  612. (description
  613. "libpcap is an interface for user-level packet capture. It provides a
  614. portable framework for low-level network monitoring. Applications include
  615. network statistics collection, security monitoring, network debugging, etc.")
  616. ;; fad-*.c and a couple other files are BSD-4, but the rest is BSD-3.
  617. (license license:bsd-3)))
  618. (define-public tcpdump
  619. (package
  620. (name "tcpdump")
  621. (version "4.7.4")
  622. (source (origin
  623. (method url-fetch)
  624. (uri (string-append "http://www.tcpdump.org/release/tcpdump-"
  625. version ".tar.gz"))
  626. (sha256
  627. (base32
  628. "1byr8w6grk08fsq0444jmcz9ar89lq9nf4mjq2cny0w9k8k21rbb"))))
  629. (build-system gnu-build-system)
  630. (inputs `(("libpcap" ,libpcap)
  631. ("openssl" ,openssl)))
  632. (native-inputs `(("perl" ,perl))) ; for tests
  633. (home-page "http://www.tcpdump.org/")
  634. (synopsis "Network packet analyzer")
  635. (description
  636. "Tcpdump is a command-line tool to analyze network traffic passing
  637. through the network interface controller.")
  638. (license license:bsd-3)))
  639. (define-public jnettop
  640. (package
  641. (name "jnettop")
  642. (version "0.13.0")
  643. (source (origin
  644. (method url-fetch)
  645. (uri (string-append "http://jnettop.kubs.info/dist/jnettop-"
  646. version ".tar.gz"))
  647. (sha256
  648. (base32
  649. "1855np7c4b0bqzhf1l1dyzxb90fpnvrirdisajhci5am6als31z9"))))
  650. (build-system gnu-build-system)
  651. (native-inputs
  652. `(("pkg-config" ,pkg-config)))
  653. (inputs
  654. `(("glib" ,glib)
  655. ("ncurses" ,ncurses)
  656. ("libpcap" ,libpcap)))
  657. (home-page "http://jnettop.kubs.info/")
  658. (synopsis "Visualize network traffic by bandwidth use")
  659. (description
  660. "Jnettop is a traffic visualiser, which captures traffic going
  661. through the host it is running from and displays streams sorted
  662. by bandwidth they use.")
  663. (license license:gpl2+)))
  664. (define-public clusterssh
  665. (package
  666. (name "clusterssh")
  667. (version "3.28")
  668. (source (origin
  669. (method url-fetch)
  670. (uri (string-append "mirror://sourceforge/clusterssh/"
  671. "clusterssh-" version ".tar.gz"))
  672. (sha256
  673. (base32
  674. "1bwggpvaj2al5blg1ynapviv2kpydffpzq2zkhi81najnvzc1rr7"))))
  675. (build-system gnu-build-system)
  676. (inputs `(("perl" ,perl)))
  677. (propagated-inputs `(("xterm" ,xterm)
  678. ("perl-tk" ,perl-tk)
  679. ("perl-x11-protocol" ,perl-x11-protocol)))
  680. (arguments
  681. `(#:phases
  682. (alist-cons-after
  683. 'install 'set-load-paths
  684. (lambda* (#:key inputs outputs #:allow-other-keys)
  685. ;; Put the perl-tk and perl-x11-protocol modules in the perl inc
  686. ;; path for PROG
  687. (let* ((out (assoc-ref outputs "out"))
  688. (prog (string-append out "/bin/cssh"))
  689. (perl-ver ,(package-version perl))
  690. (x11-inc (string-append
  691. (assoc-ref inputs "perl-x11-protocol")
  692. "/lib/perl5/site_perl/" perl-ver))
  693. (tk-inc (string-append
  694. (assoc-ref inputs "perl-tk")
  695. "/lib/perl5/site_perl/" perl-ver
  696. "/x86_64-linux")))
  697. (wrap-program
  698. prog
  699. `("PERL5LIB" ":" prefix (,x11-inc ,tk-inc)))))
  700. %standard-phases)))
  701. ;; The clusterssh.sourceforge.net address requires login to view
  702. (home-page "http://sourceforge.net/projects/clusterssh/")
  703. (synopsis "Secure concurrent multi-server terminal control")
  704. (description
  705. "ClusterSSH controls a number of xterm windows via a single graphical
  706. console window to allow commands to be interactively run on multiple servers
  707. over ssh connections.")
  708. (license license:gpl2+)))
  709. (define-public rottlog
  710. (package
  711. (name "rottlog")
  712. (version "0.72.2")
  713. (source (origin
  714. (method url-fetch)
  715. (uri (string-append "mirror://gnu/rottlog/rottlog-"
  716. version ".tar.gz"))
  717. (sha256
  718. (base32
  719. "0751mb9l2f0jrk3vj6q8ilanifd121dliwk0c34g8k0dlzsv3kd7"))
  720. (modules '((guix build utils)))
  721. (snippet
  722. '(substitute* "Makefile.in"
  723. (("-o \\$\\{LOG_OWN\\} -g \\$\\{LOG_GROUP\\}")
  724. ;; Don't try to chown root.
  725. "")
  726. (("mkdir -p \\$\\(ROTT_STATDIR\\)")
  727. ;; Don't attempt to create /var/lib/rottlog.
  728. "true")))))
  729. (build-system gnu-build-system)
  730. (arguments
  731. '(#:configure-flags (list (string-append "ROTT_ETCDIR="
  732. (assoc-ref %outputs "out")
  733. "/etc")
  734. "--localstatedir=/var")
  735. #:phases (alist-cons-after
  736. 'install 'install-info
  737. (lambda _
  738. (zero? (system* "make" "install-info")))
  739. %standard-phases)))
  740. (native-inputs `(("texinfo" ,texinfo)
  741. ("util-linux" ,util-linux))) ; for 'cal'
  742. (home-page "http://www.gnu.org/software/rottlog/")
  743. (synopsis "Log rotation and management")
  744. (description
  745. "GNU Rot[t]log is a program for managing log files. It is used to
  746. automatically rotate out log files when they have reached a given size or
  747. according to a given schedule. It can also be used to automatically compress
  748. and archive such logs. Rot[t]log will mail reports of its activity to the
  749. system administrator.")
  750. (license license:gpl3+)))
  751. (define-public sudo
  752. (package
  753. (name "sudo")
  754. (version "1.8.17p1")
  755. (source (origin
  756. (method url-fetch)
  757. (uri
  758. (list (string-append "https://www.sudo.ws/sudo/dist/sudo-"
  759. version ".tar.gz")
  760. (string-append "ftp://ftp.sudo.ws/pub/sudo/OLD/sudo-"
  761. version ".tar.gz")))
  762. (sha256
  763. (base32
  764. "1k2mn65l1kmsxm8wh0gjxy496xhbpiimbpm6yv6kw6snzc3xg466"))))
  765. (build-system gnu-build-system)
  766. (arguments
  767. `(#:configure-flags
  768. (list "--with-logpath=/var/log/sudo.log"
  769. "--with-rundir=/var/run/sudo" ;must be cleaned up at boot time
  770. "--with-vardir=/var/db/sudo"
  771. "--with-iologdir=/var/log/sudo-io"
  772. ;; 'visudo.c' expects _PATH_MV to be defined, but glibc doesn't
  773. ;; provide it.
  774. (string-append "CPPFLAGS=-D_PATH_MV='\""
  775. (assoc-ref %build-inputs "coreutils")
  776. "/bin/mv\"'"))
  777. ;; Avoid non-determinism; see <http://bugs.gnu.org/21918>.
  778. #:parallel-build? #f
  779. #:phases (alist-cons-before
  780. 'configure 'pre-configure
  781. (lambda _
  782. (substitute* "src/sudo_usage.h.in"
  783. ;; Do not capture 'configure' arguments since we would
  784. ;; unduly retain references, and also because the
  785. ;; CPPFLAGS above would close the string literal
  786. ;; prematurely.
  787. (("@CONFIGURE_ARGS@") "\"\""))
  788. (substitute* (find-files "." "Makefile\\.in")
  789. (("-o [[:graph:]]+ -g [[:graph:]]+")
  790. ;; Allow installation as non-root.
  791. "")
  792. (("^install: (.*)install-sudoers(.*)" _ before after)
  793. ;; Don't try to create /etc/sudoers.
  794. (string-append "install: " before after "\n"))
  795. (("\\$\\(DESTDIR\\)\\$\\(rundir\\)")
  796. ;; Don't try to create /run/sudo.
  797. "$(TMPDIR)/dummy")
  798. (("\\$\\(DESTDIR\\)\\$\\(vardir\\)")
  799. ;; Don't try to create /var/db/sudo.
  800. "$(TMPDIR)/dummy")))
  801. %standard-phases)
  802. ;; XXX: The 'testsudoers' test series expects user 'root' to exist, but
  803. ;; the chroot's /etc/passwd doesn't have it. Turn off the tests.
  804. #:tests? #f))
  805. (inputs
  806. `(("groff" ,groff)
  807. ("linux-pam" ,linux-pam)
  808. ("coreutils" ,coreutils)))
  809. (home-page "https://www.sudo.ws/")
  810. (synopsis "Run commands as root")
  811. (description
  812. "Sudo (su \"do\") allows a system administrator to delegate authority to
  813. give certain users (or groups of users) the ability to run some (or all)
  814. commands as root or another user while providing an audit trail of the
  815. commands and their arguments.")
  816. ;; See <http://www.sudo.ws/sudo/license.html>.
  817. (license license:x11)))
  818. (define-public wpa-supplicant-minimal
  819. (package
  820. (name "wpa-supplicant-minimal")
  821. (version "2.5")
  822. (source (origin
  823. (method url-fetch)
  824. (uri (string-append
  825. "http://w1.fi/releases/wpa_supplicant-"
  826. version
  827. ".tar.gz"))
  828. (sha256
  829. (base32
  830. "05mkp5bx1c3z7h5biddsv0p49gkrq9ksany3anp4wdiv92p5prfc"))
  831. (patches
  832. (search-patches "wpa-supplicant-CVE-2015-5310.patch"
  833. "wpa-supplicant-CVE-2015-5314.patch"
  834. "wpa-supplicant-CVE-2015-5315.patch"
  835. "wpa-supplicant-CVE-2015-5316.patch"
  836. "wpa-supplicant-CVE-2016-4476.patch"
  837. "wpa-supplicant-CVE-2016-4477-pt1.patch"
  838. "wpa-supplicant-CVE-2016-4477-pt2.patch"
  839. "wpa-supplicant-CVE-2016-4477-pt3.patch"
  840. "wpa-supplicant-CVE-2016-4477-pt4.patch"))))
  841. (build-system gnu-build-system)
  842. (arguments
  843. '(#:phases (alist-replace
  844. 'configure
  845. (lambda* (#:key outputs #:allow-other-keys)
  846. (chdir "wpa_supplicant")
  847. (copy-file "defconfig" ".config")
  848. (let ((port (open-file ".config" "al")))
  849. (display "
  850. CONFIG_DEBUG_SYSLOG=y
  851. # Choose GnuTLS (the default is OpenSSL.)
  852. CONFIG_TLS=gnutls
  853. CONFIG_DRIVER_NL80211=y
  854. CFLAGS += $(shell pkg-config libnl-3.0 --cflags)
  855. CONFIG_LIBNL32=y
  856. CONFIG_READLINE=y\n" port)
  857. (close-port port)))
  858. (alist-cons-after
  859. 'install 'install-man-pages
  860. (lambda* (#:key outputs #:allow-other-keys)
  861. (let* ((out (assoc-ref outputs "out"))
  862. (man (string-append out "/share/man"))
  863. (man5 (string-append man "/man5"))
  864. (man8 (string-append man "/man8")))
  865. (define (copy-man-page target)
  866. (lambda (file)
  867. (copy-file file
  868. (string-append target "/"
  869. (basename file)))))
  870. (mkdir-p man5) (mkdir man8)
  871. (for-each (copy-man-page man5)
  872. (find-files "doc/docbook" "\\.5"))
  873. (for-each (copy-man-page man8)
  874. (find-files "doc/docbook" "\\.8"))
  875. #t))
  876. %standard-phases))
  877. #:make-flags (list "CC=gcc"
  878. (string-append "BINDIR=" (assoc-ref %outputs "out")
  879. "/sbin")
  880. (string-append "LIBDIR=" (assoc-ref %outputs "out")
  881. "/lib"))
  882. #:tests? #f))
  883. (inputs
  884. `(("readline" ,readline)
  885. ("libnl" ,libnl)
  886. ("gnutls" ,gnutls)
  887. ("libgcrypt" ,libgcrypt))) ;needed by crypto_gnutls.c
  888. (native-inputs
  889. `(("pkg-config" ,pkg-config)))
  890. (home-page "http://w1.fi/wpa_supplicant/")
  891. (synopsis "Connecting to WPA and WPA2-protected wireless networks")
  892. (description
  893. "wpa_supplicant is a WPA Supplicant with support for WPA and WPA2 (IEEE
  894. 802.11i / RSN). Supplicant is the IEEE 802.1X/WPA component that is used in
  895. the client stations. It implements key negotiation with a WPA Authenticator
  896. and it controls the roaming and IEEE 802.11 authentication/association of the
  897. WLAN driver.
  898. This package provides the 'wpa_supplicant' daemon and the 'wpa_cli' command.")
  899. ;; In practice, this is linked against Readline, which makes it GPLv3+.
  900. (license license:bsd-3)))
  901. (define-public wpa-supplicant
  902. (package (inherit wpa-supplicant-minimal)
  903. (name "wpa-supplicant")
  904. (inputs `(("dbus" ,dbus)
  905. ,@(package-inputs wpa-supplicant-minimal)))
  906. (arguments
  907. (substitute-keyword-arguments (package-arguments wpa-supplicant-minimal)
  908. ((#:phases phases)
  909. `(alist-cons-after
  910. 'configure 'configure-for-dbus
  911. (lambda _
  912. (let ((port (open-file ".config" "al")))
  913. (display "
  914. CONFIG_CTRL_IFACE_DBUS=y
  915. CONFIG_CTRL_IFACE_DBUS_NEW=y
  916. CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port)
  917. (close-port port))
  918. #t)
  919. (alist-cons-after
  920. 'install-man-pages 'install-dbus-conf
  921. (lambda* (#:key outputs #:allow-other-keys)
  922. (let* ((out (assoc-ref outputs "out"))
  923. (dir (string-append out "/etc/dbus-1/system.d")))
  924. (mkdir-p dir)
  925. (copy-file "dbus/dbus-wpa_supplicant.conf"
  926. (string-append dir "/wpa_supplicant.conf"))))
  927. ,phases)))))))
  928. (define-public wakelan
  929. (package
  930. (name "wakelan")
  931. (version "1.1")
  932. (source (origin
  933. (method url-fetch)
  934. (uri (string-append
  935. "ftp://ftp.gwdg.de/pub/linux/metalab/system/network/misc/wakelan-"
  936. version ".tar.gz"))
  937. (sha256
  938. (base32
  939. "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x"))))
  940. (build-system gnu-build-system)
  941. (arguments
  942. '(#:phases (alist-replace
  943. 'configure
  944. (lambda* (#:key outputs #:allow-other-keys)
  945. (let ((out (assoc-ref outputs "out")))
  946. (mkdir-p (string-append out "/bin"))
  947. (mkdir-p (string-append out "/share/man/man1"))
  948. ;; It's an old configure script that doesn't understand
  949. ;; the extra options we pass.
  950. (setenv "CONFIG_SHELL" (which "bash"))
  951. (zero?
  952. (system* "./configure"
  953. (string-append "--prefix=" out)
  954. (string-append "--mandir=" out
  955. "/share/man")))))
  956. %standard-phases)
  957. #:tests? #f))
  958. (home-page "http://kernel.org") ; really, no home page
  959. (synopsis "Send a wake-on-LAN packet")
  960. (description
  961. "WakeLan broadcasts a properly formatted UDP packet across the local area
  962. network, which causes enabled computers to power on.")
  963. (license license:gpl2+)))
  964. (define-public dmidecode
  965. (package
  966. (name "dmidecode")
  967. (version "2.12")
  968. (source (origin
  969. (method url-fetch)
  970. (uri (string-append
  971. "mirror://savannah/dmidecode/dmidecode-"
  972. version ".tar.bz2"))
  973. (sha256
  974. (base32
  975. "122hgaw8mpqdfra159lfl6pyk3837giqx6vq42j64fjnbl2z6gwi"))))
  976. (build-system gnu-build-system)
  977. (arguments
  978. '(#:phases (alist-delete 'configure %standard-phases)
  979. #:tests? #f ; no 'check' target
  980. #:make-flags (list (string-append "prefix="
  981. (assoc-ref %outputs "out")))))
  982. (home-page "http://www.nongnu.org/dmidecode/")
  983. (synopsis "Read hardware information from the BIOS")
  984. (description
  985. "Dmidecode reports information about your system's hardware as described
  986. in your system BIOS according to the SMBIOS/DMI standard. This typically
  987. includes system manufacturer, model name, serial number, BIOS version, asset
  988. tag as well as a lot of other details of varying level of interest and
  989. reliability depending on the manufacturer. This will often include usage
  990. status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory
  991. module slots, and the list of I/O ports (e.g. serial, parallel, USB).")
  992. (license license:gpl2+)))
  993. (define-public acpica
  994. (package
  995. (name "acpica")
  996. (version "20150410")
  997. (source (origin
  998. (method url-fetch)
  999. (uri (string-append
  1000. "https://acpica.org/sites/acpica/files/acpica-unix2-"
  1001. version ".tar.gz"))
  1002. (sha256
  1003. (base32
  1004. "0q1fjwkyw9x6gsva6fd0zbn7ly4fx0ha4853f416np9kf2irillw"))))
  1005. (build-system gnu-build-system)
  1006. (native-inputs `(("flex" ,flex)
  1007. ("bison" ,bison)))
  1008. (arguments
  1009. '(#:make-flags (list (string-append "PREFIX=" %output)
  1010. "HOST=_LINUX"
  1011. "OPT_CFLAGS=-Wall -fno-strict-aliasing")
  1012. #:tests? #f ; no 'check' target.
  1013. #:phases (alist-delete 'configure %standard-phases)))
  1014. (home-page "http://acpica.org/")
  1015. (synopsis "Tools for the development and debug of ACPI tables")
  1016. (description
  1017. "The ACPI Component Architecture (ACPICA) project provides an
  1018. OS-independent reference implementation of the Advanced Configuration and
  1019. Power Interface Specification (ACPI). ACPICA code contains those portions of
  1020. ACPI meant to be directly integrated into the host OS as a kernel-resident
  1021. subsystem, and a small set of tools to assist in developing and debugging ACPI
  1022. tables. This package contains only the user-space tools needed for ACPI table
  1023. development, not the kernel implementation of ACPI.")
  1024. (license license:gpl2))) ; Dual GPLv2/ACPICA Licence
  1025. (define-public stress
  1026. (package
  1027. (name "stress")
  1028. (version "1.0.1")
  1029. (source (origin
  1030. (method url-fetch)
  1031. (uri (string-append "mirror://debian/pool/main/s/stress/stress_"
  1032. version ".orig.tar.gz"))
  1033. (sha256
  1034. (base32
  1035. "1v9vnzlihqfjsxa93hdbrq72pqqk00dkylmlg8jpxhm7s1w9qfl1"))))
  1036. (build-system gnu-build-system)
  1037. (home-page "http://packages.debian.org/wheezy/stress")
  1038. (synopsis "Impose load on and stress test a computer system")
  1039. (description
  1040. "Stress is a tool that imposes a configurable amount of CPU, memory, I/O,
  1041. or disk stress on a POSIX-compliant operating system and reports any errors it
  1042. detects.
  1043. Stress is not a benchmark. It is a tool used by system administrators to
  1044. evaluate how well their systems will scale, by kernel programmers to evaluate
  1045. perceived performance characteristics, and by systems programmers to expose
  1046. the classes of bugs which only or more frequently manifest themselves when the
  1047. system is under heavy load.")
  1048. (license license:gpl2+)))
  1049. (define-public detox
  1050. (package
  1051. (name "detox")
  1052. (version "1.2.0")
  1053. (source (origin
  1054. (method url-fetch)
  1055. (uri (string-append "mirror://sourceforge/detox/detox-"
  1056. version ".tar.bz2"))
  1057. (sha256
  1058. (base32
  1059. "1y6vvjqsg54kl49cry73jbfhr04s7wjs779vrr9zrq6kww7dkymb"))))
  1060. (build-system gnu-build-system)
  1061. ;; Both flex and popt are used in this case for their runtime libraries
  1062. ;; (libfl and libpopt).
  1063. (inputs
  1064. `(("flex" ,flex)
  1065. ("popt" ,popt)))
  1066. (arguments
  1067. `(#:configure-flags `(,(string-append "--with-popt="
  1068. (assoc-ref %build-inputs "popt")))
  1069. #:tests? #f)) ;no 'check' target
  1070. (home-page "http://detox.sourceforge.net")
  1071. (synopsis "Clean up file names")
  1072. (description
  1073. "Detox is a program that renames files to make them easier to work with
  1074. under Unix and related operating systems. Spaces and various other unsafe
  1075. characters (such as \"$\") get replaced with \"_\". ISO 8859-1 (Latin-1)
  1076. characters can be replaced as well, as can UTF-8 characters.")
  1077. (license license:bsd-3)))
  1078. (define-public testdisk
  1079. (package
  1080. (name "testdisk")
  1081. (version "7.0")
  1082. (source (origin
  1083. (method url-fetch)
  1084. (uri (string-append "http://www.cgsecurity.org/testdisk-"
  1085. version ".tar.bz2"))
  1086. (sha256
  1087. (base32
  1088. "0ba4wfz2qrf60vwvb1qsq9l6j0pgg81qgf7fh22siaz649mkpfq0"))))
  1089. (build-system gnu-build-system)
  1090. (inputs
  1091. `(("ntfs-3g" ,ntfs-3g)
  1092. ("util-linux" ,util-linux)
  1093. ("openssl" ,openssl)
  1094. ;; FIXME: add reiserfs
  1095. ("zlib" ,zlib)
  1096. ("e2fsprogs" ,e2fsprogs)
  1097. ("libjpeg" ,libjpeg)
  1098. ("ncurses" ,ncurses)))
  1099. (home-page "http://www.cgsecurity.org/wiki/TestDisk")
  1100. (synopsis "Data recovery tool")
  1101. (description
  1102. "TestDisk is a program for data recovery, primarily designed to help
  1103. recover lost partitions and/or make non-booting disks bootable again.")
  1104. (license license:gpl2+)))
  1105. (define-public tree
  1106. (package
  1107. (name "tree")
  1108. (version "1.7.0")
  1109. (source (origin
  1110. (method url-fetch)
  1111. (uri (string-append
  1112. "http://mama.indstate.edu/users/ice/tree/src/tree-"
  1113. version ".tgz"))
  1114. (sha256
  1115. (base32 "04kviw799qxly08zb8n5mgxfd96gyis6x69q2qiw86jnh87c4mv9"))))
  1116. (build-system gnu-build-system)
  1117. (arguments
  1118. '(#:phases (alist-delete 'configure %standard-phases)
  1119. #:tests? #f ; no check target
  1120. #:make-flags (let ((out (assoc-ref %outputs "out")))
  1121. (list (string-append "prefix=" out)))))
  1122. (synopsis "Recursively list the contents of a directory")
  1123. (description
  1124. "Tree is a recursive directory listing command that produces a depth
  1125. indented listing of files, which is colorized ala dircolors if the LS_COLORS
  1126. environment variable is set and output is to tty.")
  1127. (home-page "http://mama.indstate.edu/users/ice/tree/")
  1128. (license license:gpl2+)))
  1129. (define-public direvent
  1130. (package
  1131. (name "direvent")
  1132. (version "5.0")
  1133. (source (origin
  1134. (method url-fetch)
  1135. (uri (string-append "mirror://gnu/direvent/direvent-"
  1136. version ".tar.gz"))
  1137. (sha256
  1138. (base32
  1139. "1i14131y6m8wvirz6piw4zxz2q1kbpl0lniv5kl55rx4k372dg8z"))
  1140. (modules '((guix build utils)))
  1141. (snippet '(substitute* "tests/testsuite"
  1142. (("#![[:blank:]]?/bin/sh")
  1143. "#!$SHELL")))))
  1144. (build-system gnu-build-system)
  1145. (arguments
  1146. '(#:phases (alist-cons-before
  1147. 'build 'patch-/bin/sh
  1148. (lambda* (#:key inputs #:allow-other-keys)
  1149. ;; Use the right shell when executing the watcher.
  1150. (let ((bash (assoc-ref inputs "bash")))
  1151. (substitute* "src/direvent.c"
  1152. (("\"/bin/sh\"")
  1153. (string-append "\"" bash "/bin/sh\"")))))
  1154. %standard-phases)))
  1155. (home-page "http://www.gnu.org/software/direvent/")
  1156. (synopsis "Daemon to monitor directories for events such as file removal")
  1157. (description
  1158. "A daemon that monitors directories for events, such as creating,
  1159. deleting or modifying files. It can monitor different sets of directories for
  1160. different events. When an event is detected, direvent calls a specified
  1161. external program with information about the event, such as the location
  1162. within the file system where it occurred. Thus, \"direvent\" provides an
  1163. easy way to react immediately if given files undergo changes, for example, to
  1164. track changes in important system configuration files.")
  1165. (license license:gpl3+)))
  1166. (define-public libcap-ng
  1167. (package
  1168. (name "libcap-ng")
  1169. (version "0.7.4")
  1170. (source (origin
  1171. (method url-fetch)
  1172. (uri (string-append
  1173. "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-"
  1174. version ".tar.gz"))
  1175. (sha256
  1176. (base32
  1177. "0ssvnh4cvhya0c1j6k6192zvqcq7nc0x01fb5nwhr0prfqr0i8j8"))))
  1178. (build-system gnu-build-system)
  1179. (inputs `(("python" ,python)))
  1180. (home-page "http://people.redhat.com/sgrubb/libcap-ng/")
  1181. (synopsis "Library for more easily working with POSIX capabilities")
  1182. (description
  1183. "The libcap-ng library is intended to make programming with POSIX
  1184. capabilities easier than the traditional libcap library. It includes
  1185. utilities that can analyse all currently running applications and print out
  1186. any capabilities and whether or not it has an open ended bounding set. The
  1187. included utilities are designed to let admins and developers spot apps from
  1188. various ways that may be running with too much privilege.")
  1189. ;; The library is lgpl2.1+, but also ships some utils which are gpl2+.
  1190. (license (list license:lgpl2.1+ license:gpl2+))))
  1191. (define-public smartmontools
  1192. (package
  1193. (name "smartmontools")
  1194. (version "6.5")
  1195. (source (origin
  1196. (method url-fetch)
  1197. (uri (string-append
  1198. "mirror://sourceforge/smartmontools/smartmontools/"
  1199. version "/smartmontools-" version ".tar.gz"))
  1200. (sha256
  1201. (base32
  1202. "1g25r6sx85b5lay5n6sbnqv05qxzj6xsafsp93hnrg1h044bps49"))))
  1203. (build-system gnu-build-system)
  1204. (inputs `(("libcap-ng" ,libcap-ng)))
  1205. (home-page "http://www.smartmontools.org/")
  1206. (synopsis "S.M.A.R.T. harddisk control and monitoring tools")
  1207. (description
  1208. "The smartmontools package contains utility programs to control and
  1209. monitor storage systems using the Self-Monitoring, Analysis and Reporting
  1210. Technology System (S.M.A.R.T.) built into most modern ATA and SCSI harddisks.
  1211. In many cases, these utilities will provide advanced warning of disk
  1212. degradation and failure.")
  1213. (license license:gpl2+)))
  1214. (define-public fdupes
  1215. (package
  1216. (name "fdupes")
  1217. (version "1.51")
  1218. (source
  1219. (origin
  1220. (method url-fetch)
  1221. (uri (string-append
  1222. "https://github.com/adrianlopezroche/fdupes/archive/fdupes-"
  1223. version ".tar.gz"))
  1224. (sha256
  1225. (base32
  1226. "11j96vxl9vg3jsnxqxskrv3gad6dh7hz2zpyc8n31xzyxka1c7kn"))))
  1227. (build-system gnu-build-system)
  1228. (arguments
  1229. '(#:phases (alist-delete 'configure %standard-phases)
  1230. #:tests? #f ; no 'check' target
  1231. #:make-flags (list (string-append "PREFIX="
  1232. (assoc-ref %outputs "out")))))
  1233. (home-page "https://github.com/adrianlopezroche/fdupes")
  1234. (synopsis "Identify duplicate files")
  1235. (description
  1236. "fdupes is a program for identifying duplicate files residing within
  1237. specified directories.")
  1238. (license license:expat)))
  1239. (define-public graphios
  1240. (package
  1241. (name "graphios")
  1242. (version "2.0.3")
  1243. (source
  1244. (origin
  1245. (method url-fetch)
  1246. (uri (string-append
  1247. "https://pypi.python.org/packages/source/g/graphios/graphios-"
  1248. version ".tar.gz"))
  1249. (sha256
  1250. (base32
  1251. "1h87hvc315wg6lklbf4l7csd3n5pgljwrfli1p3nasdi0izgn66i"))))
  1252. (build-system python-build-system)
  1253. (arguments
  1254. ;; Be warned: Building with Python 3 succeeds, but the build process
  1255. ;; throws a syntax error that is ignored.
  1256. `(#:python ,python-2
  1257. #:phases
  1258. (modify-phases %standard-phases
  1259. (add-before 'build 'fix-setup.py
  1260. (lambda* (#:key outputs #:allow-other-keys)
  1261. ;; Fix hardcoded, unprefixed file names.
  1262. (let ((out (assoc-ref outputs "out")))
  1263. (substitute* '("setup.py")
  1264. (("/etc") (string-append out "/etc"))
  1265. (("/usr") out)
  1266. (("distro_ver = .*") "distro_ver = ''"))
  1267. #t))))))
  1268. (inputs
  1269. `(("python-setuptools" ,python2-setuptools)))
  1270. (home-page "https://github.com/shawn-sterling/graphios")
  1271. (synopsis "Emit Nagios metrics to Graphite, Statsd, and Librato")
  1272. (description
  1273. "Graphios is a script to emit nagios perfdata to various upstream metrics
  1274. processing and time-series systems. It's currently compatible with Graphite,
  1275. Statsd, Librato and InfluxDB. Graphios can emit Nagios metrics to any number
  1276. of supported upstream metrics systems simultaneously.")
  1277. (license license:gpl2+)))
  1278. (define-public ansible
  1279. (package
  1280. (name "ansible")
  1281. (version "1.9.2")
  1282. (source
  1283. (origin
  1284. (method url-fetch)
  1285. (uri (string-append
  1286. "https://pypi.python.org/packages/source/a/ansible/ansible-"
  1287. version
  1288. ".tar.gz"))
  1289. (sha256
  1290. (base32
  1291. "007fzgsqaahb0y4gjdxxmir9kcni7wph2z14jhqgpz88idrz8pn2"))))
  1292. (build-system python-build-system)
  1293. (native-inputs
  1294. `(("python2-setuptools" ,python2-setuptools)
  1295. ("python2-pycrypto" ,python2-pycrypto)
  1296. ("python2-httplib2" ,python2-httplib2)
  1297. ("python2-passlib" ,python2-passlib)
  1298. ("python2-nose" ,python2-nose)
  1299. ("python2-mock" ,python2-mock)
  1300. ("python2-jinja2" ,python2-jinja2)
  1301. ("python2-pyyaml" ,python2-pyyaml)
  1302. ("python2-paramiko" ,python2-paramiko)))
  1303. (inputs
  1304. `(("python2-pycrypto" ,python2-pycrypto)
  1305. ("python2-jinja2" ,python2-jinja2)
  1306. ("python2-pyyaml" ,python2-pyyaml)
  1307. ("python2-paramiko" ,python2-paramiko)))
  1308. (arguments
  1309. `(#:python ,python-2)) ; incompatible with Python 3
  1310. (home-page "http://ansible.com/")
  1311. (synopsis "Radically simple IT automation")
  1312. (description "Ansible is a radically simple IT automation system. It
  1313. handles configuration-management, application deployment, cloud provisioning,
  1314. ad-hoc task-execution, and multinode orchestration - including trivializing
  1315. things like zero downtime rolling updates with load balancers.")
  1316. (license license:gpl3+)))
  1317. (define-public cpulimit
  1318. (package
  1319. (name "cpulimit")
  1320. (version "0.2")
  1321. (source
  1322. (origin
  1323. (method url-fetch)
  1324. (uri (string-append "https://github.com/opsengine/cpulimit/archive/v"
  1325. version ".tar.gz"))
  1326. (file-name (string-append name "-" version ".tar.gz"))
  1327. (sha256
  1328. (base32
  1329. "1nn2w849xd5bw4y5sqnll29nxdwl5h0cv4smc7dwmpb9qnd2ycb4"))))
  1330. (build-system gnu-build-system)
  1331. (arguments
  1332. `(#:phases (modify-phases %standard-phases
  1333. (delete 'configure)
  1334. (replace
  1335. 'build
  1336. (lambda _
  1337. (zero? (system* "make" "CC=gcc" "-Csrc"))))
  1338. (replace
  1339. 'check
  1340. (lambda _
  1341. (zero? (system* "make" "CC=gcc" "-Ctests"))))
  1342. (replace
  1343. 'install
  1344. (lambda* (#:key outputs #:allow-other-keys)
  1345. (let* ((out (assoc-ref outputs "out"))
  1346. (bin (string-append out "/bin")))
  1347. (install-file "src/cpulimit" bin)))))))
  1348. (home-page "https://github.com/opsengine/cpulimit")
  1349. (synopsis "Limit CPU usage")
  1350. (description
  1351. "Cpulimit limits the CPU usage of a process. It does not change the nice
  1352. value or other scheduling priority settings, but the real CPU usage, and is
  1353. able to adapt itself dynamically to the overall system load. Children
  1354. processes and threads of the specified process may optionally share the same
  1355. limits.")
  1356. (license license:gpl2+)))
  1357. (define-public autojump
  1358. (package
  1359. (name "autojump")
  1360. (version "22.2.4")
  1361. (source
  1362. (origin
  1363. (method url-fetch)
  1364. (uri (string-append "https://github.com/wting/autojump/archive/"
  1365. "release-v" version ".tar.gz"))
  1366. (file-name (string-append name "-" version ".tar.gz"))
  1367. (sha256
  1368. (base32
  1369. "0xglj7nb8xczaqy2dhn78drqdwqj64rqpymxhqmmwwqzfaqassw1"))))
  1370. (build-system gnu-build-system)
  1371. (native-inputs ;for tests
  1372. `(("python-mock" ,python-mock)
  1373. ("python-pytest" ,python-pytest)))
  1374. (inputs
  1375. `(("python" ,python-wrapper)))
  1376. (arguments
  1377. `(#:phases (modify-phases %standard-phases
  1378. (delete 'configure)
  1379. (delete 'build)
  1380. (replace 'check
  1381. (lambda _
  1382. (zero?
  1383. (system* "python" "tests/autojump_utils_test.py"))))
  1384. (replace 'install
  1385. ;; The install.py script doesn't allow system installation
  1386. ;; into an arbitrary prefix, so do our own install.
  1387. (lambda* (#:key outputs #:allow-other-keys)
  1388. (let* ((out (assoc-ref outputs "out"))
  1389. (bin (string-append out "/bin"))
  1390. (share (string-append out "/share/autojump"))
  1391. (py (string-append out "/lib/python"
  1392. ,(version-major+minor
  1393. (package-version python-wrapper))
  1394. "/site-packages"))
  1395. (man (string-append out "/share/man/man1")))
  1396. (install-file "bin/autojump" bin)
  1397. (for-each (λ (f) (install-file f py))
  1398. (find-files "bin" "\\.py$"))
  1399. (for-each (λ (f) (install-file f share))
  1400. (find-files "bin" "autojump\\..*$"))
  1401. (substitute* (string-append share "/autojump.sh")
  1402. (("/usr/local") out))
  1403. (install-file "docs/autojump.1" man)
  1404. (wrap-program (string-append bin "/autojump")
  1405. `("PYTHONPATH" ":" prefix (,py)))
  1406. #t))))))
  1407. (home-page "https://github.com/wting/autojump")
  1408. (synopsis "Shell extension for filesystem navigation")
  1409. (description
  1410. "Autojump provides a faster way to navigate your filesystem, with a \"cd
  1411. command that learns\". It works by maintaining a database of the directories
  1412. you use the most from the command line and allows you to \"jump\" to
  1413. frequently used directories by typing only a small pattern.")
  1414. (license license:gpl3+)))
  1415. (define-public iftop
  1416. (package
  1417. (name "iftop")
  1418. (version "1.0pre4")
  1419. (source (origin
  1420. (method url-fetch)
  1421. (uri (string-append "http://www.ex-parrot.com/~pdw/iftop/download"
  1422. "/iftop-" version ".tar.gz"))
  1423. (sha256
  1424. (base32
  1425. "15sgkdyijb7vbxpxjavh5qm5nvyii3fqcg9mzvw7fx8s6zmfwczp"))))
  1426. (build-system gnu-build-system)
  1427. (inputs
  1428. `(("libpcap" ,libpcap)
  1429. ("ncurses" ,ncurses)))
  1430. (synopsis "Monitor network usage")
  1431. (description "Iftop does for network usage what @command{top} does
  1432. for CPU usage. It listens to network traffic on a named interface and
  1433. displays a table of current bandwidth usage by pairs of hosts.")
  1434. (home-page "http://www.ex-parrot.com/~pdw/iftop/")
  1435. (license license:gpl2+)))
  1436. (define-public munge
  1437. (package
  1438. (name "munge")
  1439. (version "0.5.12")
  1440. (source (origin
  1441. (method url-fetch)
  1442. (uri (string-append "https://github.com/dun/munge/releases/"
  1443. "download/munge-" version "/munge-"
  1444. version ".tar.xz"))
  1445. (sha256
  1446. (base32
  1447. "1s0vlwgm3hcx75vcmjf2y3icy5nv8y07bx93w2cmm6a7x71y6wp9"))))
  1448. (inputs
  1449. `(("openssl" ,openssl)
  1450. ("libgcrypt" ,libgcrypt)))
  1451. (build-system gnu-build-system)
  1452. (home-page "https://dun.github.io/munge/")
  1453. (synopsis "Cluster computing authentication service")
  1454. (description
  1455. "Munge is an authentication service for creating and validating
  1456. credentials. It allows a process to authenticate the UID and GID of another
  1457. local or remote process within a group of hosts having common users and
  1458. groups. These hosts form a security realm that is defined by a shared
  1459. cryptographic key. Clients within this security realm can create and validate
  1460. credentials without the use of root privileges, reserved ports, or
  1461. platform-specific methods.")
  1462. (license license:gpl3+)))
  1463. (define-public audit
  1464. (package
  1465. (name "audit")
  1466. (version "2.4.5")
  1467. (source (origin
  1468. (method url-fetch)
  1469. (uri (string-append "http://people.redhat.com/sgrubb/audit/"
  1470. "audit-" version ".tar.gz"))
  1471. (sha256
  1472. (base32
  1473. "1q1q51dvxscbi4kbakmd4bn0xrvwwaiwvaya79925cbrqwzxsg77"))))
  1474. (build-system gnu-build-system)
  1475. (home-page "http://people.redhat.com/sgrubb/audit/")
  1476. (arguments
  1477. `(#:configure-flags (list "--with-python=no")
  1478. #:phases
  1479. (modify-phases %standard-phases
  1480. (add-after 'unpack 'fix-tests
  1481. (lambda _
  1482. ;; In the build environmnte /etc/passwd does not contain an entry
  1483. ;; for root/0, so we have to patch the expected value.
  1484. (substitute* "auparse/test/auparse_test.ref"
  1485. (("=0 \\(root\\)") "=0 (unknown(0))"))
  1486. #t)))))
  1487. (inputs
  1488. `(("openldap" ,openldap)
  1489. ("openssl" ,openssl)
  1490. ("sasl" ,cyrus-sasl)))
  1491. (synopsis "User-space component to the Linux auditing system")
  1492. (description
  1493. "auditd is the user-space component to the Linux auditing system, which
  1494. allows logging of system calls made by user-land processes. It's responsible
  1495. for writing audit records to the disk. Viewing the logs is done with the
  1496. @code{ausearch} or @code{aureport} utilities. Configuring the audit rules is
  1497. done with the @code{auditctl} utility.")
  1498. (license license:gpl2+)))
  1499. (define-public nmap
  1500. (package
  1501. (name "nmap")
  1502. (version "7.12")
  1503. (source (origin
  1504. (method url-fetch)
  1505. (uri (string-append "https://nmap.org/dist/nmap-" version
  1506. ".tar.bz2"))
  1507. (sha256
  1508. (base32
  1509. "014vagh9ak10hidwzp9s6g30y5h5fhsh8wykcnc1hnn9hwm0ipv3"))
  1510. (modules '((guix build utils)))
  1511. (snippet
  1512. '(map delete-file-recursively
  1513. ;; Remove bundled lua, pcap, and pcre libraries.
  1514. ;; FIXME: Remove bundled liblinear once packaged.
  1515. '("liblua"
  1516. "libpcap"
  1517. "libpcre"
  1518. ;; Remove pre-compiled binares.
  1519. "mswin32")))))
  1520. (build-system gnu-build-system)
  1521. (inputs
  1522. `(("openssl" ,openssl)
  1523. ("libpcap" ,libpcap)
  1524. ("pcre" ,pcre)
  1525. ("lua" ,lua)
  1526. ;; For 'ndiff'.
  1527. ("python" ,python-2)))
  1528. ;; TODO Add zenmap output.
  1529. (outputs '("out" "ndiff"))
  1530. (arguments
  1531. '(#:configure-flags '("--without-zenmap")
  1532. #:phases
  1533. (modify-phases %standard-phases
  1534. (replace 'install
  1535. (lambda* (#:key outputs #:allow-other-keys)
  1536. (define (make out . args)
  1537. (unless (zero? (apply system* "make"
  1538. (string-append "prefix=" out)
  1539. args))
  1540. (error "make failed")))
  1541. (define (python-path dir)
  1542. (string-append dir "/lib/python2.7/site-packages"))
  1543. (let ((out (assoc-ref outputs "out"))
  1544. (ndiff (assoc-ref outputs "ndiff")))
  1545. (for-each mkdir-p (list out ndiff))
  1546. (make out
  1547. "install-nmap"
  1548. "install-nse"
  1549. "install-ncat"
  1550. "install-nping")
  1551. (make ndiff "install-ndiff")
  1552. (wrap-program (string-append ndiff "/bin/ndiff")
  1553. `("PYTHONPATH" prefix
  1554. (,(python-path ndiff)))))))
  1555. ;; These are the tests that do not require network access.
  1556. (replace 'check
  1557. (lambda _ (zero? (system* "make"
  1558. "check-nse"
  1559. "check-ndiff"
  1560. "check-dns")))))
  1561. ;; Nmap can't cope with out-of-source building.
  1562. #:out-of-source? #f))
  1563. (home-page "https://nmap.org/")
  1564. (synopsis "Network discovery and security auditing tool")
  1565. (description
  1566. "Nmap (\"Network Mapper\") is a network discovery and security auditing
  1567. tool. It is also useful for tasks such as network inventory, managing service
  1568. upgrade schedules, and monitoring host or service uptime. It also provides an
  1569. advanced netcat implementation (ncat), a utility for comparing scan
  1570. results (ndiff), and a packet generation and response analysis tool (nping).")
  1571. ;; This package uses nmap's bundled versions of libdnet and liblinear, which
  1572. ;; both use a 3-clause BSD license.
  1573. (license (list license:nmap license:bsd-3))))
  1574. (define-public dstat
  1575. (package
  1576. (name "dstat")
  1577. (version "0.7.3")
  1578. (source (origin
  1579. (method url-fetch)
  1580. (uri (string-append
  1581. "https://github.com/dagwieers/dstat/archive/"
  1582. version ".tar.gz"))
  1583. (file-name (string-append "dstat-" version ".tar.gz"))
  1584. (sha256
  1585. (base32
  1586. "16286z3y2lc9nsq8njzjkv6k2vyxrj9xiixj1k3gnsbvhlhkirj6"))))
  1587. (build-system gnu-build-system)
  1588. (arguments
  1589. `(#:tests? #f ;; no make check
  1590. #:make-flags (let ((out (assoc-ref %outputs "out")))
  1591. (list (string-append "DESTDIR=" out)
  1592. "prefix=/"))
  1593. ;; no configure script
  1594. #:phases (alist-delete 'configure %standard-phases)))
  1595. (inputs `(("python-2" ,python-2)))
  1596. (synopsis "Versatile resource statistics tool")
  1597. (description "Dstat is a versatile replacement for @command{vmstat},
  1598. @command{iostat}, @command{netstat}, and @command{ifstat}. Dstat overcomes
  1599. some of their limitations and adds some extra features, more counters and
  1600. flexibility. Dstat is handy for monitoring systems during performance tuning
  1601. tests, benchmarks or troubleshooting.
  1602. Dstat allows you to view all of your system resources in real-time, you can,
  1603. e.g., compare disk utilization in combination with interrupts from your IDE
  1604. controller, or compare the network bandwidth numbers directly with the disk
  1605. throughput (in the same interval).")
  1606. (home-page "http://dag.wiee.rs/home-made/dstat/")
  1607. (license license:gpl2+)))
  1608. (define-public thefuck
  1609. (package
  1610. (name "thefuck")
  1611. (version "3.9")
  1612. (source (origin
  1613. (method url-fetch)
  1614. (uri (string-append "https://github.com/nvbn/thefuck/archive/"
  1615. version ".tar.gz"))
  1616. (file-name (string-append name "-" version ".tar.gz"))
  1617. (sha256
  1618. (base32
  1619. "0g4s2vkpl0mqhkdkbzib07qr4xf0cq25fvhdhna52290qgd69pwf"))))
  1620. (build-system python-build-system)
  1621. (native-inputs
  1622. `(("python-setuptools" ,python-setuptools)))
  1623. (inputs
  1624. `(("python-colorama" ,python-colorama)
  1625. ("python-decorator" ,python-decorator)
  1626. ("python-psutil" ,python-psutil)
  1627. ("python-six" ,python-six)))
  1628. (home-page "https://github.com/nvbn/thefuck")
  1629. (synopsis "Correct mistyped console command")
  1630. (description
  1631. "The Fuck tries to match a rule for a previous, mistyped command, creates
  1632. a new command using the matched rule, and runs it.")
  1633. (license license:x11)))