summaryrefslogtreecommitdiffstats
path: root/debian/rules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* debian: work around NetDef CI missing lua packagesQuentin Young2020-12-101-3/+3
| | | | | | | Scripting must be explicitly enabled now when building packages via the pkg.frr.lua Debian profile Signed-off-by: Quentin Young <qlyoung@nvidia.com>
* debian: clean up packaging stuff for scriptingQuentin Young2020-12-081-0/+7
| | | | Signed-off-by: Quentin Young <qlyoung@nvidia.com>
* Convert the package to dh compat level 10Ondřej Surý2020-09-261-3/+3
| | | | | | | | | | | There are couple of related changes: * Bump the debhelper dependency to the version at least in Debian Jessie * Drop the dh-autoreconf, autotools-dev dependency, this is automatically included. * Drop the --parallel, --with=systemd and --with=autoreconf, this is automatically enabled in dh compat level 10, add a --without=systemd when requested via build profile.
* tools: Modifications to copy support bundle filesSri Mohana Singamsetty2019-09-131-0/+1
| | | | | | This commit is to copy the support bundle scripts to appropriate directories during installation Signed-off-by: Sri Mohana Singamsetty <msingamsetty@vmware.com>
* debian: fix dropping daemons.confDavid Lamparter2019-02-191-2/+4
| | | | | | | 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: 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: fix up for new initscriptsDavid Lamparter2019-02-191-1/+2
| | | | 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-191-0/+107
| | | | | | 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-181-132/+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>
* debian: Fix some incorrect references to Quagga instead of FRRMartin Winter2017-11-181-5/+5
| | | | Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* debian/backports: include in distfile, don't put files in ..Silas McCroskey2017-11-181-4/+14
| | | | | | | | | | | 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-181-2/+3
| | | | | | | 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-181-0/+19
| | | | | | | | | | | | | | | 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: Fix to not auto-install snmp MIBDonald Sharp2017-02-091-0/+4
| | | | | | | Only install the snmp MIB for zebra if we are building the debian package with SNMP. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Convert Quagga -> FrrDonald Sharp2017-01-041-19/+19
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Disable build of vnc currentlyDonald Sharp2016-10-031-1/+2
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Disable pimd in cmaster-nextDonald Sharp2016-07-261-0/+1
| | | | | | | | Turn off the building of pimd in cmaster-next. Ticket: CM-12015 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Fix rules fileDonald Sharp2016-06-151-0/+2
| | | | | | Fix the rules file to put back isis and vtysh Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Remove obsoleted configure options.Donald Sharp2016-06-151-8/+0
| | | | | | | configure.ac has moved on, catch debian up with it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Debian fixupsDonald Sharp2016-05-021-27/+1
| | | | | | | | | | | | | | | This commit does two things: 1) Fixes package name to have ...+cl3u1 2) Allows the build to determine if we are building a debian package on a init.d or systemd style system and to do the right thing. 3) Fixed quagga service file naming Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Dave Olson <olson@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Attempt to fix parrelizationDonald Sharp2016-04-271-0/+8
| | | | | | | | This commit fixes some quagga build issues such that you can now use -j in your sbuild line. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Jon Toppins <toppins@cumulusnetworks.com>
* quagga: Fixup startup to allow consistency between sysV and systemdDonald Sharp2016-04-271-17/+7
| | | | | | | | | | | | | | | | | | | We want the ability to start up quagga in a varied set of environments. This needs to be done in SysV and systemd startups. As such refactor the code to allow us to allow end users to easily switch between the two sysV: edit the /etc/quagga/daemons file service quagga [start|stop|reload|restart] Systemd: edit the /etc/quagga/daemons file systemctl [start|stop|reload|restart] quagga Ticket: CM-10634 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Turn on Poll usageDonald Sharp2016-03-041-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Remove some unnecesary files from debian directory.Donald Sharp2016-03-011-2/+0
| | | | | | | | | | The daemons file is no longer needed as well as the debian.conf file. They have been subsumed by the systemd initialization methodology. Ticket: CM-9581 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Revamp startup againsharpd2016-02-231-2/+0
| | | | | | | | | | | | | | Remove quagga.service, it was a bad idea culminating in a series of mistakes. Replaced with /usr/lib/quagga/quagga script. Use this script to start/stop quagga as a whole. Ticket: CM-9445 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Dave Olson <olson@cumulusnetworks.com>
* debian, config, zebra: Ensure Cumulus Extensions are not auto turned onDonald Sharp2016-02-231-0/+1
| | | | | | | | There exist cases where Cumulus Code( in this case code surrounding when we want to send Router Advertisements ) should only be turned on for Cumulus Switches. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* quagga: remove babelDaniel Walton2016-02-111-5/+0
| | | | | | | | Ticket: CM-9274 Reviewed By: sharpd@cumulusnetworks.com Testing Done: <DETAILED DESCRIPTION (REPLACE)>
* Build was broken if systemd was not installedDaniel Walton2016-02-101-1/+1
| | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Add Systemd integration to control filesDonald Sharp2016-02-101-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ticket: Reviewed By: inprogress Testing Done: minimal. Built, installed, started a few services. This is in progress testing. quagga.service tries to start and stop all the routing daemons. There is no check for whether they are enabled via /etc/quagga/daemons (yet). As installed, nothing is enabled (won't start on system boot or install). The -A 127.0.0.1 is now in /etc/default/quagga, and picked up from there by all routing daemons. MAX_FDS is in all the service files for now as LimitNOFILE. Users who need to modified the number of fd's will use e.g. the file /etc/systemd/system/bgpd.service.d/maxfds.conf to override bgpd.service contents [Service] LimitNOFILE=2048 MAX_INSTANCES isn't implemented yet. reload isn't implemented yet (it should be possible via ExecReload in the services, just not done yet). The init.d file is removed. All of the daemons are started without the -d/--daemonize option, and use Type=simple rather than forking in the services file, to use the systemd daemonizing. All the daemons were set to have a 1m start time, and restart up to 3 times in 3 minutes, and for now, are only restart on-abnormal, not always (we'll likely want the latter, but testing is easier with abnormal). Also use tmpfiles.d to create /run/quagga For now, we leave dh_installinit, even though it creates unneeded update-rc.d calls, and causes lintian complaints about init.d files that aren't present, so that it installs files like etc/default/quagga. It also runs the tmpfiles.d commands for us, so we need to add those to postinst if we dummy it out to fix the update-rc.d lines being added (and lintian complaints). Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Use 256 multipathsDonald Sharp2016-01-271-1/+1
| | | | | | | | Turn on the ability for Quagga to use 256 multipaths Ticket: CM-8098 Reviewed-by: Daniel Walton and Don Slice Testing: Hand tested
* Debian: Fixup build issues with switch to 3.0Donald Sharp2015-12-021-34/+34
| | | | | | | | | Modify the build type from patch to git Fix the rules: spaces to tabs these were causing build issues Add some additional dependent packages Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Alex Doyle <adoyle@cumulusnetworks.com>
* Debian: Track dependencies so that rebuilds can work rightDonald Sharp2015-10-231-1/+2
| | | | | | | Not the debian way, I know. But cause the debian build to create and follow dependencies. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* Cause warnings to not build correctly in debian packagingDonald Sharp2015-07-261-0/+1
|
* Fix of debian compile to actually build some needed documentationDonald Sharp2015-05-221-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* iquagga-faster-compile.patchDonald Sharp2015-05-201-12/+23
| | | | | | | Avoid cleaning up the source tree and running reconf every time. Allows recompilation of only those files that have been modified since last run. Relies on the existence of config.status file to decide if we've run the first time or subsequent times.
* enable autoreconf so that Makefile.in is regenerated in the cumulus build.Donald Sharp2015-05-201-1/+1
| | | | | This is necessary for the added .c files and modified Makefile.am files in our patches.
* conditional-quagga-pdf.patchDonald Sharp2015-05-201-0/+2
| | | | | | The building of quagga.pdf requires the convert program out of the imagemagick package. Getting this to run correctly in the scratchbox2 environment is painful. Conditionally generate documentation during native compilation.
* Debian Packaging FilesDonald Sharp2015-05-201-0/+98
This is the collection of Debian packaging files used to compile our code