mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-10126: replace deprecated iproute dependency with iproute2
Fall back to old iproute on Debian Wheezy and Ubuntu Precise that don't have iproute2 available.
This commit is contained in:
parent
3a6e781ea3
commit
b5b68b6bb8
2 changed files with 9 additions and 1 deletions
8
debian/autobake-deb.sh
vendored
8
debian/autobake-deb.sh
vendored
|
@ -30,10 +30,18 @@ fi
|
|||
|
||||
|
||||
# Look up distro-version specific stuff
|
||||
#
|
||||
# Always keep the actual packaging as up-to-date as possible following the latest
|
||||
# Debian policy and targetting Debian Sid. Then case-by-case run in autobake-deb.sh
|
||||
# tests for backwards compatibility and strip away parts on older builders.
|
||||
|
||||
# If iproute2 is not available (before Debian Jessie and Ubuntu Trusty)
|
||||
# fall back to the old iproute package.
|
||||
if ! apt-cache madison iproute2 | grep 'iproute2 *|' >/dev/null 2>&1
|
||||
then
|
||||
sed 's/iproute2/iproute/' -i debian/control
|
||||
fi
|
||||
|
||||
# If libcrack2 (>= 2.9.0) is not available (before Debian Jessie and Ubuntu Trusty)
|
||||
# clean away the cracklib stanzas so the package can build without them.
|
||||
if ! apt-cache madison libcrack2-dev | grep 'libcrack2-dev *| *2\.9' >/dev/null 2>&1
|
||||
|
|
2
debian/control
vendored
2
debian/control
vendored
|
@ -349,7 +349,7 @@ Depends: bsdutils,
|
|||
findutils,
|
||||
galera-3 (>=25.3),
|
||||
gawk,
|
||||
iproute,
|
||||
iproute2,
|
||||
libdbi-perl,
|
||||
lsb-base (>= 3.0-10),
|
||||
lsof,
|
||||
|
|
Loading…
Reference in a new issue