summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/quagga-reproducible-build.patch
diff options
context:
space:
mode:
authorGábor Boskovits <boskovits@gmail.com>2017-06-26 17:51:33 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-06-26 20:37:44 +0200
commitc2700e785b3048f5ebe0ade82a475c47d00d3642 (patch)
tree699fc85d61f43b1675ea3c01bf099f69a04056e5 /gnu/packages/patches/quagga-reproducible-build.patch
parent26599d692cc4ae563c56a30bdc1e8f03f47c582f (diff)
downloadguix-patches-c2700e785b3048f5ebe0ade82a475c47d00d3642.tar
guix-patches-c2700e785b3048f5ebe0ade82a475c47d00d3642.tar.gz
gnu: Add quagga.
* gnu/packages/networking.scm (quagga): New variable. * gnu/packages/patches/quagga-reproducible-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
Diffstat (limited to 'gnu/packages/patches/quagga-reproducible-build.patch')
-rw-r--r--gnu/packages/patches/quagga-reproducible-build.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/patches/quagga-reproducible-build.patch b/gnu/packages/patches/quagga-reproducible-build.patch
new file mode 100644
index 0000000000..80efe4bf62
--- /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/;