summaryrefslogtreecommitdiffstats
path: root/debianpkg
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-03-17 20:57:13 +0100
committerMartin Winter <mwinter@opensourcerouting.org>2018-03-27 16:05:36 +0200
commit54c310b8039d9ffe5cc96d6711a1c6a21306f69f (patch)
tree56a7641b98413e05a2d822ba73e2eadea440ae02 /debianpkg
parentMerge pull request #1946 from qlyoung/asan-configure-option (diff)
downloadfrr-54c310b8039d9ffe5cc96d6711a1c6a21306f69f.tar.xz
frr-54c310b8039d9ffe5cc96d6711a1c6a21306f69f.zip
debianpkg: Add support for Ubuntu 18.04
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'debianpkg')
-rw-r--r--debianpkg/Makefile.am4
-rw-r--r--debianpkg/README.deb_build.md6
-rw-r--r--debianpkg/backports/ubuntu18.04/debian/control54
-rw-r--r--debianpkg/backports/ubuntu18.04/debian/source/format1
-rw-r--r--debianpkg/backports/ubuntu18.04/exclude0
-rw-r--r--debianpkg/backports/ubuntu18.04/versionext1
-rwxr-xr-xdebianpkg/rules2
7 files changed, 64 insertions, 4 deletions
diff --git a/debianpkg/Makefile.am b/debianpkg/Makefile.am
index 06e5bda3d..e7ae4bb58 100644
--- a/debianpkg/Makefile.am
+++ b/debianpkg/Makefile.am
@@ -33,6 +33,10 @@ EXTRA_DIST = README.Debian README.Maintainer \
backports/ubuntu17.10/debian/source/format \
backports/ubuntu17.10/exclude \
backports/ubuntu17.10/versionext \
+ backports/ubuntu18.04/debian/control \
+ backports/ubuntu18.04/debian/source/format \
+ backports/ubuntu18.04/exclude \
+ backports/ubuntu18.04/versionext \
frr-doc.docs frr-doc.info frr-doc.install \
frr-doc.lintian-overrides frr.conf \
frr-dbg.lintian-overrides \
diff --git a/debianpkg/README.deb_build.md b/debianpkg/README.deb_build.md
index 8ccce93f5..1536698ba 100644
--- a/debianpkg/README.deb_build.md
+++ b/debianpkg/README.deb_build.md
@@ -1,6 +1,6 @@
Building your own FRRouting Debian Package
==========================================
-(Tested on Ubuntu 12.04, 14.04, 16.04, 17.10, Debian 8 and 9)
+(Tested on Ubuntu 12.04, 14.04, 16.04, 17.10, 18.04, Debian 8 and 9)
**Note:** If you try to build for a different distro, then it will most likely
fail because of the missing backport. See debianpkg/backports/README about
@@ -102,7 +102,7 @@ allowed.
sudo update-rc.d frr defaults
- - On `systemd` based systems (Debian 8, 9, Ubuntu 14.04, 16.04, 17.10)
+ - On `systemd` based systems (Debian 8 and later, Ubuntu 14.04 and later)
sudo systemctl enable frr
@@ -112,7 +112,7 @@ allowed.
sudo invoke-rc.d frr start
- - on `systemd` based systems (Debian 8, 9, Ubuntu 14.04, 16.04, 17.10)
+ - on `systemd` based systems (Debian 8 and later, Ubuntu 14.04 and later)
sudo systemctl start frr
diff --git a/debianpkg/backports/ubuntu18.04/debian/control b/debianpkg/backports/ubuntu18.04/debian/control
new file mode 100644
index 000000000..d28f9332c
--- /dev/null
+++ b/debianpkg/backports/ubuntu18.04/debian/control
@@ -0,0 +1,54 @@
+Source: frr
+Section: net
+Priority: optional
+Maintainer: Nobody <nobody@frrouting.org>
+Uploaders: Nobody <nobody@frrouting.org>
+XSBC-Original-Maintainer: <maintainers@frrouting.org>
+Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, autotools-dev, libpcre3-dev, gawk, chrpath, libsnmp-dev, git, dh-autoreconf, libjson-c-dev, libjson-c2 | libjson-c3, dh-systemd, libsystemd-dev, bison, flex, libc-ares-dev, pkg-config, python (>= 2.7), python-ipaddr, python-sphinx
+Standards-Version: 3.9.6
+Homepage: http://www.frrouting.org/
+
+Package: frr
+Architecture: any
+Depends: ${shlibs:Depends}, logrotate (>= 3.2-11), iproute2 | iproute, ${misc:Depends}, libc-ares2
+Pre-Depends: adduser
+Conflicts: zebra, zebra-pj, quagga
+Replaces: zebra, zebra-pj
+Suggests: snmpd
+Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon forked from Quagga
+ FRR is free software which manages TCP/IP based routing protocols.
+ It supports BGP4, BGP4+, OSPFv2, OSPFv3, IS-IS, RIPv1, RIPv2, RIPng,
+ PIM and LDP as well as the IPv6 versions of these.
+ .
+ FRR is a fork of Quagga with an open community model. The main git
+ lives on https://github.com/frrouting/frr.git
+
+Package: frr-dbg
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, frr (= ${binary:Version})
+Priority: optional
+Section: debug
+Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon (debug symbols)
+ This package provides debugging symbols for all binary packages built
+ from frr source package. It's highly recommended to have this package
+ installed before reporting any FRR crashes to either FRR developers or
+ Debian package maintainers.
+
+Package: frr-doc
+Section: net
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: frr
+Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon (documentation)
+ This package includes info files for frr, a free software which manages
+ TCP/IP based routing protocols. It supports BGP4, BGP4+, OSPFv2, OSPFv3,
+ IS-IS, RIPv1, RIPv2, RIPng, PIM and LDP as well as the IPv6 versions of these.
+
+Package: frr-pythontools
+Section: net
+Architecture: all
+Depends: ${misc:Depends}, frr (= ${binary:Version}), python (>= 2.7), python-ipaddr
+Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon (Python Tools)
+ This package includes info files for frr, a free software which manages
+ TCP/IP based routing protocols. It supports BGP4, BGP4+, OSPFv2, OSPFv3,
+ IS-IS, RIPv1, RIPv2, RIPng, PIM and LDP as well as the IPv6 versions of these.
diff --git a/debianpkg/backports/ubuntu18.04/debian/source/format b/debianpkg/backports/ubuntu18.04/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debianpkg/backports/ubuntu18.04/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debianpkg/backports/ubuntu18.04/exclude b/debianpkg/backports/ubuntu18.04/exclude
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debianpkg/backports/ubuntu18.04/exclude
diff --git a/debianpkg/backports/ubuntu18.04/versionext b/debianpkg/backports/ubuntu18.04/versionext
new file mode 100644
index 000000000..832fb4c32
--- /dev/null
+++ b/debianpkg/backports/ubuntu18.04/versionext
@@ -0,0 +1 @@
+-1~ubuntu18.04+1
diff --git a/debianpkg/rules b/debianpkg/rules
index 0f2f4ebe1..9c84c0651 100755
--- a/debianpkg/rules
+++ b/debianpkg/rules
@@ -205,7 +205,7 @@ override_dh_systemd_enable:
# backports
SRCPKG = frr
-KNOWN_BACKPORTS = debian8 debian9 ubuntu12.04 ubuntu14.04 ubuntu16.04 ubuntu17.10
+KNOWN_BACKPORTS = debian8 debian9 ubuntu12.04 ubuntu14.04 ubuntu16.04 ubuntu17.10 ubuntu18.04
DEBIAN_VERSION := $(shell dh_testdir && \
dpkg-parsechangelog -c1 < debian/changelog | \
sed -rn 's/^Version: ?//p')