Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7f570bef
Commit
7f570bef
authored
Oct 21, 2016
by
Otto Kekäläinen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deb: fix commit
1369696b
and change autobake strategy to Debian Sid first
parent
affa6e3d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
21 deletions
+24
-21
debian/autobake-deb.sh
debian/autobake-deb.sh
+12
-21
debian/control
debian/control
+12
-0
No files found.
debian/autobake-deb.sh
View file @
7f570bef
...
...
@@ -31,35 +31,26 @@ PATCHLEVEL="+maria"
LOGSTRING
=
"MariaDB build"
# 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.
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.
if
apt-cache madison libcrack2-dev |
grep
'libcrack2-dev *| *2\.9'
>
/dev/null 2>&1
# 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
then
sed
's/Standards-Version/,libcrack2-dev (>= 2.9.0)\nStandards-Version/'
debian/control
cat
<<
EOT
>> debian/control
Package: mariadb-cracklib-password-check-10.2
Architecture: any
Depends: libcrack2 (>= 2.9.0),
mariadb-server-10.2,
\$
{misc:Depends},
\$
{shlibs:Depends}
Description: CrackLib Password Validation Plugin for MariaDB
This password validation plugin uses cracklib to allow only
sufficiently secure (as defined by cracklib) user passwords in MariaDB.
EOT
sed
'/libcrack2-dev/d'
-i
debian/control
sed
'/Package: mariadb-plugin-cracklib/,+10d'
-i
debian/control
fi
#
Add libpcre3-dev (>= 2:8.35-3.2~) as a build dependency if available in the distribution
#
This matches Debian Jessie, Stretch and Ubuntu Wily, Xenial, Yakkety
#
If libpcre3-dev (>= 2:8.35-3.2~) is not available (before Debian Jessie or Ubuntu Wily)
#
clean away the PCRE3 stanzas so the package can build without them.
# Update check when version 2:8.40 or newer is available.
if
apt-cache madison libpcre3-dev |
grep
'libpcre3-dev *| *2:8\.3[2-9]'
>
/dev/null 2>&1
if
!
apt-cache madison libpcre3-dev |
grep
'libpcre3-dev *| *2:8\.3[2-9]'
>
/dev/null 2>&1
then
sed
'
s/Standards-Version/,libpcre3-dev (>= 2:8.35-3.2~)\nStandards-Version/'
debian/control
sed
'
/libpcre3-dev/d'
-i
debian/control
fi
# On Travis-CI, the log must stay under 4MB so make the build less verbose
...
...
debian/control
View file @
7f570bef
...
...
@@ -10,11 +10,13 @@ Build-Depends: bison,
dpatch
,
libaio
-
dev
[
linux
-
any
],
libboost
-
dev
,
libcrack2
-
dev
(>=
2.9.0
),
libjemalloc
-
dev
(>=
3.0.0
~)
[
linux
-
any
],
libjudy
-
dev
,
libkrb5
-
dev
,
libncurses5
-
dev
(>=
5.0
-
6
~),
libpam0g
-
dev
,
libpcre3
-
dev
(>=
2
:
8.35
-
3.2
~),
libreadline
-
gplv2
-
dev
,
libssl
-
dev
,
libxml2
-
dev
,
...
...
@@ -555,3 +557,13 @@ Depends: libgssapi-krb5-2,
Breaks: mariadb-gssapi-client-10.1, mariadb-gssapi-client-10.2
Replaces: mariadb-gssapi-client-10.1, mariadb-gssapi-client-10.2
Description: GSSAPI authentication plugin for MariaDB client
Package: mariadb-plugin-cracklib-password-check
Architecture: any
Depends: libcrack2 (>= 2.9.0),
mariadb-server-10.2,
${misc:Depends},
${shlibs:Depends}
Description: CrackLib Password Validation Plugin for MariaDB
This password validation plugin uses cracklib to allow only
sufficiently secure (as defined by cracklib) user passwords in MariaDB.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment