summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorSilas McCroskey <smccroskey@cumulusnetworks.com>2017-02-14 18:48:57 +0100
committerMartin Winter <mwinter@opensourcerouting.org>2017-11-18 02:55:30 +0100
commit891a387c0d308cb5013af9b16c0129b9f9c05d50 (patch)
tree83eb4933b13c77ee965c30bb4fba46a143b426bf /debian
parentdebian: add pkg-config to build-depends (diff)
downloadfrr-891a387c0d308cb5013af9b16c0129b9f9c05d50.tar.xz
frr-891a387c0d308cb5013af9b16c0129b9f9c05d50.zip
backports: symlink identical files
Testing-done: built all backports in schroots and VMs made files identical between different backports symlinks to the ones for the more recent distribution, and updated relevant tar invocations to follow symlinks. Signed-off by: Silas McCroskey <smccroskey@cumulusnetworks.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/backports/rules8
l---------[-rw-r--r--]debian/backports/ubuntu12.04/debian/control46
l---------[-rw-r--r--]debian/backports/ubuntu12.04/debian/frr.install25
3 files changed, 6 insertions, 73 deletions
diff --git a/debian/backports/rules b/debian/backports/rules
index f2ae9cc9a..4d082af1b 100644
--- a/debian/backports/rules
+++ b/debian/backports/rules
@@ -26,7 +26,7 @@ SOURCEFORMAT_$(1) ?= $(strip \
$(shell cat debian/backports/$(1)/debian/source/format))
# files checked for the dirhash (see below)
-FINDCMD_$(1) = find debian/backports/$(1)/debian \
+FINDCMD_$(1) = find -L debian/backports/$(1)/debian \
-type f \
! -path debian/backports/$(1)/debian/changelog
@@ -44,7 +44,7 @@ EXCLUDEROOT_FIND_$(1) = $$(foreach file,$$(EXCLUDEROOT_$(1)),-o -path $$(file))
# find command resulting in all files that *will* be pulled into the backport
# tarball.
-FINDCMDROOT_$(1) = find debian/ \
+FINDCMDROOT_$(1) = find -L debian/ \
'(' -false $$(EXCLUDEROOT_FIND_$(1)) ')' -prune -o \
-type f -a '!' '(' -false $$(EXCLUDEROOT_FIND_$(1)) ')'
@@ -100,9 +100,9 @@ $(TARBALLDIR)/$(SRCPKG)_$$(DEBIAN_VERSION_$(1)).debian.tar.xz: \
$$(BACKPORTDIR_$(1))/$$(DIRHASHROOT_$(1)).root.dirhash \
$$(BACKPORTDIR_$(1))/exclude
rm -f $$(subst .tar.xz,.tar,$$@) $$@
- tar -cf $$(subst .tar.xz,.tar,$$@) \
+ tar -chf $$(subst .tar.xz,.tar,$$@) \
--exclude-vcs $$(EXCLUDEROOT_TAR_$(1)) debian/
- cd debian/backports/$(1) && tar -uf $$(subst .tar.xz,.tar,$$@) \
+ cd debian/backports/$(1) && tar -uhf $$(subst .tar.xz,.tar,$$@) \
--exclude-vcs debian/
xz $$(subst .tar.xz,.tar,$$@)
diff --git a/debian/backports/ubuntu12.04/debian/control b/debian/backports/ubuntu12.04/debian/control
index 3f30a023c..31862f409 100644..120000
--- a/debian/backports/ubuntu12.04/debian/control
+++ b/debian/backports/ubuntu12.04/debian/control
@@ -1,45 +1 @@
-Source: frr
-Section: net
-Priority: optional
-Maintainer: Nobody <nobody@freerangerouting.org>
-Uploaders: Nobody <nobody@freerangerouting.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, git, dh-autoreconf, libjson0, libjson0-dev, python-ipaddr, pkg-config
-Standards-Version: 3.9.6
-Homepage: http://www.freerangerouting.org/
-XS-Testsuite: autopkgtest
-
-Package: frr
-Architecture: any
-Depends: ${shlibs:Depends}, logrotate (>= 3.2-11), ${misc:Depends}
-Pre-Depends: adduser
-Conflicts: zebra, zebra-pj, quagga
-Replaces: zebra, zebra-pj, quagga
-Suggests: snmpd
-Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon forked from Quagga
- FRR is free software which manages TCP/IP based routing protocols.
- It supports BGP4, BGP4+, OSPFv2, OSPFv3, IS-IS, RIPv1, RIPv2, RIPng,
- PIM and LDP as well as the IPv6 versions of these.
- .
- FRR is a fork of Quagga with an open community model. The main git
- lives on https://github.com/freerangerouting/frr.git
-
-Package: frr-dbg
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, frr (= ${binary:Version})
-Priority: extra
-Section: debug
-Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon forked from Quagga (debug symbols)
- This package provides debugging symbols for all binary packages built
- from frr source package. It's highly recommended to have this package
- installed before reporting any FRR crashes to either FRR developers or
- Debian package maintainers.
-
-Package: frr-doc
-Section: net
-Architecture: all
-Depends: ${misc:Depends}
-Suggests: frr
-Description: Documentation files for FRR
- This package includes info files for frr, a free software which manages
- TCP/IP based routing protocols. It supports BGP4, BGP4+, OSPFv2, OSPFv3,
- IS-IS, RIPv1, RIPv2, RIPng, PIM and LDP as well as the IPv6 versions of these.
+../../ubuntu14.04/debian/control \ No newline at end of file
diff --git a/debian/backports/ubuntu12.04/debian/frr.install b/debian/backports/ubuntu12.04/debian/frr.install
index 95916754e..83ecca595 100644..120000
--- a/debian/backports/ubuntu12.04/debian/frr.install
+++ b/debian/backports/ubuntu12.04/debian/frr.install
@@ -1,24 +1 @@
-etc/frr/
-usr/bin/vtysh
-usr/include/frr/
-usr/lib/
-tools/frr-reload.py usr/lib/frr/
-tools/frr etc/init.d/
-usr/share/doc/frr/
-usr/share/man/man1/vtysh.1
-usr/share/man/man1/frr.1
-usr/share/man/man8
-usr/share/man/man8/bgpd.8
-usr/share/man/man8/ospf6d.8
-usr/share/man/man8/ospfd.8
-usr/share/man/man8/ripd.8
-usr/share/man/man8/ripngd.8
-usr/share/man/man8/zebra.8
-usr/share/man/man8/isisd.8
-usr/share/man/man8/pimd.8
-usr/share/man/man8/ldpd.8
-usr/share/man/man8/watchfrr.8
-usr/share/snmp/mibs/
-cumulus/etc/* etc/
-tools/*.service lib/systemd/system
-debian/frr.conf usr/lib/tmpfiles.d
+../../ubuntu14.04/debian/frr.install \ No newline at end of file