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

377 lines
15 KiB

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.
6 years ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
  3. ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
  4. ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
  5. ;;; Copyright © 2015 Stefan Reichör <stefan@xsteve.at>
  6. ;;; Copyright © 2016 Raimon Grau <raimonster@gmail.com>
  7. ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
  8. ;;; Copyright 2016 John Darrington <jmd@gnu.org>
  9. ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
  10. ;;;
  11. ;;; This file is part of GNU Guix.
  12. ;;;
  13. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  14. ;;; under the terms of the GNU General Public License as published by
  15. ;;; the Free Software Foundation; either version 3 of the License, or (at
  16. ;;; your option) any later version.
  17. ;;;
  18. ;;; GNU Guix is distributed in the hope that it will be useful, but
  19. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  20. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  21. ;;; GNU General Public License for more details.
  22. ;;;
  23. ;;; You should have received a copy of the GNU General Public License
  24. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  25. (define-module (gnu packages networking)
  26. #:use-module ((guix licenses) #:prefix license:)
  27. #:use-module (guix packages)
  28. #:use-module (guix download)
  29. #:use-module (guix build-system glib-or-gtk)
  30. #:use-module (guix build-system gnu)
  31. #:use-module (gnu packages admin)
  32. #:use-module (gnu packages adns)
  33. #:use-module (gnu packages audio)
  34. #:use-module (gnu packages bison)
  35. #:use-module (gnu packages check)
  36. #:use-module (gnu packages compression)
  37. #:use-module (gnu packages flex)
  38. #:use-module (gnu packages gnupg)
  39. #:use-module (gnu packages gtk)
  40. #:use-module (gnu packages linux)
  41. #:use-module (gnu packages lua)
  42. #:use-module (gnu packages mit-krb5)
  43. #:use-module (gnu packages ncurses)
  44. #:use-module (gnu packages perl)
  45. #:use-module (gnu packages pkg-config)
  46. #:use-module (gnu packages python)
  47. #:use-module (gnu packages tls))
  48. (define-public macchanger
  49. (package
  50. (name "macchanger")
  51. (version "1.6.0")
  52. (source (origin
  53. (method url-fetch)
  54. (uri (string-append "mirror://gnu/"
  55. name "/" name "-" version ".tar.gz"))
  56. (sha256
  57. (base32
  58. "1xsiivjjyhqcs6dyjcshrnxlgypvyfzacjz7gcjgl88xiw9lylri"))))
  59. (build-system gnu-build-system)
  60. (home-page "http://www.gnu.org/software/macchanger")
  61. (synopsis "Display or change the MAC address of networking devices")
  62. (description "GNU MAC Changer is a utility for viewing and changing MAC
  63. addresses of networking devices. New addresses may be set explicitly or
  64. randomly. They can include MAC addresses of the same or other hardware vendors
  65. or, more generally, MAC addresses of the same category of hardware.")
  66. (license license:gpl2+)))
  67. (define-public miredo
  68. (package
  69. (name "miredo")
  70. (version "1.2.6")
  71. (source (origin
  72. (method url-fetch)
  73. (uri (string-append "http://www.remlab.net/files/miredo/miredo-"
  74. version ".tar.xz"))
  75. (sha256
  76. (base32
  77. "0j9ilig570snbmj48230hf7ms8kvcwi2wblycqrmhh85lksd49ps"))))
  78. (build-system gnu-build-system)
  79. (arguments
  80. '(#:phases
  81. (modify-phases %standard-phases
  82. ;; The checkconf test in src/ requires network access.
  83. (add-before
  84. 'check 'disable-checkconf-test
  85. (lambda _
  86. (substitute* "src/Makefile"
  87. (("^TESTS = .*") "TESTS = \n")))))))
  88. (home-page "http://www.remlab.net/miredo/")
  89. (synopsis "Teredo IPv6 tunneling software")
  90. (description
  91. "Miredo is an implementation (client, relay, server) of the Teredo
  92. specification, which provides IPv6 Internet connectivity to IPv6 enabled hosts
  93. residing in IPv4-only networks, even when they are behind a NAT device.")
  94. (license license:gpl2+)))
  95. (define-public socat
  96. (package
  97. (name "socat")
  98. (version "1.7.3.1")
  99. (source (origin
  100. (method url-fetch)
  101. (uri (string-append
  102. "http://www.dest-unreach.org/socat/download/socat-"
  103. version ".tar.bz2"))
  104. (sha256
  105. (base32
  106. "1apvi7sahcl44arnq1ad2y6lbfqnmvx7nhz9i3rkk0f382anbnnj"))))
  107. (build-system gnu-build-system)
  108. (arguments '(#:tests? #f)) ;no 'check' phase
  109. (inputs `(("openssl" ,openssl)))
  110. (home-page "http://www.dest-unreach.org/socat/")
  111. (synopsis
  112. "Open bidirectional communication channels from the command line")
  113. (description
  114. "socat is a relay for bidirectional data transfer between two independent
  115. data channels---files, pipes, devices, sockets, etc. It can create
  116. \"listening\" sockets, named pipes, and pseudo terminals.
  117. socat can be used, for instance, as TCP port forwarder, as a shell interface
  118. to UNIX sockets, IPv6 relay, for redirecting TCP oriented programs to a serial
  119. line, to logically connect serial lines on different computers, or to
  120. establish a relatively secure environment (su and chroot) for running client
  121. or server shell scripts with network connections.")
  122. (license license:gpl2)))
  123. (define-public zeromq
  124. (package
  125. (name "zeromq")
  126. (version "4.0.7")
  127. (source (origin
  128. (method url-fetch)
  129. (uri (string-append "http://download.zeromq.org/zeromq-"
  130. version ".tar.gz"))
  131. (sha256
  132. (base32
  133. "00vvwhgcdr1lva2pavicvy92iad0hj8cf71n702hv6blw1kjj2z0"))))
  134. (build-system gnu-build-system)
  135. (home-page "http://zeromq.org")
  136. (synopsis "Library for message-based applications")
  137. (description
  138. "The 0MQ lightweight messaging kernel is a library which extends the
  139. standard socket interfaces with features traditionally provided by specialized
  140. messaging middle-ware products. 0MQ sockets provide an abstraction of
  141. asynchronous message queues, multiple messaging patterns, message
  142. filtering (subscriptions), seamless access to multiple transport protocols and
  143. more.")
  144. (license license:lgpl3+)))
  145. (define-public librdkafka
  146. (package
  147. (name "librdkafka")
  148. (version "0.9.1")
  149. (source (origin
  150. (method url-fetch)
  151. (uri (string-append
  152. "https://github.com/edenhill/librdkafka/archive/"
  153. version ".tar.gz"))
  154. (file-name (string-append name "-" version ".tar.gz"))
  155. (sha256
  156. (base32
  157. "10ldx7g7ymmg17snzx78vy4n8ma1rjx0agzi34g15j2fk867xmas"))))
  158. (build-system gnu-build-system)
  159. (arguments
  160. '(#:phases
  161. (modify-phases %standard-phases
  162. (replace 'configure
  163. ;; its custom configure script doesn't understand 'CONFIG_SHELL'.
  164. (lambda* (#:key outputs #:allow-other-keys)
  165. (let ((out (assoc-ref outputs "out")))
  166. ;; librdkafka++.so lacks RUNPATH for librdkafka.so
  167. (setenv "LDFLAGS"
  168. (string-append "-Wl,-rpath=" out "/lib"))
  169. (zero? (system* "./configure"
  170. (string-append "--prefix=" out)))))))))
  171. (native-inputs
  172. `(("python" ,python-wrapper)))
  173. (propagated-inputs
  174. `(("zlib" ,zlib))) ; in the Libs.private field of rdkafka.pc
  175. (home-page "https://github.com/edenhill/librdkafka")
  176. (synopsis "Apache Kafka C/C++ client library")
  177. (description
  178. "librdkafka is a C library implementation of the Apache Kafka protocol,
  179. containing both Producer and Consumer support.")
  180. (license license:bsd-2)))
  181. (define-public libndp
  182. (package
  183. (name "libndp")
  184. (version "1.6")
  185. (source (origin
  186. (method url-fetch)
  187. (uri (string-append "http://libndp.org/files/"
  188. name "-" version ".tar.gz"))
  189. (sha256
  190. (base32
  191. "03mczwrxqbp54msafxzzyhaazkvjdwm2kipjkrb5xg8kw22glz8c"))))
  192. (build-system gnu-build-system)
  193. (home-page "http://libndp.org/")
  194. (synopsis "Library for Neighbor Discovery Protocol")
  195. (description
  196. "libndp contains a library which provides a wrapper for IPv6 Neighbor
  197. Discovery Protocol. It also provides a tool named ndptool for sending and
  198. receiving NDP messages.")
  199. (license license:lgpl2.1+)))
  200. (define-public ethtool
  201. (package
  202. (name "ethtool")
  203. (version "4.0")
  204. (source (origin
  205. (method url-fetch)
  206. (uri (string-append "mirror://kernel.org/software/network/"
  207. name "/" name "-" version ".tar.xz"))
  208. (sha256
  209. (base32
  210. "1zzcwn6pk8qfasalqkxg8vrhacksfa50xsq4xifw7yfjqyn8fj4h"))))
  211. (build-system gnu-build-system)
  212. (home-page "https://www.kernel.org/pub/software/network/ethtool/")
  213. (synopsis "Display or change Ethernet device settings")
  214. (description
  215. "ethtool can be used to query and change settings such as speed,
  216. auto-negotiation and checksum offload on many network devices, especially
  217. Ethernet devices.")
  218. (license license:gpl2)))
  219. (define-public ifstatus
  220. (package
  221. (name "ifstatus")
  222. (version "1.1.0")
  223. (source (origin
  224. (method url-fetch)
  225. (uri (string-append "mirror://sourceforge/ifstatus/ifstatus-v"
  226. version ".tar.gz"))
  227. (sha256
  228. (base32
  229. "045cbsq9ps32j24v8y5hpyqxnqn9mpaf3mgvirlhgpqyb9jsia0c"))
  230. (modules '((guix build utils)))
  231. (snippet
  232. '(substitute* "Main.h"
  233. (("#include <stdio.h>")
  234. "#include <stdio.h>\n#include <stdlib.h>")))))
  235. (build-system gnu-build-system)
  236. (arguments
  237. '(#:tests? #f ; no "check" target
  238. #:phases
  239. (modify-phases %standard-phases
  240. (delete 'configure) ; no configure script
  241. (replace 'install
  242. (lambda* (#:key outputs #:allow-other-keys)
  243. (let* ((out (assoc-ref outputs "out"))
  244. (bin (string-append out "/bin")))
  245. (mkdir-p bin)
  246. (copy-file "ifstatus"
  247. (string-append bin "/ifstatus"))))))))
  248. (inputs `(("ncurses" ,ncurses)))
  249. (home-page "http://ifstatus.sourceforge.net/graphic/index.html")
  250. (synopsis "Text based network interface status monitor")
  251. (description
  252. "IFStatus is a simple, easy-to-use program for displaying commonly
  253. needed/wanted real-time traffic statistics of multiple network
  254. interfaces, with a simple and efficient view on the command line. It is
  255. intended as a substitute for the PPPStatus and EthStatus projects.")
  256. (license license:gpl2+)))
  257. (define-public nload
  258. (package
  259. (name "nload")
  260. (version "0.7.4")
  261. (source (origin
  262. (method url-fetch)
  263. (uri (string-append "mirror://sourceforge/nload/nload-"
  264. version ".tar.gz"))
  265. (sha256
  266. (base32
  267. "1rb9skch2kgqzigf19x8bzk211jdfjfdkrcvaqyj89jy2pkm3h61"))))
  268. (build-system gnu-build-system)
  269. (inputs `(("ncurses" ,ncurses)))
  270. (home-page "http://www.roland-riegel.de/nload/")
  271. (synopsis "Realtime console network usage monitor")
  272. (description
  273. "Nload is a console application which monitors network traffic and
  274. bandwidth usage in real time. It visualizes the in- and outgoing traffic using
  275. two graphs and provides additional info like total amount of transfered data
  276. and min/max network usage.")
  277. (license license:gpl2+)))
  278. (define-public iodine
  279. (package
  280. (name "iodine")
  281. (version "0.7.0")
  282. (source (origin
  283. (method url-fetch)
  284. (uri (string-append "http://code.kryo.se/" name "/"
  285. name "-" version ".tar.gz"))
  286. (sha256
  287. (base32
  288. "0gh17kcxxi37k65zm4gqsvbk3aw7yphcs3c02pn1c4s2y6n40axd"))))
  289. (build-system gnu-build-system)
  290. (arguments
  291. '(#:phases
  292. (modify-phases %standard-phases
  293. (delete 'configure)
  294. (add-before 'check 'delete-failing-tests
  295. ;; Avoid https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802105
  296. (lambda _
  297. (substitute* "tests/common.c"
  298. (("tcase_add_test\\(tc, \
  299. test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);")
  300. "")))))
  301. #:make-flags (list "CC=gcc"
  302. (string-append "prefix=" (assoc-ref %outputs "out")))
  303. #:test-target "test"))
  304. (inputs `(("zlib" ,zlib)))
  305. (native-inputs `(("check" ,check)
  306. ("pkg-config" ,pkg-config)))
  307. (home-page "http://code.kryo.se/iodine/")
  308. (synopsis "Tunnel IPv4 data through a DNS server")
  309. (description "Iodine tunnels IPv4 data through a DNS server. This
  310. can be useful in different situations where internet access is firewalled, but
  311. DNS queries are allowed. The bandwidth is asymmetrical, with limited upstream
  312. and up to 1 Mbit/s downstream.")
  313. ;; src/md5.[ch] is released under the zlib license
  314. (license (list license:isc license:zlib))))
  315. (define-public wireshark
  316. (package
  317. (name "wireshark")
  318. (version "2.0.4")
  319. (synopsis "Network traffic analyzer")
  320. (source
  321. (origin
  322. (method url-fetch)
  323. (uri (string-append "https://www.wireshark.org/download/src/wireshark-"
  324. version ".tar.bz2"))
  325. (sha256
  326. (base32
  327. "19g11m8m8qd7dkcvcb27lyppklg608d9ap7wr3mr88clm4nwiacy"))))
  328. (build-system glib-or-gtk-build-system)
  329. (inputs `(("bison" ,bison)
  330. ("c-ares" ,c-ares)
  331. ("flex" ,flex)
  332. ("gnutls" ,gnutls)
  333. ("gtk+" ,gtk+)
  334. ("libcap" ,libcap)
  335. ("libgcrypt" ,libgcrypt)
  336. ("libnl" ,libnl)
  337. ("libpcap" ,libpcap)
  338. ("lua" ,lua)
  339. ("krb5" ,mit-krb5)
  340. ("openssl" ,openssl)
  341. ("portaudio" ,portaudio)
  342. ("sbc" ,sbc)
  343. ("zlib" ,zlib)))
  344. (native-inputs `(("perl" ,perl)
  345. ("pkg-config" ,pkg-config)
  346. ("python" ,python-wrapper)))
  347. (arguments
  348. `(#:configure-flags
  349. (list (string-append "--with-c-ares=" (assoc-ref %build-inputs "c-ares"))
  350. (string-append "--with-krb5=" (assoc-ref %build-inputs "krb5"))
  351. (string-append "--with-libcap=" (assoc-ref %build-inputs "libcap"))
  352. (string-append "--with-lua=" (assoc-ref %build-inputs "lua"))
  353. (string-append "--with-pcap=" (assoc-ref %build-inputs "libpcap"))
  354. (string-append "--with-portaudio="
  355. (assoc-ref %build-inputs "portaudio"))
  356. (string-append "--with-sbc=" (assoc-ref %build-inputs "sbc"))
  357. (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl"))
  358. (string-append "--with-zlib=" (assoc-ref %build-inputs "zlib"))
  359. "--without-qt")))
  360. (description "Wireshark is a network protocol analyzer, or @dfn{packet
  361. sniffer}, that lets you capture and interactively browse the contents of
  362. network frames.")
  363. (license license:gpl2+)
  364. (home-page "https://www.wireshark.org/")))