emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#27469: closed ([PATCH] gnu: Add quagga.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27469: closed ([PATCH] gnu: Add quagga.)
Date: Mon, 26 Jun 2017 18:45:01 +0000

Your message dated Mon, 26 Jun 2017 20:44:38 +0200
with message-id <address@hidden>
and subject line Re: [bug#27469] [PATCH] gnu: Add quagga.
has caused the debbugs.gnu.org bug report #27469,
regarding [PATCH] gnu: Add quagga.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27469: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27469
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add quagga. Date: Sat, 24 Jun 2017 02:10:44 +0200
* gnu/packages/networking.scm (quagga): New variable.
* gnu/packages/patches/quagga-reproducible-build.patch: New file.
---
 gnu/packages/networking.scm                        | 29 ++++++++++++++++++++++
 .../patches/quagga-reproducible-build.patch        | 22 ++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 gnu/packages/patches/quagga-reproducible-build.patch

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 06a2c8be6..1aa8dfef4 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2017 Leo Famulari <address@hidden>
 ;;; Copyright © 2017 Efraim Flashner <address@hidden>
 ;;; Copyright © 2017 Rutger Helling <address@hidden>
+;;; Copyright © 2017 Gábor Boskovits <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -51,6 +52,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
+  #:use-module (gnu packages dejagnu)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnupg)
@@ -64,6 +66,7 @@
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages readline)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages valgrind)
@@ -1308,3 +1311,29 @@ 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)))
+
+(define-public quagga
+  (package
+    (name "quagga")
+    (version "1.2.1")
+    (source (origin
+      (method url-fetch)
+      (uri (string-append "mirror://savannah/quagga/quagga-"
+                          version ".tar.gz"))
+      (sha256
+        (base32
+          "1kgvcr9cfgys5asvb5lh5h95silkr624apqm5x68xva19xfvmpda"))
+      (patches
+        (search-patches "quagga-reproducible-build.patch"))))
+      (build-system gnu-build-system)
+      (native-inputs `(("pkg-config",pkg-config)))
+      (inputs `(("readline",readline)
+                ("c-ares",c-ares)
+                ("perl",perl)
+                ("dejagnu",dejagnu)))
+      (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, 
particularly
+FreeBSD, Linux, Solaris and NetBSD.")
+      (home-page "http://www.nongnu.org/quagga/";)
+      (license license:gpl2)))
diff --git a/gnu/packages/patches/quagga-reproducible-build.patch 
b/gnu/packages/patches/quagga-reproducible-build.patch
new file mode 100644
index 000000000..80efe4bf6
--- /dev/null
+++ b/gnu/packages/patches/quagga-reproducible-build.patch
@@ -0,0 +1,22 @@
+Make sure, that vtysh_cmd.c is deterministically generated.
+
+--- a/vtysh/extract.pl.in      2017-03-10 13:55:06.000000000 +0100
++++ b/vtysh/extract.pl.in      2017-06-24 00:51:56.460000000 +0200
+@@ -214,7 +214,7 @@
+ }
+ 
+ # Output DEFSH
+-foreach (keys %live) {
++foreach (sort keys %live) {
+     my ($proto);
+     my ($key);
+     $key = $live{$_};
+@@ -229,7 +229,7 @@
+ {
+ EOF
+ 
+-foreach (keys %odefun) {
++foreach (sort keys %odefun) {
+     my ($node, $str) = (split (/,/));
+     $cmd = $ocmd{$_};
+     $cmd =~ s/_cmd/_cmd_vtysh/;
-- 
2.13.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#27469] [PATCH] gnu: Add quagga. Date: Mon, 26 Jun 2017 20:44:38 +0200 User-agent: Notmuch/0.24.2 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu)
Gábor Boskovits <address@hidden> writes:

> * gnu/packages/networking.scm (quagga): New variable.
> * gnu/packages/patches/quagga-reproducible-build.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.

Thanks! I ran the indentation through emacs and added another paragraph
to the description, taken from the home page. Hope it's still good!

Pushed as c2700e785b3048f5ebe0ade82a475c47d00d3642.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]