Skip to content

Commit

Permalink
Deb: always build mariadb-cracklib-password-check, even on Travis-CI
Browse files Browse the repository at this point in the history
Previously Travis-CI stated that cracklib is forbidden, but it does
not longer seem to be the case.
  • Loading branch information
ottok committed Oct 7, 2016
1 parent 1369696 commit 62d1cfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions debian/autobake-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ CODENAME="$(lsb_release -sc)"
# Add libcrack2 (>= 2.9.0) as a build dependency if available in the distribution
# This matches Debian Jessie, Stretch and Ubuntu Trusty, Wily, Xenial, Yakkety
# Update check when version 2.10 or newer is available.
# On Travis-CI never build cracklib, as it is forbidden on Travis-CI.org
if [[ ! $TRAVIS ]] && apt-cache madison libcrack2-dev | grep 'libcrack2-dev *| *2\.9' >/dev/null 2>&1
if apt-cache madison libcrack2-dev | grep 'libcrack2-dev *| *2\.9' >/dev/null 2>&1
then
sed 's/Standards-Version/,libcrack2-dev (>= 2.9.0)\nStandards-Version/' debian/control
cat <<EOT >> debian/control
Expand Down

0 comments on commit 62d1cfe

Please sign in to comment.