summaryrefslogtreecommitdiff
path: root/debian/rules
AgeCommit message (Collapse)Author
2024-11-08packaging: Use PCRE2 for .deb/.rpm buildsDonatas Abraitis
We have the support of PCRE2 since 061f5d1cb43938c30847e0ebb49e2b43be3aa4c2. Also we already do this for containers (docker images). Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-06-20debian: Add option to build pkg with grpc supportMartin Winter
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2024-01-27build: update packaging & docs for dir changesDavid Lamparter
`--sysconfdir` and `--localstatedir` now align with general autoconf practices. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-01-24debian: fix python3 shebang in new filesDavid Lamparter
Already done for existing python scripts in the install, just need to add new .py files. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 03cef3900334e72b06cb9505e23338f2cfb9b9e5)
2023-01-24debian: fix sphinx docsDavid Lamparter
- use dh_sphinxdoc to get rid of embedded JS Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit e1e2ea84eed7f1880e1ed3fa2cfa09eaa9d2cdc1)
2023-01-24debian: make cross-compile workDavid Lamparter
This allows e.g. "sbuild --host=arm64" to build packages for other architectures on, say, fat amd64 servers. As a side effect, the Debian build uses a separate builddir, which helps noting issues on that front. Signed-off-by: David Lamparter <equinox@diac24.net> (cherry-picked from commit d1312e009b62331d39d0b9e77997b2f42be66f46)
2022-11-21debian: Enable pim6d build by defaultMartin Winter
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2022-07-07debian: Add pkg.frr.pim6d build profileMartin Winter
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2022-03-04debian: include frr@.service in debVille Skyttä
Signed-off-by: Ville Skyttä <ville.skytta@upcloud.com>
2021-06-29build, doc: extricate `--enable-systemd`David Lamparter
Ouch, that is a *lot* of places to update... Signed-off-by: David Lamparter <equinox@diac24.net>
2021-04-09*: remove *.conf.sample filesQuentin Young
Most of these are many, many years out of date. All of them vary randomly in quality. They show up by default in packages where they aren't really useful now that we use integrated config. Remove them. The useful ones have been moved to the docs. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-12-10debian: work around NetDef CI missing lua packagesQuentin Young
Scripting must be explicitly enabled now when building packages via the pkg.frr.lua Debian profile Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-12-08debian: clean up packaging stuff for scriptingQuentin Young
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-09-26Convert the package to dh compat level 10Ondřej Surý
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.
2019-09-13tools: Modifications to copy support bundle filesSri Mohana Singamsetty
This commit is to copy the support bundle scripts to appropriate directories during installation Signed-off-by: Sri Mohana Singamsetty <msingamsetty@vmware.com>
2019-02-19debian: 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-02-19debian: 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-02-19debian: 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-02-19debian: fix up for new initscriptsDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-02-19debian: 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-02-19debian: 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-17debian: Fix some incorrect references to Quagga instead of FRRMartin Winter
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-02-09debian: Fix to not auto-install snmp MIBDonald Sharp
Only install the snmp MIB for zebra if we are building the debian package with SNMP. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-04debian: Convert Quagga -> FrrDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-10-03debian: Disable build of vnc currentlyDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-07-26debian: Disable pimd in cmaster-nextDonald Sharp
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>
2016-06-15debian: Fix rules fileDonald Sharp
Fix the rules file to put back isis and vtysh Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-06-15debian: Remove obsoleted configure options.Donald Sharp
configure.ac has moved on, catch debian up with it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-02debian: Debian fixupsDonald Sharp
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>
2016-04-27debian: Attempt to fix parrelizationDonald Sharp
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>
2016-04-27quagga: Fixup startup to allow consistency between sysV and systemdDonald Sharp
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>
2016-03-04debian: Turn on Poll usageDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-03-01debian: Remove some unnecesary files from debian directory.Donald Sharp
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>
2016-02-23debian: Revamp startup againsharpd
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>
2016-02-23debian, config, zebra: Ensure Cumulus Extensions are not auto turned onDonald Sharp
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>
2016-02-11quagga: remove babelDaniel Walton
Ticket: CM-9274 Reviewed By: sharpd@cumulusnetworks.com Testing Done: <DETAILED DESCRIPTION (REPLACE)>
2016-02-10Build was broken if systemd was not installedDaniel Walton
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-02-10debian: Add Systemd integration to control filesDonald Sharp
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>
2016-01-27debian: Use 256 multipathsDonald Sharp
Turn on the ability for Quagga to use 256 multipaths Ticket: CM-8098 Reviewed-by: Daniel Walton and Don Slice Testing: Hand tested
2015-12-02Debian: Fixup build issues with switch to 3.0Donald Sharp
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>
2015-10-22Debian: Track dependencies so that rebuilds can work rightDonald Sharp
Not the debian way, I know. But cause the debian build to create and follow dependencies. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2015-07-25Cause warnings to not build correctly in debian packagingDonald Sharp
2015-05-21Fix of debian compile to actually build some needed documentationDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2015-05-19iquagga-faster-compile.patchDonald Sharp
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.
2015-05-19enable autoreconf so that Makefile.in is regenerated in the cumulus build.Donald Sharp
This is necessary for the added .c files and modified Makefile.am files in our patches.
2015-05-19conditional-quagga-pdf.patchDonald Sharp
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.