summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2019-02-19debian: remove superseded systemd lintian overrideDavid Lamparter
This was fixed in f351f5f971e2a37c74e1c966532376177ba920ec. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-02-19debian: update libyang dependency to >= 0.16.74David Lamparter
We're using builtin extension loading, so we need libyang 0.16.74. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-02-19debian: fix autopkgtestDavid Lamparter
pgrep is in procps, which is an essential package. killall is in psmisc, which isn't. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-02-19debian: add missing Conflicts:David Lamparter
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>
2019-02-19debian: remove bogus libjson0 dependencyDavid Lamparter
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>
2019-02-19debian: extend comments on pre/postinst hooksDavid Lamparter
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>
2019-01-18debian: add libyang-dev dependencyDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: Don't create homdirectory for frr userMartin Winter
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2019-01-18debian/control: add python3-dev dependencyDavid Lamparter
Just forgot to list this one. libpython3 is not enough. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: fix dropping daemons.confDavid Lamparter
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>
2019-01-18debian: rework autopkgtestsDavid Lamparter
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>
2019-01-18debian: keep working nicely with split configDavid Lamparter
Drop our configs that say integrated config when there is some pre-existing split config. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: chop down & rework maintainer scriptsDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: add python3-pytest build dependencyDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: drop unused lintian overridesDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: full & proper copyright fileDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: flag as "no stop on upgrade"David Lamparter
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>
2019-01-18debian: don't install ssd & daemons.confDavid Lamparter
ssd is unused and duplicates a system tool. daemons.conf is deprecated. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: cleanly split off from dist tarballDavid Lamparter
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>
2019-01-18debian: fix up for new initscriptsDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-18debian: clean up debian/ directory for git buildDavid Lamparter
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>
2019-01-18debian: make package "official"David Lamparter
Move us into place in debian/ Signed-off-by: David Lamparter <equinox@diac24.net>
2017-11-17debian->debianpkg: Move debian files from debian dir to debianpkg dir.Martin Winter
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>
2017-11-17backports: minimize diffs with base debian filessmccroskey
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>
2017-11-17debian: clean up, update base debian/controlsmccroskey
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>
2017-11-17debian: delete unused files out of debian/smccroskey
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>
2017-11-17precise/trusty: don't attempt to install pimd or ldpd manualssmccroskey
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>
2017-11-17backports: error out on upstream/downstream version mismatchsmccroskey
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>
2017-11-17debian: Fix some incorrect references to Quagga instead of FRRMartin Winter
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-11-17backports: symlink identical filesSilas McCroskey
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>
2017-11-17debian: add pkg-config to build-dependsSilas McCroskey
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>
2017-11-17debian: move ubuntu 16.04 files into new backports systemSilas McCroskey
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>
2017-11-17debian: move ubuntu 14.04 files into new backports systemSilas McCroskey
`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>
2017-11-17debian: move ubuntu 12.04 files into new backports systemSilas McCroskey
`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>
2017-11-17debian/backports: include in distfile, don't put files in ..Silas McCroskey
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>
2017-11-17debian: fix dpkg tool invocations to work on Ubuntu 12.04Silas McCroskey
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>
2017-11-17debian: structure for building backports from a single branchSilas McCroskey
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>
2017-10-04debian: Add iproute2 as dependency alternative in Debian packageSebastian Lohff
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>
2017-09-27debian: Fix logrotate when FRR is not runningDave Olson
Fix the logrotate script to complete successfully even if FRR is not currently running. Signed-off-by: Dave Olson <olson@cumulusnetworks.com>
2017-08-29doc: new frr-args(8) man page with general optionsDavid Lamparter
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-07-31Switch to using syslog for logging as the defaultDave Olson
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>
2017-06-27debian: python3-dev is now a build requirement for main packageMartin Winter
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-05-09Merge remote-tracking branch 'origin/stable/3.0'Donald Sharp
2017-05-09*: Remove ability to install frr_sudoersDonald Sharp
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>
2017-05-09debian: Mark FRR as conflicting with QuaggaDonald Sharp
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>
2017-05-04*: Rename debian.conf -> daemons.confDonald Sharp
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>
2017-05-04debian: Remove reference of cumulus directoryDonald Sharp
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>
2017-04-25*: Move the cumulus/etc/rt_protos.d/frr.confDonald Sharp
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>
2017-04-20Add source of route as protocol string in ip route pushed into kernelDinesh G Dutt
Ticket: CM-14313 Reviewed By: Testing Done: bgpmin, ospfmin, bgp_kitchen_sink_test 'ip route show' displays all routes as belonging to protocol zebra. The user has to run an additional command (in vtysh) to get the actual source of a route (bgp/ospf/static etc.). This patch addresses that by pushing the appropriate protocol string into the protocol field of the netlink route update message. Now you can see routes with the correct origin as well as filter on them (ip route show proto ospf). 'ospf' is used for both IPv4 and IPv6 routes, even though the OSPF version is different in both cases. Sample output (old): 9.9.12.13 via 69.254.2.38 dev swp3.2 proto zebra metric 20 9.9.13.3 proto zebra metric 20 nexthop via 69.254.2.30 dev swp1.2 weight 1 nexthop via 69.254.2.34 dev swp2.2 weight 1 nexthop via 69.254.2.38 dev swp3.2 weight 1 Sample output (new): 9.9.12.13 via 69.254.2.38 dev swp3.2 proto bgp metric 20 9.9.13.3 proto bgp metric 20 nexthop via 69.254.2.30 dev swp1.2 weight 1 nexthop via 69.254.2.34 dev swp2.2 weight 1 nexthop via 69.254.2.38 dev swp3.2 weight 1
2017-04-05*: Switchover to 3.1-devDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>