summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2017-06-09 04:14:41 +0200
committerMartin Winter <mwinter@opensourcerouting.org>2017-11-18 02:55:30 +0100
commit495feb8a41c59f3741eedd1386e40c0f18335294 (patch)
treee053a24f62b2c9c9b602dc4a221721633ce841ef
parentbackports: minimize diffs with base debian files (diff)
downloadfrr-495feb8a41c59f3741eedd1386e40c0f18335294.tar.xz
frr-495feb8a41c59f3741eedd1386e40c0f18335294.zip
debian->debianpkg: Move debian files from debian dir to debianpkg dir.
Debian build systems use debian subdir for building and having a debian dir in the source package causes issues. Moving it to debianpkg avoids the issue and allows us to ship debian package files in the source distribution Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
-rw-r--r--Makefile.am2
-rwxr-xr-xconfigure.ac2
-rw-r--r--debianpkg/Makefile.am (renamed from debian/Makefile.am)0
-rw-r--r--debianpkg/README.Debian (renamed from debian/README.Debian)0
-rw-r--r--debianpkg/README.Maintainer (renamed from debian/README.Maintainer)0
-rw-r--r--debianpkg/backports/.gitignore (renamed from debian/backports/.gitignore)0
-rw-r--r--debianpkg/backports/README (renamed from debian/backports/README)0
-rw-r--r--debianpkg/backports/rules (renamed from debian/backports/rules)0
l---------debianpkg/backports/ubuntu12.04/debian/control (renamed from debian/backports/ubuntu12.04/debian/control)0
l---------debianpkg/backports/ubuntu12.04/debian/frr.install (renamed from debian/backports/ubuntu12.04/debian/frr.install)0
-rw-r--r--debianpkg/backports/ubuntu12.04/debian/frr.postinst (renamed from debian/backports/ubuntu12.04/debian/frr.postinst)0
-rw-r--r--debianpkg/backports/ubuntu12.04/debian/rules (renamed from debian/backports/ubuntu12.04/debian/rules)0
-rw-r--r--debianpkg/backports/ubuntu12.04/debian/source/format (renamed from debian/backports/ubuntu12.04/debian/source/format)0
-rw-r--r--debianpkg/backports/ubuntu12.04/exclude (renamed from debian/backports/ubuntu12.04/exclude)0
-rw-r--r--debianpkg/backports/ubuntu12.04/versionext (renamed from debian/backports/ubuntu12.04/versionext)0
-rw-r--r--debianpkg/backports/ubuntu14.04/debian/control (renamed from debian/backports/ubuntu14.04/debian/control)0
-rw-r--r--debianpkg/backports/ubuntu14.04/debian/frr.install (renamed from debian/backports/ubuntu14.04/debian/frr.install)0
-rw-r--r--debianpkg/backports/ubuntu14.04/debian/rules (renamed from debian/backports/ubuntu14.04/debian/rules)0
-rw-r--r--debianpkg/backports/ubuntu14.04/debian/source/format (renamed from debian/backports/ubuntu14.04/debian/source/format)0
-rw-r--r--debianpkg/backports/ubuntu14.04/exclude (renamed from debian/backports/ubuntu14.04/exclude)0
-rw-r--r--debianpkg/backports/ubuntu14.04/versionext (renamed from debian/backports/ubuntu14.04/versionext)0
-rw-r--r--debianpkg/backports/ubuntu16.04/debian/source/format (renamed from debian/backports/ubuntu16.04/debian/source/format)0
-rw-r--r--debianpkg/backports/ubuntu16.04/exclude (renamed from debian/backports/ubuntu16.04/exclude)0
-rw-r--r--debianpkg/backports/ubuntu16.04/versionext (renamed from debian/backports/ubuntu16.04/versionext)0
-rw-r--r--debianpkg/changelog (renamed from debian/changelog)0
-rw-r--r--debianpkg/compat (renamed from debian/compat)0
-rw-r--r--debianpkg/control (renamed from debian/control)0
-rw-r--r--debianpkg/copyright (renamed from debian/copyright)0
-rw-r--r--debianpkg/frr-doc.docs (renamed from debian/frr-doc.docs)0
-rw-r--r--debianpkg/frr-doc.info (renamed from debian/frr-doc.info)0
-rw-r--r--debianpkg/frr-doc.install (renamed from debian/frr-doc.install)0
-rw-r--r--debianpkg/frr-doc.lintian-overrides (renamed from debian/frr-doc.lintian-overrides)0
-rw-r--r--debianpkg/frr.conf (renamed from debian/frr.conf)0
-rw-r--r--debianpkg/frr.config (renamed from debian/frr.config)0
-rw-r--r--debianpkg/frr.dirs (renamed from debian/frr.dirs)0
-rw-r--r--debianpkg/frr.docs (renamed from debian/frr.docs)0
-rw-r--r--debianpkg/frr.install (renamed from debian/frr.install)0
-rw-r--r--debianpkg/frr.lintian-overrides (renamed from debian/frr.lintian-overrides)0
-rw-r--r--debianpkg/frr.logrotate (renamed from debian/frr.logrotate)0
-rw-r--r--debianpkg/frr.manpages (renamed from debian/frr.manpages)0
-rw-r--r--debianpkg/frr.pam (renamed from debian/frr.pam)0
-rw-r--r--debianpkg/frr.postinst (renamed from debian/frr.postinst)0
-rw-r--r--debianpkg/frr.postrm (renamed from debian/frr.postrm)0
-rw-r--r--debianpkg/frr.preinst (renamed from debian/frr.preinst)0
-rw-r--r--debianpkg/frr.prerm (renamed from debian/frr.prerm)0
-rw-r--r--debianpkg/po/POTFILES.in (renamed from debian/po/POTFILES.in)0
-rw-r--r--debianpkg/po/cs.po (renamed from debian/po/cs.po)0
-rw-r--r--debianpkg/po/da.po (renamed from debian/po/da.po)0
-rw-r--r--debianpkg/po/de.po (renamed from debian/po/de.po)0
-rw-r--r--debianpkg/po/es.po (renamed from debian/po/es.po)0
-rw-r--r--debianpkg/po/fr.po (renamed from debian/po/fr.po)0
-rw-r--r--debianpkg/po/it.po (renamed from debian/po/it.po)0
-rw-r--r--debianpkg/po/ja.po (renamed from debian/po/ja.po)0
-rw-r--r--debianpkg/po/nl.po (renamed from debian/po/nl.po)0
-rw-r--r--debianpkg/po/pt.po (renamed from debian/po/pt.po)0
-rw-r--r--debianpkg/po/pt_BR.po (renamed from debian/po/pt_BR.po)0
-rw-r--r--debianpkg/po/ru.po (renamed from debian/po/ru.po)0
-rw-r--r--debianpkg/po/sv.po (renamed from debian/po/sv.po)0
-rw-r--r--debianpkg/po/templates.pot (renamed from debian/po/templates.pot)0
-rwxr-xr-xdebianpkg/rules (renamed from debian/rules)3
-rw-r--r--debianpkg/source/format (renamed from debian/source/format)0
-rw-r--r--debianpkg/tests/control (renamed from debian/tests/control)0
-rw-r--r--debianpkg/tests/daemons (renamed from debian/tests/daemons)0
-rw-r--r--debianpkg/watchfrr.rc (renamed from debian/watchfrr.rc)0
64 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index a4841490e..d9698d7cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,7 +64,7 @@ DIST_SUBDIRS = . bgpd \
vtysh doc tests \
solaris bgpd/rfp-example/librfp \
bgpd/rfp-example/rfptest \
- debian
+ debianpkg
# end
if PKGSRC
diff --git a/configure.ac b/configure.ac
index c535ed8d5..35577ab11 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1839,7 +1839,7 @@ AC_CONFIG_FILES([Makefile
doc/Makefile tests/Makefile
bgpd/rfp-example/rfptest/Makefile bgpd/rfp-example/librfp/Makefile
redhat/frr.spec
- debian/Makefile
+ debianpkg/Makefile
snapcraft/snapcraft.yaml
lib/version.h
tests/lib/cli/test_cli.refout
diff --git a/debian/Makefile.am b/debianpkg/Makefile.am
index 6078b6a1f..6078b6a1f 100644
--- a/debian/Makefile.am
+++ b/debianpkg/Makefile.am
diff --git a/debian/README.Debian b/debianpkg/README.Debian
index 1b0480336..1b0480336 100644
--- a/debian/README.Debian
+++ b/debianpkg/README.Debian
diff --git a/debian/README.Maintainer b/debianpkg/README.Maintainer
index 84b68e194..84b68e194 100644
--- a/debian/README.Maintainer
+++ b/debianpkg/README.Maintainer
diff --git a/debian/backports/.gitignore b/debianpkg/backports/.gitignore
index 3b20d2689..3b20d2689 100644
--- a/debian/backports/.gitignore
+++ b/debianpkg/backports/.gitignore
diff --git a/debian/backports/README b/debianpkg/backports/README
index efd322e1d..efd322e1d 100644
--- a/debian/backports/README
+++ b/debianpkg/backports/README
diff --git a/debian/backports/rules b/debianpkg/backports/rules
index 63bbedf77..63bbedf77 100644
--- a/debian/backports/rules
+++ b/debianpkg/backports/rules
diff --git a/debian/backports/ubuntu12.04/debian/control b/debianpkg/backports/ubuntu12.04/debian/control
index 31862f409..31862f409 120000
--- a/debian/backports/ubuntu12.04/debian/control
+++ b/debianpkg/backports/ubuntu12.04/debian/control
diff --git a/debian/backports/ubuntu12.04/debian/frr.install b/debianpkg/backports/ubuntu12.04/debian/frr.install
index 83ecca595..83ecca595 120000
--- a/debian/backports/ubuntu12.04/debian/frr.install
+++ b/debianpkg/backports/ubuntu12.04/debian/frr.install
diff --git a/debian/backports/ubuntu12.04/debian/frr.postinst b/debianpkg/backports/ubuntu12.04/debian/frr.postinst
index d4c33cd5c..d4c33cd5c 100644
--- a/debian/backports/ubuntu12.04/debian/frr.postinst
+++ b/debianpkg/backports/ubuntu12.04/debian/frr.postinst
diff --git a/debian/backports/ubuntu12.04/debian/rules b/debianpkg/backports/ubuntu12.04/debian/rules
index 34528d54b..34528d54b 100644
--- a/debian/backports/ubuntu12.04/debian/rules
+++ b/debianpkg/backports/ubuntu12.04/debian/rules
diff --git a/debian/backports/ubuntu12.04/debian/source/format b/debianpkg/backports/ubuntu12.04/debian/source/format
index 163aaf8d8..163aaf8d8 100644
--- a/debian/backports/ubuntu12.04/debian/source/format
+++ b/debianpkg/backports/ubuntu12.04/debian/source/format
diff --git a/debian/backports/ubuntu12.04/exclude b/debianpkg/backports/ubuntu12.04/exclude
index e69de29bb..e69de29bb 100644
--- a/debian/backports/ubuntu12.04/exclude
+++ b/debianpkg/backports/ubuntu12.04/exclude
diff --git a/debian/backports/ubuntu12.04/versionext b/debianpkg/backports/ubuntu12.04/versionext
index 0a8f3c956..0a8f3c956 100644
--- a/debian/backports/ubuntu12.04/versionext
+++ b/debianpkg/backports/ubuntu12.04/versionext
diff --git a/debian/backports/ubuntu14.04/debian/control b/debianpkg/backports/ubuntu14.04/debian/control
index c05cdd04f..c05cdd04f 100644
--- a/debian/backports/ubuntu14.04/debian/control
+++ b/debianpkg/backports/ubuntu14.04/debian/control
diff --git a/debian/backports/ubuntu14.04/debian/frr.install b/debianpkg/backports/ubuntu14.04/debian/frr.install
index 147d15279..147d15279 100644
--- a/debian/backports/ubuntu14.04/debian/frr.install
+++ b/debianpkg/backports/ubuntu14.04/debian/frr.install
diff --git a/debian/backports/ubuntu14.04/debian/rules b/debianpkg/backports/ubuntu14.04/debian/rules
index 84d4b177c..84d4b177c 100644
--- a/debian/backports/ubuntu14.04/debian/rules
+++ b/debianpkg/backports/ubuntu14.04/debian/rules
diff --git a/debian/backports/ubuntu14.04/debian/source/format b/debianpkg/backports/ubuntu14.04/debian/source/format
index 163aaf8d8..163aaf8d8 100644
--- a/debian/backports/ubuntu14.04/debian/source/format
+++ b/debianpkg/backports/ubuntu14.04/debian/source/format
diff --git a/debian/backports/ubuntu14.04/exclude b/debianpkg/backports/ubuntu14.04/exclude
index e69de29bb..e69de29bb 100644
--- a/debian/backports/ubuntu14.04/exclude
+++ b/debianpkg/backports/ubuntu14.04/exclude
diff --git a/debian/backports/ubuntu14.04/versionext b/debianpkg/backports/ubuntu14.04/versionext
index 5ebeee771..5ebeee771 100644
--- a/debian/backports/ubuntu14.04/versionext
+++ b/debianpkg/backports/ubuntu14.04/versionext
diff --git a/debian/backports/ubuntu16.04/debian/source/format b/debianpkg/backports/ubuntu16.04/debian/source/format
index 163aaf8d8..163aaf8d8 100644
--- a/debian/backports/ubuntu16.04/debian/source/format
+++ b/debianpkg/backports/ubuntu16.04/debian/source/format
diff --git a/debian/backports/ubuntu16.04/exclude b/debianpkg/backports/ubuntu16.04/exclude
index e69de29bb..e69de29bb 100644
--- a/debian/backports/ubuntu16.04/exclude
+++ b/debianpkg/backports/ubuntu16.04/exclude
diff --git a/debian/backports/ubuntu16.04/versionext b/debianpkg/backports/ubuntu16.04/versionext
index 56339e836..56339e836 100644
--- a/debian/backports/ubuntu16.04/versionext
+++ b/debianpkg/backports/ubuntu16.04/versionext
diff --git a/debian/changelog b/debianpkg/changelog
index 4ea86929f..4ea86929f 100644
--- a/debian/changelog
+++ b/debianpkg/changelog
diff --git a/debian/compat b/debianpkg/compat
index 7f8f011eb..7f8f011eb 100644
--- a/debian/compat
+++ b/debianpkg/compat
diff --git a/debian/control b/debianpkg/control
index 482573a08..482573a08 100644
--- a/debian/control
+++ b/debianpkg/control
diff --git a/debian/copyright b/debianpkg/copyright
index 7b873abd3..7b873abd3 100644
--- a/debian/copyright
+++ b/debianpkg/copyright
diff --git a/debian/frr-doc.docs b/debianpkg/frr-doc.docs
index a0776fd68..a0776fd68 100644
--- a/debian/frr-doc.docs
+++ b/debianpkg/frr-doc.docs
diff --git a/debian/frr-doc.info b/debianpkg/frr-doc.info
index c4f181cdb..c4f181cdb 100644
--- a/debian/frr-doc.info
+++ b/debianpkg/frr-doc.info
diff --git a/debian/frr-doc.install b/debianpkg/frr-doc.install
index d2d3f1bbd..d2d3f1bbd 100644
--- a/debian/frr-doc.install
+++ b/debianpkg/frr-doc.install
diff --git a/debian/frr-doc.lintian-overrides b/debianpkg/frr-doc.lintian-overrides
index 1fe64ffd5..1fe64ffd5 100644
--- a/debian/frr-doc.lintian-overrides
+++ b/debianpkg/frr-doc.lintian-overrides
diff --git a/debian/frr.conf b/debianpkg/frr.conf
index dee3cd849..dee3cd849 100644
--- a/debian/frr.conf
+++ b/debianpkg/frr.conf
diff --git a/debian/frr.config b/debianpkg/frr.config
index f642bea1d..f642bea1d 100644
--- a/debian/frr.config
+++ b/debianpkg/frr.config
diff --git a/debian/frr.dirs b/debianpkg/frr.dirs
index 56699b2da..56699b2da 100644
--- a/debian/frr.dirs
+++ b/debianpkg/frr.dirs
diff --git a/debian/frr.docs b/debianpkg/frr.docs
index f72aae196..f72aae196 100644
--- a/debian/frr.docs
+++ b/debianpkg/frr.docs
diff --git a/debian/frr.install b/debianpkg/frr.install
index 8fc5fa5fa..8fc5fa5fa 100644
--- a/debian/frr.install
+++ b/debianpkg/frr.install
diff --git a/debian/frr.lintian-overrides b/debianpkg/frr.lintian-overrides
index e21bd9256..e21bd9256 100644
--- a/debian/frr.lintian-overrides
+++ b/debianpkg/frr.lintian-overrides
diff --git a/debian/frr.logrotate b/debianpkg/frr.logrotate
index 2b4acd89c..2b4acd89c 100644
--- a/debian/frr.logrotate
+++ b/debianpkg/frr.logrotate
diff --git a/debian/frr.manpages b/debianpkg/frr.manpages
index 17a128b7e..17a128b7e 100644
--- a/debian/frr.manpages
+++ b/debianpkg/frr.manpages
diff --git a/debian/frr.pam b/debianpkg/frr.pam
index 2b106d43b..2b106d43b 100644
--- a/debian/frr.pam
+++ b/debianpkg/frr.pam
diff --git a/debian/frr.postinst b/debianpkg/frr.postinst
index 9020d7bf7..9020d7bf7 100644
--- a/debian/frr.postinst
+++ b/debianpkg/frr.postinst
diff --git a/debian/frr.postrm b/debianpkg/frr.postrm
index 26576fd13..26576fd13 100644
--- a/debian/frr.postrm
+++ b/debianpkg/frr.postrm
diff --git a/debian/frr.preinst b/debianpkg/frr.preinst
index 29162e3b5..29162e3b5 100644
--- a/debian/frr.preinst
+++ b/debianpkg/frr.preinst
diff --git a/debian/frr.prerm b/debianpkg/frr.prerm
index e0df24e10..e0df24e10 100644
--- a/debian/frr.prerm
+++ b/debianpkg/frr.prerm
diff --git a/debian/po/POTFILES.in b/debianpkg/po/POTFILES.in
index 04d24252c..04d24252c 100644
--- a/debian/po/POTFILES.in
+++ b/debianpkg/po/POTFILES.in
diff --git a/debian/po/cs.po b/debianpkg/po/cs.po
index df4f47d91..df4f47d91 100644
--- a/debian/po/cs.po
+++ b/debianpkg/po/cs.po
diff --git a/debian/po/da.po b/debianpkg/po/da.po
index 22b2d56c6..22b2d56c6 100644
--- a/debian/po/da.po
+++ b/debianpkg/po/da.po
diff --git a/debian/po/de.po b/debianpkg/po/de.po
index cbf919e2e..cbf919e2e 100644
--- a/debian/po/de.po
+++ b/debianpkg/po/de.po
diff --git a/debian/po/es.po b/debianpkg/po/es.po
index 3b9e421a4..3b9e421a4 100644
--- a/debian/po/es.po
+++ b/debianpkg/po/es.po
diff --git a/debian/po/fr.po b/debianpkg/po/fr.po
index a96649d2f..a96649d2f 100644
--- a/debian/po/fr.po
+++ b/debianpkg/po/fr.po
diff --git a/debian/po/it.po b/debianpkg/po/it.po
index d30595668..d30595668 100644
--- a/debian/po/it.po
+++ b/debianpkg/po/it.po
diff --git a/debian/po/ja.po b/debianpkg/po/ja.po
index 0991d9923..0991d9923 100644
--- a/debian/po/ja.po
+++ b/debianpkg/po/ja.po
diff --git a/debian/po/nl.po b/debianpkg/po/nl.po
index a9df615e0..a9df615e0 100644
--- a/debian/po/nl.po
+++ b/debianpkg/po/nl.po
diff --git a/debian/po/pt.po b/debianpkg/po/pt.po
index 05f9b2e38..05f9b2e38 100644
--- a/debian/po/pt.po
+++ b/debianpkg/po/pt.po
diff --git a/debian/po/pt_BR.po b/debianpkg/po/pt_BR.po
index 49b399c3e..49b399c3e 100644
--- a/debian/po/pt_BR.po
+++ b/debianpkg/po/pt_BR.po
diff --git a/debian/po/ru.po b/debianpkg/po/ru.po
index e1db9d37d..e1db9d37d 100644
--- a/debian/po/ru.po
+++ b/debianpkg/po/ru.po
diff --git a/debian/po/sv.po b/debianpkg/po/sv.po
index f97c5b827..f97c5b827 100644
--- a/debian/po/sv.po
+++ b/debianpkg/po/sv.po
diff --git a/debian/po/templates.pot b/debianpkg/po/templates.pot
index c6fb63687..c6fb63687 100644
--- a/debian/po/templates.pot
+++ b/debianpkg/po/templates.pot
diff --git a/debian/rules b/debianpkg/rules
index 7a5efdd76..a152b9a17 100755
--- a/debian/rules
+++ b/debianpkg/rules
@@ -115,8 +115,7 @@ ifeq ($(wildcard frr-$(ORIG_VERSION).tar.gz),frr-$(ORIG_VERSION).tar.gz)
$(TARBALLDIR)/$(SRCPKG)_$(ORIG_VERSION).orig.tar.gz: \
frr-$(ORIG_VERSION).tar.gz
- gunzip -c < $< | tar --delete frr-$(ORIG_VERSION)/debian/ \
- | gzip -c > $@
+ cp $< $@
else # wildcard frr-$(ORIG_VERSION).tar.gz
diff --git a/debian/source/format b/debianpkg/source/format
index af745b310..af745b310 100644
--- a/debian/source/format
+++ b/debianpkg/source/format
diff --git a/debian/tests/control b/debianpkg/tests/control
index 53fd537e2..53fd537e2 100644
--- a/debian/tests/control
+++ b/debianpkg/tests/control
diff --git a/debian/tests/daemons b/debianpkg/tests/daemons
index ac35ecd95..ac35ecd95 100644
--- a/debian/tests/daemons
+++ b/debianpkg/tests/daemons
diff --git a/debian/watchfrr.rc b/debianpkg/watchfrr.rc
index 4110b8639..4110b8639 100644
--- a/debian/watchfrr.rc
+++ b/debianpkg/watchfrr.rc