]> git.puffer.fish Git - mirror/frr.git/commitdiff
Debian: Fixup build issues with switch to 3.0
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 2 Dec 2015 15:34:38 +0000 (07:34 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 2 Dec 2015 15:34:38 +0000 (07:34 -0800)
Modify the build type from patch to git
Fix the rules: spaces to tabs these were causing build issues
Add some additional dependent packages

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Alex Doyle <adoyle@cumulusnetworks.com>
debian/control
debian/rules
debian/source/format

index 76e62ba106dcd962172272f96bb6da7230025581..e015af6cfb27a01b60835f39a63f88b46b6843b1 100644 (file)
@@ -3,7 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Christian Hammers <ch@debian.org>
 Uploaders: Florian Weimer <fw@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, po-debconf, autotools-dev, hardening-wrapper, libpcre3-dev, gawk, chrpath, libsnmp-dev
+Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, po-debconf, autotools-dev, hardening-wrapper, libpcre3-dev, gawk, chrpath, libsnmp-dev, git, dh-autoreconf, libjson0, libjson0-dev
 Standards-Version: 3.9.4
 Homepage: http://www.quagga.net/
 XS-Testsuite: autopkgtest
index 4642dbfeb3386a66dd73b1ca7728a9d8f741c749..457f71780e50adccf7f79d697de9225f9acfcc40 100755 (executable)
@@ -13,22 +13,22 @@ endif
 
 %:
        dh $@ --parallel --with autoreconf --dbg-package=quagga-dbg --list-missing
-        if [ -e config.status ]; then \
-                 dh $@ --parallel  --dbg-package=quagga-dbg --list-missing; \
-        else \
-                 dh $@ --parallel  --with autoreconf --dbg-package=quagga-dbg --list-missing; \
-        fi
+       if [ -e config.status ]; then \
+               dh $@ --parallel  --dbg-package=quagga-dbg --list-missing; \
+       else \
+               dh $@ --parallel  --with autoreconf --dbg-package=quagga-dbg --list-missing; \
+       fi
 
 override_dh_auto_clean:
        #dh_auto_clean
-       
+
        #@echo "BEGIN CRUFT"
        #@rm -vf */Makefile doc/quagga.fns doc/quagga.info doc/quagga.kys doc/quagga.tmp doc/quagga.pdf doc/quagga.info-*
        #@rm -vf lib/version.c doc/stamp-vti
        #@rm -vf vtysh/vtysh_cmd.c
        #@rm -vf doc/fig*.pdf doc/version.texi
        #@echo "END CRUFT"
-       
+
        # why?
        #@if [ -e config.log ]; then echo "CONFIG.LOG STILL THERE"; rm config.log; fi
 
@@ -37,34 +37,34 @@ override_dh_auto_configure:
        # Else it fails with an obscure error message pointing out that
        # IPCTL_FORWARDING is an undefined symbol which is not very helpful.
        @if ! [ -d /proc/1 ]; then \
-          echo "./configure needs a mounted /proc"; \
-          exit 1; \
+               echo "./configure needs a mounted /proc"; \
+               exit 1; \
        fi
 
        if ! [ -e config.status ]; then \
        dh_auto_configure -- \
-               --enable-exampledir=/usr/share/doc/quagga/examples/ \
+               --enable-exampledir=/usr/share/doc/quagga/examples/ \
                --localstatedir=/var/run/quagga \
                --sbindir=/usr/lib/quagga \
                --sysconfdir=/etc/quagga \
-           $(USE_SNMP) \
-               --enable-vtysh \
-               --enable-isisd \
-               --enable-watchquagga \
-               --enable-ospf-te \
-               --enable-opaque-lsa \
-               --enable-ipv6 \
-               --enable-ospfclient=yes \
-               --enable-ospfapi=yes \
-               --enable-multipath=64 \
-               --enable-user=quagga \
-               --enable-group=quagga \
-               --enable-vty-group=quaggavty \
-               --enable-configfile-mask=0640 \
-               --enable-logfile-mask=0640 \
-               --enable-rtadv \
+               $(USE_SNMP) \
+               --enable-vtysh \
+               --enable-isisd \
+               --enable-watchquagga \
+               --enable-ospf-te \
+               --enable-opaque-lsa \
+               --enable-ipv6 \
+               --enable-ospfclient=yes \
+               --enable-ospfapi=yes \
+               --enable-multipath=64 \
+               --enable-user=quagga \
+               --enable-group=quagga \
+               --enable-vty-group=quaggavty \
+               --enable-configfile-mask=0640 \
+               --enable-logfile-mask=0640 \
+               --enable-rtadv \
                --enable-werror \
-               --enable-gcc-rdynamic \
+               --enable-gcc-rdynamic \
                --with-libpam \
                --enable-dependency-tracking; \
        fi
@@ -80,7 +80,7 @@ override_dh_auto_build:
        $(MAKE)
        dh_auto_build -- -C doc draft-zebra-00.txt
 
-       
+
        # doc/ is a bit crazy
 ifeq ($(GENERATE_PDF), 1)
        dh_auto_build -- -C doc quagga.pdf || true # pdfetex fails with exit code 1 but still produces a good looking .pdf
@@ -90,25 +90,25 @@ endif
        rm -vf doc/quagga.info.html*
 
 override_dh_auto_test:
+
 override_dh_auto_install:
        dh_auto_install
-       
+
        # cleaning up the info dir
        rm -f debian/tmp/usr/share/info/dir*
-       
+
        # install config files
        mkdir -p debian/tmp/etc/quagga/
        cp debian/my/debian.conf debian/tmp/etc/quagga/
        cp debian/my/daemons debian/tmp/etc/quagga/
        perl -pi -e 's#^!log file #!log file /var/log/quagga/#' debian/tmp/usr/share/doc/quagga/examples/*sample*
-           
+
        # installing the Quagga specific SNMP MIB
        install -D -m 644 ./zebra/GNOME-PRODUCT-ZEBRA-MIB debian/tmp/usr/share/snmp/mibs/GNOME-PRODUCT-ZEBRA-MIB
-       
+
        # installing custom man page
        cp debian/my/babeld.8 debian/tmp/usr/share/man/man8/quagga-babeld.8
-       
+
        # cleaning .la files
        sed -i "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/*.la
 
index 163aaf8d82b6c54f23c45f32895dbdfdcc27b047..af745b310bc8367d6a767864292bbf5dc5d05a60 100644 (file)
@@ -1 +1 @@
-3.0 (quilt)
+3.0 (git)