[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/104: gnu: Add lldpd.
From: |
guix-commits |
Subject: |
45/104: gnu: Add lldpd. |
Date: |
Sun, 17 May 2020 11:36:36 -0400 (EDT) |
nckx pushed a commit to branch core-updates
in repository guix.
commit c3a30f78e55826262bf065d337ece0045d648177
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Sat May 16 10:28:20 2020 +0200
gnu: Add lldpd.
* gnu/packages/networking.scm (lldpd): New variable.
---
gnu/packages/networking.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 49 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 54e7163..65a9417 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2017, 2018 Ludovic Courtès <address@hidden>
-;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2015, 2016, 2017, 2018, 2020 Ricardo Wurmus <address@hidden>
;;; Copyright © 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2015, 2016, 2017 Stefan Reichör <address@hidden>
;;; Copyright © 2016 Raimon Grau <address@hidden>
@@ -94,6 +94,7 @@
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages libidn)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
@@ -3137,3 +3138,50 @@ thousands of connections is clearly realistic with
today's hardware.")
(license (list license:gpl2+
license:lgpl2.1
license:lgpl2.1+))))
+
+(define-public lldpd
+ (package
+ (name "lldpd")
+ (version "1.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://media.luffy.cx/files/lldpd/lldpd-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "16fbqrs3l976gdslx647nds8x7sz4h5h3h4l4yxzrayvyh9b5lrd"))
+ (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"
+ "--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)))
- 42/104: gnu: Add rawdog., (continued)
- 42/104: gnu: Add rawdog., guix-commits, 2020/05/17
- 43/104: gnu: Add openjdk13., guix-commits, 2020/05/17
- 44/104: gnu: Add openjdk14., guix-commits, 2020/05/17
- 47/104: gnu: flowee: Update to 2020.03.3., guix-commits, 2020/05/17
- 48/104: gnu: wine-staging-patchset-data: Update to 5.8., guix-commits, 2020/05/17
- 51/104: gnu: Don't use NAME in (gnu packages suckless) URIs., guix-commits, 2020/05/17
- 53/104: gnu: fortify-headers: Update to 1.1., guix-commits, 2020/05/17
- 55/104: gnu: Support cross-gccs in (gnu packages suckless)., guix-commits, 2020/05/17
- 60/104: gnu: youtube-dl: Update to 2020.05.08., guix-commits, 2020/05/17
- 62/104: etc: Add a systemd unit to bind-mount @storedir@ read-only., guix-commits, 2020/05/17
- 45/104: gnu: Add lldpd.,
guix-commits <=
- 50/104: gnu: lchat: Update to 0.0.0-4.e3b64e6., guix-commits, 2020/05/17
- 58/104: gnu: utf8proc: Update to 2.5.0., guix-commits, 2020/05/17
- 61/104: gnu: z3: Update to 4.8.8., guix-commits, 2020/05/17
- 71/104: gnu: gnome-shell-extension-dash-to-dock: Update to 67., guix-commits, 2020/05/17
- 56/104: gnu: Order (gnu packase suckless) module imports., guix-commits, 2020/05/17
- 59/104: gnu: console-setup: Update to 1.195., guix-commits, 2020/05/17
- 54/104: gnu: libutf: Use GIT- helpers., guix-commits, 2020/05/17
- 57/104: gnu: utf8proc: Factor out UNICODE_VERSION., guix-commits, 2020/05/17
- 64/104: gnu: bap: Update to 2.0.0., guix-commits, 2020/05/17
- 65/104: gnu: Add java-picocli., guix-commits, 2020/05/17