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
6809fdb7
Commit
6809fdb7
authored
Jul 21, 2015
by
Otto Kekäläinen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update autobake.sh to match control file location. Drop lucid and squeeze support.
parent
af9509d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
31 deletions
+6
-31
debian/autobake-deb.sh
debian/autobake-deb.sh
+5
-30
debian/control
debian/control
+1
-1
No files found.
debian/autobake-deb.sh
View file @
6809fdb7
...
@@ -28,47 +28,22 @@ PATCHLEVEL="+maria"
...
@@ -28,47 +28,22 @@ PATCHLEVEL="+maria"
LOGSTRING
=
"MariaDB build"
LOGSTRING
=
"MariaDB build"
# Look up distro-version specific stuff.
# Look up distro-version specific stuff.
#
# Libreadline changed to GPLv3. Old GPLv2 version is available, but it
# is called different things on different versions.
CODENAME
=
"
$(
lsb_release
-sc
)
"
CODENAME
=
"
$(
lsb_release
-sc
)
"
case
"
${
CODENAME
}
"
in
lucid
)
LIBREADLINE_DEV
=
'libreadline5-dev | libreadline-dev'
;;
squeeze
)
LIBREADLINE_DEV
=
libreadline5-dev
;;
*
)
LIBREADLINE_DEV
=
libreadline-gplv2-dev
;;
esac
# add libcrack2 (>= 2.9.0) as a build dependency
# add libcrack2 (>= 2.9.0) as a build dependency
# but only where the distribution can possibly satisfy it
# but only where the distribution can possibly satisfy it
if
apt-cache madison cracklib2|grep
'cracklib2 *| *2\.[0-8]\.'
>
/dev/null 2>&1
if
apt-cache madison cracklib2|grep
'cracklib2 *| *2\.[0-8]\.'
>
/dev/null 2>&1
then
then
MAYBE_LIBCRACK
=
''
# Anything in MARIADB_OPTIONAL_DEBS is omitted from the resulting
# packages by snipped in rules file
MARIADB_OPTIONAL_DEBS
=
"
${
MARIADB_OPTIONAL_DEBS
}
cracklib-password-check-10.1"
MARIADB_OPTIONAL_DEBS
=
"
${
MARIADB_OPTIONAL_DEBS
}
cracklib-password-check-10.1"
sed
-i
-e
"/
\\\$
{MAYBE_LIBCRACK}/d"
debian/control
else
else
MAYBE_LIBCRACK
=
'libcrack2-dev (>= 2.9.0),'
MAYBE_LIBCRACK
=
'libcrack2-dev (>= 2.9.0),'
sed
-i
-e
"s/
\\\$
{MAYBE_LIBCRACK}/
${
MAYBE_LIBCRACK
}
/g"
debian/control
fi
fi
# Clean up build file symlinks that are distro-specific. First remove all, then set
# new links.
DISTRODIRS
=
"
$(
ls
./debian/dist
)
"
for
distrodir
in
${
DISTRODIRS
}
;
do
DISTROFILES
=
"
$(
ls
./debian/dist/
${
distrodir
}
)
"
for
distrofile
in
${
DISTROFILES
}
;
do
rm
-f
"./debian/
${
distrofile
}
"
;
done
;
done
;
# Set no symlinks for build files in the debian dir, so we avoid adding AppArmor on Debian.
DISTRO
=
"
$(
lsb_release
-si
)
"
echo
"Copying distribution specific build files for
${
DISTRO
}
"
DISTROFILES
=
"
$(
ls
./debian/dist/
${
DISTRO
}
)
"
for
distrofile
in
${
DISTROFILES
}
;
do
rm
-f
"./debian/
${
distrofile
}
"
sed
-e
"s/
\\\$
{LIBREADLINE_DEV}/
${
LIBREADLINE_DEV
}
/g"
\
-e
"s/
\\\$
{MAYBE_LIBCRACK}/
${
MAYBE_LIBCRACK
}
/g"
\
<
"./debian/dist/
${
DISTRO
}
/
${
distrofile
}
"
>
"./debian/
${
distrofile
}
"
chmod
--reference
=
"./debian/dist/
${
DISTRO
}
/
${
distrofile
}
"
"./debian/
${
distrofile
}
"
done
;
# Adjust changelog, add new version.
# Adjust changelog, add new version.
#
#
...
...
debian/control
View file @
6809fdb7
...
@@ -22,7 +22,7 @@ Build-Depends: bison,
...
@@ -22,7 +22,7 @@ Build-Depends: bison,
procps
|
hurd
,
procps
|
hurd
,
psmisc
,
psmisc
,
zlib1g
-
dev
(>=
1
:
1.1.3
-
5
),
zlib1g
-
dev
(>=
1
:
1.1.3
-
5
),
${
LIBREADLINE_DEV
}
,
libreadline
-
gplv2
-
dev
,
${
MAYBE_LIBCRACK
}
${
MAYBE_LIBCRACK
}
libjemalloc
-
dev
(>=
3.0.0
)
libjemalloc
-
dev
(>=
3.0.0
)
Standards
-
Version
:
3.8.2
Standards
-
Version
:
3.8.2
...
...
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