summaryrefslogtreecommitdiffstats
path: root/debian (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* debian: fix dpkg tool invocations to work on Ubuntu 12.04Silas McCroskey2017-11-183-3/+23
| | | | | | | dpkg-parsechangelog and dpkg-source were both using flags not yet available in the versions available on 12.04. Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* debian: structure for building backports from a single branchSilas McCroskey2017-11-185-0/+276
| | | | | | | | | | | | | | | Source a makefile (when it exists) in debian/rules to assemble a source package via: * a debian.tar.gz tarball built from combining the contents of debian/ and debian/backports/$backport/debian/ using other details under debian/backports/$backport * an orig.tar.gz file (not generated by this makefile). This can (and should) be the same for all backports. Details in debian/backports/README Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com>
* debian: Add iproute2 as dependency alternative in Debian packageSebastian Lohff2017-10-041-1/+1
| | | | | | | | | | iproute has been a transitional package that only depends on iproute2 since Debian Jessie or Ubuntu 14.04. To avoid installing this transitional dummy package on newer installations we add iproute2 as a dependency alternative to iproute. The iproute dependency can be dropped when wheezy / 12.04 support is no longer needed. Signed-off-by: Sebastian Lohff <seba@someserver.de>
* debian: Fix logrotate when FRR is not runningDave Olson2017-09-271-1/+1
| | | | | | | Fix the logrotate script to complete successfully even if FRR is not currently running. Signed-off-by: Dave Olson <olson@cumulusnetworks.com>
* doc: new frr-args(8) man page with general optionsDavid Lamparter2017-08-291-0/+1
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* Switch to using syslog for logging as the defaultDave Olson2017-07-311-6/+16
| | | | | | | | | | | | | | | | | | | | | | Switch to using syslog as the default logging mechanism, rather than the log file mechanism. Send SIGHUP to syslog (any process with syslog in the name) if they have files open in /var/log/frr/* (for debian, using lsof). For redhat, add sending HUP to any of the pids in /var/run/*syslog*pid, for /var/log/frr/frr.log Updated logrotate.d/frr to handle all the new daemons for debian; redhat already had them. Continue to send SIGUSR1 to all running frr daemons even when syslog is in use, in case logging has been switched from file to syslog or vice versa. For debian, accumulate all the PIDs and use a single kill command. Add /etc/rsyslogd.d/45-frr.conf to have all frr daemons (and tag frr) logs go to /var/log/frr/frr.log. If other syslog daemons are used, logs will go to default log file. Signed-off-by: Dave Olson <olson@cumulusnetworks.com>
* debian: python3-dev is now a build requirement for main packageMartin Winter2017-06-281-1/+1
| | | | Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* Merge remote-tracking branch 'origin/stable/3.0'Donald Sharp2017-05-101-1/+0
|\
| * *: Remove ability to install frr_sudoersDonald Sharp2017-05-091-1/+0
| | | | | | | | | | | | | | | | | | If the user were to uncomment last line and allow VTYSH_SHOW to be used as a non-root account, this would allow arbitrary command completion inside of vtysh via multiple -c ... -c .... lines Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| * *: Switchover to 3.0Donald Sharp2017-04-061-0/+21
| | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | debian: Mark FRR as conflicting with QuaggaDonald Sharp2017-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | FRR when compiled with this debian packaging will cause some issue with the system to work properly due to the sudoers file conflicts. So to prevent some level of stupidity, mark them as conflicting. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | *: Rename debian.conf -> daemons.confDonald Sharp2017-05-042-2/+2
| | | | | | | | | | | | | | The debian.conf file is to specific of a name towards debian distributions. Rename to be daemons.conf Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | debian: Remove reference of cumulus directoryDonald Sharp2017-05-041-1/+0
| | | | | | | | | | | | | | Use the tools/etc... directory for packaging now not the cumulus/etc since it is going away Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | *: Move the cumulus/etc/rt_protos.d/frr.confDonald Sharp2017-04-251-0/+1
| | | | | | | | | | | | | | | | Moving cumulus/etc/rt_protos.d/frr.conf to tools/etc/rt_protos.d/frr.conf Requested in Review. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>