2014-12-08 17:28:48 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-01-31 14:46:02 -05:00
|
|
|
|
;;; Copyright © 2014, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
2020-05-16 04:28:20 -04:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net>
|
2015-07-27 14:52:56 -04:00
|
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
2017-06-17 18:59:27 -04:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Stefan Reichör <stefan@xsteve.at>
|
2016-03-10 07:47:56 -05:00
|
|
|
|
;;; Copyright © 2016 Raimon Grau <raimonster@gmail.com>
|
2021-01-01 18:07:08 -05:00
|
|
|
|
;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-07-18 15:31:12 -04:00
|
|
|
|
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
|
2021-01-31 05:55:14 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2016-08-11 08:56:13 -04:00
|
|
|
|
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 07:05:45 -04:00
|
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2018-02-09 04:53:19 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Arun Isaac <arunisaac@systemreboot.net>
|
2016-10-18 11:28:23 -04:00
|
|
|
|
;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
|
2017-02-26 05:52:21 -05:00
|
|
|
|
;;; Copyright © 2016, 2017 Pjotr Prins <pjotr.guix@thebird.nl>
|
2017-04-14 10:16:42 -04:00
|
|
|
|
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
2020-10-10 00:51:59 -04:00
|
|
|
|
;;; Copyright © 2017, 2020 Leo Famulari <leo@famulari.name>
|
2020-01-06 04:43:23 -05:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
2019-01-07 15:55:27 -05:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
2019-02-12 11:39:50 -05:00
|
|
|
|
;;; Copyright © 2017, 2019 Gábor Boskovits <boskovits@gmail.com>
|
2017-04-26 14:18:56 -04:00
|
|
|
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
2018-01-31 14:46:02 -05:00
|
|
|
|
;;; Copyright © 2018 Adam Van Ymeren <adam@vany.ca>
|
2018-04-06 15:44:36 -04:00
|
|
|
|
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
2018-05-17 11:50:33 -04:00
|
|
|
|
;;; Copyright © 2018 Tonton <tonton@riseup.net>
|
2018-05-28 17:03:19 -04:00
|
|
|
|
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
2018-07-08 13:39:24 -04:00
|
|
|
|
;;; Copyright © 2018 Theodoros Foradis <theodoros@foradis.org>
|
2020-03-14 06:31:03 -04:00
|
|
|
|
;;; Copyright © 2018, 2020 Marius Bakke <mbakke@fastmail.com>
|
2020-01-07 23:08:27 -05:00
|
|
|
|
;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
Update email for Pierre Neidhardt.
* .mailmap: Add name and email for Pierre Neidhardt.
* gnu/packages/c.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/disk.scm, gnu/packages/emacs.scm, gnu/packages/freedesktop.scm,
gnu/packages/golang.scm, gnu/packages/image.scm, gnu/packages/music.scm,
gnu/packages/networking.scm, gnu/packages/password-utils.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/textutils.scm, gnu/packages/video.scm, gnu/packages/xdisorg.scm:
Update email for Pierre Neidhardt.
2018-08-27 08:46:26 -04:00
|
|
|
|
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
2021-03-30 08:13:55 -04:00
|
|
|
|
;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2019-06-15 19:15:14 -04:00
|
|
|
|
;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com>
|
2019-07-25 14:40:30 -04:00
|
|
|
|
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
2019-08-01 15:25:58 -04:00
|
|
|
|
;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
|
2019-09-30 10:43:21 -04:00
|
|
|
|
;;; Copyright © 2019 Brice Waegeneire <brice@waegenei.re>
|
2019-10-15 13:14:16 -04:00
|
|
|
|
;;; Copyright © 2019 Tonton <tonton@riseup.net>
|
2020-03-28 10:08:16 -04:00
|
|
|
|
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
|
2020-05-01 21:14:39 -04:00
|
|
|
|
;;; Copyright © 2019, 2020 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
|
2019-12-01 11:32:17 -05:00
|
|
|
|
;;; Copyright © 2019 Daniel Schaefer <git@danielschaefer.me>
|
2019-12-04 11:02:04 -05:00
|
|
|
|
;;; Copyright © 2019 Diego N. Barbato <dnbarbato@posteo.de>
|
2020-02-09 10:34:23 -05:00
|
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2020-02-13 07:49:09 -05:00
|
|
|
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
2020-05-31 20:37:03 -04:00
|
|
|
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
2020-09-19 12:08:27 -04:00
|
|
|
|
;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
|
2020-09-23 04:11:25 -04:00
|
|
|
|
;;; Copyright © 2020 Hamzeh Nasajpour <h.nasajpour@pantherx.org>
|
2020-12-14 18:45:33 -05:00
|
|
|
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
2021-04-03 11:12:45 -04:00
|
|
|
|
;;; Copyright © 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2014-12-08 17:28:48 -05:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2015-04-29 10:26:34 -04:00
|
|
|
|
(define-module (gnu packages networking)
|
2014-12-08 17:28:48 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2018-01-17 21:15:50 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2017-04-26 14:18:56 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2014-12-08 17:28:48 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2019-04-05 01:07:58 -04:00
|
|
|
|
#:use-module (guix build-system go)
|
2020-06-14 09:21:02 -04:00
|
|
|
|
#:use-module (guix build-system meson)
|
2017-06-12 03:32:16 -04:00
|
|
|
|
#:use-module (guix build-system perl)
|
2016-12-26 15:22:19 -05:00
|
|
|
|
#:use-module (guix build-system python)
|
2019-12-01 11:32:17 -05:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2020-02-13 07:49:09 -05:00
|
|
|
|
#:use-module (guix utils)
|
2016-07-28 17:38:20 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages admin)
|
|
|
|
|
#:use-module (gnu packages adns)
|
2016-07-14 18:23:23 -04:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages audio)
|
2020-05-11 05:54:40 -04:00
|
|
|
|
#:use-module (gnu packages autogen)
|
2017-10-17 20:12:58 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2018-01-31 14:46:02 -05:00
|
|
|
|
#:use-module (gnu packages base)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages bison)
|
2018-05-31 11:07:07 -04:00
|
|
|
|
#:use-module (gnu packages boost)
|
2016-04-03 23:20:38 -04:00
|
|
|
|
#:use-module (gnu packages check)
|
2016-09-11 09:41:07 -04:00
|
|
|
|
#:use-module (gnu packages code)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages compression)
|
2019-11-14 12:23:00 -05:00
|
|
|
|
#:use-module (gnu packages cpp)
|
2018-04-06 15:44:36 -04:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2016-12-26 15:22:19 -05:00
|
|
|
|
#:use-module (gnu packages curl)
|
2020-03-20 06:45:11 -04:00
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
2017-06-26 11:51:33 -04:00
|
|
|
|
#:use-module (gnu packages dejagnu)
|
2020-06-14 09:21:02 -04:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2017-10-17 20:12:58 -04:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages flex)
|
2020-05-14 20:50:42 -04:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2016-07-14 18:23:23 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2017-08-17 18:48:25 -04:00
|
|
|
|
#:use-module (gnu packages glib)
|
2017-04-26 14:18:56 -04:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2020-10-17 14:57:57 -04:00
|
|
|
|
#:use-module (gnu packages golang)
|
2020-07-14 16:26:28 -04:00
|
|
|
|
#:use-module (gnu packages graphviz)
|
2020-07-03 12:12:59 -04:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2018-04-06 15:44:36 -04:00
|
|
|
|
#:use-module (gnu packages image)
|
2020-05-16 04:28:20 -04:00
|
|
|
|
#:use-module (gnu packages libevent)
|
2016-10-18 04:04:54 -04:00
|
|
|
|
#:use-module (gnu packages libidn)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
|
#:use-module (gnu packages lua)
|
2018-01-31 14:46:02 -05:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
gnu: Move Kerberos implemetations to (gnu packages kerberos).
* gnu/packages/mit-krb5.scm: Remove.
* gnu/packages/shishi.scm: Remove.
* gnu/packages/kerberos.scm: New file, from the concatenation of these
two.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gsasl.scm, gnu/packages/java.scm,
gnu/packages/networking.scm, gnu/packages/nfs.scm,
gnu/packages/onc-rpc.scm, gnu/packages/ssh.scm,
gnu/packages/web.scm: Adjust accordingly.
2017-01-18 03:57:43 -05:00
|
|
|
|
#:use-module (gnu packages kerberos)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2019-01-11 06:33:41 -05:00
|
|
|
|
#:use-module (gnu packages nettle)
|
2020-03-20 06:45:11 -04:00
|
|
|
|
#:use-module (gnu packages openldap)
|
2020-07-03 12:12:59 -04:00
|
|
|
|
#:use-module (gnu packages onc-rpc)
|
2019-01-11 06:33:41 -05:00
|
|
|
|
#:use-module (gnu packages password-utils)
|
2016-08-11 08:56:13 -04:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages perl)
|
gnu: Move test packages from perl to perl-check.
* gnu/packages/perl.scm (perl-test2-bundle-extended,
perl-test2-plugin-nowarnings, perl-test-base, perl-test-class,
perl-test-class-most, perl-test-cleannamespaces, perl-test-command,
perl-test-cpan-meta, perl-test-cpan-meta-json, perl-test-deep,
perl-test-differences, perl-test-directory, perl-test-eol,
perl-test-exception, perl-test-fatal, perl-test-file-sharedir-dist,
perl-test-files, perl-test-harness, perl-test-leaktrace,
perl-test-longstring, perl-test-manifest, perl-test-memory-cycle,
perl-test-mockobject, perl-test-mocktime, perl-test-most, perl-test-needs,
perl-test-notabs, perl-test-nowarnings, perl-test-number-delta,
perl-test-output, perl-test-pod, perl-test-pod-coverage, perl-test-requires,
perl-test-script, perl-test-sharedfork, perl-test-simple, perl-test-taint,
perl-test-tester, perl-test-trap, perl-test-utf8, perl-test-warn,
perl-test-warnings, perl-test-without-module, perl-test-writevariants,
perl-test-yaml, perl-test-trailingspace): Move variables to ...
* gnu/packages/perl-check.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/glib.scm,
gnu/packages/gnupg.scm,
gnu/packages/image-viewers.scm,
gnu/packages/language.scm,
gnu/packages/networking.scm,
gnu/packages/package-management.scm,
gnu/packages/perl.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/version-control.scm,
gnu/packages/web.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm: Use perl-check module.
2017-11-13 17:03:01 -05:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2016-04-03 23:20:38 -04:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2020-04-20 02:05:49 -04:00
|
|
|
|
#:use-module (gnu packages polkit)
|
2019-11-14 12:23:00 -05:00
|
|
|
|
#:use-module (gnu packages pretty-print)
|
2020-04-20 02:05:49 -04:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
#:use-module (gnu packages python)
|
2018-09-19 16:23:59 -04:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2017-08-17 18:17:24 -04:00
|
|
|
|
#:use-module (gnu packages qt)
|
2017-06-26 11:51:33 -04:00
|
|
|
|
#:use-module (gnu packages readline)
|
2020-06-29 01:39:30 -04:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2020-05-11 05:54:40 -04:00
|
|
|
|
#:use-module (gnu packages samba)
|
2019-01-11 06:33:41 -05:00
|
|
|
|
#:use-module (gnu packages serialization)
|
2020-06-29 01:48:27 -04:00
|
|
|
|
#:use-module (gnu packages shells)
|
2020-07-14 16:26:28 -04:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2017-08-17 18:17:24 -04:00
|
|
|
|
#:use-module (gnu packages ssh)
|
2020-07-03 09:44:14 -04:00
|
|
|
|
#:use-module (gnu packages tcl)
|
2016-09-11 09:41:07 -04:00
|
|
|
|
#:use-module (gnu packages textutils)
|
|
|
|
|
#:use-module (gnu packages tls)
|
2017-06-12 03:32:16 -04:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2019-02-12 11:39:50 -05:00
|
|
|
|
#:use-module (gnu packages web)
|
2018-04-06 15:44:36 -04:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
2017-06-16 08:38:59 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
2017-06-12 03:32:16 -04:00
|
|
|
|
#:use-module (ice-9 match))
|
2014-12-08 17:28:48 -05:00
|
|
|
|
|
2021-02-25 16:02:10 -05:00
|
|
|
|
(define-public usrsctp
|
|
|
|
|
(package
|
|
|
|
|
(name "usrsctp")
|
|
|
|
|
(version "0.9.5.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/sctplab/usrsctp")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "10ndzkip8blgkw572n3dicl6mgjaa7kygwn3vls80liq92vf1sa9"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(home-page "https://github.com/sctplab/usrsctp/")
|
|
|
|
|
(synopsis "SCTP user-land implementation")
|
|
|
|
|
(description "UsrSCTP is a portable SCTP userland stack. SCTP is a message
|
|
|
|
|
oriented, reliable transport protocol with direct support for multihoming that
|
|
|
|
|
runs on top of IP or UDP, and supports both v4 and v6 versions.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2020-11-18 15:16:37 -05:00
|
|
|
|
(define-public axel
|
|
|
|
|
(package
|
|
|
|
|
(name "axel")
|
2020-11-23 18:45:11 -05:00
|
|
|
|
(version "2.17.10")
|
2020-11-18 15:16:37 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/axel-download-accelerator/axel/"
|
|
|
|
|
"releases/download/v" version "/"
|
|
|
|
|
"axel-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2020-11-23 18:45:11 -05:00
|
|
|
|
(base32 "0kmlqk04sgkshsll4r9w3k0rvrgz0gpk987618r50khwl484zss6"))))
|
2020-11-18 15:16:37 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libressl" ,libressl)))
|
|
|
|
|
(home-page "https://github.com/axel-download-accelerator/axel")
|
|
|
|
|
(synopsis "Light command line download accelerator")
|
|
|
|
|
(description
|
|
|
|
|
"Axel tries to accelerate the download process by using multiple
|
|
|
|
|
connections per file, and can also balance the load between different
|
|
|
|
|
servers. It tries to be as light as possible, so it might be useful
|
|
|
|
|
on byte-critical systems. It supports HTTP, HTTPS, FTP and FTPS
|
|
|
|
|
protocols.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-07-14 16:26:28 -04:00
|
|
|
|
;; This package does not have a release yet.
|
|
|
|
|
;; But this is required to provide a feature in PipeWire.
|
|
|
|
|
(define-public libcamera
|
|
|
|
|
(package
|
|
|
|
|
(name "libcamera")
|
|
|
|
|
(version "0.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "git://linuxtv.org/libcamera.git")
|
|
|
|
|
(commit "74c8b508338ccdd0780aa1e067a1e8fcb9ee326b")))
|
|
|
|
|
(file-name
|
|
|
|
|
(git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0d9lp8b9gyxh4jwfh55kp8zl1xyyg32z684v3y29378zpksncss1"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-Dv4l2=true")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/meson.build"
|
|
|
|
|
(("\\['list-cameras', 'list-cameras.cpp'\\],")
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'move-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(mkdir-p (string-append doc "/share"))
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/doc")
|
|
|
|
|
(string-append doc "/share/doc"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("dot" ,graphviz)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("sphinx" ,python-sphinx)
|
|
|
|
|
("yaml" ,python-pyyaml)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gstreamer" ,gst-plugins-base)
|
|
|
|
|
("gnutls" ,gnutls)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("qt5" ,qtbase)
|
|
|
|
|
("udev" ,eudev)))
|
|
|
|
|
(synopsis "Camera stack and framework")
|
|
|
|
|
(description "LibCamera is a complex camera support library for GNU+Linux,
|
|
|
|
|
Android, and ChromeOS.")
|
|
|
|
|
(home-page "https://libcamera.org/")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2020-07-03 12:12:59 -04:00
|
|
|
|
(define-public libnice
|
|
|
|
|
(package
|
|
|
|
|
(name "libnice")
|
2020-11-04 17:42:04 -05:00
|
|
|
|
(version "0.1.18")
|
2020-07-03 12:12:59 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://libnice.freedesktop.org/releases/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-11-04 17:42:04 -05:00
|
|
|
|
(base32 "1x3kj9b3dy9m2h6j96wgywfamas1j8k2ca43k5v82kmml9dx5asy"))))
|
2020-07-03 12:12:59 -04:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-Dgtk_doc=enabled")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-11-04 17:42:04 -05:00
|
|
|
|
(add-after 'unpack 'disable-failing-test
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/meson.build"
|
|
|
|
|
;; ‘test-set-port-range.c:66:main: assertion failed:
|
|
|
|
|
;; (nice_agent_gather_candidates (agent, stream1))’
|
|
|
|
|
(("'test-set-port-range'") "#"))
|
|
|
|
|
#t))
|
2020-07-03 12:12:59 -04:00
|
|
|
|
(add-after 'install 'move-docs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(mkdir-p (string-append doc "/share"))
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/gtk-doc")
|
|
|
|
|
(string-append doc "/share/gtk-doc"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib:bin" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
gnu: Use 'gtk-doc/stable' in native-inputs of selected packages.
* gnu/packages/calendar.scm (libical),
gnu/packages/check.scm (umockdev),
gnu/packages/fontutils.scm (libraqm),
gnu/packages/freedesktop.scm (appstream, farstream, libglib-testing)
(udisks, libfprint, libportal),
gnu/packages/geo.scm (memphis, osm-gps-map),
gnu/packages/glib.scm (template-glib),
gnu/packages/gnome.scm (gupnp-igd, libcloudproviders, libgrss, seed)
(gtx, dee, zeitgeist, phodav, gssdp, gupnp, gupnp-dlna, gupnp-av, rygel)
(libnma, gdl, libnotify, vte-ng, dconf, libxklavier, libsoup, colord)
(geoclue, geocode-glib, amtk, grilo, gvfs, gusb, network-manager)
(network-manager-applet, gfbgraph, libunique, cheese, libhandy)
(gnome-latex, libgda),
gnu/packages/gstreamer.scm (orc),
gnu/packages/gtk.scm (at-spi2-core, goocanvas),
gnu/packages/language.scm (nimf),
gnu/packages/networking.scm (libnice),
gnu/packages/video.scm (schroedinger),
gnu/packages/virtualization.scm (libosinfo),
gnu/packages/webkit.scm (wpewebkit, webkitgtk),
gnu/packages/xml.scm (libxmlb)[native-inputs]: Replace 'gtk-doc' with
'gtk-doc/stable'.
2021-03-27 07:35:02 -04:00
|
|
|
|
("gtk-doc" ,gtk-doc/stable)
|
2020-07-03 12:12:59 -04:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2020-09-23 00:01:13 -04:00
|
|
|
|
`(("gstreamer" ,gstreamer)
|
2020-07-03 12:12:59 -04:00
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
|
("libnsl" ,libnsl)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("glib" ,glib)
|
2020-09-23 00:01:13 -04:00
|
|
|
|
("glib-networking" ,glib-networking)
|
|
|
|
|
("gnutls" ,gnutls)))
|
2020-07-03 12:12:59 -04:00
|
|
|
|
(synopsis "GLib ICE implementation")
|
|
|
|
|
(description "LibNice is a library that implements the Interactive
|
|
|
|
|
Connectivity Establishment (ICE) standard (RFC 5245 & RFC 8445). It provides a
|
|
|
|
|
GLib-based library, libnice, as well as GStreamer elements to use it.")
|
|
|
|
|
(home-page "https://libnice.freedesktop.org/")
|
|
|
|
|
(license
|
|
|
|
|
;; This project is dual-licensed.
|
|
|
|
|
(list
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:mpl1.1))))
|
|
|
|
|
|
2020-07-03 12:10:10 -04:00
|
|
|
|
(define-public rtmpdump
|
2020-12-20 10:56:39 -05:00
|
|
|
|
;; There are no tags in the repository, and the project is unlikely to
|
|
|
|
|
;; make new releases. Take a recent commit for multiple security fixes
|
|
|
|
|
;; as well as GnuTLS compatibility.
|
|
|
|
|
(let ((commit "c5f04a58fc2aeea6296ca7c44ee4734c18401aa3")
|
|
|
|
|
(revision "0")
|
|
|
|
|
(version "2.4")) ;as mentioned in README and man pages
|
|
|
|
|
(package
|
|
|
|
|
(name "rtmpdump")
|
|
|
|
|
(version (git-version version revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.ffmpeg.org/rtmpdump")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "07ias612jgmxpam9h418kvlag32da914jsnjsfyafklpnh8gdzjb"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list
|
|
|
|
|
;; The ‘validate-runpath’ phase fails to find librtmp.so.0.
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib")
|
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'omit-static-library
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "librtmp/Makefile"
|
|
|
|
|
(("cp librtmp\\.a .*") ; don't install it
|
|
|
|
|
"")
|
|
|
|
|
(("librtmp\\.a ") ; don't build it
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'prefer-gnutls
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("Makefile" "librtmp/Makefile")
|
|
|
|
|
(("CRYPTO=OPENSSL")
|
|
|
|
|
"#CRYPTO=OPENSSL")
|
|
|
|
|
(("#CRYPTO=GNUTLS")
|
|
|
|
|
"CRYPTO=GNUTLS"))))
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gnutls" ,gnutls)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Tools and library for handling RTMP streams")
|
|
|
|
|
(description "RTMPdump is a toolkit for RTMP streams. All forms of RTMP are
|
2020-07-03 12:10:10 -04:00
|
|
|
|
supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.")
|
2020-12-20 10:56:39 -05:00
|
|
|
|
(home-page "https://rtmpdump.mplayerhq.hu/")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; Library.
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
;; Others.
|
|
|
|
|
license:gpl2+)))))
|
2020-07-03 12:10:10 -04:00
|
|
|
|
|
2020-07-03 09:44:14 -04:00
|
|
|
|
(define-public srt
|
|
|
|
|
(package
|
|
|
|
|
(name "srt")
|
2021-04-28 18:36:31 -04:00
|
|
|
|
(version "1.4.3")
|
2020-07-03 09:44:14 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 13:18:54 -05:00
|
|
|
|
(url "https://github.com/Haivision/srt")
|
2020-07-03 09:44:14 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-04-28 18:36:31 -04:00
|
|
|
|
(base32 "1f60vlfxhh9bhafws82c3301whjlz5gy92jz9a9ymwfg5h53bv1j"))))
|
2020-07-03 09:44:14 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_BINDIR="
|
|
|
|
|
(assoc-ref %outputs "out") "/bin")
|
2020-10-24 09:42:23 -04:00
|
|
|
|
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
2020-10-22 05:56:42 -04:00
|
|
|
|
"-DENABLE_STATIC=OFF"
|
2020-10-22 05:57:35 -04:00
|
|
|
|
"-DENABLE_UNITTESTS=ON")))
|
2020-07-03 09:44:14 -04:00
|
|
|
|
(native-inputs
|
2020-10-22 05:56:01 -04:00
|
|
|
|
`(("gtest" ,googletest)
|
2020-07-03 09:44:14 -04:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("tclsh" ,tcl)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("openssl" ,openssl)))
|
|
|
|
|
(synopsis "Secure Reliable Transport")
|
|
|
|
|
(description "SRT is a transport technology that optimizes streaming
|
|
|
|
|
performance across unpredictable networks, such as the Internet.")
|
|
|
|
|
(home-page "https://www.srtalliance.org/")
|
|
|
|
|
(license license:mpl2.0)))
|
|
|
|
|
|
2020-10-10 00:51:59 -04:00
|
|
|
|
;; FFmpeg, GStreamer, and VLC don't support SRT 1.4.2 yet.
|
|
|
|
|
(define-public srt-1.4.1
|
|
|
|
|
(package
|
|
|
|
|
(inherit srt)
|
|
|
|
|
(name "srt")
|
|
|
|
|
(version "1.4.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 13:18:54 -05:00
|
|
|
|
(url "https://github.com/Haivision/srt")
|
2020-10-10 00:51:59 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01xaq44j95kbgqfl41pnybvqy0yq6wd4wdw88ckylzf0nzp977xz"))))))
|
|
|
|
|
|
2020-07-03 09:43:19 -04:00
|
|
|
|
(define-public lksctp-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "lksctp-tools")
|
|
|
|
|
(version "1.0.18")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 13:18:54 -05:00
|
|
|
|
(url "https://github.com/sctp/lksctp-tools")
|
2020-07-03 09:43:19 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2021-04-03 11:08:10 -04:00
|
|
|
|
(patches
|
|
|
|
|
(search-patches "lksctp-tools-1.0.18-fix-header-file-name.patch"))
|
2020-07-03 09:43:19 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1x4fwzrlzvfa3vcpja97m8w5g9ir2zrh4zs7zksminrnmdrs0dsr"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("linux-headers" ,linux-libre-headers)))
|
|
|
|
|
(synopsis "Linux SCTP helper library")
|
|
|
|
|
(description "Lksctp-tools project provides a user space library for SCTP
|
|
|
|
|
(libsctp) including C language header files (netinet/sctp.h) for accessing SCTP
|
|
|
|
|
specific application programming interfaces not provided by the standard
|
|
|
|
|
sockets, and also some helper utilities around SCTP.")
|
|
|
|
|
(home-page "http://lksctp.sourceforge.net/")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; Library.
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
;; Others.
|
|
|
|
|
license:gpl2+))))
|
|
|
|
|
|
2021-04-03 11:12:45 -04:00
|
|
|
|
(define-public python-pysctp
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pysctp")
|
|
|
|
|
(version "0.6.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pysctp" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "14h2qlmfi24bizhvvqkfqfa78pzm3911ibrzy9k94i97xy1978dy"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lksctp-tools" ,lksctp-tools)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;; tests require network
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-setup.py
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("include_dirs\\s*=.*")
|
|
|
|
|
(string-append "include_dirs = ['.'] + '"
|
|
|
|
|
(getenv "C_INCLUDE_PATH") "'.split(':'),"))
|
|
|
|
|
(("library_dirs\\s*=.*")
|
|
|
|
|
(string-append "library_dirs = '"
|
|
|
|
|
(getenv "LIBRARY_PATH") "'.split(':'),"))))))))
|
|
|
|
|
(home-page "https://github.com/p1sec/pysctp")
|
|
|
|
|
(synopsis "Python module for the SCTP protocol stack and library")
|
|
|
|
|
(description "@code{pysctp} implements the SCTP socket API. You need a
|
|
|
|
|
SCTP-aware kernel (most are).")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2020-08-31 17:22:54 -04:00
|
|
|
|
(define-public knockd
|
|
|
|
|
(package
|
|
|
|
|
(name "knockd")
|
|
|
|
|
(version "0.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.zeroflux.org/proj/knock/files/knock-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"193qcpsy7v51c6awhg9652l5blyz8vp6n7y6fi7l4rhh6af4ff4r"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libpcap" ,libpcap)))
|
|
|
|
|
(home-page "https://www.zeroflux.org/projects/knock")
|
|
|
|
|
(synopsis "Small port-knock daemon")
|
|
|
|
|
(description "@command{knockd} is a port-knock daemon. It listens to all traffic on
|
|
|
|
|
an ethernet or PPP interface, looking for special \"knock\" sequences of @dfn{port-hits}
|
|
|
|
|
(UDP/TCP packets sent to a server port). This port need not be open, since knockd listens
|
|
|
|
|
at the link-layer level.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-06-29 01:48:27 -04:00
|
|
|
|
(define-public nng
|
|
|
|
|
(package
|
|
|
|
|
(name "nng")
|
2020-08-20 00:00:17 -04:00
|
|
|
|
(version "1.3.2")
|
2020-06-29 01:48:27 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
2020-08-20 00:00:17 -04:00
|
|
|
|
(uri (git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 13:18:54 -05:00
|
|
|
|
(url "https://github.com/nanomsg/nng")
|
2020-08-20 00:00:17 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
2020-06-29 01:48:27 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-08-20 00:00:17 -04:00
|
|
|
|
(base32 "0a4jg8alh2h0rw6fb4dqpvk4hgl2a7h76mq7g34fy89qh9sgg1a4"))))
|
2020-06-29 01:48:27 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2020-08-20 00:00:17 -04:00
|
|
|
|
(list "-DNNG_ENABLE_COVERAGE=ON"
|
2020-09-23 04:11:25 -04:00
|
|
|
|
"-DNNG_ENABLE_TLS=ON"
|
|
|
|
|
"-DBUILD_SHARED_LIBS=ON")
|
2020-06-29 01:48:27 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; These tests require network access.
|
|
|
|
|
(substitute* "tests/CMakeLists.txt"
|
|
|
|
|
(("add_nng_test1\\(httpclient 60 NNG_SUPP_HTTP\\)") "")
|
|
|
|
|
(("add_nng_test1\\(resolv 10 NNG_STATIC_LIB\\)") "")
|
|
|
|
|
(("add_nng_test\\(tls 60\\)") ""))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("ksh" ,oksh)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mbedtls" ,mbedtls-apache)))
|
|
|
|
|
(synopsis "Lightweight messaging library")
|
|
|
|
|
(description "NNG project is a rewrite of the scalability protocols library
|
|
|
|
|
known as libnanomsg, and adds significant new capabilities, while retaining
|
|
|
|
|
compatibility with the original. It is a lightweight, broker-less library,
|
|
|
|
|
offering a simple API to solve common recurring messaging problems, such as
|
|
|
|
|
publish/subscribe, RPC-style request/reply, or service discovery.")
|
|
|
|
|
(home-page "https://nng.nanomsg.org/")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2020-06-29 01:39:30 -04:00
|
|
|
|
(define-public nanomsg
|
|
|
|
|
(package
|
|
|
|
|
(name "nanomsg")
|
|
|
|
|
(version "1.1.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 13:18:54 -05:00
|
|
|
|
(url "https://github.com/nanomsg/nanomsg")
|
2020-06-29 01:39:30 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "01ddfzjlkf2dgijrmm3j3j8irccsnbgfvjcnwslsfaxnrmrq5s64"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-DNN_ENABLE_COVERAGE=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-docs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(mkdir-p (string-append doc "/share/doc"))
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/doc/nanomsg")
|
|
|
|
|
(string-append doc "/share/doc/nanomsg"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("asciidoctor" ,ruby-asciidoctor)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Scalable socket library")
|
|
|
|
|
(description "Nanomsg is a socket library that provides several common
|
|
|
|
|
communication patterns. It aims to make the networking layer fast, scalable,
|
|
|
|
|
and easy to use. Implemented in C, it works on a wide range of operating
|
|
|
|
|
systems with no further dependencies.")
|
|
|
|
|
(home-page "https://nanomsg.org/")
|
|
|
|
|
(license (license:non-copyleft "file:///COPYING"))))
|
|
|
|
|
|
2020-04-20 02:05:49 -04:00
|
|
|
|
(define-public blueman
|
|
|
|
|
(package
|
|
|
|
|
(name "blueman")
|
2020-11-01 08:35:20 -05:00
|
|
|
|
(version "2.1.4")
|
2020-04-20 02:05:49 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-05-14 16:04:11 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/blueman-project/blueman/releases"
|
|
|
|
|
"/download/" version "/blueman-" version ".tar.xz"))
|
2020-04-20 02:05:49 -04:00
|
|
|
|
(sha256
|
2020-11-01 08:35:20 -05:00
|
|
|
|
(base32 "1nk46s1s8yrlqv37sc7la05nnn7sdgqhkrcdm98qin34llwkv70x"))))
|
2020-04-20 02:05:49 -04:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(arguments
|
2020-05-11 05:54:40 -04:00
|
|
|
|
`(#:configure-flags (list "--enable-polkit"
|
|
|
|
|
"--without-systemdsystemunitdir" ; Not required
|
|
|
|
|
"--without-systemduserunitdir") ; Not required
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Python references are not being patched in patch-phase of build,
|
|
|
|
|
;; despite using python-wrapper as input. So we patch them manually.
|
|
|
|
|
(add-after 'unpack 'patch-python-references
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "apps"
|
|
|
|
|
(substitute* '("blueman-adapters.in" "blueman-applet.in"
|
|
|
|
|
"blueman-assistant.in" "blueman-manager.in"
|
|
|
|
|
"blueman-mechanism.in" "blueman-report.in"
|
|
|
|
|
"blueman-rfcomm-watcher.in" "blueman-sendto.in"
|
|
|
|
|
"blueman-services.in" "blueman-tray.in")
|
|
|
|
|
(("@PYTHON@") (string-append (assoc-ref inputs "python")
|
|
|
|
|
"/bin/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))))))
|
|
|
|
|
#t))
|
|
|
|
|
;; Fix loading of external programs.
|
|
|
|
|
(add-after 'unpack 'patch-external-programs
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* '("apps/blueman-report.in" "blueman/main/NetConf.py"
|
|
|
|
|
"blueman/main/PPPConnection.py")
|
|
|
|
|
(("/usr/sbin/bluetoothd")
|
|
|
|
|
(string-append (assoc-ref inputs "bluez")
|
|
|
|
|
"/libexec/bluetooth/bluetoothd"))
|
|
|
|
|
(("/sbin/iptables")
|
|
|
|
|
(string-append (assoc-ref inputs "iptables")
|
|
|
|
|
"/sbin/iptables"))
|
|
|
|
|
(("/usr/sbin/pppd")
|
|
|
|
|
(string-append (assoc-ref inputs "ppp")
|
|
|
|
|
"/sbin/pppd")))
|
|
|
|
|
#t))
|
|
|
|
|
;; Fix loading of pulseaudio libraries.
|
|
|
|
|
(add-after 'unpack 'patch-pulseaudio-libraries
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((pulseaudio (assoc-ref inputs "pulseaudio"))
|
|
|
|
|
(pulse (string-append pulseaudio "/lib/libpulse.so.0"))
|
|
|
|
|
(pulse-glib (string-append pulseaudio
|
|
|
|
|
"/lib/libpulse-mainloop-glib.so.0")))
|
|
|
|
|
(with-directory-excursion "blueman/main"
|
|
|
|
|
(substitute* "PulseAudioUtils.py"
|
|
|
|
|
(("libpulse.so.0") pulse)
|
|
|
|
|
(("libpulse-mainloop-glib.so.0") pulse-glib)))
|
|
|
|
|
#t)))
|
|
|
|
|
;; Fix running of blueman programs.
|
|
|
|
|
(add-after 'glib-or-gtk-wrap 'wrap-blueman-progs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin/blueman-"))
|
|
|
|
|
(libexec (string-append out "/libexec/blueman-"))
|
|
|
|
|
(lib (string-append out "/lib/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (program)
|
|
|
|
|
(wrap-program program
|
|
|
|
|
`("PYTHONPATH" = (,(getenv "PYTHONPATH") ,lib))
|
|
|
|
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
|
|
|
|
|
(append
|
|
|
|
|
(map (lambda (prog) (string-append bin prog))
|
|
|
|
|
'("adapters" "applet" "assistant" "manager" "report"
|
|
|
|
|
"sendto" "services" "tray"))
|
|
|
|
|
(map (lambda (prog) (string-append libexec prog))
|
|
|
|
|
'("mechanism" "rfcomm-watcher"))))
|
|
|
|
|
#t))))))
|
2020-04-20 02:05:49 -04:00
|
|
|
|
(native-inputs
|
2020-05-14 16:04:11 -04:00
|
|
|
|
`(("cython" ,python-cython)
|
2020-04-20 02:05:49 -04:00
|
|
|
|
("glib:bin" ,glib "bin")
|
2020-05-11 05:54:40 -04:00
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2020-04-20 02:05:49 -04:00
|
|
|
|
("gtk+:bin" ,gtk+ "bin")
|
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2020-05-11 05:54:40 -04:00
|
|
|
|
`(("bluez" ,bluez)
|
2020-04-20 02:05:49 -04:00
|
|
|
|
("dbus" ,dbus)
|
2020-05-11 05:54:40 -04:00
|
|
|
|
("gdkpixbuf" ,gdk-pixbuf+svg)
|
2020-04-20 02:05:49 -04:00
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("iproute2" ,iproute)
|
2020-05-11 05:54:40 -04:00
|
|
|
|
("iptables" ,iptables)
|
2020-04-20 02:05:49 -04:00
|
|
|
|
("net-tools" ,net-tools)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("polkit" ,polkit)
|
2020-05-11 05:54:40 -04:00
|
|
|
|
("ppp" ,ppp)
|
2020-04-20 02:05:49 -04:00
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("pycairo" ,python-pycairo)
|
|
|
|
|
("pygobject" ,python-pygobject)
|
|
|
|
|
("python" ,python-wrapper)
|
2020-05-14 20:50:42 -04:00
|
|
|
|
("libappindicator" ,libappindicator)
|
2020-05-11 05:54:40 -04:00
|
|
|
|
("libnm" ,network-manager)))
|
2020-04-20 02:05:49 -04:00
|
|
|
|
(synopsis "GTK+ Bluetooth manager")
|
|
|
|
|
(description "Blueman is a Bluetooth management utility using the Bluez
|
|
|
|
|
D-Bus backend. It is designed to be easy to use for most common Bluetooth
|
|
|
|
|
tasks.")
|
|
|
|
|
(home-page "https://github.com/blueman-project/blueman")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-03-14 06:56:08 -04:00
|
|
|
|
;; The gnu.org ‘home’ for this GNU project is a directory listing with 1.6.0 as
|
|
|
|
|
;; the latest version. The author's git repository, mentioned in the 1.6.0
|
|
|
|
|
;; README and otherwise legit-looking, contains a proper 1.7.0 release tarball
|
|
|
|
|
;; with many OUI updates. Use it, even though it's also several years old now.
|
2016-04-07 06:59:35 -04:00
|
|
|
|
(define-public macchanger
|
|
|
|
|
(package
|
|
|
|
|
(name "macchanger")
|
2018-03-14 06:56:08 -04:00
|
|
|
|
(version "1.7.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/alobbs/macchanger/"
|
|
|
|
|
"releases/download/" version "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1gs5m0jxyprdp00w2qkbnaqm3ilkjz0q1gqdg4nzdm8g4xy73qns"))))
|
2016-04-07 06:59:35 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2017-03-29 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/macchanger/")
|
2016-07-29 04:13:12 -04:00
|
|
|
|
(synopsis "Viewing and manipulating MAC addresses of network interfaces")
|
2016-04-07 06:59:35 -04:00
|
|
|
|
(description "GNU MAC Changer is a utility for viewing and changing MAC
|
|
|
|
|
addresses of networking devices. New addresses may be set explicitly or
|
|
|
|
|
randomly. They can include MAC addresses of the same or other hardware vendors
|
2017-02-26 05:52:21 -05:00
|
|
|
|
or, more generally, MAC addresses of the same category of hardware.")
|
2016-04-07 06:59:35 -04:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-05-12 09:29:06 -04:00
|
|
|
|
(define-public miredo
|
|
|
|
|
(package
|
|
|
|
|
(name "miredo")
|
|
|
|
|
(version "1.2.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.remlab.net/files/miredo/miredo-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0j9ilig570snbmj48230hf7ms8kvcwi2wblycqrmhh85lksd49ps"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2021-02-04 17:33:53 -05:00
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list "--localstatedir=/var")
|
|
|
|
|
#:phases
|
2015-05-12 09:29:06 -04:00
|
|
|
|
(modify-phases %standard-phases
|
2021-02-04 17:33:53 -05:00
|
|
|
|
(add-after 'unpack 'do-not-create-/run
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (find-files "src" "Makefile.*")
|
|
|
|
|
(("^.+install_sh.+/run.+$")
|
|
|
|
|
"\ttrue"))
|
|
|
|
|
#t))
|
2020-12-17 09:24:18 -05:00
|
|
|
|
(add-after 'unpack 'patch-iproute2
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((iproute (assoc-ref inputs "iproute"))
|
|
|
|
|
(ip (string-append iproute "/sbin/ip")))
|
|
|
|
|
(substitute* "misc/client-hook.iproute"
|
|
|
|
|
(("/sbin/ip") ip))
|
|
|
|
|
#t)))
|
2015-05-12 09:29:06 -04:00
|
|
|
|
;; The checkconf test in src/ requires network access.
|
|
|
|
|
(add-before
|
|
|
|
|
'check 'disable-checkconf-test
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/Makefile"
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(("^TESTS = .*") "TESTS = \n"))
|
|
|
|
|
#t)))))
|
2020-12-17 09:24:18 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("iproute" ,iproute)))
|
2020-01-18 18:57:45 -05:00
|
|
|
|
(home-page "https://www.remlab.net/miredo/")
|
2015-05-12 09:29:06 -04:00
|
|
|
|
(synopsis "Teredo IPv6 tunneling software")
|
|
|
|
|
(description
|
|
|
|
|
"Miredo is an implementation (client, relay, server) of the Teredo
|
|
|
|
|
specification, which provides IPv6 Internet connectivity to IPv6 enabled hosts
|
|
|
|
|
residing in IPv4-only networks, even when they are behind a NAT device.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-06-13 14:29:52 -04:00
|
|
|
|
(define-public ndisc6
|
|
|
|
|
(package
|
|
|
|
|
(name "ndisc6")
|
|
|
|
|
(version "1.0.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.remlab.net/files/ndisc6/ndisc6-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07swyar1hl83zxmd7fqwb2q0c0slvrswkcfp3nz5lknrk15dmcdb"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://www.remlab.net/ndisc6/")
|
|
|
|
|
(synopsis "IPv6 diagnostic tools")
|
|
|
|
|
(description
|
|
|
|
|
"NDisc6 is a collection of tools for IPv6 networking diagnostics.
|
|
|
|
|
It includes the following programs:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item @command{ndisc6}: ICMPv6 Neighbor Discovery tool.
|
|
|
|
|
@item @command{rdisc6}: ICMPv6 Router Discovery tool.
|
|
|
|
|
@item @command{tcptraceroute6}: IPv6 traceroute over TCP.
|
|
|
|
|
@item @command{traceroute6}: IPv6 traceroute over UDP.
|
|
|
|
|
@item @command{rdnssd}: Recursive DNS Servers discovery daemon.
|
|
|
|
|
@end itemize")
|
|
|
|
|
;; The user can choose version 2 or 3 of the GPL, not later versions.
|
|
|
|
|
(license (list license:gpl2 license:gpl3))))
|
|
|
|
|
|
2020-06-26 10:32:57 -04:00
|
|
|
|
(define-public parprouted
|
|
|
|
|
(package
|
|
|
|
|
(name "parprouted")
|
|
|
|
|
(version "0.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.hazard.maks.net/parprouted/"
|
|
|
|
|
"parprouted-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1z6yg28i0pv20jivyy82pxb38hsryj95inhj27bs6ja1bp4l6dnn"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no tests
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'insert-absolute-iproute-reference
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((iproute (assoc-ref inputs "iproute"))
|
|
|
|
|
(ip (string-append iproute "/sbin/ip")))
|
|
|
|
|
(substitute* "parprouted.c"
|
|
|
|
|
(("/sbin/ip") ip))
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(sbin (string-append out "/sbin"))
|
|
|
|
|
(man8 (string-append out "/share/man/man8")))
|
|
|
|
|
;; No configure script; hijack the phase to make
|
|
|
|
|
;; the necessary arrangements.
|
|
|
|
|
(setenv "CC" ,(cc-for-target))
|
|
|
|
|
(for-each mkdir-p (list sbin man8))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local/sbin") sbin)
|
|
|
|
|
(("/usr/local/man/man8") man8))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("iproute" ,iproute)))
|
|
|
|
|
(home-page "https://www.hazard.maks.net/parprouted/")
|
|
|
|
|
(synopsis "Proxy ARP requests to other interfaces")
|
|
|
|
|
(description
|
|
|
|
|
"@command{parprouted} is a daemon for transparent IP (Layer@tie{}3)
|
|
|
|
|
proxy ARP bridging. Unlike standard bridging, proxy ARP bridging can bridge
|
|
|
|
|
Ethernet networks behind wireless nodes. Normal layer@tie{}2 bridging does
|
|
|
|
|
not work between wireless nodes because wireless does not know about MAC
|
|
|
|
|
addresses used in the wired Ethernet networks. This daemon can also be
|
|
|
|
|
useful for making transparent firewalls.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2014-12-08 17:28:48 -05:00
|
|
|
|
(define-public socat
|
|
|
|
|
(package
|
|
|
|
|
(name "socat")
|
2021-03-03 18:03:13 -05:00
|
|
|
|
(version "1.7.4.1")
|
2014-12-08 17:28:48 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.dest-unreach.org/socat/download/socat-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-03 18:03:13 -05:00
|
|
|
|
"1sbmqqvni3ss9wyay6ik5v81kxffkra80mh4ypgj74g82iba5b1z"))))
|
2014-12-08 17:28:48 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2020-02-17 15:51:05 -05:00
|
|
|
|
(arguments '(#:tests? #f)) ; no test suite
|
2014-12-08 17:28:48 -05:00
|
|
|
|
(inputs `(("openssl" ,openssl)))
|
|
|
|
|
(home-page "http://www.dest-unreach.org/socat/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Open bidirectional communication channels from the command line")
|
|
|
|
|
(description
|
|
|
|
|
"socat is a relay for bidirectional data transfer between two independent
|
|
|
|
|
data channels---files, pipes, devices, sockets, etc. It can create
|
|
|
|
|
\"listening\" sockets, named pipes, and pseudo terminals.
|
|
|
|
|
|
|
|
|
|
socat can be used, for instance, as TCP port forwarder, as a shell interface
|
|
|
|
|
to UNIX sockets, IPv6 relay, for redirecting TCP oriented programs to a serial
|
|
|
|
|
line, to logically connect serial lines on different computers, or to
|
|
|
|
|
establish a relatively secure environment (su and chroot) for running client
|
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.
2015-07-17 08:16:07 -04:00
|
|
|
|
or server shell scripts with network connections.")
|
2014-12-08 17:28:48 -05:00
|
|
|
|
(license license:gpl2)))
|
2015-04-29 10:52:46 -04:00
|
|
|
|
|
2016-09-07 12:36:56 -04:00
|
|
|
|
(define-public tcp-wrappers
|
|
|
|
|
(package
|
|
|
|
|
(name "tcp-wrappers")
|
|
|
|
|
(version "7.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"ftp://ftp.porcupine.org/pub/security/tcp_wrappers_"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0p9ilj4v96q32klavx0phw9va21fjp8vpk11nbh6v2ppxnnxfhwm"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; there is no configure script
|
|
|
|
|
(delete 'check) ; there are no tests
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(chmod "." #o755)
|
|
|
|
|
;; Upstream doesn't generate a shared library. So we have to do it.
|
|
|
|
|
(setenv "CC" "gcc -fno-builtin -fPIC")
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("^(all[^\n]*)" line) (string-append line " libwrap.so\n
|
|
|
|
|
libwrap.so: $(LIB_OBJ)\n
|
|
|
|
|
\tgcc -shared $^ -o $@\n")))
|
|
|
|
|
;; Deal with some gcc breakage.
|
|
|
|
|
(substitute* "percent_m.c"
|
|
|
|
|
(("extern char .sys_errlist.*;") ""))
|
|
|
|
|
(substitute* "scaffold.c"
|
|
|
|
|
(("extern char .malloc.*;") ""))
|
|
|
|
|
;; This, believe it or not, is the recommended way to build!
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(invoke "make" "REAL_DAEMON_DIR=/etc" "linux")))
|
2016-09-07 12:36:56 -04:00
|
|
|
|
;; There is no make install stage, so we have to do it ourselves.
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(man-pages `("hosts_access.3"
|
|
|
|
|
"hosts_access.5"
|
|
|
|
|
"hosts_options.5"
|
|
|
|
|
"tcpd.8"
|
|
|
|
|
"tcpdchk.8"
|
|
|
|
|
"tcpdmatch.8"))
|
|
|
|
|
(libs `("libwrap.a"
|
|
|
|
|
"libwrap.so"))
|
|
|
|
|
(headers `("tcpd.h"))
|
|
|
|
|
(bins `("safe_finger"
|
|
|
|
|
"tcpd"
|
|
|
|
|
"tcpdchk"
|
|
|
|
|
"tcpdmatch"
|
|
|
|
|
"try-from")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (x)
|
|
|
|
|
(install-file x (string-append out "/include")))
|
|
|
|
|
headers)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (x)
|
|
|
|
|
(install-file x (string-append out "/share/man/man"
|
|
|
|
|
(string-take-right x 1))))
|
|
|
|
|
man-pages)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (x)
|
|
|
|
|
(install-file x (string-append out "/lib/")))
|
|
|
|
|
libs)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (x)
|
|
|
|
|
(install-file x (string-append out "/bin/")))
|
2018-06-27 20:51:35 -04:00
|
|
|
|
bins))
|
|
|
|
|
#t)))))
|
2016-09-07 12:36:56 -04:00
|
|
|
|
(home-page "http://www.porcupine.org")
|
|
|
|
|
(synopsis "Monitor and filter incoming requests for network services")
|
|
|
|
|
(description "With this package you can monitor and filter incoming requests for
|
|
|
|
|
network services. It includes a library which may be used by daemons to
|
|
|
|
|
transparently check connection attempts against an access control list.")
|
|
|
|
|
(license (license:non-copyleft "file://DISCLAIMER"
|
|
|
|
|
"See the file DISCLAIMER in the distribution."))))
|
|
|
|
|
|
2015-04-29 10:52:46 -04:00
|
|
|
|
(define-public zeromq
|
|
|
|
|
(package
|
|
|
|
|
(name "zeromq")
|
2021-01-17 17:44:23 -05:00
|
|
|
|
(version "4.3.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/zeromq/libzmq/releases"
|
|
|
|
|
"/download/v" version "/zeromq-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1rf3jmi36ms8jh2g5cvi253h43l6xdfq0r7mvp95va7mi4d014y5"))))
|
2015-04-29 10:52:46 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-11-10 13:17:51 -05:00
|
|
|
|
(arguments '(#:configure-flags '("--disable-static")))
|
2019-09-09 11:21:10 -04:00
|
|
|
|
(home-page "https://zeromq.org")
|
2015-04-29 10:52:46 -04:00
|
|
|
|
(synopsis "Library for message-based applications")
|
|
|
|
|
(description
|
|
|
|
|
"The 0MQ lightweight messaging kernel is a library which extends the
|
|
|
|
|
standard socket interfaces with features traditionally provided by specialized
|
|
|
|
|
messaging middle-ware products. 0MQ sockets provide an abstraction of
|
|
|
|
|
asynchronous message queues, multiple messaging patterns, message
|
|
|
|
|
filtering (subscriptions), seamless access to multiple transport protocols and
|
|
|
|
|
more.")
|
|
|
|
|
(license license:lgpl3+)))
|
2015-07-27 14:52:56 -04:00
|
|
|
|
|
2017-10-09 01:57:26 -04:00
|
|
|
|
(define-public czmq
|
|
|
|
|
(package
|
|
|
|
|
(name "czmq")
|
2021-03-03 17:43:44 -05:00
|
|
|
|
(version "4.2.1")
|
2017-10-09 01:57:26 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/zeromq/" name
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-03 17:43:44 -05:00
|
|
|
|
"0fdclvd7fcwixp0k57ccv7d159v3slasyhvndxfn8n1a9hh0lwjx"))))
|
2017-10-09 01:57:26 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-07-19 09:00:03 -04:00
|
|
|
|
'(#:configure-flags '("--enable-drafts")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'patch-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/czmq_selftest.c"
|
2020-10-20 23:42:49 -04:00
|
|
|
|
;; Disable the zproc test, which fails on some hardware
|
|
|
|
|
;; (see: https://github.com/zeromq/czmq/issues/2007).
|
2019-07-19 09:00:03 -04:00
|
|
|
|
(("\\{ \"zproc\", zproc_test.*")
|
2020-10-20 23:42:49 -04:00
|
|
|
|
"")
|
|
|
|
|
;; Also disable the zarmour test, which fails as well
|
|
|
|
|
;; (see: https://github.com/zeromq/czmq/issues/2125).
|
|
|
|
|
(("\\{ \"zarmour\", zarmour_test.*")
|
2019-07-19 09:00:03 -04:00
|
|
|
|
""))
|
|
|
|
|
#t)))))
|
2017-10-09 01:57:26 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("zeromq" ,zeromq)))
|
2020-05-25 13:29:19 -04:00
|
|
|
|
(home-page "https://zeromq.org")
|
2017-10-09 01:57:26 -04:00
|
|
|
|
(synopsis "High-level C bindings for ØMQ")
|
|
|
|
|
(description
|
|
|
|
|
"czmq provides bindings for the ØMQ core API that hides the differences
|
|
|
|
|
between different versions of ØMQ.")
|
|
|
|
|
(license license:mpl2.0)))
|
|
|
|
|
|
2018-07-08 13:39:24 -04:00
|
|
|
|
(define-public cppzmq
|
2020-03-14 06:31:03 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "cppzmq")
|
|
|
|
|
(version "4.6.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/zeromq/cppzmq")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19acx2bzi4n6fdnfgkja1nds7m1bwg8lw5vfcijrx9fv75pa7m8h"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(;; FIXME: The test suite requires downloading Catch and custom
|
|
|
|
|
;; CMake targets, and refuses to use the system version.
|
|
|
|
|
;; See <https://github.com/zeromq/cppzmq/issues/334>.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:configure-flags '("-DCPPZMQ_BUILD_TESTS=OFF")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zeromq" ,zeromq)))
|
2020-05-25 13:28:37 -04:00
|
|
|
|
(home-page "https://zeromq.org")
|
2020-03-14 06:31:03 -04:00
|
|
|
|
(synopsis "C++ bindings for the ØMQ messaging library")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides header-only C++ bindings for ØMQ. The header
|
2018-07-08 13:39:24 -04:00
|
|
|
|
files contain direct mappings of the abstractions provided by the ØMQ C API.")
|
2020-03-14 06:31:03 -04:00
|
|
|
|
(license license:expat)))
|
2018-07-08 13:39:24 -04:00
|
|
|
|
|
2020-05-01 21:14:39 -04:00
|
|
|
|
(define-public libnatpmp
|
|
|
|
|
(package
|
|
|
|
|
(name "libnatpmp")
|
|
|
|
|
(version "20150609")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://miniupnp.free.fr/files/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1c1n8n7mp0amsd6vkz32n8zj3vnsckv308bb7na0dg0r8969rap1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'check)) ; no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let* ((target ,(%current-target-system))
|
|
|
|
|
(gcc (if target
|
|
|
|
|
(string-append target "-gcc")
|
|
|
|
|
"gcc")))
|
|
|
|
|
(list
|
|
|
|
|
(string-append "CC=" gcc)
|
|
|
|
|
(string-append "INSTALLPREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")))))
|
|
|
|
|
(home-page "http://miniupnp.free.fr/libnatpmp.html")
|
|
|
|
|
(synopsis "C library implementing NAT-PMP")
|
|
|
|
|
(description
|
|
|
|
|
"@code{libnatpmp} is a portable and asynchronous implementation of
|
|
|
|
|
the Network Address Translation - Port Mapping Protocol (NAT-PMP)
|
|
|
|
|
written in the C programming language.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2016-06-07 09:49:17 -04:00
|
|
|
|
(define-public librdkafka
|
|
|
|
|
(package
|
|
|
|
|
(name "librdkafka")
|
2020-06-02 17:02:13 -04:00
|
|
|
|
(version "1.4.2")
|
2016-06-07 09:49:17 -04:00
|
|
|
|
(source (origin
|
2020-06-02 17:02:13 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/edenhill/librdkafka")
|
2020-06-02 17:02:13 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-06-07 09:49:17 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-02 17:02:13 -04:00
|
|
|
|
"05mgrdzacn9kdpr68r5j0cvsvl54s52glnsc1ww9rcxx6p7hq1ly"))))
|
2016-06-07 09:49:17 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; its custom configure script doesn't understand 'CONFIG_SHELL'.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; librdkafka++.so lacks RUNPATH for librdkafka.so
|
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append "-Wl,-rpath=" out "/lib"))
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out))))))))
|
2016-06-07 09:49:17 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-wrapper)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("zlib" ,zlib))) ; in the Libs.private field of rdkafka.pc
|
|
|
|
|
(home-page "https://github.com/edenhill/librdkafka")
|
|
|
|
|
(synopsis "Apache Kafka C/C++ client library")
|
|
|
|
|
(description
|
|
|
|
|
"librdkafka is a C library implementation of the Apache Kafka protocol,
|
|
|
|
|
containing both Producer and Consumer support.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2015-07-27 14:52:56 -04:00
|
|
|
|
(define-public libndp
|
|
|
|
|
(package
|
|
|
|
|
(name "libndp")
|
2018-06-11 12:05:54 -04:00
|
|
|
|
(version "1.7")
|
2015-07-27 14:52:56 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-07-01 11:43:03 -04:00
|
|
|
|
(uri (string-append "https://libndp.org/files/"
|
|
|
|
|
"libndp-" version ".tar.gz"))
|
2015-07-27 14:52:56 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-11 12:05:54 -04:00
|
|
|
|
"1dlinhl39va00v55qygjc9ap77yqf7xvn4rwmvdr49xhzzxhlj1c"))))
|
2015-07-27 14:52:56 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-07-01 11:43:03 -04:00
|
|
|
|
(home-page "https://libndp.org/")
|
2015-07-27 14:52:56 -04:00
|
|
|
|
(synopsis "Library for Neighbor Discovery Protocol")
|
|
|
|
|
(description
|
|
|
|
|
"libndp contains a library which provides a wrapper for IPv6 Neighbor
|
|
|
|
|
Discovery Protocol. It also provides a tool named ndptool for sending and
|
|
|
|
|
receiving NDP messages.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2015-07-27 14:53:38 -04:00
|
|
|
|
|
|
|
|
|
(define-public ethtool
|
|
|
|
|
(package
|
|
|
|
|
(name "ethtool")
|
2021-05-04 10:12:44 -04:00
|
|
|
|
(version "5.12")
|
2015-07-27 14:53:38 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/software/network/"
|
2019-02-24 19:20:48 -05:00
|
|
|
|
"ethtool/ethtool-" version ".tar.xz"))
|
2015-07-27 14:53:38 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-04 10:12:44 -04:00
|
|
|
|
"01vgyczgldrfss98cqrgjz8krj6kwb29xjf8p08q0g85fnfgmpgm"))))
|
2015-07-27 14:53:38 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-05-15 12:42:15 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmnl" ,libmnl)))
|
2015-07-27 14:53:38 -04:00
|
|
|
|
(home-page "https://www.kernel.org/pub/software/network/ethtool/")
|
|
|
|
|
(synopsis "Display or change Ethernet device settings")
|
|
|
|
|
(description
|
|
|
|
|
"ethtool can be used to query and change settings such as speed,
|
|
|
|
|
auto-negotiation and checksum offload on many network devices, especially
|
|
|
|
|
Ethernet devices.")
|
|
|
|
|
(license license:gpl2)))
|
2015-09-15 04:39:49 -04:00
|
|
|
|
|
|
|
|
|
(define-public ifstatus
|
|
|
|
|
(package
|
|
|
|
|
(name "ifstatus")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 02:35:30 -04:00
|
|
|
|
(uri (string-append "mirror://sourceforge/ifstatus/ifstatus/"
|
|
|
|
|
"ifstatus%20v" version "/ifstatus-v"
|
2015-09-15 04:39:49 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"045cbsq9ps32j24v8y5hpyqxnqn9mpaf3mgvirlhgpqyb9jsia0c"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "Main.h"
|
|
|
|
|
(("#include <stdio.h>")
|
|
|
|
|
"#include <stdio.h>\n#include <stdlib.h>"))
|
|
|
|
|
#t))))
|
2015-09-15 04:39:49 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(copy-file "ifstatus"
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(string-append bin "/ifstatus")))
|
|
|
|
|
#t)))))
|
2015-09-15 04:39:49 -04:00
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
|
|
|
|
(home-page "http://ifstatus.sourceforge.net/graphic/index.html")
|
|
|
|
|
(synopsis "Text based network interface status monitor")
|
|
|
|
|
(description
|
|
|
|
|
"IFStatus is a simple, easy-to-use program for displaying commonly
|
2015-09-18 15:57:53 -04:00
|
|
|
|
needed/wanted real-time traffic statistics of multiple network
|
2015-09-15 04:39:49 -04:00
|
|
|
|
interfaces, with a simple and efficient view on the command line. It is
|
|
|
|
|
intended as a substitute for the PPPStatus and EthStatus projects.")
|
2015-09-18 15:57:53 -04:00
|
|
|
|
(license license:gpl2+)))
|
2016-03-10 07:47:56 -05:00
|
|
|
|
|
2020-06-14 09:21:02 -04:00
|
|
|
|
(define-public iputils
|
|
|
|
|
(package
|
|
|
|
|
(name "iputils")
|
|
|
|
|
(version "20190709")
|
|
|
|
|
(home-page "https://github.com/iputils/iputils")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page)
|
|
|
|
|
(commit (string-append "s" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(patches (search-patches "iputils-libcap-compat.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"04bp4af15adp79ipxmiakfp0ij6hx5qam266flzbr94pr8z8l693"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DBUILD_RARPD=true")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-docbook-url
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((docbook-xsl (assoc-ref inputs "docbook-xsl"))
|
|
|
|
|
(uri (string-append docbook-xsl "/xml/xsl/docbook-xsl-"
|
|
|
|
|
,(package-version docbook-xsl))))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(substitute* file
|
|
|
|
|
(("http://docbook\\.sourceforge\\.net/release/xsl-ns/current")
|
|
|
|
|
uri)))
|
|
|
|
|
(cons "doc/meson.build"
|
|
|
|
|
(find-files "doc" "\\.xsl$")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("docbook-xml" ,docbook-xml-5)
|
|
|
|
|
("libxml2" ,libxml2) ;for XML_CATALOG_FILES
|
|
|
|
|
("xsltproc" ,libxslt)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libcap" ,libcap)
|
|
|
|
|
("libidn2" ,libidn2)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(synopsis "Collection of network utilities")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains a variety of tools for dealing with network
|
|
|
|
|
configuration, troubleshooting, or servers. Utilities included are:
|
|
|
|
|
|
|
|
|
|
@itemize @bullet
|
2020-07-09 08:53:03 -04:00
|
|
|
|
@item @command{arping}: Ping hosts using the @dfn{Address Resolution Protocol}.
|
2020-06-14 09:21:02 -04:00
|
|
|
|
@item @command{clockdiff}: Compute time difference between network hosts
|
|
|
|
|
using ICMP TSTAMP messages.
|
|
|
|
|
@item @command{ninfod}: Daemon that responds to IPv6 Node Information Queries.
|
|
|
|
|
@item @command{ping}: Use ICMP ECHO messages to measure round-trip delays
|
|
|
|
|
and packet loss across network paths.
|
|
|
|
|
@item @command{rarpd}: Answer RARP requests from clients.
|
|
|
|
|
@item @command{rdisc}: Populate network routing tables with information from
|
|
|
|
|
the ICMP router discovery protocol.
|
|
|
|
|
@item @command{tftpd}: Trivial file transfer protocol server.
|
|
|
|
|
@item @command{tracepath}: Trace network path to an IPv4 or IPv6 address and
|
|
|
|
|
discover MTU along the way.
|
|
|
|
|
@end itemize")
|
|
|
|
|
;; The various utilities are covered by different licenses, see LICENSE
|
|
|
|
|
;; for details.
|
|
|
|
|
(license (list license:gpl2+ ;arping, rarpd, tracepath
|
|
|
|
|
license:bsd-3 ;clockdiff, ninfod, ping, tftpd
|
|
|
|
|
(license:non-copyleft
|
|
|
|
|
"https://spdx.org/licenses/Rdisc.html"
|
|
|
|
|
"Sun Microsystems license, see rdisc.c for details")))))
|
|
|
|
|
|
2016-03-10 07:47:56 -05:00
|
|
|
|
(define-public nload
|
|
|
|
|
(package
|
|
|
|
|
(name "nload")
|
|
|
|
|
(version "0.7.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 02:35:30 -04:00
|
|
|
|
(uri (string-append "mirror://sourceforge/nload/nload/" version
|
|
|
|
|
"/nload-" version ".tar.gz"))
|
2016-03-10 07:47:56 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1rb9skch2kgqzigf19x8bzk211jdfjfdkrcvaqyj89jy2pkm3h61"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
|
|
|
|
(home-page "http://www.roland-riegel.de/nload/")
|
|
|
|
|
(synopsis "Realtime console network usage monitor")
|
|
|
|
|
(description
|
|
|
|
|
"Nload is a console application which monitors network traffic and
|
|
|
|
|
bandwidth usage in real time. It visualizes the in- and outgoing traffic using
|
2017-04-16 12:06:57 -04:00
|
|
|
|
two graphs, and provides additional info like total amount of transferred data
|
2016-03-10 07:47:56 -05:00
|
|
|
|
and min/max network usage.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-04-03 23:20:38 -04:00
|
|
|
|
|
|
|
|
|
(define-public iodine
|
|
|
|
|
(package
|
|
|
|
|
(name "iodine")
|
|
|
|
|
(version "0.7.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://code.kryo.se/" name "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0gh17kcxxi37k65zm4gqsvbk3aw7yphcs3c02pn1c4s2y6n40axd"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
`(#:phases
|
2016-04-03 23:20:38 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
2016-09-14 19:15:02 -04:00
|
|
|
|
(add-before 'build 'fix-ifconfig-path
|
|
|
|
|
;; This package works only with the net-tools version of ifconfig.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/tun.c"
|
|
|
|
|
(("PATH=[^ ]* ")
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(string-append (assoc-ref inputs "net-tools") "/bin/")))
|
|
|
|
|
#t))
|
2016-04-03 23:20:38 -04:00
|
|
|
|
(add-before 'check 'delete-failing-tests
|
2016-09-14 19:15:02 -04:00
|
|
|
|
;; Avoid https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802105.
|
2016-04-03 23:20:38 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/common.c"
|
|
|
|
|
(("tcase_add_test\\(tc, \
|
|
|
|
|
test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);")
|
2018-06-27 20:51:35 -04:00
|
|
|
|
""))
|
|
|
|
|
#t)))
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
2016-04-03 23:20:38 -04:00
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:test-target "test"))
|
2016-09-14 19:15:02 -04:00
|
|
|
|
(inputs `(("net-tools" ,net-tools)
|
|
|
|
|
("zlib" ,zlib)))
|
2020-07-24 18:56:31 -04:00
|
|
|
|
(native-inputs `(("check" ,check-0.14)
|
2016-04-03 23:20:38 -04:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
2020-01-18 18:32:49 -05:00
|
|
|
|
(home-page "https://code.kryo.se/iodine/")
|
2016-04-03 23:20:38 -04:00
|
|
|
|
(synopsis "Tunnel IPv4 data through a DNS server")
|
|
|
|
|
(description "Iodine tunnels IPv4 data through a DNS server. This
|
|
|
|
|
can be useful in different situations where internet access is firewalled, but
|
|
|
|
|
DNS queries are allowed. The bandwidth is asymmetrical, with limited upstream
|
|
|
|
|
and up to 1 Mbit/s downstream.")
|
|
|
|
|
;; src/md5.[ch] is released under the zlib license
|
|
|
|
|
(license (list license:isc license:zlib))))
|
2016-06-02 15:02:14 -04:00
|
|
|
|
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(define-public whois
|
|
|
|
|
(package
|
|
|
|
|
(name "whois")
|
2021-03-03 17:12:11 -05:00
|
|
|
|
(version "5.5.8")
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-12-28 10:53:41 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/rfc1036/whois")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(sha256
|
2021-03-03 17:12:11 -05:00
|
|
|
|
(base32 "12lhl2q1pa1qkbv0l1cpy8hn4wh5i99bqc68rlm4f7jyqlj2l82r"))))
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-02-06 13:23:55 -05:00
|
|
|
|
`(#:tests? #f ; no test suite
|
2020-12-28 11:53:58 -05:00
|
|
|
|
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "PKG_CONFIG=" ,(pkg-config-for-target))
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-02-06 13:23:55 -05:00
|
|
|
|
(delete 'configure) ; no configure script
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(add-before 'build 'setenv
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HAVE_ICONV" "1")
|
2016-11-05 11:46:55 -04:00
|
|
|
|
#t)))))
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(inputs
|
2018-05-26 10:08:33 -04:00
|
|
|
|
`(("libidn2" ,libidn2)))
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(native-inputs
|
2016-11-18 12:26:08 -05:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2017-12-11 18:58:05 -05:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2018-02-06 13:23:55 -05:00
|
|
|
|
(synopsis "Intelligent client for the WHOIS directory service")
|
|
|
|
|
(description
|
|
|
|
|
"whois searches for an object in a @dfn{WHOIS} (RFC 3912) database.
|
|
|
|
|
It is commonly used to look up the registered users or assignees of an Internet
|
|
|
|
|
resource, such as a domain name, an IP address block, or an autonomous system.
|
|
|
|
|
It can automatically select the appropriate server for most queries.
|
|
|
|
|
|
|
|
|
|
For historical reasons, this package also includes @command{mkpasswd}, which
|
|
|
|
|
encrypts passwords using @code{crypt(3)} and is unrelated to the Expect command
|
|
|
|
|
of the same name.")
|
2016-10-18 04:04:54 -04:00
|
|
|
|
(home-page "https://github.com/rfc1036/whois")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-06-02 15:02:14 -04:00
|
|
|
|
(define-public wireshark
|
|
|
|
|
(package
|
|
|
|
|
(name "wireshark")
|
2021-04-22 10:10:39 -04:00
|
|
|
|
(version "3.4.5")
|
2016-06-02 15:02:14 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.wireshark.org/download/src/wireshark-"
|
2017-08-17 18:17:24 -04:00
|
|
|
|
version ".tar.xz"))
|
2016-06-02 15:02:14 -04:00
|
|
|
|
(sha256
|
2021-04-22 10:10:39 -04:00
|
|
|
|
(base32 "0cyk8nqws9gp8p2ywszbynh8vawivnbhw60dhmy21qd1038sy6ny"))))
|
2019-03-02 19:33:44 -05:00
|
|
|
|
(build-system cmake-build-system)
|
2016-06-02 15:02:14 -04:00
|
|
|
|
(arguments
|
2019-03-02 19:33:44 -05:00
|
|
|
|
`(#:phases
|
2018-05-28 17:03:19 -04:00
|
|
|
|
(modify-phases %standard-phases
|
2019-03-02 19:33:44 -05:00
|
|
|
|
(add-after 'unpack 'remove-failing-test
|
2020-11-02 17:39:30 -05:00
|
|
|
|
;; Skip test suite failing with "Program reassemble_test is not
|
|
|
|
|
;; available" and alike errors. Also skip test suite failing with
|
|
|
|
|
;; "AssertionError: Program extcap/sdjournal is not available"
|
|
|
|
|
;; error.'
|
2018-05-28 17:03:19 -04:00
|
|
|
|
(lambda _
|
2019-03-02 19:33:44 -05:00
|
|
|
|
(substitute* "CMakeLists.txt"
|
2020-11-02 17:39:30 -05:00
|
|
|
|
(("suite_unittests" all) (string-append "# " all))
|
|
|
|
|
(("suite_extcaps" all) (string-append "# " all)))
|
2019-03-02 19:33:44 -05:00
|
|
|
|
#t)))
|
|
|
|
|
;; Build process chokes during `validate-runpath' phase.
|
|
|
|
|
;;
|
|
|
|
|
;; Errors are like the following:
|
|
|
|
|
;; "/gnu/store/...wireshark-3.0.0/lib/wireshark/plugins/3.0/epan/ethercat.so:
|
|
|
|
|
;; error: depends on 'libwireshark.so.12', which cannot be found in
|
|
|
|
|
;; RUNPATH". That is, "/gnu/store/...wireshark-3.0.0./lib" doesn't
|
|
|
|
|
;; belong to RUNPATH.
|
|
|
|
|
;;
|
|
|
|
|
;; That’s not a problem in practice because "ethercat.so" is a plugin,
|
|
|
|
|
;; so it’s dlopen’d by a process that already provides "libwireshark".
|
|
|
|
|
;; For now, we disable this phase.
|
|
|
|
|
#:validate-runpath? #f))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("c-ares" ,c-ares)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gnutls" ,gnutls)
|
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
|
("libnl" ,libnl)
|
|
|
|
|
("libpcap" ,libpcap)
|
|
|
|
|
("libssh" ,libssh)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("lz4" ,lz4)
|
|
|
|
|
("lua" ,lua-5.2) ;Lua 5.3 unsupported
|
|
|
|
|
("krb5" ,mit-krb5)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("sbc" ,sbc)
|
|
|
|
|
("snappy" ,snappy)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("qttools" ,qttools)))
|
2017-08-17 18:17:24 -04:00
|
|
|
|
(synopsis "Network traffic analyzer")
|
2016-06-02 15:02:14 -04:00
|
|
|
|
(description "Wireshark is a network protocol analyzer, or @dfn{packet
|
|
|
|
|
sniffer}, that lets you capture and interactively browse the contents of
|
|
|
|
|
network frames.")
|
2017-08-17 18:17:24 -04:00
|
|
|
|
(home-page "https://www.wireshark.org/")
|
|
|
|
|
(license license:gpl2+)))
|
2016-07-14 18:23:23 -04:00
|
|
|
|
|
2017-06-17 18:59:27 -04:00
|
|
|
|
(define-public fping
|
|
|
|
|
(package
|
|
|
|
|
(name "fping")
|
2020-08-11 00:06:48 -04:00
|
|
|
|
(version "5.0")
|
2017-06-17 18:59:27 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://fping.org/dist/fping-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-08-11 00:06:48 -04:00
|
|
|
|
(base32 "1f2prmii4fyl44cfykp40hp4jjhicrhddh9v3dfs11j6nsww0f7d"))))
|
2017-06-17 18:59:27 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2018-09-23 18:23:58 -04:00
|
|
|
|
(home-page "https://fping.org/")
|
2017-06-17 18:59:27 -04:00
|
|
|
|
(synopsis "Send ICMP ECHO_REQUEST packets to network hosts")
|
|
|
|
|
(description
|
2020-07-13 13:49:34 -04:00
|
|
|
|
"fping is a ping-like program which uses @acronym{ICMP, Internet Control
|
|
|
|
|
Message Protocol} echo requests to determine if a target host is responding.
|
|
|
|
|
|
|
|
|
|
@command{fping} differs from @command{ping} in that you can specify any number
|
|
|
|
|
of targets on the command line, or specify a file containing the lists of
|
|
|
|
|
targets to ping. Instead of sending to one target until it times out or
|
|
|
|
|
replies, fping will send out a ping packet and move on to the next target in a
|
|
|
|
|
round-robin fashion.")
|
2017-06-17 18:59:27 -04:00
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-09-19 16:23:59 -04:00
|
|
|
|
(define-public gandi.cli
|
|
|
|
|
(package
|
|
|
|
|
(name "gandi.cli")
|
2021-02-14 00:46:30 -05:00
|
|
|
|
(version "1.6")
|
2018-09-19 16:23:59 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri name version))
|
|
|
|
|
(sha256
|
2021-02-14 00:46:30 -05:00
|
|
|
|
(base32 "1h36jahbp7273wn3yd747kbiwjc0bm3sja67bcxdsd54ln0vyndg"))))
|
2018-09-19 16:23:59 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'embed-store-file-names
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (list "gandi/cli/modules/cert.py"
|
|
|
|
|
"gandi/cli/tests/commands/test_certificate.py")
|
|
|
|
|
(("openssl") (which "openssl")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
;; The included man page may be outdated but we install it anyway,
|
|
|
|
|
;; since it's mentioned in 'gandi --help' and better than nothing.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man1 (string-append out "/share/man/man1")))
|
|
|
|
|
(mkdir-p man1)
|
|
|
|
|
(with-output-to-file (string-append man1 "/gandi.1")
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "rst2man.py" "gandicli.man.rst")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-docutils" ,python-docutils) ; for rst2man.py
|
2021-02-14 00:46:30 -05:00
|
|
|
|
("python-pytest" ,python-pytest)
|
2018-09-19 16:23:59 -04:00
|
|
|
|
("python-pytest-cov" ,python-pytest-cov)
|
|
|
|
|
("python-tox" ,python-tox)))
|
2021-02-14 00:46:30 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("openssh" ,openssh))) ; used by gandi/cli/modules/iass.py
|
2018-09-19 16:23:59 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)
|
|
|
|
|
("python-click" ,python-click)
|
|
|
|
|
("python-ipy" ,python-ipy)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)
|
|
|
|
|
("python-requests" ,python-requests)))
|
|
|
|
|
(home-page "https://cli.gandi.net")
|
|
|
|
|
(synopsis "Command-line interface to the Gandi.net Web API")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a command-line client (@command{gandi}) to buy,
|
|
|
|
|
manage, and delete Internet resources from Gandi.net such as domain names,
|
|
|
|
|
virtual machines, and certificates.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-04-05 01:53:00 -04:00
|
|
|
|
(define-public go-netns
|
|
|
|
|
(let ((commit "13995c7128ccc8e51e9a6bd2b551020a27180abd")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "go-netns")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/vishvananda/netns")
|
2019-04-05 01:53:00 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1zk6w8158qi4niva5rijchbv9ixgmijsgqshh54wdaav4xrhjshn"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/vishvananda/netns"
|
|
|
|
|
#:tests? #f)) ;tests require root privileges
|
|
|
|
|
(home-page "https://github.com/vishvananda/netns")
|
|
|
|
|
(synopsis "Simple network namespace handling for Go")
|
|
|
|
|
(description "The netns package provides a simple interface for
|
|
|
|
|
handling network namespaces in Go.")
|
|
|
|
|
(license license:asl2.0))))
|
|
|
|
|
|
2019-04-05 01:07:58 -04:00
|
|
|
|
(define-public go-sctp
|
|
|
|
|
;; docker-libnetwork-cmd-proxy requires this exact commit.
|
2020-09-19 12:08:27 -04:00
|
|
|
|
;; This commit is mentioned in docker-libnetwork-cmd-proxy's vendor.conf.
|
|
|
|
|
(let ((commit "6e2cb1366111dcf547c13531e3a263a067715847")
|
|
|
|
|
(revision "2"))
|
2019-04-05 01:07:58 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "go-sctp")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/ishidawataru/sctp")
|
2019-04-05 01:07:58 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-19 12:08:27 -04:00
|
|
|
|
"1ba90fmpdwxa1ba4hrsjhi3gfy3pwmz7x8amw1p5dc9p5a7nnqrb"))))
|
2019-04-05 01:07:58 -04:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
2020-09-19 12:08:27 -04:00
|
|
|
|
`(#:tests? #f ; Test suite is flakey.
|
|
|
|
|
#:import-path "github.com/ishidawataru/sctp"))
|
2019-04-05 01:07:58 -04:00
|
|
|
|
(home-page "https://github.com/ishidawataru/sctp")
|
|
|
|
|
(synopsis "SCTP library for the Go programming language")
|
|
|
|
|
(description "This library provides methods for using the stream control
|
|
|
|
|
transmission protocol (SCTP) in a Go application.")
|
|
|
|
|
(license license:asl2.0))))
|
|
|
|
|
|
2016-07-14 18:23:23 -04:00
|
|
|
|
(define-public httping
|
|
|
|
|
(package
|
|
|
|
|
(name "httping")
|
2016-10-13 10:58:08 -04:00
|
|
|
|
(version "2.5")
|
2016-07-14 18:23:23 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.vanheusden.com/httping/httping-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-10-13 10:58:08 -04:00
|
|
|
|
"1y7sbgkhgadmd93x1zafqc4yp26ssiv16ni5bbi9vmvvdl55m29y"))))
|
2016-07-14 18:23:23 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2016-09-25 03:33:02 -04:00
|
|
|
|
`(("gettext" ,gettext-minimal)))
|
2016-07-14 18:23:23 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("fftw" ,fftw)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
`(#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
2016-07-14 18:23:23 -04:00
|
|
|
|
(string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
|
|
|
|
"PREFIX=")
|
|
|
|
|
#:tests? #f)) ; no tests
|
|
|
|
|
(home-page "https://www.vanheusden.com/httping/")
|
|
|
|
|
(synopsis "Web server latency and throughput monitor")
|
|
|
|
|
(description
|
|
|
|
|
"httping measures how long it takes to connect to a web server, send an
|
|
|
|
|
HTTP(S) request, and receive the reply headers. It is somewhat similar to
|
|
|
|
|
@command{ping}, but can be used even in cases where ICMP traffic is blocked
|
|
|
|
|
by firewalls or when you want to monitor the response time of the actual web
|
|
|
|
|
application stack itself.")
|
|
|
|
|
(license license:gpl2))) ; with permission to link with OpenSSL
|
2016-07-28 17:38:18 -04:00
|
|
|
|
|
2016-12-26 15:22:19 -05:00
|
|
|
|
(define-public httpstat
|
|
|
|
|
(package
|
|
|
|
|
(name "httpstat")
|
2021-01-01 18:07:08 -05:00
|
|
|
|
(version "1.3.1")
|
2016-12-26 15:22:19 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-12-14 18:45:33 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/reorx/httpstat")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-12-26 15:22:19 -05:00
|
|
|
|
(sha256
|
2021-01-01 18:07:08 -05:00
|
|
|
|
(base32 "0cw8299a080m42slsimz31xs0gjnh833gpbj2dsr4hkcinrn4iyd"))))
|
2016-12-26 15:22:19 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs `(("curl" ,curl)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'fix-curl-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "httpstat.py"
|
|
|
|
|
(("ENV_CURL_BIN.get\\('curl'\\)")
|
|
|
|
|
(string-append "ENV_CURL_BIN.get('"
|
|
|
|
|
(assoc-ref inputs "curl")
|
2020-12-14 18:45:33 -05:00
|
|
|
|
"/bin/curl')"))
|
|
|
|
|
;; "curl -w time_*" units seems to have
|
|
|
|
|
;; changed from seconds to nanoseconds.
|
|
|
|
|
(("d\\[k\\] \\* 1000") "d[k] / 1000"))
|
2018-06-27 20:51:35 -04:00
|
|
|
|
#t)))))
|
2016-12-26 15:22:19 -05:00
|
|
|
|
(home-page "https://github.com/reorx/httpstat")
|
|
|
|
|
(synopsis "Visualize curl statistics")
|
|
|
|
|
(description
|
|
|
|
|
"@command{httpstat} is a tool to visualize statistics from the
|
|
|
|
|
@command{curl} HTTP client. It acts as a wrapper for @command{curl} and
|
|
|
|
|
prints timing information for each step of the HTTP request (DNS lookup,
|
|
|
|
|
TCP connection, TLS handshake and so on) in the terminal.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2020-03-20 06:45:11 -04:00
|
|
|
|
(define-public squid
|
|
|
|
|
(package
|
|
|
|
|
(name "squid")
|
2021-03-03 18:10:14 -05:00
|
|
|
|
(version "4.14")
|
2020-03-20 06:45:11 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.squid-cache.org/Versions/v4/squid-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
2021-03-03 18:10:14 -05:00
|
|
|
|
(base32 "1z4zf98q24ps19fq840n0hwh6z1la65rf061kcapr29lcjm7s2gi"))))
|
2020-03-20 06:45:11 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-10-28 11:22:39 -04:00
|
|
|
|
'(#:configure-flags
|
|
|
|
|
;; disable -march=native in build for reproducibility; see
|
|
|
|
|
;; https://wiki.squid-cache.org/KnowledgeBase/IllegalInstructionError
|
|
|
|
|
(list "--disable-arch-native")
|
|
|
|
|
#:phases
|
2020-03-20 06:45:11 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'fix-true-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "test-suite/testheaders.sh"
|
|
|
|
|
(("/bin/true")
|
|
|
|
|
(string-append (assoc-ref inputs "coreutils")
|
|
|
|
|
"/bin/true")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("openldap" ,openldap)
|
|
|
|
|
("linux-pam" ,linux-pam)
|
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)
|
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cppunit" ,cppunit)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Web caching proxy")
|
|
|
|
|
(description "Squid is a caching proxy for the Web supporting HTTP, HTTPS,
|
|
|
|
|
FTP, and more. It reduces bandwidth and improves response times by caching and
|
|
|
|
|
reusing frequently-requested web pages.")
|
|
|
|
|
(home-page "http://www.squid-cache.org/")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-08-24 14:19:46 -04:00
|
|
|
|
(define-public bwm-ng
|
|
|
|
|
(package
|
|
|
|
|
(name "bwm-ng")
|
2021-01-10 17:38:28 -05:00
|
|
|
|
(version "0.6.3")
|
2016-08-24 14:19:46 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-03-18 17:15:22 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/vgropp/bwm-ng")
|
2019-03-18 17:15:22 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-08-24 14:19:46 -04:00
|
|
|
|
(sha256
|
2021-01-10 17:38:28 -05:00
|
|
|
|
(base32 "1gpp2l3w479h1w5skjra5xy0gxd24kvmk6i4psbkafnv2399la4k"))))
|
2016-08-24 14:19:46 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2019-03-18 17:15:22 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-premature-./configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
|
(("\\$srcdir/configure")
|
|
|
|
|
"true"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)))
|
2016-08-24 14:19:46 -04:00
|
|
|
|
(synopsis "Console based live network and disk I/O bandwidth monitor")
|
|
|
|
|
(description "Bandwidth Monitor NG is a small and simple console based
|
|
|
|
|
live network and disk I/O bandwidth monitor.")
|
|
|
|
|
(home-page "https://www.gropp.org/?id=projects&sub=bwm-ng")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2016-08-11 08:56:13 -04:00
|
|
|
|
(define-public aircrack-ng
|
|
|
|
|
(package
|
|
|
|
|
(name "aircrack-ng")
|
2020-03-18 21:07:25 -04:00
|
|
|
|
(version "1.6")
|
2016-08-11 08:56:13 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-08-17 10:09:33 -04:00
|
|
|
|
(uri (string-append "https://download.aircrack-ng.org/aircrack-ng-"
|
2016-08-11 08:56:13 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-03-18 21:07:25 -04:00
|
|
|
|
(base32 "0ix2k64qg7x3w0bzdsbk1m50kcpq1ws59g3zkwiafvpwdr4gs2sg"))))
|
2016-08-11 08:56:13 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2018-08-17 10:13:51 -04:00
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
2016-08-11 08:56:13 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libgcrypt" ,libgcrypt)
|
|
|
|
|
("libnl" ,libnl)
|
2018-08-17 10:13:51 -04:00
|
|
|
|
("libpcap" ,libpcap)
|
2016-08-11 08:56:13 -04:00
|
|
|
|
("ethtool" ,ethtool)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2018-08-17 10:13:51 -04:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--with-experimental=yes" ; build wesside-ng, etc.
|
|
|
|
|
"--with-gcrypt") ; openssl's the default
|
2016-08-11 08:56:13 -04:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
2018-08-17 10:13:51 -04:00
|
|
|
|
(add-before 'bootstrap 'patch-evalrev
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Called by ./autogen.sh below, before the default
|
|
|
|
|
;; ‘patch-shebangs’ phase has had a chance to run.
|
|
|
|
|
(substitute* "evalrev"
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
(which "sh")))
|
|
|
|
|
#t))
|
2016-08-11 08:56:13 -04:00
|
|
|
|
(add-after 'build 'absolutize-tools
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((ethtool (string-append (assoc-ref inputs "ethtool")
|
|
|
|
|
"/sbin/ethtool")))
|
|
|
|
|
(substitute* "scripts/airmon-ng"
|
2018-08-17 10:13:51 -04:00
|
|
|
|
(("ethtool ")
|
|
|
|
|
(string-append ethtool " ")))
|
2016-08-11 08:56:13 -04:00
|
|
|
|
#t))))))
|
2018-08-17 10:09:33 -04:00
|
|
|
|
(home-page "https://www.aircrack-ng.org")
|
2016-08-11 08:56:13 -04:00
|
|
|
|
(synopsis "Assess WiFi network security")
|
|
|
|
|
(description
|
|
|
|
|
"Aircrack-ng is a complete suite of tools to assess WiFi network
|
|
|
|
|
security. It focuses on different areas of WiFi security: monitoring,
|
|
|
|
|
attacking, testing, and cracking. All tools are command-line driven, which
|
|
|
|
|
allows for heavy scripting.")
|
|
|
|
|
(license (list license:gpl2+ license:bsd-3))))
|
|
|
|
|
|
2019-08-01 15:25:58 -04:00
|
|
|
|
(define-public pixiewps
|
|
|
|
|
(package
|
|
|
|
|
(name "pixiewps")
|
|
|
|
|
(version "1.4.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/wiire-a/pixiewps/releases/"
|
|
|
|
|
"download/v" version "/" name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07nym6bqml0k9v29vnj003nrgnwrywgjvnljb7cdpsvnwilhbp64"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
2019-08-01 15:25:58 -04:00
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:tests? #f)) ; there are no tests
|
|
|
|
|
(home-page "https://github.com/wiire-a/pixiewps/")
|
|
|
|
|
(synopsis "Offline brute-force tool for Wi-Fi Protected Setup")
|
|
|
|
|
(description "Pixiewps implements the pixie-dust attack to brute
|
|
|
|
|
force the Wi-Fi Protected Setup (WPS) PIN by exploiting the low or
|
|
|
|
|
non-existing entropy of some access points.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-08-01 15:25:59 -04:00
|
|
|
|
|
|
|
|
|
(define-public reaver
|
|
|
|
|
(package
|
|
|
|
|
(name "reaver")
|
2020-03-16 13:45:08 -04:00
|
|
|
|
(version "1.6.6")
|
2019-08-01 15:25:59 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/t6x/reaver-wps-fork-t6x/releases/"
|
2020-03-16 13:45:08 -04:00
|
|
|
|
"download/v" version "/reaver-" version ".tar.xz"))
|
2019-08-01 15:25:59 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-16 13:45:08 -04:00
|
|
|
|
"00k7mc81ifv0wma7k4v18mj498badbw5yls6c28qin3d1gda0ag3"))))
|
2019-08-01 15:25:59 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
;; Save session files to current directory instead of /var.
|
|
|
|
|
(list "--enable-savetocurrent"
|
|
|
|
|
"--localstatedir=/tmp/dummy") ; prevent creating /var during install
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'change-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "src")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(chdir "../docs")
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version))
|
|
|
|
|
(man1 (string-append out "/share/man/man1")))
|
|
|
|
|
(for-each (lambda (file) (install-file file doc))
|
|
|
|
|
(find-files "." "README.*"))
|
|
|
|
|
(install-file "reaver.1" man1)
|
|
|
|
|
#t))))
|
2020-03-16 13:45:08 -04:00
|
|
|
|
#:tests? #f)) ; there are no tests
|
2019-08-01 15:25:59 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libpcap" ,libpcap)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("aircrack-ng" ,aircrack-ng)
|
|
|
|
|
("pixiewps" ,pixiewps)))
|
|
|
|
|
(home-page "https://github.com/t6x/reaver-wps-fork-t6x/")
|
|
|
|
|
(synopsis "Attack tool for Wi-Fi Protected Setup")
|
|
|
|
|
(description "Reaver performs a brute force attack against an access
|
|
|
|
|
point's Wi-Fi Protected Setup (WPS) PIN. Once the PIN is found, the WPA
|
|
|
|
|
passphrase can be recovered and the AP's wireless settings can be
|
|
|
|
|
reconfigured.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-08-11 08:56:13 -04:00
|
|
|
|
|
2019-04-05 20:32:48 -04:00
|
|
|
|
(define-public perl-danga-socket
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-danga-socket")
|
2019-11-08 16:39:51 -05:00
|
|
|
|
(version "1.62")
|
2019-04-05 20:32:48 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-11-08 16:39:51 -05:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/N/NM/NML/"
|
2019-04-05 20:32:48 -04:00
|
|
|
|
"Danga-Socket-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-11-08 16:39:51 -05:00
|
|
|
|
(base32 "0x4bvirmf0kphks19jwgva00zz73zx344218dfaiv8gigrw3yg4m"))))
|
2019-04-05 20:32:48 -04:00
|
|
|
|
(build-system perl-build-system)
|
2019-11-08 16:39:51 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-tcp" ,perl-test-tcp)))
|
2019-04-05 20:32:48 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-sys-syscall" ,perl-sys-syscall)))
|
|
|
|
|
(home-page "https://metacpan.org/release/Danga-Socket")
|
|
|
|
|
(synopsis "Event loop and event-driven async socket base class")
|
|
|
|
|
(description
|
|
|
|
|
"Danga::Socket is an abstract base class for objects backed by a socket
|
|
|
|
|
which provides the basic framework for event-driven asynchronous IO, designed
|
|
|
|
|
to be fast. Danga::Socket is both a base class for objects, and an event
|
|
|
|
|
loop.")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2018-08-10 23:43:04 -04:00
|
|
|
|
(define-public perl-data-validate-ip
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-data-validate-ip")
|
2021-04-01 09:34:38 -04:00
|
|
|
|
(version "0.30")
|
2018-08-10 23:43:04 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/D/DR/DROLSKY/Data-Validate-IP-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-01 09:34:38 -04:00
|
|
|
|
(base32 "074adrlvkiahj1fdc9nvb95dpfyjzm2jzhi90m8xaw4bw5ipcbzy"))))
|
2018-08-10 23:43:04 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-requires" ,perl-test-requires)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-netaddr-ip" ,perl-netaddr-ip)))
|
|
|
|
|
(home-page "https://metacpan.org/release/Data-Validate-IP")
|
|
|
|
|
(synopsis "IPv4 and IPv6 validation methods")
|
|
|
|
|
(description
|
|
|
|
|
"This module provides several IP address validation subroutines that both
|
|
|
|
|
validate and untaint their input. This includes both basic validation
|
|
|
|
|
(@code{is_ipv4()} and @code{is_ipv6()}) and special cases like checking whether
|
|
|
|
|
an address belongs to a specific network or whether an address is public or
|
|
|
|
|
private (reserved).")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2016-07-28 17:38:18 -04:00
|
|
|
|
(define-public perl-net-dns
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-dns")
|
2021-05-02 19:11:04 -04:00
|
|
|
|
(version "1.31")
|
2016-07-28 17:38:18 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-08-10 16:57:38 -04:00
|
|
|
|
(uri
|
|
|
|
|
(list
|
|
|
|
|
(string-append "https://www.net-dns.org/download/Net-DNS-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append "mirror://cpan/authors/id/N/NL/NLNETLABS/Net-DNS-"
|
|
|
|
|
version ".tar.gz")))
|
2016-07-28 17:38:18 -04:00
|
|
|
|
(sha256
|
2021-05-02 19:11:04 -04:00
|
|
|
|
(base32 "05f6rzvvmm6xd0p100k5y9kczdzqgala09ra8bccc18n6y74l0h0"))))
|
2016-07-28 17:38:18 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-digest-hmac" ,perl-digest-hmac)))
|
2018-08-10 16:57:38 -04:00
|
|
|
|
(home-page "https://www.net-dns.org/")
|
2016-07-28 17:38:18 -04:00
|
|
|
|
(synopsis
|
|
|
|
|
"Perl Interface to the Domain Name System")
|
|
|
|
|
(description "Net::DNS is the Perl Interface to the Domain Name System.")
|
|
|
|
|
(license license:x11)))
|
2016-07-28 17:38:19 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-socket6
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-socket6")
|
2018-10-01 16:12:45 -04:00
|
|
|
|
(version "0.29")
|
2016-07-28 17:38:19 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/U/UM/UMEMOTO/Socket6-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-01 16:12:45 -04:00
|
|
|
|
"054izici8klfxs8hr5rljib28plijpsfymy99xbzdp047bx1b2a6"))))
|
2016-07-28 17:38:19 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(args `("Makefile.PL"
|
|
|
|
|
,(string-append "PREFIX=" out)
|
|
|
|
|
"INSTALLDIRS=site")))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "sh"))
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(apply invoke "perl" args)))))))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/Socket6")
|
2016-07-28 17:38:19 -04:00
|
|
|
|
(synopsis
|
|
|
|
|
"IPv6 related part of the C socket.h defines and structure manipulators for Perl")
|
|
|
|
|
(description "Socket6 binds the IPv6 related part of the C socket header
|
|
|
|
|
definitions and structure manipulators for Perl.")
|
|
|
|
|
(license license:bsd-3)))
|
2016-07-28 17:38:20 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-net-dns-resolver-programmable
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-dns-resolver-programmable")
|
2020-05-25 07:29:06 -04:00
|
|
|
|
(version "0.003")
|
2016-07-28 17:38:20 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/"
|
2020-05-25 07:29:06 -04:00
|
|
|
|
"Net-DNS-Resolver-Programmable-v" version ".tar.gz"))
|
2016-07-28 17:38:20 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1v3nl2kaj4fs55n1617n53q8sa3mir06898vpy1rq98zjih24h4d"))
|
|
|
|
|
(patches
|
2017-05-08 05:47:28 -04:00
|
|
|
|
(search-patches "perl-net-dns-resolver-programmable-fix.patch"))))
|
2016-07-28 17:38:20 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
|
|
|
|
(inputs `(("perl-net-dns" ,perl-net-dns)))
|
|
|
|
|
(home-page
|
2018-08-11 09:53:20 -04:00
|
|
|
|
"https://metacpan.org/release/Net-DNS-Resolver-Programmable")
|
2016-07-28 17:38:20 -04:00
|
|
|
|
(synopsis
|
|
|
|
|
"Programmable DNS resolver class for offline emulation of DNS")
|
|
|
|
|
(description "Net::DNS::Resolver::Programmable is a programmable DNS resolver for
|
|
|
|
|
offline emulation of DNS.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2016-07-28 17:38:21 -04:00
|
|
|
|
|
2019-07-25 14:40:30 -04:00
|
|
|
|
(define-public perl-net-dns-resolver-mock
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-dns-resolver-mock")
|
|
|
|
|
(version "1.20171219")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/M/MB/MBRADSHAW/"
|
|
|
|
|
"Net-DNS-Resolver-Mock-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0m3rxpkv1b9121srvbqkrgzg4m8mnydiydqv34in1i1ixwrl6jn9"))))
|
|
|
|
|
(build-system perl-build-system)
|
2019-07-25 16:35:29 -04:00
|
|
|
|
(inputs
|
2019-07-25 14:40:30 -04:00
|
|
|
|
`(("perl-net-dns" ,perl-net-dns)))
|
|
|
|
|
(home-page "https://metacpan.org/release/Net-DNS-Resolver-Mock")
|
2019-07-25 16:37:57 -04:00
|
|
|
|
(synopsis "Mock DNS Resolver object for testing")
|
|
|
|
|
(description
|
|
|
|
|
"Net::DNS::Resolver::Mock is a subclass of Net::DNS::Resolver, but returns
|
|
|
|
|
static data from any provided DNS zone file instead of querying the network.
|
|
|
|
|
It is intended primarily for use in testing.")
|
2019-07-25 14:40:30 -04:00
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2016-07-28 17:38:21 -04:00
|
|
|
|
(define-public perl-netaddr-ip
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-netaddr-ip")
|
|
|
|
|
(version "4.079")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/M/MI/MIKER/NetAddr-IP-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1rx0dinrz9fk9qcg4rwqq5n1dm3xv2arymixpclcv2q2nzgq4npc"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(args `("Makefile.PL"
|
|
|
|
|
,(string-append "PREFIX=" out)
|
|
|
|
|
"INSTALLDIRS=site")))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "sh"))
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(apply invoke "perl" args)))))))
|
2016-07-28 17:38:21 -04:00
|
|
|
|
(home-page
|
2018-08-11 09:53:20 -04:00
|
|
|
|
"https://metacpan.org/release/NetAddr-IP")
|
2016-07-28 17:38:21 -04:00
|
|
|
|
(synopsis
|
|
|
|
|
"Manages IPv4 and IPv6 addresses and subnets")
|
|
|
|
|
(description "NetAddr::IP manages IPv4 and IPv6 addresses and subsets.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2016-07-28 17:38:22 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-net-patricia
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-patricia")
|
|
|
|
|
(version "1.22")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/G/GR/GRUBER/Net-Patricia-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ln5f57vc8388kyh9vhx2infrdzfhbpgyby74h1qsnhwds95m0vh"))))
|
|
|
|
|
(build-system perl-build-system)
|
2020-01-06 04:43:23 -05:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'dont-link-with-nsl ; Borrowed from Debian.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.PL"
|
|
|
|
|
(("-lnsl") ""))
|
|
|
|
|
#t)))))
|
2016-07-28 17:38:22 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-net-cidr-lite" ,perl-net-cidr-lite)
|
|
|
|
|
("perl-socket6" ,perl-socket6)))
|
|
|
|
|
(home-page
|
2018-08-11 09:53:20 -04:00
|
|
|
|
"https://metacpan.org/release/Net-Patricia")
|
2016-07-28 17:38:22 -04:00
|
|
|
|
(synopsis
|
|
|
|
|
"Patricia Trie Perl module for fast IP address lookups")
|
|
|
|
|
(description
|
|
|
|
|
"Net::Patricia does IP address lookups quickly in Perl.")
|
|
|
|
|
;; The bindings are licensed under GPL2 or later.
|
|
|
|
|
;; libpatricia is licensed under 2-clause BSD.
|
|
|
|
|
(license (list license:gpl2+ license:bsd-2))))
|
2016-07-28 17:38:27 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-net-cidr-lite
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-cidr-lite")
|
2021-04-05 09:47:54 -04:00
|
|
|
|
(version "0.22")
|
2016-07-28 17:38:27 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2021-04-05 09:47:54 -04:00
|
|
|
|
"mirror://cpan/authors/id/S/ST/STIGTSP/Net-CIDR-Lite-"
|
2016-07-28 17:38:27 -04:00
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-05 09:47:54 -04:00
|
|
|
|
(base32 "05w57db2lx4djb4vixzdr6qgrzyzkk047nl812g7nq8s6k5xh5s3"))))
|
2016-07-28 17:38:27 -04:00
|
|
|
|
(build-system perl-build-system)
|
2021-04-05 09:47:54 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/Net-CIDR-Lite")
|
|
|
|
|
(synopsis "Perl extension for merging IPv4 or IPv6 CIDR addresses")
|
2016-07-28 17:38:27 -04:00
|
|
|
|
(description "Net::CIDR::Lite merges IPv4 or IPv6 CIDR addresses.")
|
|
|
|
|
(license license:gpl1+)))
|
2016-07-28 17:38:28 -04:00
|
|
|
|
|
2016-07-28 17:38:32 -04:00
|
|
|
|
(define-public perl-io-socket-inet6
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-io-socket-inet6")
|
|
|
|
|
(version "2.72")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fqypz6qa5rw2d5y2zq7f49frwra0aln13nhq5gi514j2zx21q45"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)
|
|
|
|
|
("perl-test-pod" ,perl-test-pod)
|
|
|
|
|
("perl-test-pod-coverage" ,perl-test-pod-coverage)))
|
|
|
|
|
(inputs `(("perl-socket6" ,perl-socket6)))
|
|
|
|
|
(arguments `(;; Need network socket API
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page
|
2018-08-11 09:53:20 -04:00
|
|
|
|
"https://metacpan.org/release/IO-Socket-INET6")
|
2016-07-28 17:38:32 -04:00
|
|
|
|
(synopsis
|
|
|
|
|
"Perl object interface for AF_INET/AF_INET6 domain sockets")
|
|
|
|
|
(description "IO::Socket::INET6 is an interface for AF_INET/AF_INET6 domain
|
|
|
|
|
sockets in Perl.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2016-08-12 13:47:41 -04:00
|
|
|
|
|
2017-04-26 14:18:56 -04:00
|
|
|
|
(define-public libproxy
|
|
|
|
|
(package
|
|
|
|
|
(name "libproxy")
|
2020-12-31 08:16:31 -05:00
|
|
|
|
(version "0.4.17")
|
2017-04-26 14:18:56 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/libproxy/libproxy/"
|
|
|
|
|
"releases/download/" version "/libproxy-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-31 08:16:31 -05:00
|
|
|
|
"01cbgz6lc3v59sldqk96l1281kp2qxnsa2qwlf2ikvjlyr1gi2dw"))))
|
2017-04-26 14:18:56 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("dbus" ,dbus)
|
2018-08-05 10:01:23 -04:00
|
|
|
|
("zlib" ,zlib)))
|
2017-04-26 14:18:56 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(invoke "ctest" "-E" "url-test"))))))
|
2017-04-26 14:18:56 -04:00
|
|
|
|
(synopsis "Library providing automatic proxy configuration management")
|
|
|
|
|
(description "Libproxy handles the details of HTTP/HTTPS proxy
|
|
|
|
|
configuration for applications across all scenarios. Applications using
|
|
|
|
|
libproxy only have to specify which proxy to use.")
|
|
|
|
|
(home-page "https://libproxy.github.io/libproxy")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2016-08-12 13:47:41 -04:00
|
|
|
|
(define-public proxychains-ng
|
|
|
|
|
(package
|
|
|
|
|
(name "proxychains-ng")
|
2019-03-18 17:01:14 -04:00
|
|
|
|
(version "4.14")
|
2018-08-10 21:02:20 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://ftp.barfooze.de/pub/sabotage/tarballs/"
|
2019-03-18 17:01:10 -04:00
|
|
|
|
"proxychains-ng-" version ".tar.xz"))
|
2018-08-10 21:02:20 -04:00
|
|
|
|
(sha256
|
2019-03-18 17:01:14 -04:00
|
|
|
|
(base32 "1bmhfbl1bzc87vl0xwr1wh5xvslfyc41nl2hqzhbj258p0sy004x"))))
|
2016-08-12 13:47:41 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-03-18 17:01:14 -04:00
|
|
|
|
`(#:tests? #f ; there are no tests
|
2016-08-12 13:47:41 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-configure-script
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The configure script is very intolerant to unknown arguments,
|
|
|
|
|
;; such as "CONFIG_SHELL".
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("\\*\\) break ;;" line)
|
|
|
|
|
(string-append "[A-Z]*) shift ;;\n"
|
|
|
|
|
line)))
|
2018-08-10 21:02:20 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'set-up-environment
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" "gcc")
|
2016-08-12 13:47:41 -04:00
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Redirect any TCP connection through a proxy or proxy chain")
|
|
|
|
|
(description "Proxychains-ng is a preloader which hooks calls to sockets
|
|
|
|
|
in dynamically linked programs and redirects them through one or more SOCKS or
|
|
|
|
|
HTTP proxies.")
|
|
|
|
|
(home-page "https://github.com/rofl0r/proxychains-ng")
|
|
|
|
|
(license license:gpl2+)))
|
2016-09-15 11:01:14 -04:00
|
|
|
|
|
|
|
|
|
(define-public enet
|
|
|
|
|
(package
|
|
|
|
|
(name "enet")
|
2020-11-16 22:20:40 -05:00
|
|
|
|
(version "1.3.17")
|
2020-09-11 16:32:33 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://enet.bespin.org/download/"
|
|
|
|
|
"enet-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-11-16 22:20:40 -05:00
|
|
|
|
(base32 "1p6f9mby86af6cs7pv6h48032ip9g32c05cb7d9mimam8lchz3x3"))))
|
2016-09-15 11:01:14 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2019-02-18 11:38:28 -05:00
|
|
|
|
(synopsis "Network communication layer on top of UDP")
|
2016-09-15 11:01:14 -04:00
|
|
|
|
(description
|
|
|
|
|
"ENet's purpose is to provide a relatively thin, simple and robust network
|
|
|
|
|
communication layer on top of UDP. The primary feature it provides is optional
|
|
|
|
|
reliable, in-order delivery of packets. ENet omits certain higher level
|
|
|
|
|
networking features such as authentication, server discovery, encryption, or
|
|
|
|
|
other similar tasks that are particularly application specific so that the
|
|
|
|
|
library remains flexible, portable, and easily embeddable.")
|
|
|
|
|
(home-page "http://enet.bespin.org")
|
|
|
|
|
(license license:expat)))
|
2016-09-11 09:41:07 -04:00
|
|
|
|
|
|
|
|
|
(define-public sslh
|
|
|
|
|
(package
|
|
|
|
|
(name "sslh")
|
2020-08-10 23:12:56 -04:00
|
|
|
|
(version "1.21c")
|
2019-03-14 08:12:37 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/yrutschle/sslh")
|
2019-03-14 08:12:37 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-08-10 23:12:56 -04:00
|
|
|
|
(base32 "19h32dn0076p3s7dn35qi5yp2xvnxw9sqphppmn72vyb8caxvw1z"))))
|
2016-09-11 09:41:07 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2018-02-01 07:19:06 -05:00
|
|
|
|
`(;; Test dependencies.
|
2016-09-11 09:41:07 -04:00
|
|
|
|
("lcov" ,lcov)
|
|
|
|
|
("perl" ,perl)
|
2019-03-14 11:26:10 -04:00
|
|
|
|
("perl-conf-libconfig" ,perl-conf-libconfig)
|
2016-09-11 09:41:07 -04:00
|
|
|
|
("perl-io-socket-inet6" ,perl-io-socket-inet6)
|
|
|
|
|
("perl-socket6" ,perl-socket6)
|
2019-03-14 11:26:10 -04:00
|
|
|
|
("psmisc" ,psmisc))) ; for ‘killall’
|
2016-09-11 09:41:07 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libcap" ,libcap)
|
|
|
|
|
("libconfig" ,libconfig)
|
2018-02-01 07:19:06 -05:00
|
|
|
|
("pcre" ,pcre)
|
2016-09-11 09:41:07 -04:00
|
|
|
|
("tcp-wrappers" ,tcp-wrappers)))
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
`(#:phases
|
2016-09-11 09:41:07 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'check 'fix-tests
|
2019-03-14 11:26:10 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "./t"
|
|
|
|
|
(("\"/tmp") "$ENV{\"TMPDIR\"} . \"")
|
|
|
|
|
;; The Guix build environment lacks ‘ip6-localhost’.
|
|
|
|
|
(("ip6-localhost") "localhost"))
|
|
|
|
|
#t))
|
2016-09-11 09:41:07 -04:00
|
|
|
|
;; Many of these files are mentioned in the man page. Install them.
|
|
|
|
|
(add-after 'install 'install-documentation
|
2019-03-14 11:26:10 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/sslh")))
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(install-file file (string-append doc "/examples")))
|
|
|
|
|
(append (find-files "." "\\.cfg")
|
|
|
|
|
(find-files "scripts"))))
|
|
|
|
|
#t)))
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
2016-09-11 09:41:07 -04:00
|
|
|
|
"USELIBCAP=1"
|
|
|
|
|
"USELIBWRAP=1"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:test-target "test"))
|
2018-02-01 07:19:06 -05:00
|
|
|
|
(home-page "https://www.rutschle.net/tech/sslh/README.html")
|
2016-09-11 09:41:07 -04:00
|
|
|
|
(synopsis "Applicative network protocol demultiplexer")
|
|
|
|
|
(description
|
|
|
|
|
"sslh is a network protocol demultiplexer. It acts like a switchboard,
|
|
|
|
|
accepting connections from clients on one port and forwarding them to different
|
|
|
|
|
servers based on the contents of the first received data packet. Detection of
|
|
|
|
|
common protocols like HTTP(S), SSL, SSH, OpenVPN, tinc, and XMPP is already
|
|
|
|
|
implemented, but any other protocol that matches a regular expression can be
|
|
|
|
|
added. sslh's name comes from its original application of serving both SSH and
|
|
|
|
|
HTTPS on port 443, allowing SSH connections from inside corporate firewalls
|
|
|
|
|
that block port 22.")
|
|
|
|
|
(license (list license:bsd-2 ; tls.[ch]
|
|
|
|
|
license:gpl2+)))) ; everything else
|
2016-10-18 11:28:23 -04:00
|
|
|
|
|
|
|
|
|
(define-public iperf
|
|
|
|
|
(package
|
|
|
|
|
(name "iperf")
|
2020-08-20 00:04:39 -04:00
|
|
|
|
(version "3.9")
|
2016-10-18 11:28:23 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://downloads.es.net/pub/iperf"
|
|
|
|
|
"/iperf-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-20 00:04:39 -04:00
|
|
|
|
"0f601avdmzpwsa3lbi0ppjhkrdipm5wifhhxy5czf99370k3mdi4"))))
|
2016-10-18 11:28:23 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "TCP, UDP and SCTP bandwidth measurement tool")
|
|
|
|
|
(description
|
|
|
|
|
"iPerf is a tool to measure achievable bandwidth on IP networks. It
|
|
|
|
|
supports tuning of various parameters related to timing, buffers and
|
|
|
|
|
protocols (TCP, UDP, SCTP with IPv4 and IPv6). For each test it reports
|
|
|
|
|
the bandwidth, loss, and other parameters.")
|
2020-01-18 16:49:36 -05:00
|
|
|
|
(home-page "https://software.es.net/iperf/")
|
2016-10-18 11:28:23 -04:00
|
|
|
|
(license (list license:bsd-3 ; Main distribution.
|
|
|
|
|
license:ncsa ; src/{units,iperf_locale,tcp_window_size}.c
|
|
|
|
|
license:expat ; src/{cjson,net}.[ch]
|
|
|
|
|
license:public-domain)))) ; src/portable_endian.h
|
2016-10-30 12:44:27 -04:00
|
|
|
|
|
|
|
|
|
(define-public nethogs
|
|
|
|
|
(package
|
|
|
|
|
(name "nethogs")
|
2020-05-25 13:06:27 -04:00
|
|
|
|
(version "0.8.6")
|
2020-05-25 13:08:41 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/raboof/nethogs")
|
|
|
|
|
(commit (string-append "v" version))))
|
2020-05-25 13:10:38 -04:00
|
|
|
|
(hash
|
2020-05-25 20:20:44 -04:00
|
|
|
|
(content-hash
|
|
|
|
|
(base32 "0sn1sdp86akwlm4r1vmkxjjl50c0xaisk91bbz57z7kcsaphxna9")
|
|
|
|
|
sha256))
|
2020-05-25 13:08:41 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
2016-10-30 12:44:27 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libpcap" ,libpcap)
|
|
|
|
|
("ncurses" ,ncurses)))
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
`(#:make-flags `(,,(string-append "CC=" (cc-for-target))
|
2020-05-25 13:08:41 -04:00
|
|
|
|
,(string-append "PREFIX=" %output)
|
|
|
|
|
,(string-append "VERSION=" ,version))
|
2016-10-30 12:44:27 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-05-25 13:06:27 -04:00
|
|
|
|
(delete 'configure)))) ; no ./configure script.
|
2016-10-30 12:44:27 -04:00
|
|
|
|
(home-page "https://github.com/raboof/nethogs")
|
|
|
|
|
(synopsis "Per-process bandwidth monitor")
|
|
|
|
|
(description "NetHogs is a small 'net top' tool for Linux. Instead of
|
|
|
|
|
breaking the traffic down per protocol or per subnet, like most tools do, it
|
|
|
|
|
groups bandwidth by process.
|
|
|
|
|
|
|
|
|
|
NetHogs does not rely on a special kernel module to be loaded. If there's
|
|
|
|
|
suddenly a lot of network traffic, you can fire up NetHogs and immediately see
|
|
|
|
|
which PID is causing this. This makes it easy to identify programs that have
|
|
|
|
|
gone wild and are suddenly taking up your bandwidth.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-01-27 08:35:12 -05:00
|
|
|
|
|
2017-06-16 08:38:59 -04:00
|
|
|
|
(define-public nzbget
|
|
|
|
|
(package
|
|
|
|
|
(name "nzbget")
|
2019-07-14 09:53:17 -04:00
|
|
|
|
(version "21.0")
|
2017-06-16 08:38:59 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-23 10:10:34 -04:00
|
|
|
|
(uri (string-append "https://github.com/nzbget/nzbget/releases"
|
|
|
|
|
"/download/v" version
|
|
|
|
|
"/nzbget-" version "-src.tar.gz"))
|
2017-06-16 08:38:59 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-23 10:10:34 -04:00
|
|
|
|
"0lwd0pfrs4a5ms193hgz2qiyf7grrc925dw6y0nfc0gkp27db9b5"))
|
2017-07-16 02:49:23 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Reported upstream as <https://github.com/nzbget/nzbget/pull/414>.
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "daemon/connect/TlsSocket.cpp"
|
|
|
|
|
(("gnutls_certificate-verification_status_print")
|
|
|
|
|
"gnutls_certificate_verification_status_print"))
|
|
|
|
|
#t))))
|
2017-06-16 08:38:59 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
2017-07-16 02:49:23 -04:00
|
|
|
|
(string-append "--with-libcurses-includes="
|
|
|
|
|
(assoc-ref %build-inputs "ncurses") "/include")
|
|
|
|
|
(string-append "--with-libcurses-libraries="
|
|
|
|
|
(assoc-ref %build-inputs "ncurses") "/lib")
|
2017-06-16 08:38:59 -04:00
|
|
|
|
(string-append "--with-tlslib=GnuTLS"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2018-03-16 11:50:14 -04:00
|
|
|
|
(inputs `(("gnutls" ,gnutls)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-06-16 08:38:59 -04:00
|
|
|
|
(home-page "https://github.com/nzbget/nzbget")
|
|
|
|
|
(synopsis "Usenet binary file downloader")
|
|
|
|
|
(description
|
|
|
|
|
"NZBGet is a binary newsgrabber, which downloads files from Usenet based
|
|
|
|
|
on information given in @code{nzb} files. NZBGet can be used in standalone
|
|
|
|
|
and in server/client modes. In standalone mode, you pass NZBGet @command{nzb}
|
|
|
|
|
files as command-line parameters and it downloads them and exits. NZBGet also
|
|
|
|
|
contains a Web interface. Its server can be controlled through remote
|
|
|
|
|
procedure calls (RPCs).")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2017-01-27 08:35:12 -05:00
|
|
|
|
(define-public openvswitch
|
|
|
|
|
(package
|
|
|
|
|
(name "openvswitch")
|
2021-02-24 16:00:23 -05:00
|
|
|
|
(version "2.13.3")
|
2017-01-27 08:35:12 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-06-04 12:53:40 -04:00
|
|
|
|
"https://www.openvswitch.org/releases/openvswitch-"
|
2017-01-27 08:35:12 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-24 16:00:23 -05:00
|
|
|
|
"1wc5zspy9aln7di7m9a1qy4lv3h05gmhgd1nffhb9nxdcxqgnpgp"))))
|
2017-01-27 08:35:12 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(;; FIXME: many tests fail with:
|
|
|
|
|
;; […]
|
|
|
|
|
;; test -e $OVS_RUNDIR/ovs-vswitchd.pid
|
|
|
|
|
;; ovs-appctl -t ovs-vswitchd exit
|
|
|
|
|
;; hard failure
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("--enable-shared"
|
|
|
|
|
"--localstatedir=/var"
|
|
|
|
|
"--with-dbdir=/var/lib/openvswitch")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(invoke "make"
|
|
|
|
|
;; Don't try to create directories under /var.
|
|
|
|
|
"RUNDIR=/tmp"
|
|
|
|
|
"PKIDIR=/tmp"
|
|
|
|
|
"LOGDIR=/tmp"
|
|
|
|
|
"DBDIR=/tmp"
|
|
|
|
|
"install"))))))
|
2017-01-27 08:35:12 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2020-06-24 13:32:21 -04:00
|
|
|
|
("python" ,python-wrapper)
|
2017-01-27 08:35:12 -05:00
|
|
|
|
;; for testing
|
|
|
|
|
("util-linux" ,util-linux)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libcap-ng" ,libcap-ng)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(synopsis "Virtual network switch")
|
2019-06-04 12:53:40 -04:00
|
|
|
|
(home-page "https://www.openvswitch.org/")
|
2017-01-27 08:35:12 -05:00
|
|
|
|
(description
|
|
|
|
|
"Open vSwitch is a multilayer virtual switch. It is designed to enable
|
|
|
|
|
massive network automation through programmatic extension, while still
|
|
|
|
|
supporting standard management interfaces and protocols (e.g. NetFlow, sFlow,
|
|
|
|
|
IPFIX, RSPAN, CLI, LACP, 802.1ag).")
|
|
|
|
|
(license ; see debian/copyright for detail
|
|
|
|
|
(list license:lgpl2.1 ; xenserver and utilities/bugtool
|
|
|
|
|
license:gpl2 ; datapath
|
|
|
|
|
license:bsd-2 license:bsd-3
|
|
|
|
|
license:asl2.0)))) ; all other
|
2017-02-26 05:52:21 -05:00
|
|
|
|
|
2017-04-19 08:42:24 -04:00
|
|
|
|
(define-public python-ipy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ipy")
|
2019-03-19 13:07:37 -04:00
|
|
|
|
(version "1.00")
|
2017-04-19 08:42:24 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "IPy" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-19 13:07:37 -04:00
|
|
|
|
"08d6kcacj67mvh0b6y765ipccy6gi4w2ndd4v1l3im2qm1cgcarg"))))
|
2017-04-19 08:42:24 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/autocracy/python-ipy/")
|
|
|
|
|
(synopsis "Python class and tools for handling IP addresses and networks")
|
|
|
|
|
(description "The @code{IP} class allows a comfortable parsing and
|
|
|
|
|
handling for most notations in use for IPv4 and IPv6 addresses and
|
|
|
|
|
networks.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2018-03-25 12:51:03 -04:00
|
|
|
|
(define-public python2-ipy
|
|
|
|
|
(package-with-python2 python-ipy))
|
|
|
|
|
|
2017-02-26 05:52:21 -05:00
|
|
|
|
(define-public speedtest-cli
|
|
|
|
|
(package
|
|
|
|
|
(name "speedtest-cli")
|
2021-04-09 11:38:58 -04:00
|
|
|
|
(version "2.1.3")
|
2017-02-26 05:52:21 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-06-12 03:45:47 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/sivel/speedtest-cli")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-02-26 05:52:21 -05:00
|
|
|
|
(sha256
|
2021-04-09 11:38:58 -04:00
|
|
|
|
(base32 "10fazl4kwf41mk7pnwpfms16n0ii0kg9pf8r3mz9xwnl9y04mv9x"))))
|
2017-02-26 05:52:21 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/sivel/speedtest-cli")
|
|
|
|
|
(synopsis "Internet bandwidth tester")
|
|
|
|
|
(description
|
|
|
|
|
"Command line interface for testing internet bandwidth using
|
|
|
|
|
speedtest.net.")
|
|
|
|
|
(license license:asl2.0)))
|
2017-03-15 18:14:43 -04:00
|
|
|
|
|
|
|
|
|
(define-public tftp-hpa
|
|
|
|
|
(package
|
|
|
|
|
(name "tftp-hpa")
|
|
|
|
|
(version "5.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kernel.org/software/"
|
|
|
|
|
"network/tftp/tftp-hpa/tftp-hpa-" version
|
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12vidchglhyc20znq5wdsbhi9mqg90jnl7qr9qs8hbvaz4fkdvmg"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments `(#:tests? #f)) ; no test target
|
|
|
|
|
(synopsis "HPA's tftp client")
|
|
|
|
|
(description
|
|
|
|
|
"This is a tftp client derived from OpenBSD tftp with some extra options
|
|
|
|
|
added and bugs fixed. The source includes readline support but it is not
|
|
|
|
|
enabled due to license conflicts between the BSD advertising clause and the GPL.")
|
2020-01-18 17:36:52 -05:00
|
|
|
|
(home-page "https://git.kernel.org/cgit/network/tftp/tftp-hpa.git/about/")
|
2017-03-15 18:14:43 -04:00
|
|
|
|
;; Some source files are distributed under a 3-clause BSD license, and
|
|
|
|
|
;; others under a 4-clause BSD license. Refer to the files in the source
|
|
|
|
|
;; distribution for clarification.
|
|
|
|
|
(license (list license:bsd-3 license:bsd-4))))
|
2017-06-03 22:32:16 -04:00
|
|
|
|
|
2017-04-30 15:09:00 -04:00
|
|
|
|
(define-public pidentd
|
|
|
|
|
(package
|
|
|
|
|
(name "pidentd")
|
|
|
|
|
(version "3.0.19")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-23 10:12:58 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ptrrkssn/pidentd")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-04-30 15:09:00 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-23 10:12:58 -04:00
|
|
|
|
"1k4rr0b4ygxssbnsykzjvz4hjhazzz4j5arlilyc1iq7b1wzsk7i"))))
|
2017-04-30 15:09:00 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; No tests are included
|
|
|
|
|
(inputs
|
2019-07-18 18:12:14 -04:00
|
|
|
|
`(("openssl" ,openssl-1.0))) ;for the DES library
|
2017-04-30 15:09:00 -04:00
|
|
|
|
(home-page "https://www.lysator.liu.se/~pen/pidentd/")
|
|
|
|
|
(synopsis "Small Ident Daemon")
|
|
|
|
|
(description
|
2020-06-23 10:12:58 -04:00
|
|
|
|
"@dfn{Pidentd} (Peter's Ident Daemon) is an identd, which implements a
|
2017-04-30 15:09:00 -04:00
|
|
|
|
identification server. Pidentd looks up specific TCP/IP connections and
|
|
|
|
|
returns the user name and other information about the connection.")
|
|
|
|
|
(license license:public-domain)))
|
|
|
|
|
|
2017-06-03 22:32:16 -04:00
|
|
|
|
(define-public spiped
|
|
|
|
|
(package
|
|
|
|
|
(name "spiped")
|
2020-05-16 19:28:09 -04:00
|
|
|
|
(version "1.6.1")
|
2017-06-03 22:32:16 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.tarsnap.com/spiped/spiped-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-16 19:28:09 -04:00
|
|
|
|
"04rpnc53whfky7pp2m9h35gwzwn6788pnl6c1qd576mpknbqjw4d"))))
|
2017-06-03 22:32:16 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
`(#:test-target "test"
|
2017-06-03 22:32:16 -04:00
|
|
|
|
#:make-flags (let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(bindir (string-append out "/bin"))
|
|
|
|
|
(man1dir (string-append out "/share/man/man1")))
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target)) ; It tries to invoke `c99`.
|
2017-06-03 22:32:16 -04:00
|
|
|
|
(string-append "BINDIR=" bindir)
|
|
|
|
|
(string-append "MAN1DIR=" man1dir)))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-command-invocations
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("Makefile"
|
|
|
|
|
"libcperciva/cpusupport/Build/cpusupport.sh"
|
|
|
|
|
"libcperciva/POSIX/posix-cflags.sh"
|
|
|
|
|
"libcperciva/POSIX/posix-l.sh")
|
|
|
|
|
(("command -p") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure) ; No ./configure script.
|
|
|
|
|
(add-after 'install 'install-more-docs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(misc (string-append out "/share/doc/spiped")))
|
|
|
|
|
(install-file "DESIGN.md" misc)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("procps" ,procps))) ; `ps` is used by the test suite.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)))
|
|
|
|
|
(home-page "https://www.tarsnap.com/spiped.html")
|
|
|
|
|
(synopsis "Create secure pipes between sockets")
|
|
|
|
|
(description "Spiped (pronounced \"ess-pipe-dee\") is a utility for creating
|
|
|
|
|
symmetrically encrypted and authenticated pipes between socket addresses, so
|
|
|
|
|
that one may connect to one address (e.g., a UNIX socket on localhost) and
|
|
|
|
|
transparently have a connection established to another address (e.g., a UNIX
|
|
|
|
|
socket on a different system). This is similar to 'ssh -L' functionality, but
|
|
|
|
|
does not use SSH and requires a pre-shared symmetric key.")
|
|
|
|
|
(license license:bsd-2)))
|
2017-06-26 11:51:33 -04:00
|
|
|
|
|
|
|
|
|
(define-public quagga
|
|
|
|
|
(package
|
|
|
|
|
(name "quagga")
|
2018-03-02 20:50:09 -05:00
|
|
|
|
(version "1.2.4")
|
2017-06-26 11:51:33 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2021-03-13 11:06:33 -05:00
|
|
|
|
;; Use archived sources; see <http://issues.guix.gnu.org/47123>.
|
|
|
|
|
(uri (string-append "https://fossies.org/linux/misc/"
|
|
|
|
|
"quagga-" version ".tar.gz"))
|
2017-06-26 11:51:33 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-02 20:50:09 -05:00
|
|
|
|
"1lsksqxij5f1llqn86pkygrf5672kvrqn1kvxghi169hqf1c0r73"))
|
2017-06-26 11:51:33 -04:00
|
|
|
|
(patches
|
|
|
|
|
(search-patches "quagga-reproducible-build.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2018-03-16 11:50:14 -04:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("dejagnu" ,dejagnu)))
|
|
|
|
|
(inputs `(("readline" ,readline)
|
|
|
|
|
("c-ares" ,c-ares)))
|
2017-06-26 11:51:33 -04:00
|
|
|
|
(synopsis "Routing Software Suite")
|
|
|
|
|
(description "Quagga is a routing software suite, providing implementations
|
|
|
|
|
of OSPFv2, OSPFv3, RIP v1 and v2, RIPng and BGP-4 for Unix platforms.
|
|
|
|
|
|
|
|
|
|
The Quagga architecture consists of a core daemon, @command{zebra}, which
|
|
|
|
|
acts as an abstraction layer to the underlying Unix kernel and presents the
|
|
|
|
|
Zserv API over a Unix or TCP stream to Quagga clients. It is these Zserv
|
|
|
|
|
clients which typically implement a routing protocol and communicate routing
|
|
|
|
|
updates to the zebra daemon.")
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/quagga/")
|
2017-06-26 11:51:33 -04:00
|
|
|
|
(license license:gpl2+)))
|
2017-06-25 22:41:21 -04:00
|
|
|
|
|
|
|
|
|
(define-public thc-ipv6
|
2018-01-17 21:15:50 -05:00
|
|
|
|
(let ((revision "0")
|
|
|
|
|
(commit "4bb72573e0950ce6f8ca2800a10748477020029e"))
|
|
|
|
|
(package
|
|
|
|
|
(name "thc-ipv6")
|
|
|
|
|
(version (git-version "3.4" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/vanhauser-thc/thc-ipv6")
|
2018-01-17 21:15:50 -05:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x5i6vbsddqc2yks7r1a2fw2fk16qxvd6hpzh1lykjfpkal8fdir"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:tests? #f ; No test suite.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; No ./configure script.
|
|
|
|
|
(add-before 'build 'patch-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/bin/echo") "echo"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-more-docs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/thc-ipv6/doc")))
|
|
|
|
|
(install-file "README" doc)
|
|
|
|
|
(install-file "HOWTO-INJECT" doc)
|
|
|
|
|
#t))))))
|
|
|
|
|
;; TODO Add libnetfilter-queue once packaged.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libpcap" ,libpcap)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(home-page "https://github.com/vanhauser-thc/thc-ipv6")
|
|
|
|
|
(synopsis "IPv6 security research toolkit")
|
|
|
|
|
(description "The THC IPv6 Toolkit provides command-line tools and a library
|
2017-06-25 22:41:21 -04:00
|
|
|
|
for researching IPv6 implementations and deployments. It requires Linux 2.6 or
|
|
|
|
|
newer and only works on Ethernet network interfaces.")
|
2018-01-17 21:15:50 -05:00
|
|
|
|
;; AGPL 3 with exception for linking with OpenSSL. See the 'LICENSE' file in
|
|
|
|
|
;; the source distribution for more information.
|
|
|
|
|
(license license:agpl3))))
|
2017-07-12 11:40:02 -04:00
|
|
|
|
|
|
|
|
|
(define-public bmon
|
|
|
|
|
(package
|
|
|
|
|
(name "bmon")
|
|
|
|
|
(version "4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/tgraf/bmon/releases/download/v"
|
|
|
|
|
version "/bmon-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ylzriv4pwh76344abzl1w219x188gshbycbna35gsyfp09c7z82"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libconfuse" ,libconfuse)
|
|
|
|
|
("libnl" ,libnl)
|
|
|
|
|
("ncurses" ,ncurses)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Bandwidth monitor")
|
|
|
|
|
(description "bmon is a monitoring and debugging tool to capture
|
|
|
|
|
networking-related statistics and prepare them visually in a human-friendly
|
|
|
|
|
way. It features various output methods including an interactive curses user
|
|
|
|
|
interface and a programmable text output for scripting.")
|
|
|
|
|
(home-page "https://github.com/tgraf/bmon")
|
|
|
|
|
;; README.md mentions both the 2-clause BSD and expat licenses, but all
|
|
|
|
|
;; the source files only have expat license headers. Upstream has been
|
|
|
|
|
;; contacted for clarification: https://github.com/tgraf/bmon/issues/59
|
|
|
|
|
;; Update the license field when upstream responds.
|
|
|
|
|
(license (list license:bsd-2
|
|
|
|
|
license:expat))))
|
2017-10-17 20:12:58 -04:00
|
|
|
|
|
|
|
|
|
(define-public libnet
|
|
|
|
|
(package
|
|
|
|
|
(name "libnet")
|
2020-06-13 12:58:28 -04:00
|
|
|
|
(version "1.2")
|
2019-01-07 15:55:27 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-13 12:58:28 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/libnet/libnet/releases/download"
|
|
|
|
|
"/v" version "/libnet-" version ".tar.gz"))
|
2019-01-07 15:55:27 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-13 12:58:28 -04:00
|
|
|
|
"19ys9vxk6fg70yzzdxsphfr0rwzgxxhr9b3ykhpg7rfray0qd96a"))))
|
2017-10-17 20:12:58 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'build-doc
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
2018-06-27 20:51:35 -04:00
|
|
|
|
(apply invoke "make" "-C" "doc" "doc"
|
|
|
|
|
make-flags))))))
|
2017-10-17 20:12:58 -04:00
|
|
|
|
(native-inputs
|
2020-06-13 12:58:28 -04:00
|
|
|
|
`(;; To build the documentation, Doxygen and Perl is required.
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("perl" ,perl)))
|
2020-06-13 13:00:42 -04:00
|
|
|
|
(home-page "https://github.com/libnet/libnet")
|
2017-10-17 20:12:58 -04:00
|
|
|
|
(synopsis "Framework for low-level network packet construction")
|
|
|
|
|
(description
|
|
|
|
|
"Libnet provides a fairly portable framework for network packet
|
|
|
|
|
construction and injection. It features portable packet creation interfaces
|
|
|
|
|
at the IP layer and link layer, as well as a host of supplementary
|
|
|
|
|
functionality. Using libnet, quick and simple packet assembly applications
|
|
|
|
|
can be whipped up with little effort.")
|
|
|
|
|
(license license:bsd-2)))
|
2017-11-29 21:10:35 -05:00
|
|
|
|
|
|
|
|
|
(define-public mtr
|
|
|
|
|
(package
|
|
|
|
|
(name "mtr")
|
2020-09-30 13:43:36 -04:00
|
|
|
|
(version "0.94")
|
2017-11-29 21:10:35 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-12-02 12:28:05 -05:00
|
|
|
|
(uri (string-append "ftp://ftp.bitwizard.nl/mtr/"
|
|
|
|
|
"mtr-" version ".tar.gz"))
|
2017-11-29 21:10:35 -05:00
|
|
|
|
(sha256
|
2020-09-30 13:43:36 -04:00
|
|
|
|
(base32 "1glxvlqskcmjkxlqk9i12hcfaxb389cx2n8ji7776gmix3aq4z1z"))))
|
2017-11-29 21:10:35 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libcap" ,libcap)
|
|
|
|
|
("ncurses" ,ncurses)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; tests require network access
|
|
|
|
|
(home-page "https://www.bitwizard.nl/mtr/")
|
|
|
|
|
(synopsis "Network diagnostic tool")
|
|
|
|
|
(description
|
2019-12-02 12:29:14 -05:00
|
|
|
|
"@acronym{mtr, My TraceRoute} combines the functionality of the
|
2017-11-29 21:10:35 -05:00
|
|
|
|
@command{traceroute} and @command{ping} programs in a single network diagnostic
|
2017-12-02 08:17:16 -05:00
|
|
|
|
tool. @command{mtr} can use several network protocols to detect intermediate
|
|
|
|
|
routers (or @dfn{hops}) between the local host and a user-specified destination.
|
|
|
|
|
It then continually measures the response time and packet loss at each hop, and
|
2017-11-29 21:10:35 -05:00
|
|
|
|
displays the results in real time.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-01-31 14:46:02 -05:00
|
|
|
|
|
|
|
|
|
(define-public strongswan
|
|
|
|
|
(package
|
|
|
|
|
(name "strongswan")
|
2020-04-14 14:10:35 -04:00
|
|
|
|
(version "5.8.4")
|
2018-01-31 14:46:02 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.strongswan.org/strongswan-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2020-04-14 14:10:35 -04:00
|
|
|
|
(base32 "0g2m08gmgdi3qvvqz6zy7n16np53sp232xd0rdc2vdhk73img6id"))))
|
2018-01-31 14:46:02 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-02-22 11:09:49 -05:00
|
|
|
|
(add-before 'build 'patch-command-file-names
|
2018-01-31 14:46:02 -05:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/libstrongswan/utils/process.c"
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
(string-append (assoc-ref inputs "bash") "/bin/sh")))
|
|
|
|
|
|
|
|
|
|
(substitute* "src/libstrongswan/tests/suites/test_process.c"
|
|
|
|
|
(("/bin/sh") (which "sh"))
|
|
|
|
|
(("/bin/echo") (which "echo"))
|
|
|
|
|
(("cat") (which "cat")))
|
2018-02-22 11:09:49 -05:00
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'set-up-test-environment
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2018-01-31 14:46:02 -05:00
|
|
|
|
(setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
|
|
|
|
|
"/share/zoneinfo"))
|
|
|
|
|
#t)))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
2019-09-10 15:47:08 -04:00
|
|
|
|
;; Disable bsd-4 licensed plugins.
|
2018-01-31 14:46:02 -05:00
|
|
|
|
"--disable-des"
|
|
|
|
|
"--disable-blowfish")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("gmp" ,gmp)
|
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("coreutils" ,coreutils)
|
2018-02-01 07:19:02 -05:00
|
|
|
|
("tzdata" ,tzdata-for-tests)))
|
2018-01-31 14:46:02 -05:00
|
|
|
|
(synopsis "IKEv1/v2 keying daemon")
|
|
|
|
|
(description "StrongSwan is an IPsec implementation originally based upon
|
|
|
|
|
the FreeS/WAN project. It contains support for IKEv1, IKEv2, MOBIKE, IPv6,
|
|
|
|
|
NAT-T and more.")
|
|
|
|
|
(home-page "https://strongswan.org/")
|
|
|
|
|
(license
|
|
|
|
|
(list license:gpl2+
|
|
|
|
|
;; src/aikgen/*
|
|
|
|
|
;; src/libcharon/plugins/dnscert/*
|
|
|
|
|
;; src/libcharon/plugins/ext_auth/*
|
|
|
|
|
;; src/libcharon/plugins/vici/ruby/*
|
|
|
|
|
;; src/libcharon/plugins/xauth_pam/xauth_pam_listener.[ch]
|
|
|
|
|
license:expat
|
|
|
|
|
;; src/inclue/sys/*
|
|
|
|
|
license:bsd-3
|
|
|
|
|
;; src/libstrongswan/plugins/sha3/sha3_keccak.c
|
|
|
|
|
license:public-domain
|
|
|
|
|
;; src/libstrongswan/plugins/pkcs11/pkcs11.h
|
|
|
|
|
(license:non-copyleft
|
|
|
|
|
"file://src/libstrongswan/plugins/pkcs11/pkcs11.h"
|
|
|
|
|
"pkcs11 contains a unknown permissive license. View the specific
|
|
|
|
|
file for more details.")
|
|
|
|
|
;; These files are not included in the
|
|
|
|
|
;; build, they are disabled through
|
|
|
|
|
;; options to ./configure
|
|
|
|
|
;;
|
|
|
|
|
;; src/libstrongswan/plugins/blowfish/bf_enc.c
|
|
|
|
|
;; src/libstrongswan/plugins/blowfish/bf_locl.h
|
|
|
|
|
;; src/libstrongswan/plugins/blowfish/bf_pi.h
|
|
|
|
|
;; src/libstrongswan/plugins/blowfish/bf_skey.c
|
|
|
|
|
;; src/libstrongswan/plugins/blowfish/blowfish_crypter.c
|
|
|
|
|
;; src/libstrongswan/plugins/des/des_crypter.c
|
|
|
|
|
license:bsd-4))))
|
2018-04-06 15:44:36 -04:00
|
|
|
|
|
|
|
|
|
(define-public amule
|
|
|
|
|
(package
|
|
|
|
|
(name "amule")
|
|
|
|
|
(version "2.3.2")
|
|
|
|
|
(source (origin
|
2019-01-01 05:54:20 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/amule-project/amule")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-04-06 15:44:36 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-01-01 05:54:20 -05:00
|
|
|
|
"010wxm6g9f92x6fympj501zbnjka32rzbx0sk3a2y4zpih5d2nsn"))
|
2018-04-06 15:44:36 -04:00
|
|
|
|
;; Patch for adopting crypto++ >= 6.0.
|
|
|
|
|
(patches (search-patches "amule-crypto-6.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-01-01 05:49:52 -05:00
|
|
|
|
(delete 'bootstrap) ; bootstrap phase runs too early.
|
2018-04-06 15:44:36 -04:00
|
|
|
|
(add-after 'patch-source-shebangs 'autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "sh" "autogen.sh")
|
|
|
|
|
#t)))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("--disable-rpath"
|
|
|
|
|
"--enable-wxcas"
|
|
|
|
|
"--enable-cas"
|
|
|
|
|
"--enable-alc"
|
|
|
|
|
"--enable-alcc"
|
|
|
|
|
"--enable-xas"
|
|
|
|
|
"--enable-amulecmd"
|
|
|
|
|
"--enable-geoip"
|
|
|
|
|
"--enable-ccache"
|
|
|
|
|
"--enable-nls"
|
|
|
|
|
"--enable-optimize"
|
|
|
|
|
"--enable-amule-gui"
|
|
|
|
|
"--enable-amule-daemon"
|
|
|
|
|
"--enable-webserver"
|
|
|
|
|
"--with-denoise-level=0")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("gettext-minimal" ,gettext-minimal)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
|
("crypto++" ,crypto++)
|
|
|
|
|
("libpng" ,libpng)
|
2018-06-19 19:03:47 -04:00
|
|
|
|
("wxwidgets-gtk2" ,wxwidgets-gtk2)))
|
2018-04-06 15:44:36 -04:00
|
|
|
|
(home-page "http://amule.org/")
|
|
|
|
|
(synopsis "Peer-to-peer client for the eD2K and Kademlia networks")
|
|
|
|
|
(description
|
|
|
|
|
"aMule is an eMule-like client for the eD2k and Kademlia peer-to-peer
|
|
|
|
|
file sharing networks. It includes a graphical user interface (GUI), a daemon
|
|
|
|
|
allowing you to run a client with no graphical interface, and a Web GUI for
|
|
|
|
|
remote access. The @command{amulecmd} command allows you to control aMule
|
|
|
|
|
remotely.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-05-17 11:50:33 -04:00
|
|
|
|
|
|
|
|
|
(define-public zyre
|
|
|
|
|
(package
|
|
|
|
|
(name "zyre")
|
2021-03-03 17:44:03 -05:00
|
|
|
|
(version "2.0.1")
|
2018-05-17 11:50:33 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://github.com/zeromq/zyre/releases/download/v"
|
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-03 17:44:03 -05:00
|
|
|
|
"13596507ma1474cjqzxym5jlvcshvw7sjhw80rdz788gyz6kz90b"))))
|
2018-05-17 11:50:33 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("zeromq" ,zeromq)
|
|
|
|
|
("czmq" ,czmq)
|
|
|
|
|
("libsodium" ,libsodium)))
|
|
|
|
|
(synopsis "Framework for proximity-based peer-to-peer applications")
|
|
|
|
|
(description "Zyre provides reliable group messaging over local area
|
|
|
|
|
networks using zeromq. It has these key characteristics:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Zyre needs no administration or configuration.
|
|
|
|
|
@item Peers may join and leave the network at any time.
|
|
|
|
|
@item Peers talk to each other without any central brokers or servers.
|
|
|
|
|
@item Peers can talk directly to each other.
|
|
|
|
|
@item Peers can join groups, and then talk to groups.
|
|
|
|
|
@item Zyre is reliable, and loses no messages even when the network is heavily loaded.
|
|
|
|
|
@item Zyre is fast and has low latency, requiring no consensus protocols.
|
|
|
|
|
@item Zyre is designed for WiFi networks, yet also works well on Ethernet networks.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(home-page "https://github.com/zeromq/zyre")
|
|
|
|
|
(license license:mpl2.0)))
|
2018-05-20 20:33:28 -04:00
|
|
|
|
|
2020-08-10 14:58:50 -04:00
|
|
|
|
(define-public libsocketcan
|
|
|
|
|
(package
|
|
|
|
|
(name "libsocketcan")
|
|
|
|
|
(version "0.0.11")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.pengutronix.de/cgit/tools/libsocketcan")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17z2y2r9xkixhr9bxr50m77fh710afl30s7jdhbxrvf56vmal2jr"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(home-page "https://git.pengutronix.de/cgit/tools/libsocketcan")
|
|
|
|
|
(synopsis "SocketCAN user-space library")
|
|
|
|
|
(description "This library allows controlling basic functions in SocketCAN
|
|
|
|
|
from user-space. It requires a kernel built with SocketCAN support.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2018-05-20 20:33:28 -04:00
|
|
|
|
(define-public can-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "can-utils")
|
2020-08-10 14:09:20 -04:00
|
|
|
|
(version "2020.02.04")
|
2018-05-20 20:33:28 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/linux-can/can-utils")
|
2018-05-20 20:33:28 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-10 14:09:20 -04:00
|
|
|
|
"1a3j1mmnb7pvgc8r7zzp6sdp7903in2hna6bmpraxln7cwlzn4l6"))))
|
2018-05-20 20:33:28 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests exist.
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
2018-05-20 20:33:28 -04:00
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-06-06 05:59:36 -04:00
|
|
|
|
(delete 'bootstrap)
|
2018-05-20 20:33:28 -04:00
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "https://github.com/linux-can/can-utils")
|
|
|
|
|
(synopsis "CAN utilities")
|
|
|
|
|
(description "This package provides CAN utilities in the following areas:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Basic tools to display, record, generate and replay CAN traffic
|
|
|
|
|
@item CAN access via IP sockets
|
|
|
|
|
@item CAN in-kernel gateway configuration
|
|
|
|
|
@item CAN bus measurement and testing
|
|
|
|
|
@item ISO-TP (ISO15765-2:2016 - this means messages with a body larger than
|
|
|
|
|
eight bytes) tools
|
|
|
|
|
@item Log file converters
|
|
|
|
|
@item Serial Line Discipline configuration for slcan driver
|
|
|
|
|
@end itemize")
|
|
|
|
|
;; Either BSD-3 or GPL-2 can be used.
|
|
|
|
|
(license (list license:bsd-3 license:gpl2))))
|
2018-05-31 11:07:07 -04:00
|
|
|
|
|
2021-03-30 08:13:55 -04:00
|
|
|
|
;;; This is an old version required by rested.
|
|
|
|
|
(define-public asio-1.12
|
2018-05-31 11:07:07 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "asio")
|
2019-02-24 20:07:32 -05:00
|
|
|
|
(version "1.12.2")
|
2018-05-31 11:07:07 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-08-09 20:47:51 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/asio/asio/"
|
2019-02-24 19:57:22 -05:00
|
|
|
|
version " (Stable)/asio-" version ".tar.bz2"))
|
2018-05-31 11:07:07 -04:00
|
|
|
|
(sha256
|
2019-02-24 20:07:32 -05:00
|
|
|
|
(base32 "1akray4l3hgahmb92sbvsqg128c7g7s92jrkf1sp1fjnfjrxq9sf"))))
|
2018-05-31 11:07:07 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "--with-boost=" (assoc-ref %build-inputs "boost"))
|
2018-08-09 20:47:51 -04:00
|
|
|
|
(string-append "--with-openssl=" (assoc-ref %build-inputs "openssl")))))
|
2018-05-31 11:07:07 -04:00
|
|
|
|
(home-page "https://think-async.com/Asio")
|
|
|
|
|
(synopsis "C++ library for ASynchronous network I/O")
|
|
|
|
|
(description "Asio is a cross-platform C++ library for network and
|
|
|
|
|
low-level I/O programming that provides developers with a consistent
|
|
|
|
|
asynchronous model using a modern C++ approach.")
|
|
|
|
|
(license license:boost1.0)))
|
2018-06-12 06:10:19 -04:00
|
|
|
|
|
2021-03-30 08:13:55 -04:00
|
|
|
|
(define-public asio
|
|
|
|
|
(package
|
|
|
|
|
(inherit asio-1.12)
|
|
|
|
|
(version "1.18.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/asio/asio/"
|
|
|
|
|
version " (Stable)/asio-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04wi69d72l1p5c7d63z1dz06zn8pdqsbgx1if98dszs9ymfqgyaa"))))))
|
|
|
|
|
|
2018-06-12 06:10:19 -04:00
|
|
|
|
(define-public shadowsocks
|
|
|
|
|
;; There are some security fixes after the last release.
|
|
|
|
|
(let* ((commit "e332ec93e9c90f1cbee676b022bf2c5d5b7b1239")
|
|
|
|
|
(revision "0")
|
|
|
|
|
(version (git-version "2.8.2" revision commit)))
|
|
|
|
|
(package
|
|
|
|
|
(name "shadowsocks")
|
|
|
|
|
(version version)
|
|
|
|
|
(home-page "https://github.com/shadowsocks/shadowsocks")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1idd9b4f2pnhcpk1bh030hqg5zq25gkwxd53xi3c0cj242w7sp2j"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2020-12-07 15:28:18 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-crypto-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "shadowsocks/shell.py"
|
|
|
|
|
(("config\\.get\\('libopenssl', None\\)")
|
|
|
|
|
(format #f "config.get('libopenssl', ~s)"
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref inputs "openssl")
|
|
|
|
|
"/lib/libssl.so")))))))))
|
2018-06-12 06:10:19 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(synopsis "Fast tunnel proxy that helps you bypass firewalls")
|
|
|
|
|
(description
|
|
|
|
|
"This package is a fast tunnel proxy that helps you bypass firewalls.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
@itemize
|
|
|
|
|
@item TCP & UDP support
|
|
|
|
|
@item User management API
|
|
|
|
|
@item TCP Fast Open
|
|
|
|
|
@item Workers and graceful restart
|
|
|
|
|
@item Destination IP blacklist
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:asl2.0))))
|
2018-07-31 07:19:33 -04:00
|
|
|
|
|
|
|
|
|
(define-public net-snmp
|
|
|
|
|
(package
|
|
|
|
|
(name "net-snmp")
|
2020-08-22 18:24:08 -04:00
|
|
|
|
(version "5.9")
|
2018-07-31 07:19:33 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/net-snmp/net-snmp/"
|
|
|
|
|
version "/net-snmp-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-22 18:24:08 -04:00
|
|
|
|
"0wb0vyafpspw3mcifkjjmf17r1r80kjvslycscb8nvaxz1k3lc04"))
|
2018-07-31 07:19:33 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Drop bundled libraries.
|
|
|
|
|
(delete-file-recursively "snmplib/openssl")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
;; XXX: With parallel build enabled, Perl modules may not get linked with
|
|
|
|
|
;; libnetsnmp. See e.g. <https://bugzilla.novell.com/show_bug.cgi?id=819497>.
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib")
|
2018-08-27 07:13:25 -04:00
|
|
|
|
"--with-logfile=/var/log/snmpd.log"
|
|
|
|
|
(string-append "--with-openssl="
|
|
|
|
|
(assoc-ref %build-inputs "openssl")))
|
2018-07-31 07:19:33 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-tests
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "testing/fulltests/support/simple_TESTCONF.sh"
|
|
|
|
|
(("NETSTAT=\"\"")
|
|
|
|
|
(string-append "NETSTAT=\"" (which "netstat") "\"")))
|
|
|
|
|
(substitute* '("testing/fulltests/default/T065agentextend_simple"
|
|
|
|
|
"testing/fulltests/default/T115agentxperl_simple")
|
|
|
|
|
(("/usr/bin/env") (which "env")))
|
|
|
|
|
(substitute* "testing/fulltests/default/T065agentextend_sh_simple"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
;; These tests require network access.
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
'("testing/fulltests/default/T070com2sec_simple"
|
|
|
|
|
"testing/fulltests/default/T071com2sec6_simple"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'patch-Makefile.PL
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("Makefile.PL -NET")
|
|
|
|
|
(string-append "Makefile.PL PREFIX="
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
" INSTALLDIRS=site" " NO_PERLLOCAL=1"
|
|
|
|
|
" -NET")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2020-08-22 18:24:08 -04:00
|
|
|
|
`(("libnl" ,libnl)
|
|
|
|
|
("ncurses" ,ncurses) ; for the ‘apps’
|
2018-07-31 07:19:33 -04:00
|
|
|
|
("openssl" ,openssl)
|
2020-08-22 18:24:08 -04:00
|
|
|
|
("perl" ,perl)))
|
2018-07-31 07:19:33 -04:00
|
|
|
|
(native-inputs
|
2020-08-22 18:24:08 -04:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
|
|
|
|
|
;; For tests only.
|
|
|
|
|
("net-tools" ,net-tools)
|
2018-07-31 07:19:33 -04:00
|
|
|
|
("coreutils" ,coreutils)
|
|
|
|
|
("grep" ,grep)))
|
|
|
|
|
(home-page "http://www.net-snmp.org/")
|
|
|
|
|
(synopsis "Simple Network Management Protocol library and tools")
|
|
|
|
|
(description "The @dfn{Simple Network Management Protocol} (SNMP) is a
|
|
|
|
|
widely used protocol for monitoring the health and welfare of network
|
|
|
|
|
equipment (e.g. routers), computer equipment and even devices like UPSs.
|
|
|
|
|
Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and
|
|
|
|
|
SNMP v3 using both IPv4 and IPv6.")
|
2019-07-10 07:02:33 -04:00
|
|
|
|
;; This only affects OpenBSD
|
|
|
|
|
;; https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8100
|
|
|
|
|
(properties `((lint-hidden-cve . ("CVE-2015-8100"))))
|
2018-07-31 07:19:33 -04:00
|
|
|
|
(license (list license:bsd-3
|
|
|
|
|
(license:non-copyleft
|
|
|
|
|
"http://www.net-snmp.org/about/license.html"
|
|
|
|
|
"CMU/UCD copyright notice")))))
|
2018-08-07 04:37:32 -04:00
|
|
|
|
|
|
|
|
|
(define-public ubridge
|
|
|
|
|
(package
|
|
|
|
|
(name "ubridge")
|
2020-06-01 22:23:38 -04:00
|
|
|
|
(version "0.9.18")
|
2019-05-15 14:53:27 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/GNS3/ubridge")
|
2019-05-15 14:53:27 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-06-01 22:23:38 -04:00
|
|
|
|
(base32 "0jg66jhhpv4c9340fsdp64hf9h253i8r81fknxa0gq241ripp3jn"))))
|
2018-08-07 04:37:32 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-05-15 14:53:27 -04:00
|
|
|
|
`(#:tests? #f ; no tests
|
2020-06-01 22:24:21 -04:00
|
|
|
|
#:make-flags
|
|
|
|
|
(list ,(string-append "CC=" (cc-for-target)))
|
2018-08-07 04:37:32 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-05-15 14:53:27 -04:00
|
|
|
|
(delete 'configure) ; no configure script
|
2018-08-07 04:37:32 -04:00
|
|
|
|
(add-before 'install 'set-bindir
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(BINDIR\\)") bin)
|
|
|
|
|
(("\tsetcap cap_net.*$") "")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libpcap" ,libpcap)))
|
|
|
|
|
(home-page "https://github.com/GNS3/ubridge/")
|
|
|
|
|
(synopsis "Bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces")
|
|
|
|
|
(description "uBridge is a simple program to create user-land bridges
|
|
|
|
|
between various technologies. Currently, bridging between UDP tunnels,
|
|
|
|
|
Ethernet and TAP interfaces is supported. Packet capture is also supported.")
|
|
|
|
|
(license license:gpl3+)))
|
2018-07-30 10:00:19 -04:00
|
|
|
|
|
|
|
|
|
(define-public hcxtools
|
2019-04-25 18:58:06 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "hcxtools")
|
2019-08-21 17:51:41 -04:00
|
|
|
|
(version "5.2.0")
|
2019-04-25 18:58:06 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/ZerBea/hcxtools")
|
2019-04-25 18:58:06 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
2019-08-21 17:51:41 -04:00
|
|
|
|
(base32 "0k2qlq9hz5zc21nyc6yrnfqzga7hydn5mm0x3rpl2fhkwl81lxcn"))
|
2019-04-25 18:58:06 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("libpcap" ,libpcap)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
2019-04-25 18:58:06 -04:00
|
|
|
|
(string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin"))
|
|
|
|
|
#:tests? #f ; no test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-04-03 11:39:22 -04:00
|
|
|
|
(delete 'configure))))
|
2019-04-25 18:58:06 -04:00
|
|
|
|
(home-page "https://github.com/ZerBea/hcxtools")
|
|
|
|
|
(synopsis "Capture wlan traffic to hashcat and John the Ripper")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains a small set of tools to capture and convert
|
2018-07-30 10:00:19 -04:00
|
|
|
|
packets from wireless devices for use with hashcat or John the Ripper.")
|
2019-04-25 18:58:06 -04:00
|
|
|
|
(license license:expat)))
|
2018-07-30 10:54:37 -04:00
|
|
|
|
|
|
|
|
|
(define-public hcxdumptool
|
2019-04-25 18:58:16 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "hcxdumptool")
|
2020-06-03 13:56:37 -04:00
|
|
|
|
(version "6.0.6")
|
2019-04-25 18:58:16 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/ZerBea/hcxdumptool")
|
2019-04-25 18:58:16 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
2020-06-03 13:56:37 -04:00
|
|
|
|
(base32 "1b4d543y64ib92w9gcmiyjn5hz2vyjqmxk3f3yr1zk04fhw16gmf"))
|
2019-04-25 18:58:16 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
2020-06-03 13:56:47 -04:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
2019-04-25 18:58:16 -04:00
|
|
|
|
(string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin"))
|
|
|
|
|
#:tests? #f ; no test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
2020-06-03 13:56:37 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)))
|
2019-04-25 18:58:16 -04:00
|
|
|
|
(home-page "https://github.com/ZerBea/hcxdumptool")
|
|
|
|
|
(synopsis "Small tool to capture packets from wlan devices")
|
|
|
|
|
(description
|
|
|
|
|
"Small tool to capture packets from WLAN devices. After capturing,
|
2018-07-30 10:54:37 -04:00
|
|
|
|
upload the \"uncleaned\" cap to @url{https://wpa-sec.stanev.org/?submit} to
|
|
|
|
|
see if the access point or the client is vulnerable to a dictionary attack.
|
|
|
|
|
Convert the cap file to hccapx format and/or to WPA-PMKID-PBKDF2
|
|
|
|
|
hashline (16800) with @command{hcxpcaptool} from the @code{hcxtools} package
|
|
|
|
|
and check if the WLAN key or the master key was transmitted unencrypted.")
|
2019-04-25 18:58:16 -04:00
|
|
|
|
(license license:expat)))
|
2018-02-09 04:53:19 -05:00
|
|
|
|
|
|
|
|
|
(define-public dante
|
|
|
|
|
(package
|
|
|
|
|
(name "dante")
|
2021-05-01 18:19:08 -04:00
|
|
|
|
(version "1.4.3")
|
2018-02-09 04:53:19 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.inet.no/dante/files/dante-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-05-01 18:19:08 -04:00
|
|
|
|
(base32 "0pbahkj43rx7rmv2x40mf5p3g3x9d6i2sz7pzglarf54w5ghd2j1"))))
|
2018-02-09 04:53:19 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2018-08-25 04:34:43 -04:00
|
|
|
|
(arguments
|
|
|
|
|
;; XXX: The dynamic socks library doesn't work with 'libc.so' (GNU ld
|
|
|
|
|
;; script). When preloading is enabled, 'sockd' failed with:
|
|
|
|
|
;; … Failed to open library "libc.so": …: invalid ELF header
|
|
|
|
|
'(#:configure-flags '("--disable-preload")))
|
2018-02-09 04:53:19 -05:00
|
|
|
|
(home-page "https://www.inet.no/dante/")
|
|
|
|
|
(synopsis "SOCKS server and client")
|
|
|
|
|
(description "Dante is a SOCKS client and server implementation. It can
|
|
|
|
|
be installed on a machine with access to an external TCP/IP network and will
|
|
|
|
|
allow all other machines, without direct access to that network, to be relayed
|
|
|
|
|
through the machine the Dante server is running on. The external network will
|
|
|
|
|
never see any machines other than the one Dante is running on.")
|
|
|
|
|
(license (license:non-copyleft "file://LICENSE"))))
|
2019-01-11 13:44:51 -05:00
|
|
|
|
|
|
|
|
|
(define-public restbed
|
2021-03-30 08:16:01 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "restbed")
|
|
|
|
|
(version "4.7")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Corvusoft/restbed/")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "055qicb773a599dsqbcz5xf0xj1wpk33mdrkyi0fsmyjmn8d2p9d"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("asio" ,asio-1.12)
|
|
|
|
|
("catch" ,catch-framework)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("-DBUILD_TESTS=NO"
|
|
|
|
|
"-DBUILD_EXAMPLES=NO"
|
|
|
|
|
"-DBUILD_SSL=NO"
|
|
|
|
|
"-DBUILD_SHARED=NO")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'apply-patches-and-fix-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((asio (assoc-ref inputs "asio"))
|
|
|
|
|
(catch (assoc-ref inputs "catch"))
|
|
|
|
|
(openssl (assoc-ref inputs "openssl")))
|
|
|
|
|
(substitute* "cmake/Findasio.cmake"
|
|
|
|
|
(("(find_path\\( asio_INCLUDE asio\\.hpp HINTS ).*$" all begin)
|
|
|
|
|
(string-append begin " \"" asio "/include\" )")))
|
|
|
|
|
(substitute* "cmake/Findcatch.cmake"
|
|
|
|
|
(("(find_path\\( catch_INCLUDE catch\\.hpp HINTS ).*$" all begin)
|
|
|
|
|
(string-append begin " \"" catch "/include\" )")))
|
|
|
|
|
(substitute* "cmake/Findopenssl.cmake"
|
|
|
|
|
(("(find_library\\( ssl_LIBRARY ssl ssleay32 HINTS ).*$" all begin)
|
|
|
|
|
(string-append begin " \"" openssl "/lib\" )"))
|
|
|
|
|
(("(find_library\\( crypto_LIBRARY crypto libeay32 HINTS ).*$" all begin)
|
|
|
|
|
(string-append begin " \"" openssl "/lib\" )"))
|
|
|
|
|
(("(find_path\\( ssl_INCLUDE openssl/ssl\\.h HINTS ).*$" all begin)
|
|
|
|
|
(string-append begin " \"" openssl "/include\" )")))))))))
|
|
|
|
|
(synopsis "Asynchronous RESTful functionality to C++11 applications")
|
|
|
|
|
(description "Restbed is a comprehensive and consistent programming
|
2019-01-11 13:44:51 -05:00
|
|
|
|
model for building applications that require seamless and secure
|
|
|
|
|
communication over HTTP.")
|
2021-03-30 08:16:01 -04:00
|
|
|
|
(home-page "https://github.com/Corvusoft/restbed")
|
|
|
|
|
(license license:agpl3+)))
|
2019-01-11 06:33:41 -05:00
|
|
|
|
|
2019-11-14 12:23:00 -05:00
|
|
|
|
(define-public restinio
|
|
|
|
|
(package
|
|
|
|
|
(name "restinio")
|
2021-03-30 08:16:21 -04:00
|
|
|
|
(version "0.6.13")
|
2019-11-14 12:23:00 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/Stiffstream/restinio")
|
2019-11-14 12:23:00 -05:00
|
|
|
|
(commit (string-append "v." version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-30 08:16:21 -04:00
|
|
|
|
"0gb0yc88hdzwm08zdiviay6s08q427za33kfbygib7bdzp2wr2dm"))))
|
2019-11-14 12:23:00 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs ; TODO: Need to force-keep references on some inputs, e.g. boost.
|
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
|
("catch2" ,catch-framework2)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("boost" ,boost)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("pcre2" ,pcre2)
|
|
|
|
|
("sobjectizer" ,sobjectizer)))
|
|
|
|
|
(propagated-inputs
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 01:57:27 -04:00
|
|
|
|
`(("asio" ,asio)
|
2019-12-11 15:18:43 -05:00
|
|
|
|
("fmt" ,fmt)
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 01:57:27 -04:00
|
|
|
|
("http-parser" ,http-parser)))
|
2019-11-14 12:23:00 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DRESTINIO_INSTALL=on")
|
|
|
|
|
#:tests? #f ; TODO: The tests are called from the root CMakelist, need RESTINIO_TEST=on.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'change-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "dev/restinio")
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://stiffstream.com/en/products/restinio.html")
|
|
|
|
|
(synopsis "C++14 library that gives you an embedded HTTP/Websocket server")
|
|
|
|
|
(description "RESTinio is a header-only C++14 library that gives you an embedded
|
|
|
|
|
HTTP/Websocket server. It is based on standalone version of ASIO
|
|
|
|
|
and targeted primarily for asynchronous processing of HTTP-requests.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2019-01-11 06:33:41 -05:00
|
|
|
|
(define-public opendht
|
|
|
|
|
(package
|
|
|
|
|
(name "opendht")
|
2021-03-30 08:16:32 -04:00
|
|
|
|
(version "2.2.0rc4") ;jami requires >= 2.2.0
|
2019-01-11 06:33:41 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/savoirfairelinux/opendht")
|
2019-01-11 06:33:41 -05:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-30 08:16:32 -04:00
|
|
|
|
"1wc0f6cnvnlmhxnx64nxqgsx93k4g7ljdaqjl40ml74jg3nqrzcl"))))
|
2019-10-25 19:35:09 -04:00
|
|
|
|
;; Since 2.0, the gnu-build-system does not seem to work anymore, upstream bug?
|
|
|
|
|
(build-system cmake-build-system)
|
2019-01-11 06:33:41 -05:00
|
|
|
|
(inputs
|
2020-08-01 23:39:48 -04:00
|
|
|
|
`(("argon2" ,argon2)
|
2021-03-30 08:16:32 -04:00
|
|
|
|
("nettle" ,nettle-3.7)
|
2019-01-11 06:33:41 -05:00
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("jsoncpp" ,jsoncpp)
|
2020-08-01 23:39:48 -04:00
|
|
|
|
("openssl" ,openssl) ;required for the DHT proxy
|
2019-12-11 15:18:43 -05:00
|
|
|
|
("fmt" ,fmt)))
|
2019-01-11 06:33:41 -05:00
|
|
|
|
(propagated-inputs
|
2020-08-01 23:39:48 -04:00
|
|
|
|
`(("gnutls" ,gnutls) ;included in opendht/crypto.h
|
2021-03-30 08:16:32 -04:00
|
|
|
|
("msgpack" ,msgpack) ;included in several installed headers
|
|
|
|
|
("restinio" ,restinio))) ;included in opendht/http.h
|
2019-01-11 06:33:41 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2020-08-01 23:39:48 -04:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2019-10-25 19:35:09 -04:00
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("cppunit" ,cppunit)))
|
2019-01-11 06:33:41 -05:00
|
|
|
|
(arguments
|
2019-10-25 19:35:09 -04:00
|
|
|
|
`(#:tests? #f ; Tests require network connection.
|
|
|
|
|
#:configure-flags
|
2021-03-30 08:16:32 -04:00
|
|
|
|
'(;;"-DOPENDHT_TESTS=on"
|
2019-10-25 19:35:09 -04:00
|
|
|
|
"-DOPENDHT_TOOLS=off"
|
|
|
|
|
"-DOPENDHT_PYTHON=off"
|
|
|
|
|
"-DOPENDHT_PROXY_SERVER=on"
|
|
|
|
|
"-DOPENDHT_PUSH_NOTIFICATIONS=on"
|
|
|
|
|
"-DOPENDHT_PROXY_SERVER_IDENTITY=on"
|
|
|
|
|
"-DOPENDHT_PROXY_CLIENT=on")))
|
2019-01-11 06:33:41 -05:00
|
|
|
|
(home-page "https://github.com/savoirfairelinux/opendht/")
|
|
|
|
|
(synopsis "Distributed Hash Table (DHT) library")
|
|
|
|
|
(description "OpenDHT is a Distributed Hash Table (DHT) library. It may
|
|
|
|
|
be used to manage peer-to-peer network connections as needed for real time
|
|
|
|
|
communication.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-02-12 11:39:50 -05:00
|
|
|
|
|
|
|
|
|
(define-public frrouting
|
|
|
|
|
(package
|
|
|
|
|
(name "frrouting")
|
2021-01-05 05:57:28 -05:00
|
|
|
|
(version "7.5")
|
2019-02-12 11:39:50 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/FRRouting/frr/releases/"
|
|
|
|
|
"download/frr-" version "/frr-" version
|
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-01-05 05:57:28 -05:00
|
|
|
|
"1a27wvxmc51sr0kchy0hjfpv19imlgrr3s9k48lik9k01g71yrdr"))))
|
2019-02-12 11:39:50 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("c-ares" ,c-ares)
|
|
|
|
|
("json-c" ,json-c)
|
2021-01-05 05:57:28 -05:00
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("libyang" ,libyang)
|
2019-02-12 11:39:50 -05:00
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("python-pytest" ,python-pytest)))
|
|
|
|
|
(home-page "https://frrouting.org/")
|
|
|
|
|
(synopsis "IP routing protocol suite")
|
|
|
|
|
(description "FRRouting (FRR) is an IP routing protocol suite which includes
|
|
|
|
|
protocol daemons for BGP, IS-IS, LDP, OSPF, PIM, and RIP. ")
|
|
|
|
|
(license license:gpl2+)))
|
2019-09-30 10:43:21 -04:00
|
|
|
|
|
|
|
|
|
(define-public iwd
|
|
|
|
|
(package
|
|
|
|
|
(name "iwd")
|
|
|
|
|
(version "0.21")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.kernel.org/pub/scm/network/wireless/iwd.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"001dikinsa6kshwscjbvwipavzwpqnpvx9fpshcn63gbvbhyd393"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("dbus" ,dbus)
|
|
|
|
|
("ell" ,ell)
|
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("asciidoc" ,asciidoc)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2020-04-01 19:22:23 -04:00
|
|
|
|
("libtool" ,libtool)
|
2019-09-30 10:43:21 -04:00
|
|
|
|
("pkgconfig" ,pkg-config)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(let ((dbus (assoc-ref %outputs "out")))
|
|
|
|
|
(list "--disable-systemd-service"
|
|
|
|
|
"--enable-external-ell"
|
|
|
|
|
"--enable-hwsim"
|
|
|
|
|
"--enable-tools"
|
|
|
|
|
"--enable-wired"
|
|
|
|
|
"--enable-docs"
|
|
|
|
|
"--localstatedir=/var"
|
|
|
|
|
(string-append "--with-dbus-datadir=" dbus "/share/")
|
|
|
|
|
(string-append "--with-dbus-busdir="
|
|
|
|
|
dbus "/share/dbus-1/system-services")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'bootstrap 'pre-bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.am"
|
|
|
|
|
;; Test disabled because it needs the kernel module
|
|
|
|
|
;; 'pkcs8_key_parser' loaded.
|
|
|
|
|
(("unit\\/test-eapol.*? ") "")
|
|
|
|
|
;; Don't try to 'mkdir /var'.
|
|
|
|
|
(("\\$\\(MKDIR_P\\) -m 700") "true"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://git.kernel.org/pub/scm/network/wireless/iwd.git/")
|
|
|
|
|
(synopsis "Internet Wireless Daemon")
|
|
|
|
|
(description "iwd is a wireless daemon for Linux that aims to replace WPA
|
|
|
|
|
Supplicant. It optimizes resource utilization by not depending on any external
|
|
|
|
|
libraries and instead utilizing features provided by the Linux kernel to the
|
|
|
|
|
maximum extent possible.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2019-10-15 13:14:16 -04:00
|
|
|
|
|
2021-01-05 05:57:27 -05:00
|
|
|
|
(define-public libyang
|
|
|
|
|
(package
|
|
|
|
|
(name "libyang")
|
|
|
|
|
(version "1.0.215")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/CESNET/libyang")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0mrs2ppmq77z8sbqgm2w0rl9bfgybd6bcxanakfww4chih6cy0dw"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DENABLE_BUILD_TESTS=ON" "-DENABLE_LYD_PRIV=ON")))
|
|
|
|
|
(propagated-inputs `(("pcre" ,pcre)))
|
|
|
|
|
(native-inputs `(("cmocka" ,cmocka)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://github.com/CESNET/libyang")
|
|
|
|
|
(synopsis "YANG data modelling language library")
|
|
|
|
|
(description "libyang is a YANG data modelling language parser and toolkit
|
|
|
|
|
written (and providing API) in C. Current implementation covers YANG 1.0 (RFC
|
|
|
|
|
6020) as well as YANG 1.1 (RFC 7950).")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2019-10-15 13:14:16 -04:00
|
|
|
|
(define-public batctl
|
|
|
|
|
(package
|
|
|
|
|
(name "batctl")
|
2020-11-01 08:22:05 -05:00
|
|
|
|
(version "2020.4")
|
2019-10-15 13:14:16 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://downloads.open-mesh.org/batman/releases/batman-adv-"
|
|
|
|
|
version "/batctl-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-11-01 08:22:05 -05:00
|
|
|
|
(base32 "05rrpfbpdhxn5zgdps849qls2ifis6a94cjryb60d4y1nc2n0d7w"))))
|
2019-10-15 13:14:16 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libnl" ,libnl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
;; Batctl only has a makefile. Thus we disable tests and
|
|
|
|
|
;; configuration, passing in a few make-flags.
|
|
|
|
|
#:phases (modify-phases %standard-phases (delete 'configure))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "PKG_CONFIG=" (assoc-ref %build-inputs "pkg-config")
|
|
|
|
|
"/bin/pkg-config")
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
,(string-append "CC=" (cc-for-target)))))
|
2019-10-15 13:14:16 -04:00
|
|
|
|
(home-page "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki")
|
|
|
|
|
(synopsis "Management tool for the mesh networking BATMAN protocol")
|
|
|
|
|
(description "This package provides a control tool for the
|
|
|
|
|
B.A.T.M.A.N. mesh networking routing protocol provided by the Linux kernel
|
|
|
|
|
module @code{batman-adv}, for Layer 2.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-11-02 15:11:51 -04:00
|
|
|
|
|
|
|
|
|
(define-public pagekite
|
|
|
|
|
(package
|
|
|
|
|
(name "pagekite")
|
2020-09-06 09:54:02 -04:00
|
|
|
|
(version "1.5.2.200725")
|
2019-11-02 15:11:51 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-11-26 14:43:15 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/pagekite/PyPagekite")
|
2019-11-26 14:43:15 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2019-11-02 15:11:51 -04:00
|
|
|
|
(sha256
|
2020-09-06 09:54:02 -04:00
|
|
|
|
(base32 "0lig1i42bn9isw848vnml5qhcaa04x1dr2hb075bm0a3439kv3rr"))))
|
2019-11-02 15:11:51 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2019-11-26 14:43:15 -05:00
|
|
|
|
`(#:phases
|
2019-11-02 15:11:51 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-man-page
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man (string-append out "/share/man")))
|
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append "PYTHONPATH=" (getenv "PYTHONPATH"))
|
|
|
|
|
"doc/pagekite.1")
|
|
|
|
|
(install-file "doc/pagekite.1" (string-append man "/man1"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
2019-11-26 14:43:15 -05:00
|
|
|
|
`(("python-six" ,python-six)
|
|
|
|
|
("python-socksipychain" ,python-socksipychain)))
|
2019-11-02 15:11:51 -04:00
|
|
|
|
(home-page "https://pagekite.net/")
|
|
|
|
|
(synopsis "Make localhost servers publicly visible")
|
|
|
|
|
(description
|
|
|
|
|
"PageKite implements a tunneled reverse proxy which makes it easy to make
|
|
|
|
|
a service (such as an HTTP or SSH server) on localhost visible to the wider
|
|
|
|
|
Internet, even behind NAT or restrictive firewalls. A managed front-end relay
|
|
|
|
|
service is available at @url{https://pagekite.net/}, or you can run your own.")
|
|
|
|
|
(license license:agpl3+)))
|
2019-12-01 11:32:17 -05:00
|
|
|
|
|
|
|
|
|
(define-public ipcalc
|
|
|
|
|
(package
|
|
|
|
|
(name "ipcalc")
|
|
|
|
|
(version "0.41")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://jodies.de/ipcalc-archive/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12if9sm8h2ac0pgwkw835cgyqjxm6h27k4kfn2vfas9krrqwbafx"))))
|
|
|
|
|
(inputs `(("perl" ,perl)
|
|
|
|
|
("tar" ,tar)
|
|
|
|
|
("gzip" ,gzip)
|
|
|
|
|
("tarball" ,source)))
|
|
|
|
|
(build-system trivial-build-system) ;no Makefile.PL
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(use-modules (srfi srfi-1))
|
|
|
|
|
(let* ((source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(perl (string-append (assoc-ref %build-inputs "perl")
|
|
|
|
|
"/bin"))
|
|
|
|
|
(tar (assoc-ref %build-inputs "tar"))
|
|
|
|
|
(gz (assoc-ref %build-inputs "gzip"))
|
|
|
|
|
(out (assoc-ref %outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append out "/share/doc/ipcalc")))
|
|
|
|
|
(setenv "PATH" (string-append gz "/bin"))
|
|
|
|
|
(invoke (string-append tar "/bin/tar") "xvf" source)
|
|
|
|
|
(chdir (string-append ,name "-" ,version))
|
|
|
|
|
|
|
|
|
|
(install-file "ipcalc" bin)
|
|
|
|
|
(patch-shebang (string-append bin "/ipcalc") (list perl))
|
|
|
|
|
#t))))
|
|
|
|
|
(synopsis "Simple IP network calculator")
|
|
|
|
|
(description "ipcalc takes an IP address and netmask and calculates the
|
|
|
|
|
resulting broadcast, network, Cisco wildcard mask, and host range. By giving
|
|
|
|
|
a second netmask, you can design subnets and supernets. It is also intended
|
|
|
|
|
to be a teaching tool and presents the subnetting results as
|
|
|
|
|
easy-to-understand binary values.")
|
|
|
|
|
(home-page "http://jodies.de/ipcalc")
|
|
|
|
|
(license license:gpl2+)))
|
2019-12-04 11:02:04 -05:00
|
|
|
|
|
2020-02-09 10:34:23 -05:00
|
|
|
|
(define-public tunctl
|
|
|
|
|
(package
|
|
|
|
|
(name "tunctl")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-02-09 19:00:42 -05:00
|
|
|
|
(uri (string-append "mirror://sourceforge/tunctl/tunctl/" version "/"
|
2020-02-09 10:34:23 -05:00
|
|
|
|
"tunctl-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1zsgn7w6l2zh2q0j6qaw8wsx981qcr536qlz1lgb3b5zqr66qama"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'bootstrap) ;there is no configure.ac file
|
|
|
|
|
(delete 'configure) ;there is no configure script
|
|
|
|
|
(delete 'check) ;there are no tests
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(invoke "make" "tunctl")))
|
|
|
|
|
;; TODO: Requires docbook2x to generate man page from SGML.
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(install-file "tunctl" bin))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "http://tunctl.sourceforge.net")
|
|
|
|
|
(synopsis "Utility to set up and maintain TUN/TAP network interfaces")
|
|
|
|
|
(description "Tunctl is used to set up and maintain persistent TUN/TAP
|
|
|
|
|
network interfaces, enabling user applications to simulate network traffic.
|
|
|
|
|
Such interfaces are useful for VPN software, virtualization, emulation,
|
|
|
|
|
simulation, and a number of other applications.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2020-03-17 11:04:51 -04:00
|
|
|
|
(define-public wol
|
|
|
|
|
(package
|
|
|
|
|
(name "wol")
|
|
|
|
|
(version "0.7.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/wake-on-lan/wol/"
|
|
|
|
|
version "/wol-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "08i6l5lr14mh4n3qbmx6kyx7vjqvzdnh3j9yfvgjppqik2dnq270"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://sourceforge.net/projects/wake-on-lan/")
|
|
|
|
|
(synopsis "Implements Wake On LAN functionality in a small program")
|
|
|
|
|
(description "Tool to send a magic packet to wake another host on the
|
|
|
|
|
network. This must be enabled on the target host, usually in the BIOS.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2019-12-04 11:02:04 -05:00
|
|
|
|
(define-public vde2
|
|
|
|
|
(package
|
|
|
|
|
(name "vde2")
|
|
|
|
|
(version "2.3.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri "mirror://sourceforge/vde/vde2/2.3.2/vde2-2.3.2.tar.gz")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:parallel-build? #f)) ; Build fails if #t.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("libpcap" ,libpcap)
|
|
|
|
|
("openssl" ,openssl-1.0))) ; Build fails with 1.1.
|
|
|
|
|
(home-page "https://github.com/virtualsquare/vde-2")
|
|
|
|
|
(synopsis "Virtual Distributed Ethernet")
|
|
|
|
|
(description "VDE is a set of programs to provide virtual software-defined
|
|
|
|
|
Ethernet network interface controllers across multiple virtual or
|
|
|
|
|
physical, local or remote devices. The VDE architecture provides
|
|
|
|
|
virtual counterparts to hardware components such as switches and
|
|
|
|
|
cables.")
|
|
|
|
|
(license (list license:gpl2
|
|
|
|
|
license:lgpl2.1 ; libvdeplug
|
|
|
|
|
(license:non-copyleft ; slirpvde
|
|
|
|
|
"file://COPYING.slirpvde"
|
|
|
|
|
"See COPYING.slirpvde in the distribution.")))))
|
2020-02-13 07:49:09 -05:00
|
|
|
|
|
|
|
|
|
(define-public haproxy
|
|
|
|
|
(package
|
|
|
|
|
(name "haproxy")
|
2020-07-01 11:37:00 -04:00
|
|
|
|
(version "2.1.7")
|
2020-02-13 07:49:09 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.haproxy.org/download/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/src/haproxy-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-01 11:37:00 -04:00
|
|
|
|
"0fd3c1znid5a9w3gcf77b85hm2a2558w9s02c4b7xzkmivqnqbir"))))
|
2020-02-13 07:49:09 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "PREFIX=" out)
|
|
|
|
|
(string-append "DOCDIR=" out "/share/" ,name)
|
|
|
|
|
"TARGET=linux-glibc"
|
|
|
|
|
"USE_LUA=1"
|
|
|
|
|
"USE_OPENSSL=1"
|
|
|
|
|
"USE_ZLIB=1"
|
|
|
|
|
"USE_PCRE_2=1"))
|
|
|
|
|
#:tests? #f ; there are only regression tests, using varnishtest
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lua" ,lua)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("pcre2" ,pcre2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://www.haproxy.org/")
|
|
|
|
|
(synopsis "Reliable, high performance TCP/HTTP load balancer")
|
|
|
|
|
(description "HAProxy is a free, very fast and reliable solution offering
|
|
|
|
|
high availability, load balancing, and proxying for TCP and HTTP-based
|
|
|
|
|
applications. It is particularly suited for web sites crawling under very
|
|
|
|
|
high loads while needing persistence or Layer7 processing. Supporting tens of
|
|
|
|
|
thousands of connections is clearly realistic with today's hardware.")
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:lgpl2.1
|
|
|
|
|
license:lgpl2.1+))))
|
2020-05-16 04:28:20 -04:00
|
|
|
|
|
|
|
|
|
(define-public lldpd
|
|
|
|
|
(package
|
|
|
|
|
(name "lldpd")
|
2021-05-02 16:58:09 -04:00
|
|
|
|
(version "1.0.11")
|
2020-05-16 04:28:20 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://media.luffy.cx/files/lldpd/lldpd-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-05-02 16:58:09 -04:00
|
|
|
|
(base32 "1r265ns6fh04xwrzj06p2l7kl5rkkns0cdawp1zwpvxs1xq1a7dm"))
|
2020-05-16 04:28:20 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Drop bundled library.
|
|
|
|
|
(delete-file-recursively "libevent")
|
|
|
|
|
#t))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"--with-privsep-user=nobody"
|
|
|
|
|
"--with-privsep-group=nogroup"
|
|
|
|
|
"--localstatedir=/var"
|
|
|
|
|
"--enable-pie"
|
2020-11-04 17:36:21 -05:00
|
|
|
|
"--disable-static"
|
2020-05-16 04:28:20 -04:00
|
|
|
|
"--without-embedded-libevent"
|
|
|
|
|
(string-append "--with-systemdsystemunitdir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/systemd/system"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libevent" ,libevent)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://vincentbernat.github.io/lldpd/")
|
|
|
|
|
(synopsis "Locate neighbors of your network equipment")
|
|
|
|
|
(description
|
|
|
|
|
"The @dfn{Link Layer Discovery Protocol} (LLDP) is an industry standard
|
|
|
|
|
protocol designed to supplant proprietary Link-Layer protocols such as EDP or
|
|
|
|
|
CDP. The goal of LLDP is to provide an inter-vendor compatible mechanism to
|
|
|
|
|
deliver Link-Layer notifications to adjacent network devices. @code{lldpd} is
|
|
|
|
|
an implementation of LLDP. It also supports some proprietary protocols.")
|
|
|
|
|
(license license:isc)))
|
2020-05-31 20:37:03 -04:00
|
|
|
|
|
|
|
|
|
(define-public hashcash
|
|
|
|
|
(package
|
|
|
|
|
(name "hashcash")
|
|
|
|
|
(version "1.22")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.hashcash.org/source/hashcash-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15kqaimwb2y8wvzpn73021bvay9mz1gqqfc40gk4hj6f84nz34h1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list (string-append "CC=" ,(cc-for-target)))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; No tests available.
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((outdir (assoc-ref outputs "out"))
|
|
|
|
|
(bindir (string-append outdir "/bin"))
|
|
|
|
|
(mandir (string-append outdir "/share/man/man1"))
|
|
|
|
|
(docdir (string-append outdir "/share/doc/hashcash-" ,version)))
|
|
|
|
|
;; Install manually, as we don't need the `sha1' binary
|
|
|
|
|
(install-file "hashcash" bindir)
|
|
|
|
|
(install-file "hashcash.1" mandir)
|
|
|
|
|
(install-file "README" docdir)
|
|
|
|
|
(install-file "LICENSE" docdir)
|
|
|
|
|
(install-file "CHANGELOG" docdir)
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://www.hashcash.org/")
|
|
|
|
|
(synopsis "Denial-of-service countermeasure")
|
|
|
|
|
(description "Hashcash is a proof-of-work algorithm, which has been used
|
|
|
|
|
as a denial-of-service countermeasure technique in a number of systems.
|
|
|
|
|
|
|
|
|
|
A hashcash stamp constitutes a proof-of-work which takes a parametrizable
|
|
|
|
|
amount of work to compute for the sender. The recipient can verify received
|
|
|
|
|
hashcash stamps efficiently.
|
|
|
|
|
|
|
|
|
|
This package contains a command-line tool for computing and verifying hashcash
|
|
|
|
|
stamps.")
|
|
|
|
|
(license license:public-domain)))
|
2020-09-07 06:54:16 -04:00
|
|
|
|
|
|
|
|
|
(define-public nbd
|
|
|
|
|
(package
|
|
|
|
|
(name "nbd")
|
2021-01-17 17:44:23 -05:00
|
|
|
|
(version "3.21")
|
2020-09-07 06:54:16 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2021-01-17 17:44:23 -05:00
|
|
|
|
(uri (string-append "mirror://sourceforge/nbd/nbd/" version
|
|
|
|
|
"/nbd-" version ".tar.xz"))
|
2020-09-07 06:54:16 -04:00
|
|
|
|
(sha256
|
2021-01-17 17:44:23 -05:00
|
|
|
|
(base32 "1ydylvvayi4w2d08flji9q03sl7y8hn0c26vsay3nwwikprqls77"))))
|
2020-09-07 06:54:16 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(home-page "https://nbd.sourceforge.io/")
|
|
|
|
|
(synopsis "NBD client and server")
|
|
|
|
|
(description "This package provides the NBD (Network Block Devices)
|
|
|
|
|
client and server. It allows you to use remote block devices over a TCP/IP
|
|
|
|
|
network.")
|
|
|
|
|
(license license:gpl2)))
|
2020-10-17 14:57:57 -04:00
|
|
|
|
|
|
|
|
|
(define-public yggdrasil
|
|
|
|
|
(package
|
|
|
|
|
(name "yggdrasil")
|
2021-03-23 08:10:58 -04:00
|
|
|
|
(version "0.3.16")
|
2020-10-17 14:57:57 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/yggdrasil-network/yggdrasil-go")
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-03-23 08:10:58 -04:00
|
|
|
|
(base32 "0vyd7a333hwn6j1lv1g9sicw74a4qk982bsi3cfdhjlv6hsjwmil"))
|
2020-10-17 14:57:57 -04:00
|
|
|
|
(patches (search-patches "yggdrasil-extra-config.patch"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:import-path "github.com/yggdrasil-network/yggdrasil-go"
|
|
|
|
|
;; TODO: figure out how tests are run
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:install-source? #f
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (c)
|
|
|
|
|
(invoke
|
|
|
|
|
"go" "build" "-v" "-ldflags=-s -w"
|
|
|
|
|
(string-append
|
|
|
|
|
"github.com/yggdrasil-network/yggdrasil-go/cmd/" c)))
|
|
|
|
|
(list "yggdrasil" "yggdrasilctl"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin/"))
|
|
|
|
|
(doc (string-append out "/share/doc/yggdrasil/")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (f)
|
|
|
|
|
(install-file f bin))
|
|
|
|
|
(list "yggdrasil" "yggdrasilctl"))
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
(copy-recursively
|
|
|
|
|
(string-append
|
|
|
|
|
"src/github.com/yggdrasil-network/yggdrasil-go/"
|
|
|
|
|
"doc/yggdrasil-network.github.io")
|
|
|
|
|
doc))
|
|
|
|
|
#t)))))
|
|
|
|
|
;; https://github.com/kardianos/minwinsvc is windows only
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("go-github-com-arceliar-phony" ,go-github-com-arceliar-phony)
|
|
|
|
|
("go-github-com-cheggaaa-pb" ,go-github-com-cheggaaa-pb)
|
|
|
|
|
("go-github-com-gologme-log" ,go-github-com-gologme-log)
|
|
|
|
|
("go-github-com-hashicorp-go-syslog" ,go-github-com-hashicorp-go-syslog)
|
|
|
|
|
("go-github-com-hjson-hjson-go" ,go-github-com-hjson-hjson-go)
|
|
|
|
|
("go-github-com-kardianos-minwinsvc" ,go-github-com-kardianos-minwinsvc)
|
|
|
|
|
("go-github-com-mitchellh-mapstructure"
|
|
|
|
|
,go-github-com-mitchellh-mapstructure)
|
|
|
|
|
("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
|
|
|
|
|
("go-golang-org-x-net" ,go-golang-org-x-net)
|
|
|
|
|
("go-golang-org-x-text" ,go-golang-org-x-text)
|
|
|
|
|
("go-golang-zx2c4-com-wireguard" ,go-golang-zx2c4-com-wireguard)
|
|
|
|
|
("go-netlink" ,go-netlink)
|
|
|
|
|
("go-netns" ,go-netns)))
|
|
|
|
|
(home-page "https://yggdrasil-network.github.io/blog.html")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Experiment in scalable routing as an encrypted IPv6 overlay network")
|
|
|
|
|
(description
|
|
|
|
|
"Yggdrasil is an early-stage implementation of a fully end-to-end encrypted
|
|
|
|
|
IPv6 network. It is lightweight, self-arranging, supported on multiple
|
|
|
|
|
platforms and allows pretty much any IPv6-capable application to communicate
|
|
|
|
|
securely with other Yggdrasil nodes. Yggdrasil does not require you to have
|
|
|
|
|
IPv6 Internet connectivity - it also works over IPv4.")
|
|
|
|
|
(license
|
|
|
|
|
;; As a special exception to the GNU Lesser General Public License
|
|
|
|
|
;; version 3 ("LGPL3"), the copyright holders of this Library give you
|
|
|
|
|
;; permission to convey to a third party a Combined Work that links
|
|
|
|
|
;; statically or dynamically to this Library without providing any Minimal
|
|
|
|
|
;; Corresponding Source or Minimal Application Code as set out in 4d or
|
|
|
|
|
;; providing the installation information set out in section 4e, provided
|
|
|
|
|
;; that you comply with the other provisions of LGPL3 and provided that you
|
|
|
|
|
;; meet, for the Application the terms and conditions of the license(s)
|
|
|
|
|
;; which apply to the Application. Except as stated in this special
|
|
|
|
|
;; exception, the provisions of LGPL3 will continue to comply in full to
|
|
|
|
|
;; this Library. If you modify this Library, you may apply this exception
|
|
|
|
|
;; to your version of this Library, but you are not obliged to do so. If
|
|
|
|
|
;; you do not wish to do so, delete this exception statement from your
|
|
|
|
|
;; version. This exception does not (and cannot) modify any license terms
|
|
|
|
|
;; which apply to the Application, with which you must still comply
|
|
|
|
|
license:lgpl3)))
|