summaryrefslogtreecommitdiffstats
path: root/debian (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build, yang: bump libyang minimum required version to 1.0.184Renato Westphal2020-08-071-1/+1
| | | | | | | | | | | | | | | | | It's time to say good bye to libyang 0.16.105. The recently released libyang 1.0.184 includes numerous bug fixes and performance improvements that we need. Despite the major version bump from 0.x to 1.x, the libyang API is the same except for a single backward-incompatible change in the user types interface (which we're currently not using). Hence no code changes were necessary to adapt FRR to libyang 1.x. This commit also reintroduces some leafrefs that needed to be removed from our YANG modules due to a bug that was present on libyang 0.16.105. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* debian: Add missing daemons to logrotation knowledgeDonald Sharp2020-06-251-1/+1
| | | | | | Update missing daemons to rotate as well. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* build: fix data plane FPM netlink moduleRafael Zalamena2020-04-141-0/+1
| | | | | | | | | | | | | | Changes: * Let the package builder scripts know that we have a new module that needs to be taken care of. * Include the frr atomic header to avoid undeclared atomic operations. * Disable build on *BSDs because the code is using some zebra netlink functions only available for Linux. * Move data plane FPM module outside old FPM automake definition. * Fix atomic usage for Ubuntu 14.04 (always use explicit). Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* debian: 7.2.1 prepDavid Lamparter2020-04-072-3/+7
| | | | | | Just the odd housekeeping bits. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: remove outdated README contentDavid Lamparter2020-04-071-25/+0
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* doc: rename man pages to frr-*David Lamparter2020-01-151-14/+14
| | | | | | | | The vrrpd one conflicts with the standalone vrrpd package; also we're installing daemons to /usr/lib/frr on some systems so they're not on PATH. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: Fix logrotate in debian for bfdd, pbrd and vrrpd.Tim Bray2020-01-101-1/+1
| | | | Signed-off-by: Tim Bray <tim@kooky.org>
* debian: Fix spelling errorDonald Sharp2020-01-071-1/+1
| | | | | | Spelling error pointed out by debian build. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* zebra: create zebra_cumulus_mlag moduleDavid Lamparter2019-12-111-0/+1
| | | | | | | This is pretty much just to get rid of the HAVE_CUMULUS. The hook/module API is as "wtf" as it was before... Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: update debian/copyrightVincent Bernat2019-11-031-1/+4
| | | | | | | | Some authors are added in the "GPL-2+" section, notably Alexandre Cassen for the code in `vrrpd/`, and Cumulus Networks and Open Source Routing which were uncredited despite many occurrence in the headers. Signed-off-by: Vincent Bernat <vincent@bernat.ch>
* tools: Modifications to copy support bundle filesSri Mohana Singamsetty2019-09-132-0/+2
| | | | | | This commit is to copy the support bundle scripts to appropriate directories during installation Signed-off-by: Sri Mohana Singamsetty <msingamsetty@vmware.com>
* bgpd/bmp: BMP implementationDavid Lamparter2019-08-301-0/+1
| | | | | | | | This implements BMP. There's no fine-grained history here, the non-BMP preparations are already split out from here so all that remains is BMP proper. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: add .gitignore fileDavid Lamparter2019-08-061-0/+13
| | | | | | | Ignore the build results when dpkg-buildpackage was run in the source directory. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* lib: split off c-ares code from nhrpdDavid Lamparter2019-07-031-0/+1
| | | | | | This is useful in other places too, e.g. for BMP outbound connections. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* isisd: replace dict_* with DECLARE_RBTREEDavid Lamparter2019-04-271-13/+0
| | | | | | | | Historically, isisd has been carrying around its own red-black tree to manage its LSP DB in. This replaces that with the newly-added DECLARE_RBTREE_*. This allows completely removing the dict_* code. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: remove superseded systemd lintian overrideDavid Lamparter2019-02-191-4/+0
| | | | | | This was fixed in f351f5f971e2a37c74e1c966532376177ba920ec. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: update libyang dependency to >= 0.16.74David Lamparter2019-02-191-1/+1
| | | | | | We're using builtin extension loading, so we need libyang 0.16.74. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: fix autopkgtestDavid Lamparter2019-02-193-9/+9
| | | | | | | pgrep is in procps, which is an essential package. killall is in psmisc, which isn't. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: add missing Conflicts:David Lamparter2019-02-191-1/+14
| | | | | | | | | | | | | | | | | | | | | We were missing several Conflicts: (or Breaks:) lines. Specifically, - the .png diagrams in frr-doc conflict with quagga-doc - the quagga package was split up and we conflict on each on the daemon's man pages - pimd also conflicts on the man page. This is a "conservative" fix for the time being, putting everything into Conflicts:. Some of these might have other options to fix them (e.g. renaming the diagrams or man pages) but that needs more thought and isn't appropriate for a simple fix. There is also the "layer 9" consideration of whether to add "Replaces: quagga" lines. For the time being I'd say it's a bit early to have that discussion. Reported-by: Andreas Beckmann <anbe@debian.org> References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921376 Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: remove bogus libjson0 dependencyDavid Lamparter2019-02-191-2/+1
| | | | | | | | Dependencies for the actual library packages are autogenerated by shlib handling. Removing the bogus line should hopefully get this to build on Debian buildd... Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: extend comments on pre/postinst hooksDavid Lamparter2019-02-192-2/+13
| | | | | | | | While originally created to support upgrading within non-official previous FRR packages, the same logic makes upgrading from Quagga configs more straightforward. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: add libyang-dev dependencyDavid Lamparter2019-02-191-0/+1
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: Don't create homdirectory for frr userMartin Winter2019-02-191-0/+1
| | | | Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* debian/control: add python3-dev dependencyDavid Lamparter2019-02-191-0/+1
| | | | | | Just forgot to list this one. libpython3 is not enough. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: fix dropping daemons.confDavid Lamparter2019-02-192-4/+5
| | | | | | | Need to apply some manual control here, so remove it from frr.install and just do it in rules. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: rework autopkgtestsDavid Lamparter2019-02-195-32/+76
| | | | | | | | | | | Ditch the old non-working one and add 3 new ones to check: - that zebra can talk to the kernel at least somewhat - that SNMP and RPKI modules can be loaded - that frr-reload.py works This should catch most build environment SNAFUs. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: keep working nicely with split configDavid Lamparter2019-02-193-1/+74
| | | | | | | Drop our configs that say integrated config when there is some pre-existing split config. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: chop down & rework maintainer scriptsDavid Lamparter2019-02-194-136/+99
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: add python3-pytest build dependencyDavid Lamparter2019-02-191-0/+1
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: drop unused lintian overridesDavid Lamparter2019-02-192-8/+0
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: full & proper copyright fileDavid Lamparter2019-02-191-1/+227
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: flag as "no stop on upgrade"David Lamparter2019-02-191-0/+6
| | | | | | | We don't want to break some user's internet routing that they're using for their ssh login while upgrading... Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: don't install ssd & daemons.confDavid Lamparter2019-02-191-0/+2
| | | | | | ssd is unused and duplicates a system tool. daemons.conf is deprecated. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: cleanly split off from dist tarballDavid Lamparter2019-02-194-1467/+1
| | | | | | | | | | | | | | | | | The debian/ directory is distributed separately for tarballs in 3.0 (quilt) format. Including it in the dist tarball causes problems with automake when the separately distributed debian directory is unpacked on top of the dist tarball; the clean and correct thing to do here is to not include the debian/ directory in dist tarballs. Users have two choices for building FRR Debian packages: - build straight off git - build from a "frr.tar" + "frr-debian.tar" The tarsource.sh tool does the right thing when invoked with the -D ("Debian") option. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: fix up for new initscriptsDavid Lamparter2019-02-192-2/+3
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: clean up debian/ directory for git buildDavid Lamparter2019-02-191-0/+2
| | | | | | | | Running `dpkg-buildpackage` with source-format "git" complains about newly created files under debian/. Remove the build-created frr.init & frr.service to avoid the build erroring out due to this. Signed-off-by: David Lamparter <equinox@diac24.net>
* debian: make package "official"David Lamparter2019-02-1940-0/+2464
| | | | | | Move us into place in debian/ Signed-off-by: David Lamparter <equinox@diac24.net>
* debian->debianpkg: Move debian files from debian dir to debianpkg dir.Martin Winter2017-11-1862-2979/+0
| | | | | | | | | 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>
* backports: minimize diffs with base debian filessmccroskey2017-11-183-9/+9
| | | | | | | | minimize diffs between the base debian files and each backport to the changes that actually matter, so that they aren't lost in the noise of capitalization and ordering differences. Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com>
* debian: clean up, update base debian/controlsmccroskey2017-11-181-19/+16
| | | | | | | | | this removes some cruft -- old/outdated/incorrect information, trailing whitespace, etc., and updates the descriptions. Some small changes were made where appropriate to minimize the diff between the base control file and those of the various backports. Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com>
* debian: delete unused files out of debian/smccroskey2017-11-1812-298/+1
| | | | | | | | | | These are unused and not referenced anywhere. debian/rules.orig: included by mistake debian/watch: no longer applicable; url is not valid debian/patches: stale, unused, misleading Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com>
* precise/trusty: don't attempt to install pimd or ldpd manualssmccroskey2017-11-181-2/+0
| | | | | | | | Neither of these daemons are installed on 14.04, leading to build failures now that the man pages are excluded from the Makefiles when the daemons aren't enabled for install. Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com>
* backports: error out on upstream/downstream version mismatchsmccroskey2017-11-181-0/+8
| | | | | | | | | | The quilt source format expects the upstream tarball's version to correspond roughly to the debian version of the package, and errors will be thrown (at unpack time, in our case) if it doesn't. Do a sanity check when we're building the source package to make sure they match up. Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com>
* debian: Fix some incorrect references to Quagga instead of FRRMartin Winter2017-11-183-18/+18
| | | | Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* backports: symlink identical filesSilas McCroskey2017-11-183-73/+6
| | | | | | | | | | 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>
* debian: add pkg-config to build-dependsSilas McCroskey2017-11-183-3/+3
| | | | | | | | | | Testing-done: `--add-depends pkg-config' sbuild The dependency on pkg-config was introduced recently, and missed because it's in our schroots by default. Need to add it for other build environments (e.g. ubuntu schroots). Signed-off by: Silas McCroskey <smccroskey@cumulusnetworks.com>
* debian: move ubuntu 16.04 files into new backports systemSilas McCroskey2017-11-183-0/+3
| | | | | | | | | | | Added 'debian/patches' to the exclude file, since the existing patches interfere with the build and are unused by our build. No other changes were necessary. Used '-0~ubuntu16.04+1' as the version extention, to denote: no patches (-0), debian packaging files changed for backport (+1). Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com> Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* debian: move ubuntu 14.04 files into new backports systemSilas McCroskey2017-11-186-0/+170
| | | | | | | | | | | | | | `git diff'ed the main (cmaster) branch against the 14.04 branch to determine changed debian files, then pulled them into debian/backports via `git cat-file'. Added 'debian/patches' to the exclude file, since the existing patches interfere with the build and are unused by our build. Used '-0~ubuntu14.04+1' as the version extention, to denote: no patches (-0), debian packaging files changed for backport (+1). Original commit by Silas with updates on fork name by Martin Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* debian: move ubuntu 12.04 files into new backports systemSilas McCroskey2017-11-187-0/+212
| | | | | | | | | | | | | | `git diff'ed the main (cmaster) branch against the 12.04 branch to determine changed debian files, then pulled them into debian/backports via `git cat-file'. Added 'debian/patches' to the exclude file, since the existing patches interfere with the build and are unused by our build. Used '-0~ubuntu12.04+1' as the version extention, to denote: no patches (-0), debian packaging files changed for backport (+1). Original commit by Silas with updates on fork name by Martin Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* debian/backports: include in distfile, don't put files in ..Silas McCroskey2017-11-184-9/+58
| | | | | | | | | | | Testing-done: ran 'make dist', unpacked elsewhere, built from result Adjusted target to build the .orig.tar.gz accordingly, since it must exclude the debian/ subdirectory. Allows for building any backport from only a tarball. Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com> Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>