Commit b5b68b6b authored by Otto Kekäläinen's avatar Otto Kekäläinen

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.
parent 3a6e781e
......@@ -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
......
......@@ -349,7 +349,7 @@ Depends: bsdutils,
findutils,
galera-3 (>=25.3),
gawk,
iproute,
iproute2,
libdbi-perl,
lsb-base (>= 3.0-10),
lsof,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment