Commit a4099db8 authored by unknown's avatar unknown

control.in:

  Fixed branding problem.
Many files:
  Fixed branding problem
changelog:
  Upgraded to 5.0.42
defs.mk.in:
  Fixed branding and variable persiting problem.


debian/changelog:
  Upgraded to 5.0.42
debian/control.in:
  Fixed branding problem.
debian/defs.mk.in:
  Fixed branding and variable persiting problem.
debian/mysql-client-BASE.files.in:
  Fixed branding problem
debian/mysql-client-BASE.lintian-overrides.in:
  Fixed branding problem
debian/mysql-server-BASE.config.in:
  Fixed branding problem
debian/mysql-server-BASE.files.in:
  Fixed branding problem
debian/mysql-server-BASE.lintian-overrides.in:
  Fixed branding problem
debian/mysql-server-BASE.postinst.in:
  Fixed branding problem
debian/mysql-server-BASE.postrm.in:
  Fixed branding problem
debian/mysql-server-BASE.templates.in:
  Fixed branding problem
debian/rules:
  Fixed branding problem
debian/source.lintian-overrides.in:
  Fixed branding problem
debian/po/POTFILES.in.in:
  Fixed branding problem
parent 32e10ba7
mysql-enterprise-5.0 (5.0.42unreleased) feisty; urgency=low
* Built unreleased version of 5.0.42 for assessment by Canonical.
-- Monty Taylor <mtaylor@blade09> Thu, 19 Apr 2007 22:18:02 +0200
mysql-5.0 (5.0.38) enterprise; urgency=low mysql-5.0 (5.0.38) enterprise; urgency=low
* Imported packaging work from Debian. * Imported packaging work from Debian.
......
Source: mysql-@MYSQL_BASE_VERSION@ Source: mysql-@MYSQL_BRANDED_BASE_VERSION@
Section: misc Section: misc
Priority: optional Priority: optional
Maintainer: Monty Taylor <mtaylor@mysql.com> Maintainer: Monty Taylor <mtaylor@mysql.com>
...@@ -115,9 +115,9 @@ Package: mysql-common ...@@ -115,9 +115,9 @@ Package: mysql-common
Section: misc Section: misc
Architecture: all Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: mysql-common-@MYSQL_PREVIOUS_BASE_VERSION@ Conflicts: mysql-common-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Provides: mysql-common-@MYSQL_PREVIOUS_BASE_VERSION@ Provides: mysql-common-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Replaces: mysql-common-@MYSQL_PREVIOUS_BASE_VERSION@ Replaces: mysql-common-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Description: mysql database common files (e.g. /etc/mysql/my.cnf) Description: mysql database common files (e.g. /etc/mysql/my.cnf)
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user, The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. MySQL Server and robust SQL (Structured Query Language) database server. MySQL Server
...@@ -138,12 +138,12 @@ Description: mysql database common files (e.g. /etc/mysql/my.cnf) ...@@ -138,12 +138,12 @@ Description: mysql database common files (e.g. /etc/mysql/my.cnf)
. .
This package includes files needed by all versions of the client library. This package includes files needed by all versions of the client library.
Package: mysql-client-@MYSQL_BASE_VERSION@ Package: mysql-client-@MYSQL_BRANDED_BASE_VERSION@
Architecture: any Architecture: any
Depends: debianutils (>=1.6), libdbi-perl, libdbd-mysql-perl (>= 1.2202), mysql-common (>= ${Source-Version}), libmysqlclient@SHARED_LIB_MAJOR_VERSION@ (>= ${Source-Version}), ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} Depends: debianutils (>=1.6), libdbi-perl, libdbd-mysql-perl (>= 1.2202), mysql-common (>= ${Source-Version}), libmysqlclient@SHARED_LIB_MAJOR_VERSION@ (>= ${Source-Version}), ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
Provides: virtual-mysql-client, mysql-client, mysql-client-@MYSQL_PREVIOUS_BASE_VERSION@ Provides: virtual-mysql-client, mysql-client, mysql-client-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Conflicts: mysql-client (<< ${Source-Version}), mysql-client-@MYSQL_PREVIOUS_BASE_VERSION@ Conflicts: mysql-client (<< ${Source-Version}), mysql-client-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Replaces: mysql-client (<< ${Source-Version}), mysql-server, mysql-client-@MYSQL_PREVIOUS_BASE_VERSION@ Replaces: mysql-client (<< ${Source-Version}), mysql-server, mysql-client-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Description: mysql database client binaries Description: mysql database client binaries
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user, The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. MySQL Server and robust SQL (Structured Query Language) database server. MySQL Server
...@@ -164,15 +164,15 @@ Description: mysql database client binaries ...@@ -164,15 +164,15 @@ Description: mysql database client binaries
. .
This package contains the standard MySQL clients and administration tools. This package contains the standard MySQL clients and administration tools.
Package: mysql-server-@MYSQL_BASE_VERSION@ Package: mysql-server-@MYSQL_BRANDED_BASE_VERSION@
Architecture: any Architecture: any
Suggests: tinyca Suggests: tinyca
Recommends: mailx Recommends: mailx
Pre-Depends: mysql-common (>= ${Source-Version}), adduser (>= 3.40) Pre-Depends: mysql-common (>= ${Source-Version}), adduser (>= 3.40)
Depends: mysql-client-@MYSQL_BASE_VERSION@ (>= ${Source-Version}), libdbi-perl, perl (>= 5.6), ${shlibs:Depends}, ${misc:Depends}, psmisc, passwd, lsb-base (>= 3.0-10) Depends: mysql-client-@MYSQL_BRANDED_BASE_VERSION@ (>= ${Source-Version}), libdbi-perl, perl (>= 5.6), ${shlibs:Depends}, ${misc:Depends}, psmisc, passwd, lsb-base (>= 3.0-10)
Conflicts: mysql-server (<< ${Source-Version}), mysql-server-@MYSQL_PREVIOUS_BASE_VERSION@ (<< 5.0.26-3) Conflicts: mysql-server (<< ${Source-Version}), mysql-server-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@ (<< 5.0.26-3)
Provides: mysql-server, virtual-mysql-server, mysql-server-@MYSQL_PREVIOUS_BASE_VERSION@ Provides: mysql-server, virtual-mysql-server, mysql-server-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Replaces: mysql-server (<< ${Source-Version}), mysql-server-@MYSQL_PREVIOUS_BASE_VERSION@ Replaces: mysql-server (<< ${Source-Version}), mysql-server-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Description: mysql database server binaries Description: mysql database server binaries
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user, The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. MySQL Server and robust SQL (Structured Query Language) database server. MySQL Server
...@@ -195,12 +195,12 @@ Description: mysql database server binaries ...@@ -195,12 +195,12 @@ Description: mysql database server binaries
as related utilities to run and administrate a MySQL server. as related utilities to run and administrate a MySQL server.
. .
If you want to access and work with the database, you have to install If you want to access and work with the database, you have to install
package mysql-client-@MYSQL_BASE_VERSION@ as well! package mysql-client-@MYSQL_BRANDED_BASE_VERSION@ as well!
Package: mysql-test-@MYSQL_BASE_VERSION@ Package: mysql-test-@MYSQL_BRANDED_BASE_VERSION@
Architecture: any Architecture: any
Pre-Depends: mysql-common (>= ${Source-Version}) Pre-Depends: mysql-common (>= ${Source-Version})
Depends: mysql-client-@MYSQL_BASE_VERSION@ (>= ${Source-Version}), libdbd-mysql-perl, perl (>= 5.6), ${shlibs:Depends}, ${misc:Depends} Depends: mysql-client-@MYSQL_BRANDED_BASE_VERSION@ (>= ${Source-Version}), libdbd-mysql-perl, perl (>= 5.6), ${shlibs:Depends}, ${misc:Depends}
Description: MySQL - test suite Description: MySQL - test suite
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user, The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. MySQL Server and robust SQL (Structured Query Language) database server. MySQL Server
...@@ -221,7 +221,7 @@ Description: MySQL - test suite ...@@ -221,7 +221,7 @@ Description: MySQL - test suite
. .
This package contains the MySQL regression test suite. This package contains the MySQL regression test suite.
Package: mysql-storage-@MYSQL_BASE_VERSION@ Package: mysql-storage-@MYSQL_BRANDED_BASE_VERSION@
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: MySQL - ndbcluster storage engine Description: MySQL - ndbcluster storage engine
...@@ -248,7 +248,7 @@ Description: MySQL - ndbcluster storage engine ...@@ -248,7 +248,7 @@ Description: MySQL - ndbcluster storage engine
Note that this storage engine can only be used in conjunction Note that this storage engine can only be used in conjunction
with the MySQL Max server. with the MySQL Max server.
Package: mysql-management-@MYSQL_BASE_VERSION@ Package: mysql-management-@MYSQL_BRANDED_BASE_VERSION@
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: MySQL - ndbcluster storage engine management Description: MySQL - ndbcluster storage engine management
...@@ -273,7 +273,7 @@ Description: MySQL - ndbcluster storage engine management ...@@ -273,7 +273,7 @@ Description: MySQL - ndbcluster storage engine management
It is necessary to have this package installed on at least It is necessary to have this package installed on at least
one computer in the cluster. one computer in the cluster.
Package: mysql-tools-@MYSQL_BASE_VERSION@ Package: mysql-tools-@MYSQL_BRANDED_BASE_VERSION@
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: MySQL - ndbcluster storage engine basic tools Description: MySQL - ndbcluster storage engine basic tools
...@@ -296,7 +296,7 @@ Description: MySQL - ndbcluster storage engine basic tools ...@@ -296,7 +296,7 @@ Description: MySQL - ndbcluster storage engine basic tools
. .
This package contains ndbcluster storage engine basic tools. This package contains ndbcluster storage engine basic tools.
Package: mysql-extra-@MYSQL_BASE_VERSION@ Package: mysql-extra-@MYSQL_BRANDED_BASE_VERSION@
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: MySQL - ndbcluster storage engine extra tools Description: MySQL - ndbcluster storage engine extra tools
...@@ -323,11 +323,11 @@ Description: MySQL - ndbcluster storage engine extra tools ...@@ -323,11 +323,11 @@ Description: MySQL - ndbcluster storage engine extra tools
They should be used with caution They should be used with caution
Package: mysql-server-@MYSQL_PREVIOUS_BASE_VERSION@ Package: mysql-server-@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
Architecture: any Architecture: any
Section: oldlibs Section: oldlibs
Priority: extra Priority: extra
Depends: mysql-server-@MYSQL_BASE_VERSION@ Depends: mysql-server-@MYSQL_BRANDED_BASE_VERSION@
Description: mysql database server (transitional package) Description: mysql database server (transitional package)
MySQL is a fast, stable and true multi-user, multi-threaded SQL database MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query server. SQL (Structured Query Language) is the most popular database query
...@@ -338,18 +338,18 @@ Description: mysql database server (transitional package) ...@@ -338,18 +338,18 @@ Description: mysql database server (transitional package)
Package: mysql-server Package: mysql-server
Architecture: all Architecture: all
Depends: mysql-server-@MYSQL_BASE_VERSION@ Depends: mysql-server-@MYSQL_BRANDED_BASE_VERSION@
Description: mysql database server (meta package depending on the latest version) Description: mysql database server (meta package depending on the latest version)
This is an empty package that depends on the current "best" version of This is an empty package that depends on the current "best" version of
mysql-server (currently mysql-server-@MYSQL_BASE_VERSION@), as determined by the MySQL mysql-server (currently mysql-server-@MYSQL_BRANDED_BASE_VERSION@), as determined by the MySQL
maintainers. Install this package if in doubt about which MySQL version maintainers. Install this package if in doubt about which MySQL version
you want, as this is the one we consider to be in the best shape. you want, as this is the one we consider to be in the best shape.
Package: mysql-client Package: mysql-client
Architecture: all Architecture: all
Depends: mysql-client-@MYSQL_BASE_VERSION@ Depends: mysql-client-@MYSQL_BRANDED_BASE_VERSION@
Description: mysql database client (meta package depending on the latest version) Description: mysql database client (meta package depending on the latest version)
This is an empty package that depends on the current "best" version of This is an empty package that depends on the current "best" version of
mysql-client (currently mysql-client-@MYSQL_BASE_VERSION@), as determined by the MySQL mysql-client (currently mysql-client-@MYSQL_BRANDED_BASE_VERSION@), as determined by the MySQL
maintainers. Install this package if in doubt about which MySQL version maintainers. Install this package if in doubt about which MySQL version
you want, as this is the one we consider to be in the best shape. you want, as this is the one we consider to be in the best shape.
...@@ -6,9 +6,9 @@ MYSQL_BUILD_CXX=gcc ...@@ -6,9 +6,9 @@ MYSQL_BUILD_CXX=gcc
# we re-write state into this file. MYSQL_BASE_VERSION might get a suffix added # we re-write state into this file. MYSQL_BASE_VERSION might get a suffix added
# by debian/rules which could result in a nasty loop. VER is there to hold the # by debian/rules which could result in a nasty loop. VER is there to hold the
# original unadorned version from autoconf # original unadorned version from autoconf
VER=@MYSQL_BASE_VERSION@
OLDVER=@MYSQL_PREVIOUS_BASE_VERSION@
MYSQL_BASE_VERSION=@MYSQL_BASE_VERSION@ MYSQL_BASE_VERSION=@MYSQL_BASE_VERSION@
MYSQL_PREVIOUS_BASE_VERSION=@MYSQL_PREVIOUS_BASE_VERSION@ MYSQL_PREVIOUS_BASE_VERSION=@MYSQL_PREVIOUS_BASE_VERSION@
MYSQL_BRANDED_BASE_VERSION=@MYSQL_BRANDED_BASE_VERSION@
MYSQL_BRANDED_PREVIOUS_BASE_VERSION=@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@
SHARED_LIB_MAJOR_VERSION=@SHARED_LIB_MAJOR_VERSION@ SHARED_LIB_MAJOR_VERSION=@SHARED_LIB_MAJOR_VERSION@
NDB_SHARED_LIB_MAJOR_VERSION=@NDB_SHARED_LIB_MAJOR_VERSION@ NDB_SHARED_LIB_MAJOR_VERSION=@NDB_SHARED_LIB_MAJOR_VERSION@
...@@ -10,7 +10,7 @@ usr/bin/mysqlcheck ...@@ -10,7 +10,7 @@ usr/bin/mysqlcheck
usr/bin/mysqldump usr/bin/mysqldump
usr/bin/mysqlimport usr/bin/mysqlimport
usr/bin/mysqlshow usr/bin/mysqlshow
usr/share/lintian/overrides/mysql-client-@MYSQL_BASE_VERSION@ usr/share/lintian/overrides/mysql-client-@MYSQL_BRANDED_BASE_VERSION@
usr/share/man/man1/mysql.1 usr/share/man/man1/mysql.1
usr/share/man/man1/mysqlaccess.1 usr/share/man/man1/mysqlaccess.1
usr/share/man/man1/mysqladmin.1 usr/share/man/man1/mysqladmin.1
......
mysql-client-@MYSQL_BASE_VERSION@: package-has-a-duplicate-relation mysql-client-@MYSQL_BRANDED_BASE_VERSION@: package-has-a-duplicate-relation
...@@ -9,7 +9,7 @@ CNF=/etc/mysql/my.cnf ...@@ -9,7 +9,7 @@ CNF=/etc/mysql/my.cnf
# Beware that there are two ypwhich one of them needs the 2>/dev/null! # Beware that there are two ypwhich one of them needs the 2>/dev/null!
if test -n "`which ypwhich 2>/dev/null`" && ypwhich >/dev/null 2>&1; then if test -n "`which ypwhich 2>/dev/null`" && ypwhich >/dev/null 2>&1; then
db_input high mysql-server-@MYSQL_BASE_VERSION@/nis_warning || true db_input high mysql-server-@MYSQL_BRANDED_BASE_VERSION@/nis_warning || true
db_go db_go
fi fi
...@@ -34,6 +34,6 @@ if [ "$1" = "configure" ] && ...@@ -34,6 +34,6 @@ if [ "$1" = "configure" ] &&
egrep -q -i '^[[:space:]]*old.passwords[[:space:]]*=[[:space:]]*(1|true)' $CNF egrep -q -i '^[[:space:]]*old.passwords[[:space:]]*=[[:space:]]*(1|true)' $CNF
) )
then then
db_input medium mysql-server-@MYSQL_BASE_VERSION@/need_sarge_compat || true db_input medium mysql-server-@MYSQL_BRANDED_BASE_VERSION@/need_sarge_compat || true
db_go db_go
fi fi
...@@ -26,7 +26,7 @@ usr/bin/resolveip ...@@ -26,7 +26,7 @@ usr/bin/resolveip
usr/sbin/mysqld usr/sbin/mysqld
usr/sbin/mysqlmanager usr/sbin/mysqlmanager
usr/lib/mysql/mysqld.sym usr/lib/mysql/mysqld.sym
usr/share/lintian/overrides/mysql-server-@MYSQL_BASE_VERSION@ usr/share/lintian/overrides/mysql-server-@MYSQL_BRANDED_BASE_VERSION@
usr/share/info/mysql.info usr/share/info/mysql.info
usr/share/man/man1/mysqlman.1 usr/share/man/man1/mysqlman.1
usr/share/man/man1/my_print_defaults.1 usr/share/man/man1/my_print_defaults.1
......
mysql-server-@MYSQL_BASE_VERSION@: possible-bashism-in-maintainer-script postinst:81 'p{("a".."z","A".."Z",0..9)[int(rand(62))]}' mysql-server-@MYSQL_BRANDED_BASE_VERSION@: possible-bashism-in-maintainer-script postinst:81 'p{("a".."z","A".."Z",0..9)[int(rand(62))]}'
mysql-server-@MYSQL_BASE_VERSION@: possible-bashism-in-maintainer-script preinst:33 '${cmd/ */}' mysql-server-@MYSQL_BRANDED_BASE_VERSION@: possible-bashism-in-maintainer-script preinst:33 '${cmd/ */}'
mysql-server-@MYSQL_BASE_VERSION@: statically-linked-binary ./usr/bin/mysql_tzinfo_to_sql mysql-server-@MYSQL_BRANDED_BASE_VERSION@: statically-linked-binary ./usr/bin/mysql_tzinfo_to_sql
mysql-server-@MYSQL_BASE_VERSION@: statically-linked-binary ./usr/sbin/mysqld mysql-server-@MYSQL_BRANDED_BASE_VERSION@: statically-linked-binary ./usr/sbin/mysqld
...@@ -137,12 +137,12 @@ EOF ...@@ -137,12 +137,12 @@ EOF
# On dist-upgrades, we ensure that the old_password setting is updated # On dist-upgrades, we ensure that the old_password setting is updated
# before passwords are changed. Except for that config files are taboo! # before passwords are changed. Except for that config files are taboo!
db_get mysql-server-@MYSQL_BASE_VERSION@/need_sarge_compat_done || true db_get mysql-server-@MYSQL_BRANDED_BASE_VERSION@/need_sarge_compat_done || true
if [ "$RET" = "false" ]; then if [ "$RET" = "false" ]; then
db_get mysql-server-@MYSQL_BASE_VERSION@/need_sarge_compat db_get mysql-server-@MYSQL_BRANDED_BASE_VERSION@/need_sarge_compat
echo -e "# created by debconf but save to be edited\n[mysqld]\nold_passwords = $RET" > /etc/mysql/conf.d/old_passwords.cnf echo -e "# created by debconf but save to be edited\n[mysqld]\nold_passwords = $RET" > /etc/mysql/conf.d/old_passwords.cnf
fi fi
db_set mysql-server-@MYSQL_BASE_VERSION@/need_sarge_compat_done true db_set mysql-server-@MYSQL_BRANDED_BASE_VERSION@/need_sarge_compat_done true
# initiate databases. Output is not allowed by debconf :-( # initiate databases. Output is not allowed by debconf :-(
# Debian: beware of the bashisms... # Debian: beware of the bashisms...
......
...@@ -49,9 +49,9 @@ if [ "$1" = "purge" -a ! \( -x /usr/sbin/mysqld -o -L /usr/sbin/mysqld \) ]; the ...@@ -49,9 +49,9 @@ if [ "$1" = "purge" -a ! \( -x /usr/sbin/mysqld -o -L /usr/sbin/mysqld \) ]; the
rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz} rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz}
rm -rf /var/log/mysql rm -rf /var/log/mysql
db_input high mysql-server-@MYSQL_BASE_VERSION@/postrm_remove_databases || true db_input high mysql-server-@MYSQL_BRANDED_BASE_VERSION@/postrm_remove_databases || true
db_go db_go
db_get mysql-server-@MYSQL_BASE_VERSION@/postrm_remove_databases || true db_get mysql-server-@MYSQL_BRANDED_BASE_VERSION@/postrm_remove_databases || true
if [ "$RET" = "true" ]; then if [ "$RET" = "true" ]; then
# never remove the debian.cnf when the databases are still existing # never remove the debian.cnf when the databases are still existing
# else we ran into big trouble on the next install! # else we ran into big trouble on the next install!
...@@ -87,6 +87,6 @@ if [ "$1" = "purge" ] ; then ...@@ -87,6 +87,6 @@ if [ "$1" = "purge" ] ; then
fi fi
# (normally) End automatically added section # (normally) End automatically added section
# no DEBHELPER here, "update-rc.d remove" fails if mysql-server-@MYSQL_BASE_VERSION@ is installed # no DEBHELPER here, "update-rc.d remove" fails if mysql-server-@MYSQL_BRANDED_BASE_VERSION@ is installed
exit 0 exit 0
Template: mysql-server-@MYSQL_BASE_VERSION@/really_downgrade Template: mysql-server-@MYSQL_BRANDED_BASE_VERSION@/really_downgrade
Type: boolean Type: boolean
Default: false Default: false
_Description: Do you really want to downgrade? _Description: Do you really want to downgrade?
...@@ -6,7 +6,7 @@ _Description: Do you really want to downgrade? ...@@ -6,7 +6,7 @@ _Description: Do you really want to downgrade?
mysql-server package with a higher version has been installed before. mysql-server package with a higher version has been installed before.
It can not be guaranteed that this version can use its data. It can not be guaranteed that this version can use its data.
Template: mysql-server-@MYSQL_BASE_VERSION@/nis_warning Template: mysql-server-@MYSQL_BRANDED_BASE_VERSION@/nis_warning
Type: note Type: note
_Description: Important note for NIS/YP users! _Description: Important note for NIS/YP users!
To use mysql you must install an equivalent user and group to the To use mysql you must install an equivalent user and group to the
...@@ -19,7 +19,7 @@ _Description: Important note for NIS/YP users! ...@@ -19,7 +19,7 @@ _Description: Important note for NIS/YP users!
. .
/var/lib/mysql: drwxr-xr-x mysql mysql /var/lib/mysql: drwxr-xr-x mysql mysql
Template: mysql-server-@MYSQL_BASE_VERSION@/postrm_remove_databases Template: mysql-server-@MYSQL_BRANDED_BASE_VERSION@/postrm_remove_databases
Type: boolean Type: boolean
Default: false Default: false
_Description: Remove the databases used by all MySQL versions? _Description: Remove the databases used by all MySQL versions?
...@@ -27,7 +27,7 @@ _Description: Remove the databases used by all MySQL versions? ...@@ -27,7 +27,7 @@ _Description: Remove the databases used by all MySQL versions?
If it is planned to just install a higher MySQL version or if a different If it is planned to just install a higher MySQL version or if a different
mysql-server package is already using it, the data should be kept. mysql-server package is already using it, the data should be kept.
Template: mysql-server-@MYSQL_BASE_VERSION@/start_on_boot Template: mysql-server-@MYSQL_BRANDED_BASE_VERSION@/start_on_boot
Type: boolean Type: boolean
Default: true Default: true
_Description: Should MySQL start on boot? _Description: Should MySQL start on boot?
...@@ -54,16 +54,16 @@ _Description: Unable to set password for MySQL "root" user ...@@ -54,16 +54,16 @@ _Description: Unable to set password for MySQL "root" user
is properly protected with a password (see README.Debian for more is properly protected with a password (see README.Debian for more
information). information).
Template: mysql-server-@MYSQL_BASE_VERSION@/need_sarge_compat Template: mysql-server-@MYSQL_BRANDED_BASE_VERSION@/need_sarge_compat
Type: boolean Type: boolean
Default: false Default: false
_Description: Support MySQL connections from hosts running Debian "sarge" or older? _Description: Support MySQL connections from hosts running Debian "sarge" or older?
The way passwords were stored was not very secure. This has been improved The way passwords were stored was not very secure. This has been improved
with the drawback that clients (e.g. PHP) from hosts running Debian 3.1 Sarge with the drawback that clients (e.g. PHP) from hosts running Debian 3.1 Sarge
will not be able to connect to account which are new or whose password have will not be able to connect to account which are new or whose password have
been changed. See /usr/share/doc/mysql-server-@MYSQL_BASE_VERSION@/README.Debian. been changed. See /usr/share/doc/mysql-server-@MYSQL_BRANDED_BASE_VERSION@/README.Debian.
Template: mysql-server-@MYSQL_BASE_VERSION@/need_sarge_compat_done Template: mysql-server-@MYSQL_BRANDED_BASE_VERSION@/need_sarge_compat_done
Type: boolean Type: boolean
Default: false Default: false
Description: for internal use Description: for internal use
......
[type: gettext/rfc822deb] mysql-server-@MYSQL_BASE_VERSION@.templates [type: gettext/rfc822deb] mysql-server-@MYSQL_BRANDED_BASE_VERSION@.templates
...@@ -18,11 +18,19 @@ ifeq ("x$(MYSQL_FLAVOR)","x") ...@@ -18,11 +18,19 @@ ifeq ("x$(MYSQL_FLAVOR)","x")
endif endif
ifneq ("x$(MYSQL_FLAVOR)","x") ifneq ("x$(MYSQL_FLAVOR)","x")
MYSQL_BASE_VERSION:=$(MYSQL_FLAVOR)-$(MYSQL_BASE_VERSION) MYSQL_BRANDED_BASE_VERSION:=$(MYSQL_FLAVOR)-$(MYSQL_BASE_VERSION)
MYSQL_PREVIOUS_BASE_VERSION:=$(MYSQL_FLAVOR)-$(MYSQL_PREVIOUS_BASE_VERSION) MYSQL_BRANDED_PREVIOUS_BASE_VERSION:=$(MYSQL_FLAVOR)-$(MYSQL_PREVIOUS_BASE_VERSION)
else
ifeq ( "$(MYSQL_BRANDED_BASE_VERSION)","@MYSQL_BRANDED_BASE_VERSION@" )
MYSQL_BRANDED_BASE_VERSION:=$(MYSQL_BASE_VERSION)
MYSQL_BRANDED_PREVIOUS_BASE_VERSION:=$(MYSQL_PREVIOUS_BASE_VERSION)
else
MYSQL_BRANDED_BASE_VERSION:=$(MYSQL_BRANDED_BASE_VERSION)
MYSQL_BRANDED_PREVIOUS_BASE_VERSION:=$(MYSQL_BRANDED_PREVIOUS_BASE_VERSION)
endif
endif endif
PACKAGE=mysql-$(MYSQL_BASE_VERSION) PACKAGE=mysql-$(MYSQL_BRANDED_BASE_VERSION)
PWD=$(shell pwd) PWD=$(shell pwd)
TMP=$(PWD)/debian/tmp/ TMP=$(PWD)/debian/tmp/
...@@ -65,9 +73,10 @@ endif ...@@ -65,9 +73,10 @@ endif
control-file: control-file:
@echo "## This file is autogenerated you want to edit control.in instead" > debian/control.tmp @echo "## This file is autogenerated you want to edit control.in instead" > debian/control.tmp
sed -e "s/@MYSQL_BASE_VERSION@/$(MYSQL_BASE_VERSION)/g" \ sed -e "s/@MYSQL_BASE_VERSION@/$(MYSQL_BASE_VERSION)/g" \
-e "s/@VER@/$(VER)/g" \ -e "s/@MYSQL_BRANDED_BASE_VERSION@/$(MYSQL_BRANDED_BASE_VERSION)/g" \
-e "s/@VERSIONSTRING@/$(VERSIONSTRING)/g" \ -e "s/@VERSIONSTRING@/$(VERSIONSTRING)/g" \
-e "s/@MYSQL_PREVIOUS_BASE_VERSION@/$(MYSQL_PREVIOUS_BASE_VERSION)/g" \ -e "s/@MYSQL_PREVIOUS_BASE_VERSION@/$(MYSQL_PREVIOUS_BASE_VERSION)/g" \
-e "s/@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@/$(MYSQL_BRANDED_PREVIOUS_BASE_VERSION)/g" \
-e "s/@MYSQL_SOURCE_BASE_VERSION@/$(MYSQL_SOURCE_BASE_VERSION)/g" \ -e "s/@MYSQL_SOURCE_BASE_VERSION@/$(MYSQL_SOURCE_BASE_VERSION)/g" \
-e "s/@SHARED_LIB_MAJOR_VERSION@/$(SHARED_LIB_MAJOR_VERSION)/g" \ -e "s/@SHARED_LIB_MAJOR_VERSION@/$(SHARED_LIB_MAJOR_VERSION)/g" \
-e "s/@NDB_SHARED_LIB_MAJOR_VERSION@/$(NDB_SHARED_LIB_MAJOR_VERSION)/g" \ -e "s/@NDB_SHARED_LIB_MAJOR_VERSION@/$(NDB_SHARED_LIB_MAJOR_VERSION)/g" \
...@@ -174,18 +183,20 @@ build-stamp: configure ...@@ -174,18 +183,20 @@ build-stamp: configure
stamp-control: stamp-control:
# We have to prepare the various control files # We have to prepare the various control files
echo "in stamp-control - BASE_VER==$(MYSQL_BASE_VERSION)"
# We have some naming inconsistencies here... # We have some naming inconsistencies here...
for f in debian/*.in debian/po/POTFILES.in.in ; do \ for f in debian/*.in debian/po/POTFILES.in.in ; do \
f2=`echo $$f | sed "s,BASE,$(MYSQL_BASE_VERSION),g;\ f2=`echo $$f | sed "s,BASE,$(MYSQL_BRANDED_BASE_VERSION),g;\
s,PREV,$(MYSQL_PREVIOUS_BASE_VERSION),g;\ s,PREV,$(MYSQL_BRANDED_PREVIOUS_BASE_VERSION),g;\
s,NLIB,$(NDB_SHARED_LIB_MAJOR_VERSION),g;\ s,NLIB,$(NDB_SHARED_LIB_MAJOR_VERSION),g;\
s,SLIB,$(SHARED_LIB_MAJOR_VERSION),g;s,\.in$$,,"`; \ s,SLIB,$(SHARED_LIB_MAJOR_VERSION),g;s,\.in$$,,"`; \
if [ $$f2 != debian/control -a $$f2 != debian/Makefile ]; then \ if [ $$f2 != debian/control -a $$f2 != debian/Makefile ]; then \
sed -e "s/@MYSQL_BASE_VERSION@/$(MYSQL_BASE_VERSION)/g" \ sed -e "s/@MYSQL_BASE_VERSION@/$(MYSQL_BASE_VERSION)/g" \
-e "s/@MYSQL_BRANDED_BASE_VERSION@/$(MYSQL_BRANDED_BASE_VERSION)/g" \
-e "s/@VERSIONSTRING@/$(VERSIONSTRING)/g" \ -e "s/@VERSIONSTRING@/$(VERSIONSTRING)/g" \
-e "s/@VER@/$(VER)/g" \
-e "s/@PRIORITY@/$(PRIORITY)/g" \ -e "s/@PRIORITY@/$(PRIORITY)/g" \
-e "s/@MYSQL_PREVIOUS_BASE_VERSION@/$(MYSQL_PREVIOUS_BASE_VERSION)/g" \ -e "s/@MYSQL_PREVIOUS_BASE_VERSION@/$(MYSQL_PREVIOUS_BASE_VERSION)/g" \
-e "s/@MYSQL_BRANDED_PREVIOUS_BASE_VERSION@/$(MYSQL_BRANDED_PREVIOUS_BASE_VERSION)/g" \
-e "s/@MYSQL_SOURCE_BASE_VERSION@/$(MYSQL_SOURCE_BASE_VERSION)/g" \ -e "s/@MYSQL_SOURCE_BASE_VERSION@/$(MYSQL_SOURCE_BASE_VERSION)/g" \
-e "s/@SHARED_LIB_MAJOR_VERSION@/$(SHARED_LIB_MAJOR_VERSION)/g" \ -e "s/@SHARED_LIB_MAJOR_VERSION@/$(SHARED_LIB_MAJOR_VERSION)/g" \
-e "s/@NDB_SHARED_LIB_MAJOR_VERSION@/$(NDB_SHARED_LIB_MAJOR_VERSION)/g" \ -e "s/@NDB_SHARED_LIB_MAJOR_VERSION@/$(NDB_SHARED_LIB_MAJOR_VERSION)/g" \
...@@ -194,13 +205,19 @@ stamp-control: ...@@ -194,13 +205,19 @@ stamp-control:
<$$f >$$f2; \ <$$f >$$f2; \
fi; \ fi; \
done done
echo "MYSQL_BUILD_OPTS=$(MYSQL_BUILD_OPTS)" >> debian/defs.mk
echo "MYSQL_BUILD_CXXFLAGS=$(MYSQL_BUILD_CXXFLAGS)" >> debian/defs.mk
echo "MYSQL_BUILD_CFLAGS=$(MYSQL_BUILD_CFLAGS)" >> debian/defs.mk
echo "MYSQL_BUILD_CC=$(MYSQL_BUILD_CC)" >> debian/defs.mk
echo "MYSQL_BUILD_CXX=$(MYSQL_BUILD_CXX)" >> debian/defs.mk
# depending on two files we expect to be in the root # depending on two files we expect to be in the root
# to protect from accidentally deleting a whole bunch of # to protect from accidentally deleting a whole bunch of
# files somewhere else. # files somewhere else.
clean: configure.in Makefile.am control-file clean: configure.in Makefile.am control-file
rm -f debian/mysql-server-$(MYSQL_BASE_VERSION).mysql.init rm -f debian/mysql-server-$(MYSQL_BRANDED_BASE_VERSION).mysql.init
# We depend on this later, and delete the results in the mean time # We depend on this later, and delete the results in the mean time
$(MAKE) -f debian/rules stamp-control $(MAKE) -f debian/rules stamp-control
...@@ -218,11 +235,10 @@ clean: configure.in Makefile.am control-file ...@@ -218,11 +235,10 @@ clean: configure.in Makefile.am control-file
debconf-updatepo debconf-updatepo
for f in debian/*.in; do \ for f in debian/*.in; do \
f2=`echo $$f | sed "s,MYSQL_BASE_VERSION,$(MYSQL_BASE_VERSION),g;\ f2=`echo $$f | sed "s,BASE,$(MYSQL_BRANDED_BASE_VERSION),g;\
s,MYSQL_PREVIOUS_BASE_VERSION,$(MYSQL_PREVIOUS_BASE_VERSION),g;\ s,PREV,$(MYSQL_BRANDED_PREVIOUS_BASE_VERSION),g;\
s,MYSQL_SOURCE_BASE_VERSION,$(MYSQL_SOURCE_BASE_VERSION),g;\ s,NLIB,$(NDB_SHARED_LIB_MAJOR_VERSION),g;\
s,NDB_SHARED_LIB_MAJOR_VERSION,$(NDB_SHARED_LIB_MAJOR_VERSION),g;\ s,SLIB,$(SHARED_LIB_MAJOR_VERSION),g;s,\.in$$,,"`; \
s,SHARED_LIB_MAJOR_VERSION,$(SHARED_LIB_MAJOR_VERSION),g;s,\.in$$,,"`; \
if [ $$f2 != debian/control -a $$f2 != debian/Makefile -a $$f2 != debian/defs.mk ]; then \ if [ $$f2 != debian/control -a $$f2 != debian/Makefile -a $$f2 != debian/defs.mk ]; then \
rm -f $$f2; \ rm -f $$f2; \
fi; \ fi; \
...@@ -243,7 +259,7 @@ install: build stamp-control ...@@ -243,7 +259,7 @@ install: build stamp-control
# Sort of hackish way to make sure we have a init script # Sort of hackish way to make sure we have a init script
# for dh_installinit # for dh_installinit
cp support-files/mysql.server debian/mysql-server-$(MYSQL_BASE_VERSION).mysql.init cp support-files/mysql.server debian/mysql-server-$(MYSQL_BRANDED_BASE_VERSION).mysql.init
mkdir -p $(TMP)/usr/lib/mysql/mysqld.sym mkdir -p $(TMP)/usr/lib/mysql/mysqld.sym
cp sql/mysqld.sym $(TMP)/usr/lib/mysql/mysqld.sym cp sql/mysqld.sym $(TMP)/usr/lib/mysql/mysqld.sym
...@@ -292,8 +308,8 @@ install: build stamp-control ...@@ -292,8 +308,8 @@ install: build stamp-control
# mysql-server # mysql-server
install -m 0755 scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe install -m 0755 scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe
mkdir -p $(TMP)/usr/share/doc/mysql-server-$(MYSQL_BASE_VERSION)/examples mkdir -p $(TMP)/usr/share/doc/mysql-server-$(MYSQL_BRANDED_BASE_VERSION)/examples
mv $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mysql-server-$(MYSQL_BASE_VERSION)/examples/ mv $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mysql-server-$(MYSQL_BRANDED_BASE_VERSION)/examples/
rm -vf $(TMP)/usr/share/mysql/mi_test_all* \ rm -vf $(TMP)/usr/share/mysql/mi_test_all* \
$(TMP)/usr/share/mysql/mysql-log-rotate \ $(TMP)/usr/share/mysql/mysql-log-rotate \
$(TMP)/usr/share/mysql/mysql.server \ $(TMP)/usr/share/mysql/mysql.server \
...@@ -305,14 +321,14 @@ install: build stamp-control ...@@ -305,14 +321,14 @@ install: build stamp-control
cp -a sql-bench $(TMP)/usr/share/mysql/ cp -a sql-bench $(TMP)/usr/share/mysql/
# lintian overrides # lintian overrides
mkdir -p $(TMP)/usr/share/lintian/overrides/ mkdir -p $(TMP)/usr/share/lintian/overrides/
cp debian/mysql-server-$(MYSQL_BASE_VERSION).lintian-overrides $(TMP)/usr/share/lintian/overrides/mysql-server-$(MYSQL_BASE_VERSION) cp debian/mysql-server-$(MYSQL_BRANDED_BASE_VERSION).lintian-overrides $(TMP)/usr/share/lintian/overrides/mysql-server-$(MYSQL_BRANDED_BASE_VERSION)
cp debian/mysql-client-$(MYSQL_BASE_VERSION).lintian-overrides $(TMP)/usr/share/lintian/overrides/mysql-client-$(MYSQL_BASE_VERSION) cp debian/mysql-client-$(MYSQL_BRANDED_BASE_VERSION).lintian-overrides $(TMP)/usr/share/lintian/overrides/mysql-client-$(MYSQL_BRANDED_BASE_VERSION)
# For 4.1 -> 5.0 transition # For 4.1 -> 5.0 transition
d=$(TMP)/usr/share/mysql-common/internal-use-only/; \ d=$(TMP)/usr/share/mysql-common/internal-use-only/; \
mkdir -p $$d; \ mkdir -p $$d; \
cp debian/mysql-server-$(MYSQL_BASE_VERSION).mysql.init $$d/_etc_init.d_mysql; \ cp debian/mysql-server-$(MYSQL_BRANDED_BASE_VERSION).mysql.init $$d/_etc_init.d_mysql; \
cp debian/mysql-server-$(MYSQL_BASE_VERSION).mysql-server.logrotate $$d/_etc_logrotate.d_mysql-server; \ cp debian/mysql-server-$(MYSQL_BRANDED_BASE_VERSION).mysql-server.logrotate $$d/_etc_logrotate.d_mysql-server; \
dh_movefiles dh_movefiles
......
maintainer-script-lacks-debhelper-token debian/mysql-server-@MYSQL_BASE_VERSION@.postinst maintainer-script-lacks-debhelper-token debian/mysql-server-@MYSQL_BRANDED_BASE_VERSION@.postinst
maintainer-script-lacks-debhelper-token debian/mysql-server-@MYSQL_BASE_VERSION@.postrm maintainer-script-lacks-debhelper-token debian/mysql-server-@MYSQL_BRANDED_BASE_VERSION@.postrm
outdated-autotools-helper-file bdb/dist/config.sub 2002-07-03 outdated-autotools-helper-file bdb/dist/config.sub 2002-07-03
outdated-autotools-helper-file bdb/dist/config.guess 2002-07-23 outdated-autotools-helper-file bdb/dist/config.guess 2002-07-23
bad-distribution-in-changes-file sarge bad-distribution-in-changes-file sarge
......
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