[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[RFR] templates://mysql-dfsg-5.0/{mysql-server-5.0.templates}



Please find, for review, the debconf templates of mysql-dfsg-5.0.

This review will last from Saturday, April 07, 2007 to Tuesday, April 17, 2007.

Please send reviews as unified diffs (diff -u) against the original
files. Comments about your proposed changes will be appreciated.

Your review should be sent as an answer to this mail.

When appropriate, I will send intermediate requests for review, with
"[RFRn]" (n>=2) as a subject tag.

When we will reach a consensus, I send a "Last Chance For
Comments" mail with "[LCFC]" as a subject tag.

Finally, the reviewed templates will be sent to the package maintainer
as a bug report, and a mail will be sent to this list with "[BTS]" as
a subject tag.

Rationale:

-General attempt to minimize too much "personal" messages. For
instance, replacing "Do you want to foo" by "Really foo"

-no exclamation mark which is usually considered to be the expression
of feelings more than facts

-mark untranslatable some stuff that should really be left untouched
by translators

-reword the postrm_remove_databases to make it more direct

-remove a "we" in debian/control. 1st person should be prohibited from
user interaction

- s/mysql/MySQL in the package description. Yes, the DevRef suggests
that packages descriptions should begin with a lowercase letter, but
the first word here is the noun of the product, so we really should
use the official spelling and case...even here, IMHO.

-- 


Template: mysql-server-5.0/really_downgrade
Type: boolean
Default: false
_Description: Really proceed with downgrade?
 A file named /var/lib/mysql/debian-*.flag exists on this system.
 .
 Such file is an indication that a mysql-server package with a higher
 version has been installed earlier.
 .
 There is no guarantee that the version you're currently installing
 will be able to use the current databases.

Template: mysql-server-5.0/nis_warning
Type: note
#flag:translate!:3,5
_Description: Important note for NIS/YP users
 To use MySQL, the following entries for users and groups should be added
 to the system:
 .
  /etc/passwd   : mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false
  /etc/group    : mysql:x:101:
 .
 You should also check the permissions and the owner of the
 /var/lib/mysql file:
 .
  /var/lib/mysql: drwxr-xr-x   mysql    mysql

Template: mysql-server-5.0/postrm_remove_databases
Type: boolean
Default: false
_Description: Remove all MySQL databases?
 The /var/lib/mysql directory which contains the MySQL databases is about
 to be removed.
 .
 If you're removing the MySQL package in order to later install a more
 recent version or if a different mysql-server package is already
 using it, the data should be kept.

Template: mysql-server-5.0/start_on_boot
Type: boolean
Default: true
_Description: Start the MySQL server on boot?
 The MySQL server can be launched automatically at boot time or manually
 with the '/etc/init.d/mysql start' command.

Template: mysql-server/root_password
Type: password
_Description: New password for the MySQL "root" user:
 While not mandatory, it is highly recommended that you set a password
 for the MySQL administrative "root" user.
 .
 If that field is left blank, the password will not be changed.

Template: mysql-server/error_setting_password
Type: error
_Description: Unable to set password for the MySQL "root" user
 An error occurred while setting the password for the MySQL
 administrative user. This may have happened because the account
 already has a password, or because of a communication problem with
 the MySQL server.
 .
 You should check the account's password after tha package installation.
 .
 Please read the /usr/share/doc/mysql-server-5.0/README.Debian file
 for more information.

Template: mysql-server-5.0/need_sarge_compat
Type: boolean
Default: false
_Description: Support MySQL connections from hosts running Debian "sarge" or older?
 In old versions of MySQL clients on Debian, passwords were not stored
 securely. This was improved since then, however clients (such as PHP)
 from hosts running Debian 3.1 Sarge will not be able to connect to
 recent accounts or accounts whose password have been changed.
 .
 Please read the /usr/share/doc/mysql-server-5.0/README.Debian file
 for more information.

Template: mysql-server-5.0/need_sarge_compat_done
Type: boolean
Default: false
Description: for internal use
 Only internally used.

--- ../mysql-dfsg-5.0.old/debian/mysql-server-5.0.templates	2007-04-07 17:56:34.050047359 +0200
+++ debian/mysql-server-5.0.templates	2007-04-07 23:09:00.132057289 +0200
@@ -1,67 +1,80 @@
 Template: mysql-server-5.0/really_downgrade
 Type: boolean
 Default: false
-_Description: Do you really want to downgrade?
- WARNING: The file /var/lib/mysql/debian-*.flag exists. This indicates that a
- mysql-server package with a higher version has been installed before.
- It can not be guaranteed that this version can use its data.
+_Description: Really proceed with downgrade?
+ A file named /var/lib/mysql/debian-*.flag exists on this system.
+ .
+ Such file is an indication that a mysql-server package with a higher
+ version has been installed earlier.
+ .
+ There is no guarantee that the version you're currently installing
+ will be able to use the current databases.
 
 Template: mysql-server-5.0/nis_warning
 Type: note
-_Description: Important note for NIS/YP users!
- To use mysql you must install an equivalent user and group to the
- following and ensure yourself that /var/lib/mysql has the right
- permissions (the uid/gid may be different).
+#flag:translate!:3,5
+_Description: Important note for NIS/YP users
+ To use MySQL, the following entries for users and groups should be added
+ to the system:
  .
- /etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false
+  /etc/passwd   : mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false
+  /etc/group    : mysql:x:101:
  .
- /etc/group:       mysql:x:101:
+ You should also check the permissions and the owner of the
+ /var/lib/mysql file:
  .
- /var/lib/mysql:   drwxr-xr-x   mysql    mysql
+  /var/lib/mysql: drwxr-xr-x   mysql    mysql
 
 Template: mysql-server-5.0/postrm_remove_databases
 Type: boolean
 Default: false
-_Description: Remove the databases used by all MySQL versions?
- The script is about to remove the data directory /var/lib/mysql.
- 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.
+_Description: Remove all MySQL databases?
+ The /var/lib/mysql directory which contains the MySQL databases is about
+ to be removed.
+ .
+ If you're removing the MySQL package in order to later install a more
+ recent version or if a different mysql-server package is already
+ using it, the data should be kept.
 
 Template: mysql-server-5.0/start_on_boot
 Type: boolean
 Default: true
-_Description: Should MySQL start on boot?
- The MySQL can start automatically on boot time or only if you manually
- type '/etc/init.d/mysql start'.
+_Description: Start the MySQL server on boot?
+ The MySQL server can be launched automatically at boot time or manually
+ with the '/etc/init.d/mysql start' command.
 
 Template: mysql-server/root_password
 Type: password
-_Description: New password for MySQL "root" user:
- It is highly recommended that you set a password for the MySQL administrative
- "root" user.
+_Description: New password for the MySQL "root" user:
+ While not mandatory, it is highly recommended that you set a password
+ for the MySQL administrative "root" user.
  .
- If you do not provide a password no changes will be made to the account.
+ If that field is left blank, the password will not be changed.
 
 Template: mysql-server/error_setting_password
 Type: error
-_Description: Unable to set password for MySQL "root" user
- It seems an error occurred while setting the password for the MySQL
- administrative user.  This may have happened because the user already
- has a password, or because there was a problem communicating with the
- MySQL server.
- .
- When installation finishes, you should verify that the account
- is properly protected with a password (see README.Debian for more
- information).
+_Description: Unable to set password for the MySQL "root" user
+ An error occurred while setting the password for the MySQL
+ administrative user. This may have happened because the account
+ already has a password, or because of a communication problem with
+ the MySQL server.
+ .
+ You should check the account's password after tha package installation.
+ .
+ Please read the /usr/share/doc/mysql-server-5.0/README.Debian file
+ for more information.
 
 Template: mysql-server-5.0/need_sarge_compat
 Type: boolean
 Default: false
 _Description: Support MySQL connections from hosts running Debian "sarge" or older?
- 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
- will not be able to connect to account which are new or whose password have
- been changed. See /usr/share/doc/mysql-server-5.0/README.Debian.
+ In old versions of MySQL clients on Debian, passwords were not stored
+ securely. This was improved since then, however clients (such as PHP)
+ from hosts running Debian 3.1 Sarge will not be able to connect to
+ recent accounts or accounts whose password have been changed.
+ .
+ Please read the /usr/share/doc/mysql-server-5.0/README.Debian file
+ for more information.
 
 Template: mysql-server-5.0/need_sarge_compat_done
 Type: boolean
--- ../mysql-dfsg-5.0.old/debian/control	2007-04-07 17:56:34.050047359 +0200
+++ debian/control	2007-04-07 23:13:30.698307537 +0200
@@ -12,7 +12,7 @@
 Depends: mysql-common (>= ${Source-Version}), ${shlibs:Depends}
 Conflicts: libmysqlclient15
 Replaces: libmysqlclient15
-Description: mysql database client library
+Description: MySQL database client library
  MySQL is a fast, stable and true multi-user, multi-threaded SQL database
  server. SQL (Structured Query Language) is the most popular database query
  language in the world. The main goals of MySQL are speed, robustness and
@@ -26,13 +26,13 @@
 Depends: libmysqlclient15off (>= ${Source-Version}), zlib1g-dev, ${shlibs:Depends}
 Conflicts: libmysqlclient14-dev, libmysqlclient12-dev, libmysqlclient10-dev
 Provides: libmysqlclient-dev
-Description: mysql database development files
+Description: MySQL database development files
  MySQL is a fast, stable and true multi-user, multi-threaded SQL database
  server. SQL (Structured Query Language) is the most popular database query
  language in the world. The main goals of MySQL are speed, robustness and
  ease of use.
  .
- This package includes development libraries and header files. 
+ This package includes development libraries and header files.
 
 Package: mysql-common
 Section: misc
@@ -41,13 +41,14 @@
 Conflicts: mysql-common-4.1
 Provides: mysql-common-4.1
 Replaces: mysql-common-4.1
-Description: mysql database common files (e.g. /etc/mysql/my.cnf)
+Description: MySQL database common files
  MySQL is a fast, stable and true multi-user, multi-threaded SQL database
  server. SQL (Structured Query Language) is the most popular database query
  language in the world. The main goals of MySQL are speed, robustness and
  ease of use.
  .
- This package includes files needed by all versions of the client library.
+ This package includes files needed by all versions of the client library
+ (e.g. /etc/mysql/my.cnf).
 
 Package: mysql-client-5.0
 Architecture: any
@@ -55,7 +56,7 @@
 Provides: virtual-mysql-client, mysql-client, mysql-client-4.1
 Conflicts: mysql-client (<< ${Source-Version}), mysql-client-4.1
 Replaces: mysql-client (<< ${Source-Version}), mysql-server, mysql-client-4.1
-Description: mysql database client binaries
+Description: MySQL database client binaries
  MySQL is a fast, stable and true multi-user, multi-threaded SQL database
  server. SQL (Structured Query Language) is the most popular database query
  language in the world. The main goals of MySQL are speed, robustness and
@@ -64,7 +65,7 @@
  This package includes the client binaries.
 
 Package: mysql-server-5.0
-Architecture: any                                                               
+Architecture: any
 Suggests: tinyca
 Recommends: mailx
 Pre-Depends: mysql-common (>= ${Source-Version}), adduser (>= 3.40)
@@ -72,7 +73,7 @@
 Conflicts: mysql-server (<< ${Source-Version}), mysql-server-4.1 (<< 5.0.26-3)
 Provides: mysql-server, virtual-mysql-server, mysql-server-4.1
 Replaces: mysql-server (<< ${Source-Version}), mysql-server-4.1
-Description: mysql database server binaries
+Description: MySQL database server binaries
  MySQL is a fast, stable and true multi-user, multi-threaded SQL database
  server. SQL (Structured Query Language) is the most popular database query
  language in the world. The main goals of MySQL are speed, robustness and
@@ -81,11 +82,11 @@
  This package includes the server and ndb-cluster binaries.
 
 Package: mysql-server-4.1
-Architecture: any                                                               
+Architecture: any
 Section: oldlibs
 Priority: extra
 Depends: mysql-server-5.0
-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
  server. SQL (Structured Query Language) is the most popular database query
  language in the world. The main goals of MySQL are speed, robustness and
@@ -96,17 +97,19 @@
 Package: mysql-server
 Architecture: all
 Depends: mysql-server-5.0
-Description: mysql database server (meta package depending on the latest version)
- This is an empty package that depends on the current "best" version of
- mysql-server (currently mysql-server-5.0), as determined by the MySQL
- 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.
+Description: MySQL database server (meta package depending on the latest version)
+ This is an empty package that depends on the current "best" version
+ of mysql-server (currently mysql-server-5.0), as determined by the
+ MySQL maintainers. Install this package if in doubt about which MySQL
+ version you need. That will install the version recommended by the
+ package maintainers.
 
 Package: mysql-client
 Architecture: all
 Depends: mysql-client-5.0
-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
  mysql-client (currently mysql-client-5.0), as determined by the MySQL
- 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.
+ maintainers. Install this package if in doubt about which MySQL
+ version you need. That will install the version recommended by the
+ package maintainers.
Source: mysql-dfsg-5.0
Section: misc
Priority: optional
Maintainer: Christian Hammers <ch@debian.org>
Uploaders: Sean Finney <seanius@debian.org>, Adam Conrad <adconrad@0c3.net>
Build-Depends: libtool (>= 1.4.2-7), procps | hurd,  debhelper (>= 4.1.16), file (>= 3.28-1), libncurses5-dev (>= 5.0-6), perl (>= 5.6.0), libwrap0-dev (>= 7.6-8.3), zlib1g-dev (>= 1:1.1.3-5), libreadline5-dev | libreadline-dev, psmisc, po-debconf, chrpath, automake1.9, doxygen, tetex-bin (>= 2.0), tetex-base, tetex-extra, gs, dpatch, gawk, bison
Standards-Version: 3.7.2

Package: libmysqlclient15off
Section: libs
Architecture: any
Depends: mysql-common (>= ${Source-Version}), ${shlibs:Depends}
Conflicts: libmysqlclient15
Replaces: libmysqlclient15
Description: MySQL database client library
 MySQL is a fast, stable and true multi-user, multi-threaded SQL database
 server. SQL (Structured Query Language) is the most popular database query
 language in the world. The main goals of MySQL are speed, robustness and
 ease of use.
 .
 This package includes the client library.

Package: libmysqlclient15-dev
Architecture: any
Section: libdevel
Depends: libmysqlclient15off (>= ${Source-Version}), zlib1g-dev, ${shlibs:Depends}
Conflicts: libmysqlclient14-dev, libmysqlclient12-dev, libmysqlclient10-dev
Provides: libmysqlclient-dev
Description: MySQL database development files
 MySQL is a fast, stable and true multi-user, multi-threaded SQL database
 server. SQL (Structured Query Language) is the most popular database query
 language in the world. The main goals of MySQL are speed, robustness and
 ease of use.
 .
 This package includes development libraries and header files.

Package: mysql-common
Section: misc
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: mysql-common-4.1
Provides: mysql-common-4.1
Replaces: mysql-common-4.1
Description: MySQL database common files
 MySQL is a fast, stable and true multi-user, multi-threaded SQL database
 server. SQL (Structured Query Language) is the most popular database query
 language in the world. The main goals of MySQL are speed, robustness and
 ease of use.
 .
 This package includes files needed by all versions of the client library
 (e.g. /etc/mysql/my.cnf).

Package: mysql-client-5.0
Architecture: any
Depends: debianutils (>=1.6), libdbi-perl, libdbd-mysql-perl (>= 1.2202), mysql-common (>= ${Source-Version}), libmysqlclient15off (>= ${Source-Version}), ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
Provides: virtual-mysql-client, mysql-client, mysql-client-4.1
Conflicts: mysql-client (<< ${Source-Version}), mysql-client-4.1
Replaces: mysql-client (<< ${Source-Version}), mysql-server, mysql-client-4.1
Description: MySQL database client binaries
 MySQL is a fast, stable and true multi-user, multi-threaded SQL database
 server. SQL (Structured Query Language) is the most popular database query
 language in the world. The main goals of MySQL are speed, robustness and
 ease of use.
 .
 This package includes the client binaries.

Package: mysql-server-5.0
Architecture: any
Suggests: tinyca
Recommends: mailx
Pre-Depends: mysql-common (>= ${Source-Version}), adduser (>= 3.40)
Depends: mysql-client-5.0 (>= ${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-4.1 (<< 5.0.26-3)
Provides: mysql-server, virtual-mysql-server, mysql-server-4.1
Replaces: mysql-server (<< ${Source-Version}), mysql-server-4.1
Description: MySQL database server binaries
 MySQL is a fast, stable and true multi-user, multi-threaded SQL database
 server. SQL (Structured Query Language) is the most popular database query
 language in the world. The main goals of MySQL are speed, robustness and
 ease of use.
 .
 This package includes the server and ndb-cluster binaries.

Package: mysql-server-4.1
Architecture: any
Section: oldlibs
Priority: extra
Depends: mysql-server-5.0
Description: MySQL database server (transitional package)
 MySQL is a fast, stable and true multi-user, multi-threaded SQL database
 server. SQL (Structured Query Language) is the most popular database query
 language in the world. The main goals of MySQL are speed, robustness and
 ease of use.
 .
 This is an empty transitional package and can safely be removed.

Package: mysql-server
Architecture: all
Depends: mysql-server-5.0
Description: MySQL database server (meta package depending on the latest version)
 This is an empty package that depends on the current "best" version
 of mysql-server (currently mysql-server-5.0), as determined by the
 MySQL maintainers. Install this package if in doubt about which MySQL
 version you need. That will install the version recommended by the
 package maintainers.

Package: mysql-client
Architecture: all
Depends: mysql-client-5.0
Description: MySQL database client (meta package depending on the latest version)
 This is an empty package that depends on the current "best" version of
 mysql-client (currently mysql-client-5.0), as determined by the MySQL
 maintainers. Install this package if in doubt about which MySQL
 version you need. That will install the version recommended by the
 package maintainers.

Attachment: signature.asc
Description: Digital signature


Reply to: