Skip to content

Commit

Permalink
Merge pull request #123 from ottok/ok-debpkg-10.2
Browse files Browse the repository at this point in the history
MDEV-9186 - Debian packaging: extend libcrack hack to create correct control file
  • Loading branch information
svoj committed Dec 23, 2015
2 parents b424420 + e717ceb commit 0f94f94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/autobake-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ then
# packages by snipped in rules file
MARIADB_OPTIONAL_DEBS="${MARIADB_OPTIONAL_DEBS} cracklib-password-check-10.2"
sed -i -e "/\\\${MAYBE_LIBCRACK}/d" debian/control
# Remove package entry from control file completely so that
# resulting Debian source package will actually be buildable
sed -i -e "/Package: mariadb-cracklib-password-check/,+6d" debian/control
else
MAYBE_LIBCRACK='libcrack2-dev (>= 2.9.0),'
sed -i -e "s/\\\${MAYBE_LIBCRACK}/${MAYBE_LIBCRACK}/g" debian/control
Expand Down

0 comments on commit 0f94f94

Please sign in to comment.