summaryrefslogtreecommitdiff
path: root/gnu/packages/networking.scm
diff options
context:
space:
mode:
authorDouglas Deslauriers <Douglas.Deslauriers@vector.com>2026-06-05 17:00:59 -0400
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-06-30 22:29:57 +0100
commitc3f461e24803c4af106fc446bad209c23fbe40d5 (patch)
tree95f77da3313df219ce4f5173df8c3da1d3896af7 /gnu/packages/networking.scm
parent0a137caf94d34bbcbdc4a9c8deff5b2c59097d8a (diff)
gnu: Add libdnet.
* gnu/packages/networking.scm (libdnet): New variable. Merges: guix/guix!9187 Reviewed-by: Sughosha <sughosha@disroot.org> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r--gnu/packages/networking.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index f3bec1efddb..4773f19ca25 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -73,6 +73,7 @@
73;;; Copyright © 2025 Jared Klingenberger <jkling@noreply.codeberg.org> 73;;; Copyright © 2025 Jared Klingenberger <jkling@noreply.codeberg.org>
74;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu> 74;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu>
75;;; Copyright © 2026 bdunahu <bdunahu@operationnull.com> 75;;; Copyright © 2026 bdunahu <bdunahu@operationnull.com>
76;;; Copyright © 2026 Douglas Deslauriers <Douglas.Deslauriers@vector.com>
76;;; 77;;;
77;;; This file is part of GNU Guix. 78;;; This file is part of GNU Guix.
78;;; 79;;;
@@ -589,6 +590,50 @@ Android, and ChromeOS.")
589 (modify-inputs (package-inputs libcamera-minimal) 590 (modify-inputs (package-inputs libcamera-minimal)
590 (append libevent libtiff qtbase))))) 591 (append libevent libtiff qtbase)))))
591 592
593(define-public libdnet
594 (package
595 (name "libdnet")
596 (version "1.18.2")
597 (source
598 (origin
599 (method git-fetch)
600 (uri (git-reference
601 (url "https://github.com/ofalk/libdnet")
602 (commit (string-append "libdnet-" version))))
603 (file-name (git-file-name name version))
604 (sha256
605 (base32 "0pbr0lrqp57zdbqxs52myi3ri07jp7nl84v6n1nzc6q11f94iwrh"))))
606 (build-system gnu-build-system)
607 (arguments
608 (list
609 #:phases
610 #~(modify-phases %standard-phases
611 (add-before 'bootstrap 'clean-repo
612 (lambda _
613 ;; Clean out GPL files and let bootstrap phase run.
614 (delete-file-recursively "./config")
615 (delete-file "./configure")))
616 (add-before 'check 'set-up-environment
617 (lambda _
618 ;; Discard results of tests for Minix and BSD systems.
619 (setenv "XFAIL_TESTS" "check_ip check_fw"))))))
620 (native-inputs
621 (list autoconf-2.71
622 automake
623 check
624 libtool
625 pkg-config
626 python-wrapper))
627 (home-page "https://github.com/ofalk/libdnet")
628 (synopsis "Low-level networking interface library")
629 (description
630 "@code{libdnet} provides a simplified, portable interface to several
631low-level networking routines, including network address manipulation,kernel
632arp(4) cache and route(4) table lookup and manipulation, network firewalling,
633network interface lookup and manipulation, IP tunnelling, and raw IP packet
634and Ethernet frame transmission.")
635 (license license:bsd-3)))
636
592(define-public libnice 637(define-public libnice
593 (package 638 (package
594 (name "libnice") 639 (name "libnice")