diff options
| author | sean finney <seanius@debian.org> | 2006-10-28 14:29:44 +0200 |
|---|---|---|
| committer | Sean Finney <seanius@debian.org> | 2009-04-10 13:14:58 +0200 |
| commit | fe35193e44789fa17e5eafad3a76bf71a40570cc (patch) | |
| tree | b75d4c10bd2c6a113c93ea03d5c551e51be14b6d | |
| parent | 98c09b2ce846f6bdaf0adbf66fffd9f7d58b5d33 (diff) | |
| download | php-fe35193e44789fa17e5eafad3a76bf71a40570cc.tar.gz | |
Imported Debian patch 5.1.6-5debian/5.1.6-5
43 files changed, 252 insertions, 1671 deletions
diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 000000000..b6df86c2e --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,13 @@ +php5 (5.1.6-5) unstable; urgency=low + + the debian php packages now support a modular configuration layout. + + if you have previously installed modules that have put entries in + your php.ini file, you will probably be getting various warning + messages about duplicate modules if you have error reporting enabled + with a mask including E_WARN. + + no attempt will be made to muck further with your php.ini file, so you + should remove those lines yourself. + + -- sean finney <seanius@debian.org> Thu, 19 Oct 2006 22:47:19 +0200 diff --git a/debian/README.Debian.security b/debian/README.Debian.security new file mode 100644 index 000000000..86f75e253 --- /dev/null +++ b/debian/README.Debian.security @@ -0,0 +1,22 @@ +the Debian stable security team does not provide security support +for certain configurations known to be inherently insecure. Most +specifically, the security team will not provide support for flaws in: + +- problems which are not flaws in the design of php but can be problematic + when used by sloppy developers (for example, not checking the contents + of a tar file before extracting it). + +- vulnerabilities involving register_globals being activated, unless + specifically the vulnerability activates this setting when it was + configured as deactivated. + +- vulnerabilities involving any kind of safe_mode or open_basedir + violation, as these are security models flawed by design and no longer + have upstream support either. + +- any "works as expected" vulnerabilities, such as "user can cause php + to crash by writing a malcious php script", unless such vulnerabilities + involve some kind of higher-level DoS or privilege escalation that would + not otherwise be available. + + -- sean finney <seanius@debian.org> Tue, 10 Oct 2006 12:42:06 +0200 diff --git a/debian/changelog b/debian/changelog index 953601209..6b849ca44 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,32 @@ +php5 (5.1.6-5) unstable; urgency=high + + [sean finney] + * add a README.Debian.security to clarify how we handle/respond + to security problems in stable releases. + * SECURITY: include patch for integer overflow in zend_alloc.c. + Reference: CVE-2006-04812 (closes: #391586). + patch: 110-CVE-2006-4812_zend_alloc.patch + * bump the debhelper compatibility level to 4. + * remove cyclic depends for mysql/mysqli. + * the long overdue rework of configuration file handling. this also + removes the need for debconf and template translations + (closes: #361211, #393788, #388697). + * start using ucf to manage the the various SAPI php.ini files. + * cleanup and consolidation of a few things in the ./debian dir + * bump the memory limit to 32M for the cli API (closes: #375070, #340586). + * include a fix for missing mbstring headers reported by Jan Wagner + (closes: #391368). + patch: 111-mbstring-headers.patch. + * include support for PTY's in proc_open, as reported by Eike Dehling. + according to php's BTS (http://bugs.php.net/bug.php?id=39224) the + feature was disabled only because the configure script couldn't + accurately determine whether the feature was available, and we know + it is :) (closes: #381438). + patch: 112-proc_open.patch. + * update standards-version to 3.7.2 + + -- sean finney <seanius@debian.org> Sat, 28 Oct 2006 14:29:44 +0200 + php5 (5.1.6-4) unstable; urgency=high [sean finney] diff --git a/debian/control b/debian/control index 4f2c1287c..dd2b0f736 100644 --- a/debian/control +++ b/debian/control @@ -3,9 +3,9 @@ Section: web Priority: optional Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org> Uploaders: Adam Conrad <adconrad@0c3.net>, Steve Langasek <vorlon@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Ondřej Surý <ondrej@debian.org>, sean finney <seanius@debian.org> -Build-Depends: apache-dev (>= 1.3.23), apache2-prefork-dev (>= 2.0.53-3), autoconf, automake1.4, bison, chrpath, debhelper (>= 3), flex (>= 2.5.4), freetds-dev, po-debconf, libbz2-dev (>= 1.0.0), libcurl3-openssl-dev | libcurl3-dev, libdb4.4-dev, libexpat1-dev (>= 1.95.2-2.1), libfreetype6-dev, libgcrypt11-dev, libgd2-xpm-dev (>= 2.0.28-3), libjpeg62-dev, libkrb5-dev, libldap2-dev, libmhash-dev (>= 0.8.8), libmysqlclient15-dev | libmysqlclient12-dev, libncurses5-dev, libpam0g-dev, libpcre3-dev (>= 4.3-1), libpng12-dev, libpq-dev | postgresql-dev, librecode-dev, libsnmp9-dev | libsnmp-dev, libsqlite0-dev, libssl-dev (>= 0.9.6), libt1-dev, libtool (>= 1.4.2-4), libwrap0-dev, libxmltok1-dev, libxml2-dev (>= 2.4.14), libxslt1-dev (>= 1.0.18), re2c, unixodbc-dev, zlib1g-dev (>= 1.0.9) +Build-Depends: apache-dev (>= 1.3.23), apache2-prefork-dev (>= 2.0.53-3), autoconf, automake1.4, bison, chrpath, debhelper (>= 3), flex (>= 2.5.4), freetds-dev, libbz2-dev (>= 1.0.0), libcurl3-openssl-dev | libcurl3-dev, libdb4.4-dev, libexpat1-dev (>= 1.95.2-2.1), libfreetype6-dev, libgcrypt11-dev, libgd2-xpm-dev (>= 2.0.28-3), libjpeg62-dev, libkrb5-dev, libldap2-dev, libmhash-dev (>= 0.8.8), libmysqlclient15-dev | libmysqlclient12-dev, libncurses5-dev, libpam0g-dev, libpcre3-dev (>= 4.3-1), libpng12-dev, libpq-dev | postgresql-dev, librecode-dev, libsnmp9-dev | libsnmp-dev, libsqlite0-dev, libssl-dev (>= 0.9.6), libt1-dev, libtool (>= 1.4.2-4), libwrap0-dev, libxmltok1-dev, libxml2-dev (>= 2.4.14), libxslt1-dev (>= 1.0.18), re2c, unixodbc-dev, zlib1g-dev (>= 1.0.9) Build-Conflicts: bind-dev -Standards-Version: 3.6.2 +Standards-Version: 3.7.2 Package: php5 Architecture: all @@ -39,7 +39,7 @@ Description: Common files for packages built from the php5 source Package: libapache-mod-php5 Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, mime-support (>= 2.03-1), ${apache:Depends}, php5-common (= ${Source-Version}), libmagic1 +Depends: ${shlibs:Depends}, ${misc:Depends}, mime-support (>= 2.03-1), ${apache:Depends}, php5-common (= ${Source-Version}), libmagic1, ucf Conflicts: php3, php4 (<< 4:4.3.8-6), libapache-mod-php4 Provides: ${php:Provides} Suggests: php-pear @@ -59,7 +59,7 @@ Description: server-side, HTML-embedded scripting language (apache 1.3 module) Package: libapache2-mod-php5 Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, mime-support (>= 2.03-1), ${apache2:Depends}, php5-common (= ${Source-Version}), libmagic1 +Depends: ${shlibs:Depends}, ${misc:Depends}, mime-support (>= 2.03-1), ${apache2:Depends}, php5-common (= ${Source-Version}), libmagic1, ucf Conflicts: libapache2-mod-php4 Provides: ${php:Provides} Suggests: php-pear @@ -80,7 +80,7 @@ Description: server-side, HTML-embedded scripting language (apache 2.0 module) Package: php5-cgi Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, mime-support (>= 2.03-1), php5-common (= ${Source-Version}), libmagic1 +Depends: ${shlibs:Depends}, ${misc:Depends}, mime-support (>= 2.03-1), php5-common (= ${Source-Version}), libmagic1, ucf Provides: ${php:Provides} Conflicts: php3 (<= 3.0.18-1) Suggests: php-pear @@ -101,7 +101,7 @@ Description: server-side, HTML-embedded scripting language (CGI binary) Package: php5-cli Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, mime-support (>= 2.03-1), php5-common (= ${Source-Version}), libmagic1 +Depends: ${shlibs:Depends}, ${misc:Depends}, mime-support (>= 2.03-1), php5-common (= ${Source-Version}), libmagic1, ucf Provides: ${php:Provides} Conflicts: php3 (<= 3.0.18-1) Suggests: php-pear @@ -195,13 +195,13 @@ Description: MHASH module for php5 Package: php5-mysql Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}, php5-mysqli (= ${Source-Version}), php5-common (= ${Source-Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}, php5-common (= ${Source-Version}) Description: MySQL module for php5 This package provides a module for MySQL database connections directly from PHP scripts. This generic module can be used to connect to all versions of MySQL, however when connecting to MySQL servers greater than version 4.1, you may want to consider using the interface provided by the php5-mysqli - extention, which this package depends on. + extension. . PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown @@ -210,13 +210,12 @@ Description: MySQL module for php5 Package: php5-mysqli Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}, php5-mysql (= ${Source-Version}), php5-common (= ${Source-Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}, php5-common (= ${Source-Version}) Description: MySQL Improved module for php5 This package provides a module for MySQL database connections directly from PHP scripts. This new "Improved" interface should only be used to connect to MySQL databases greater than version 4.1. For older MySQL servers, - please use the functions from the php5-mysql extension instead, which this - package depends on. + please use the functions from the php5-mysql extension instead. . PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown diff --git a/debian/libapache-mod-php5.postinst b/debian/libapache-mod-php5.postinst index 56fd679b9..0d156fea7 100644 --- a/debian/libapache-mod-php5.postinst +++ b/debian/libapache-mod-php5.postinst @@ -10,11 +10,7 @@ if [ "$1" != "configure" ]; then fi phpini="/etc/php5/apache/php.ini" - -if ! [ -f $phpini ]; then - mkdir -p /etc/php5/apache - cp /usr/share/php5/php.ini-dist $phpini -fi +ucf /usr/share/php5/php.ini-dist $phpini if [ -n "$2" ]; then # we're upgrading. don't ask again diff --git a/debian/libapache-mod-php5.postrm b/debian/libapache-mod-php5.postrm deleted file mode 100644 index 42d3437d4..000000000 --- a/debian/libapache-mod-php5.postrm +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# postrm script for #PACKAGE# -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see /usr/share/doc/packaging-manual/ - -case "$1" in - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - - ;; - - purge) - rm -rf /etc/php5/apache - if [ -d /etc/php5 ]; then - rmdir --ignore-fail-on-non-empty /etc/php5 - fi - ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/libapache2-mod-php5.postinst b/debian/libapache2-mod-php5.postinst index 12072f938..5d7f2e591 100644 --- a/debian/libapache2-mod-php5.postinst +++ b/debian/libapache2-mod-php5.postinst @@ -9,11 +9,7 @@ if [ "$1" != "configure" ]; then fi phpini="/etc/php5/apache2/php.ini" - -if ! [ -f $phpini ]; then - mkdir -p /etc/php5/apache2 - cp /usr/share/php5/php.ini-dist $phpini -fi +ucf /usr/share/php5/php.ini-dist $phpini reload_apache() { diff --git a/debian/libapache2-mod-php5.postrm b/debian/libapache2-mod-php5.postrm deleted file mode 100644 index 9417dbba4..000000000 --- a/debian/libapache2-mod-php5.postrm +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# postrm script for #PACKAGE# -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see /usr/share/doc/packaging-manual/ - -case "$1" in - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - - ;; - - purge) - rm -rf /etc/php5/apache2 - if [ -d /etc/php5 ]; then - rmdir --ignore-fail-on-non-empty /etc/php5 - fi - ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/maxlifetime b/debian/maxlifetime index 21658eb29..21658eb29 100644..100755 --- a/debian/maxlifetime +++ b/debian/maxlifetime diff --git a/debian/patches/110-CVE-2006-4812_zend_alloc.patch b/debian/patches/110-CVE-2006-4812_zend_alloc.patch new file mode 100644 index 000000000..a99114305 --- /dev/null +++ b/debian/patches/110-CVE-2006-4812_zend_alloc.patch @@ -0,0 +1,20 @@ +--- php5.old/Zend/zend_alloc.c 2006/09/14 08:55:17 1.161 ++++ php5/Zend/zend_alloc.c 2006/09/30 17:17:31 1.162 +@@ -1730,15 +1730,14 @@ + ZEND_API void *_ecalloc(size_t nmemb, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) + { + void *p; +- int final_size = size*nmemb; + + HANDLE_BLOCK_INTERRUPTIONS(); +- p = _emalloc(final_size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); ++ p = _safe_emalloc(nmemb, size, 0 ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); + if (!p) { + HANDLE_UNBLOCK_INTERRUPTIONS(); + return (void *) p; + } +- memset(p, 0, final_size); ++ memset(p, 0, size * nmemb); + HANDLE_UNBLOCK_INTERRUPTIONS(); + return p; + } diff --git a/debian/patches/111-mbstring-headers.patch b/debian/patches/111-mbstring-headers.patch new file mode 100644 index 000000000..76d062c04 --- /dev/null +++ b/debian/patches/111-mbstring-headers.patch @@ -0,0 +1,11 @@ +--- php5.old/ext/mbstring/config.m4 2006-10-27 15:58:10.000000000 +0200 ++++ php5.new/ext/mbstring/config.m4 2006-10-27 15:59:09.000000000 +0200 +@@ -293,7 +293,7 @@ + dnl libmbfl is required + PHP_MBSTRING_SETUP_LIBMBFL + PHP_MBSTRING_EXTENSION +- PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl]) ++ PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/]) + fi + + # vim600: sts=2 sw=2 et diff --git a/debian/patches/112-proc_open.patch b/debian/patches/112-proc_open.patch new file mode 100644 index 000000000..57e6cd09c --- /dev/null +++ b/debian/patches/112-proc_open.patch @@ -0,0 +1,11 @@ +--- php.old/ext/standard/proc_open.c 2006-10-27 17:47:34.000000000 +0200 ++++ php/ext/standard/proc_open.c 2006-10-27 17:47:47.000000000 +0200 +@@ -61,7 +61,7 @@ + * */ + #ifdef PHP_CAN_SUPPORT_PROC_OPEN + +-#if 0 && HAVE_PTSNAME && HAVE_GRANTPT && HAVE_UNLOCKPT && HAVE_SYS_IOCTL_H && HAVE_TERMIOS_H ++#if HAVE_PTSNAME && HAVE_GRANTPT && HAVE_UNLOCKPT && HAVE_SYS_IOCTL_H && HAVE_TERMIOS_H + # include <sys/ioctl.h> + # include <termios.h> + # define PHP_CAN_DO_PTS 1 diff --git a/debian/php5-cgi.postinst b/debian/php5-cgi.postinst index 67bb2a25c..5c8a7a66d 100644 --- a/debian/php5-cgi.postinst +++ b/debian/php5-cgi.postinst @@ -8,14 +8,8 @@ if [ "$1" != "configure" ]; then exit 0 fi -. /usr/share/debconf/confmodule - phpini="/etc/php5/cgi/php.ini" - -if ! [ -f $phpini ]; then - mkdir -p /etc/php5/cgi - cp /usr/share/php5/php.ini-dist $phpini -fi +ucf /usr/share/php5/php.ini-dist $phpini update-alternatives \ --install /usr/bin/php-cgi php-cgi /usr/bin/php5-cgi 50 \ diff --git a/debian/php5-cgi.postrm b/debian/php5-cgi.postrm deleted file mode 100644 index 1f8480023..000000000 --- a/debian/php5-cgi.postrm +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# postrm script for #PACKAGE# -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see /usr/share/doc/packaging-manual/ - -case "$1" in - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - - ;; - - purge) - rm -rf /etc/php5/cgi - if [ -d /etc/php5 ]; then - rmdir --ignore-fail-on-non-empty /etc/php5 - fi - ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/php5-cli.postinst b/debian/php5-cli.postinst index 1f4a04980..c6fd85d3f 100644 --- a/debian/php5-cli.postinst +++ b/debian/php5-cli.postinst @@ -9,11 +9,7 @@ if [ "$1" != "configure" ]; then fi phpini="/etc/php5/cli/php.ini" - -if ! [ -f $phpini ]; then - mkdir -p /etc/php5/cli - cp /usr/share/php5/php.ini-dist $phpini -fi +ucf /usr/share/php5/php.ini-dist.cli $phpini update-alternatives \ --install /usr/bin/php php /usr/bin/php5 50 \ diff --git a/debian/php5-cli.postrm b/debian/php5-cli.postrm deleted file mode 100644 index 0cb2a8fd4..000000000 --- a/debian/php5-cli.postrm +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# postrm script for #PACKAGE# -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see /usr/share/doc/packaging-manual/ - -case "$1" in - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - - ;; - - purge) - rm -rf /etc/php5/cli - if [ -d /etc/php5 ]; then - rmdir --ignore-fail-on-non-empty /etc/php5 - fi - ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/php5-common.README.Debian b/debian/php5-common.README.Debian index 3d2a5fa8c..36e925420 100644 --- a/debian/php5-common.README.Debian +++ b/debian/php5-common.README.Debian @@ -1,3 +1,14 @@ +Table of Contents: +--------------------------------------------------------------------- +* Using php5 with threaded webservers (eg. apache2-mpm-worker, caudium) +* Problems starting apache with php5 +* Session storage +* Other caveats +* php5-cgi and apache/apache2 +* Configuration layout +* Further documentation, errata, etc + + Using php5 with threaded webservers (eg. apache2-mpm-worker, caudium) --------------------------------------------------------------------- @@ -19,9 +30,9 @@ Problems starting apache with php5 many bug reports in the past due to dynamically-loaded extensions, and it's possible there are still bugs in the released packages. If Apache fails to start after you install php5, check your list of - enabled extensions at the bottom of /etc/php5/apache/php.ini, and try - commenting out or reordering the extensions until you find a - combination that works. + enabled extensions at the bottom of /etc/php5/apache/php.ini (and in + the per-sapi configuration directory), and try commenting out or + reordering the extensions until you find a combination that works. For example, in the past the mhash extension was incompatible with some other common extensions. To work around this, you could list @@ -91,3 +102,37 @@ To use php5-cgi with apache2 </IfModule> Adam Conrad <adconrad@0c3.net> Sat, 04 Sep 2004 23:04:26 -0600 + +Configuration Layout +--------------------------------------------------------------------- + +Each of the 4 SAPI's (apache/apache2/cgi/cli) have a different +central configuration file /etc/php5/$SAPI/php.ini. + +Additionally, each SAPI is configured with the compile-time option + + --with-config-file-scan-dir=/etc/php5/SAPI/conf.d + +which for all SAPI's is actually a symlink pointing to a central +directory /etc/php5/conf.d. Any file found in this directory ending +in .ini will be treated as a configuration file by the php SAPI. + +The rationale with this method is that each SAPI can thus be +identically configured with a minimal amount of conffile handling, +but at the same time if you want to have SAPI-specific configuration, +you can just remove the symlink. + +sean finney <seanius@debian.org> Thu, 19 Oct 2006 23:33:05 +0200 + +Further documentation, errata, etc +--------------------------------------------------------------------- + +Errata and other general information about PHP in Debian can be found +in the debian wiki at: + + http://wiki.debian.org/PHP + +If after reading the documentation in this file you still have unanswered +questions, that's a good next place to go. + +sean finney <seanius@debian.org> Thu, 19 Oct 2006 22:57:52 +0200 diff --git a/debian/php5-common.dirs b/debian/php5-common.dirs index 7cf0f6326..21e5e2b08 100644 --- a/debian/php5-common.dirs +++ b/debian/php5-common.dirs @@ -4,3 +4,4 @@ /usr/share/php5 /var/lib/php5 /usr/lib/php5 +/etc/php5/conf.d diff --git a/debian/php5-common.docs b/debian/php5-common.docs index 9a5210a0e..4e28f87b8 100644 --- a/debian/php5-common.docs +++ b/debian/php5-common.docs @@ -7,3 +7,4 @@ README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS README.Zeus README.PHP4-TO-PHP5-THIN-CHANGES +debian/README.Debian.security diff --git a/debian/php5-module.config b/debian/php5-module.config deleted file mode 100644 index c62c49f0b..000000000 --- a/debian/php5-module.config +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -e - -# Source debconf library. -. /usr/share/debconf/confmodule - -db_title "PHP" - -for SAPI in apache apache2 cgi cli -do - # Skip this loop if the config file isn't there (yet). - if [ -f "/etc/php5/$SAPI/php.ini" ]; then - db_register php5/add_extension php5/extension_@dsoname@_$SAPI - - # FIXME: this is the wrong answer if the SAPI package was - # installed after the module was. - if [ -n "$2" ] && dpkg --compare-versions "$2" ge 4:4.3.2+rc3-2 - then - if grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*@dsoname@\.so" "/etc/php5/$SAPI/php.ini" - then - db_set php5/extension_@dsoname@_$SAPI true - else - db_set php5/extension_@dsoname@_$SAPI false - fi - fi - - db_subst php5/extension_@dsoname@_$SAPI extname @extname@ - db_subst php5/extension_@dsoname@_$SAPI sapiconfig $SAPI - db_input low php5/extension_@dsoname@_$SAPI || true - fi -done - -db_go diff --git a/debian/php5-module.ini b/debian/php5-module.ini new file mode 100644 index 000000000..bc1d4907b --- /dev/null +++ b/debian/php5-module.ini @@ -0,0 +1,2 @@ +# configuration for php @extname@ module +extension=@dsoname@.so diff --git a/debian/php5-module.postinst b/debian/php5-module.postinst index 5244d6dc1..9aef9e14a 100644 --- a/debian/php5-module.postinst +++ b/debian/php5-module.postinst @@ -2,25 +2,31 @@ set -e -# Source debconf library. -. /usr/share/debconf/confmodule - -#DEBHELPER# - if [ "$1" != "configure" ]; then exit 0 fi -for SAPI in apache apache2 cgi cli -do - if [ -f /etc/php5/$SAPI/php.ini ]; then - db_get php5/extension_@dsoname@_$SAPI - if [ "$RET" = "true" ] \ - && ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*@dsoname@\.so" /etc/php5/$SAPI/php.ini - then - echo "extension=@dsoname@.so" >> /etc/php5/$SAPI/php.ini +# here we test for upgrades from versions prior to the config-file-scan-dir +# migration. +# +# to avoid lots of scary warnings about duplicate-loaded modules, each +# module will remove its "extension=" line from each SAPI's php.ini file +# when upgrading from a "prior version". this will be the last time we +# ever muck with such files in maintainer scripts. really. promise :) + +if [ "$2" ] && dpkg --compare-versions "$2" lt "5.1.6-5"; then + extension_re='^[[:space:]]*extension[[:space:]]*=[[:space:]]*@dsoname@\.so$' + for SAPI in apache apache2 cgi cli; do + ini_file="/etc/php5/$SAPI/php.ini" + if [ -f "$ini_file" ]; then + if grep -q "$extension_re" $ini_file; then + sed -i -e "/$extension_re/d" $ini_file + fi fi - fi -done + done +fi + +#DEBHELPER# exit 0 + diff --git a/debian/php5-module.prerm b/debian/php5-module.prerm deleted file mode 100644 index 4fe10020e..000000000 --- a/debian/php5-module.prerm +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -set -e - -#DEBHELPER# - -if [ "$1" != "remove" -a "$1" != "purge" ]; then - exit 0 -fi - -EXTENSIONRE="^[[:space:]]*extension[[:space:]]*=[[:space:]]*@dsoname@\.so" - -. /usr/share/debconf/confmodule - -for SAPI in `find /etc/php5/ -type d -maxdepth 1 -mindepth 1 | sed -e's#.*/##'` -do - # Use the same question for all extensions, because it's only - # used once per package: right here. - if [ -f "/etc/php5/$SAPI/php.ini" ] \ - && grep -q "$EXTENSIONRE" /etc/php5/$SAPI/php.ini - then - db_set php5/remove_extension true - db_title "PHP" - db_subst php5/remove_extension extname @extname@ - db_subst php5/remove_extension sapiconfig $SAPI - db_input low php5/remove_extension || true - db_go - - db_get php5/remove_extension - if [ "$RET" = "true" ]; then - grep -v "$EXTENSIONRE" < /etc/php5/$SAPI/php.ini \ - > /etc/php5/$SAPI/php.ini.@dsoname@remove - chmod --reference=/etc/php5/$SAPI/php.ini \ - /etc/php5/$SAPI/php.ini.@dsoname@remove - mv /etc/php5/$SAPI/php.ini.@dsoname@remove \ - /etc/php5/$SAPI/php.ini - fi - db_fset php5/remove_extension seen false - fi -done - -exit 0 diff --git a/debian/php5-module.templates b/debian/php5-module.templates deleted file mode 100644 index 9ca5f060d..000000000 --- a/debian/php5-module.templates +++ /dev/null @@ -1,15 +0,0 @@ -Template: php5/add_extension -Type: boolean -Default: true -_Description: Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini? - You are installing ${extname} support for php5, and it is not yet - enabled in the configuration for the ${sapiconfig} SAPI. Do you want - this extension to be enabled now? - -Template: php5/remove_extension -Type: boolean -Default: true -_Description: Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini? - You are removing ${extname} support for php5, but it is still enabled - in the configuration for the ${sapiconfig} SAPI. Leaving this in place - will probably cause problems when trying to use PHP. diff --git a/debian/php5-sapi.links b/debian/php5-sapi.links new file mode 100644 index 000000000..6a131e133 --- /dev/null +++ b/debian/php5-sapi.links @@ -0,0 +1 @@ +etc/php5/conf.d etc/php5/@sapi@/conf.d diff --git a/debian/php5-sapi.postrm b/debian/php5-sapi.postrm new file mode 100644 index 000000000..ea609e71e --- /dev/null +++ b/debian/php5-sapi.postrm @@ -0,0 +1,18 @@ +#! /bin/sh + +set -e + +phpini=/etc/php5/@sapi@/php.ini + +case "$1" in +purge) + if which ucf >/dev/null 2>&1; then + ucf --purge $phpini + fi + rm -f $phpini + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in deleted file mode 100644 index 8a1bd58eb..000000000 --- a/debian/po/POTFILES.in +++ /dev/null @@ -1 +0,0 @@ -[type: gettext/rfc822deb] php5-module.templates diff --git a/debian/po/ca.po b/debian/po/ca.po deleted file mode 100644 index 9fd959570..000000000 --- a/debian/po/ca.po +++ /dev/null @@ -1,91 +0,0 @@ -# php5 (debconf) translation to Catalan. -# Copyright (C) 2004 Free Software Foundation, Inc. -# Aleix Badia i Bosch <abadia@ica.es>, 2004 -# Josep Lladonosa i Capell <jlladono@pie.xtec.es>, 2004 -# Steve Langasek <vorlon@debian.org>, 2004 -# Jordi Mallach <jordi@debian.org>, 2004 -# -msgid "" -msgstr "" -"Project-Id-Version: php5_4:4.3.3-5_templates\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2004-01-31 19:46GMT\n" -"Last-Translator: Aleix Badia i Bosch <abadia@ica.es>\n" -"Language-Team: Debian L10n Catalan <debian-l10n-catalan@lists.debian.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Voleu afegir l'extensió ${extname} a /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Esteu instal·lant el suport de ${extname} per a php5 i encara no està " -"habilitat a la configuració per al SAPI ${sapiconfig}. Voleu habilitar " -"aquesta extensió?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "" -"Voleu suprimir l'extensió ${extname} de /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"S'està suprimint el suport de l'extensió ${extname} per a php5 però continua " -"habilitat a la configuració per al SAPI ${sapiconfig}. Si ho deixeu activat " -"pot provocar problemes a l'intentar utilitzar el php." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "" -#~ "Voleu comentar la configuració de l'extension_dir de l'/etc/php5/apache/" -#~ "php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "Avís. La ubicació de les extensions del php5 s'ha modificat i disposeu " -#~ "d'un extension_dir configurat a /etc/php5/apache/php.ini. Si no ho " -#~ "modifiqueu no podreu accedir a algunes de les extensions des de les " -#~ "seqüències de php. És recomanable que deixeu que el php utilitzi el camí " -#~ "predeterminat en la compilació per a la ubicació de les extensions." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "" -#~ "Voleu comentar la configuració de l'extension_dir de /etc/php5/cgi/php." -#~ "ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "Avís. La ubicació de les extensions del php5 s'han modificat i disposeu " -#~ "d'un extension_dir configurat a /etc/php5/cgi/php.ini. Si no ho " -#~ "modifiqueu no podreu accedir a algunes de les extensions des de les " -#~ "seqüències de php. És recomanable que deixeu que el php utilitzi el camí " -#~ "predeterminat en la compilació per a la ubicació de les extensions." diff --git a/debian/po/cs.po b/debian/po/cs.po deleted file mode 100644 index c09e35bcb..000000000 --- a/debian/po/cs.po +++ /dev/null @@ -1,91 +0,0 @@ -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans -# -# Developers do not need to manually edit POT or PO files. -# -msgid "" -msgstr "" -"Project-Id-Version: php5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2004-09-29 15:28+0200\n" -"Last-Translator: Miroslav Kure <kurem@debian.cz>\n" -"Language-Team: Czech <provoz@debian.cz>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-2\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "M se ${extname} pidat do /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Instalujete podporu ${extname} pro php5, kter jet nen povolena v " -"konfiguraci pro ${sapiconfig} SAPI. Chcete povolit tento modul?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "M se ${extname} odstranit z /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Odstraujete podporu ${extname} pro php5, kter je stle povolena v " -"konfiguraci pro ${sapiconfig} SAPI. To me zpsobit problmy pi pouvn " -"PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "Zakomentovat v /etc/php5/apache/php.ini poloku extension_dir?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "VAROVN: Umstn roziujcch modul php5 se zmnilo a vy mte v /etc/" -#~ "php5/apache/php.ini nastavenou volbu extension_dir. To me zpsobit, e " -#~ "se bude pouvat chybn cesta a nebudete tak moci pouvat nkter " -#~ "moduly. Doporuujeme, abyste pro hledn roziujcch modul pouvali " -#~ "implicitn cestu zakompilovanou pmo do PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "Zakomentovat v /etc/php5/cgi/php.ini poloku extension_dir?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "VAROVN: Umstn roziujcch modul php5 se zmnilo a vy mte v /etc/" -#~ "php5/cgi/php.ini nastavenou volbu extension_dir. To me zpsobit, e se " -#~ "bude pouvat chybn cesta a nebudete tak moci pouvat nkter moduly. " -#~ "Doporuujeme, abyste pro hledn roziujcch modul pouvali " -#~ "implicitn cestu zakompilovanou pmo do PHP." diff --git a/debian/po/da.po b/debian/po/da.po deleted file mode 100644 index e0b87f481..000000000 --- a/debian/po/da.po +++ /dev/null @@ -1,94 +0,0 @@ -# translation of php5_4:4.3.3-5_templates.po to Danish -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans# -# Developers do not need to manually edit POT or PO files. -# Claus Hindsgaul <claus_h@image.dk>, 2004. -# -msgid "" -msgstr "" -"Project-Id-Version: php5_4:4.3.3-5_templates\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2004-02-20 17:04+0100\n" -"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n" -"Language-Team: Danish <dansk@klid.dk>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.3\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Skal ${extname} tilfjes i /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Du er ved at installere understttelse for ${extname} i php5, og den er " -"endnu ikke aktiveret i opstningen for ${sapiconfig}-SAPI'en. nsker du at " -"aktivere denne udvidelse nu?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "Skal ${extname} fjernes fra /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Du er ved at fjerne understttelse for ${extname} i php5, og den er stadig " -"aktiveret i opstningen for ${sapiconfig}-SAPI'en. Hvis du lader det vre, " -"vi du sikkert f problemer med at bruge PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "Udkommentr extension_dir-opstningen i /etc/php5/apache/php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "ADVARSEL! php5-udvidelsernes placering er blevet ndret, og du har sat en " -#~ "extension_dir op i /etc/php5/apache/php.ini. Hvis du lader den vre, kan " -#~ "det vre at du ikke kan tilg nogle af udvidelserne i PHP-skripter. Det " -#~ "anbefales at du lader PHP benytte den indbyggede standardsti til " -#~ "placering af udvidelserne." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "Udkommentr extension_dir-opstningen i /etc/php5/cgi/php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "ADVARSEL! php5-udvidelsernes placering er blevet ndret, og du har sat en " -#~ "extension_dir op i /etc/php5/cgi/php.ini. Hvis du lader den vre, kan det " -#~ "vre at du ikke kan tilg nogle af udvidelserne i PHP-skripter. Det " -#~ "anbefales at du lader PHP benytte den indbyggede standardsti til " -#~ "placering af udvidelserne." diff --git a/debian/po/de.po b/debian/po/de.po deleted file mode 100644 index cf47f182c..000000000 --- a/debian/po/de.po +++ /dev/null @@ -1,97 +0,0 @@ -# translation of php5 debconf messages to German -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans# -# Developers do not need to manually edit POT or PO files. -# Alwin Meschede <ameschede@gmx.de>, 2004. -# -msgid "" -msgstr "" -"Project-Id-Version: de\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2004-02-11 17:42+0100\n" -"Last-Translator: Alwin Meschede <ameschede@gmx.de>\n" -"Language-Team: <gnome-de@gnome.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.0.2\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Soll ${extname} zu /etc/php5/${sapiconfig}/php.ini hinzugefügt werden?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Sie installieren ${extname}-Unterstützung für php5, und sie ist noch nicht " -"in der Konfiguration für die ${sapiconfig} SAPI aktiviert. Soll diese " -"Erweiterung jetzt aktiviert werden?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "Soll ${extname} aus /etc/php5/${sapiconfig}/php.ini entfernt werden?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Sie entfernen ${extname}-Unterstützung für php5, aber sie ist immer noch in " -"der Konfiguration für die ${sapiconfig} SAPI aktiviert. Dies so zu belassen " -"kann möglicherweise Probleme bei der Verwendung von PHP verursachen." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "" -#~ "Soll die extension_dir-Konfiguration in /etc/php5/apache/php.ini " -#~ "auskommentiert werden?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "WARNUNG! Der Speicherort der php5-Erweiterungen hat sich geändert, und " -#~ "Sie haben ein extension_dir in /etc/php5/apache/php.ini konfiguriert. " -#~ "Dies kann den Zugriff auf einige Erweiterungen verhindern. Es wird " -#~ "empfohlen, dass Sie PHP den einkompilierten Standardpfad zu den " -#~ "Erweiterungen verwenden lassen." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "" -#~ "Soll die extension_dir-Konfiguration in /etc/php5/cgi/php.ini " -#~ "auskommentiert werden?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "WARNUNG! Der Speicherort der php5-Erweiterungen hat sich geändert, und " -#~ "Sie haben ein extension_dir in /etc/php5/cgi/php.ini konfiguriert. Dies " -#~ "kann den Zugriff auf einige Erweiterungen verhindern. Es wird empfohlen, " -#~ "dass Sie PHP den einkompilierten Standardpfad zu den Erweiterungen " -#~ "verwenden lassen." diff --git a/debian/po/es.po b/debian/po/es.po deleted file mode 100644 index f6148c46d..000000000 --- a/debian/po/es.po +++ /dev/null @@ -1,100 +0,0 @@ -# php5 debconf translation to spanish -# Copyright (C) 2004 Software in the Public Interest -# This file is distributed under the same license as the php5 package. -# -# Changes: -# - Initial translation -# Carlos Valdivia Yage <valyag@dat.etsit.upm.es>, 2004 -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans -# -# Developers do not need to manually edit POT or PO files. -# -msgid "" -msgstr "" -"Project-Id-Version: php5 4.3.3-5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2004-02-14 12:35+0100\n" -"Last-Translator: Carlos Valdivia Yage <valyag@dat.etsit.upm.es>\n" -"Language-Team: Debian L10n Spanish Team <debian-l10n-spanish@lists.debian." -"org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-15\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Desea aadir ${extname} a /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Est aadiendo soporte de ${extname} para php5 pero an no est activado en " -"la configuracin para la ${sapiconfig} SAPI. Quiere activar la extensin " -"ahora?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "Quiere borrar ${extname} de /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Est quitando soporte de ${extname} para php5 pero an est activado en la " -"configuracin de la ${sapiconfig} SAPI. Si lo deja as es muy posible que le " -"cause problemas al intentar usar PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "Comentar la opcin extension_dir de /etc/php5/apache/php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "Atencin! La ubicacin de las extensiones de php5 ha cambiado pero tiene " -#~ "la opcin extension_dir configurada en /etc/php5/apache/php.ini. Si lo " -#~ "deja tal cual, no podr utilizar determinadas extensiones desde los " -#~ "scripts en PHP. Se recomienda que permita que PHP utilice la ruta " -#~ "predeterminada en tiempo de compilacin para encontrar las extensiones." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "Comentar la opcin extension_dir de /etc/php5/cgi/php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "Atencin! La ubicacin de las extensiones de php5 ha cambiado pero tiene " -#~ "la opcin extension_dir configurada en /etc/php5/cgi/php.ini. Si lo deja " -#~ "tal cual, no podr utilizar determinadas extensiones desde los scripts en " -#~ "PHP. Se recomienda que permita que PHP utilice la ruta predeterminada en " -#~ "tiempo de compilacin para encontrar las extensiones." diff --git a/debian/po/fr.po b/debian/po/fr.po deleted file mode 100644 index ee095549d..000000000 --- a/debian/po/fr.po +++ /dev/null @@ -1,95 +0,0 @@ -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans# -# Developers do not need to manually edit POT or PO files. -# -msgid "" -msgstr "" -"Project-Id-Version: php5_4:4.3.2+rc3-3\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2003-08-24 09:07+0200\n" -"Last-Translator: Michel Grentzinger <mic.grentz@online.fr>\n" -"Language-Team: French <debian-l10n-french@lists.debian.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-15\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Faut-il ajouter ${extname} /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Vous installez la gestion de ${extname} par php5 et celle-ci n'est pas " -"encore active dans la configuration ${sapiconfig} SAPI. Souhaitez-vous que " -"cette extension soit active maintenant?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "Faut-il supprimer ${extname} dans /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Vous supprimez la gestion de ${extname} par php5 mais elle est toujours " -"active dans la configuration ${sapiconfig} SAPI. Si vous laissez cela en " -"l'tat, vous aurez sans doute des problmes lorsque vous essayerez " -"d'utiliser PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "" -#~ "Faut-il commenter la configuration extension_dir dans /etc/php5/apache/" -#~ "php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "ATTENTION! L'emplacement des extensions php5 a chang et vous avez " -#~ "configur extension_dir dans /etc/php5/apache/php.ini. En laissant cela " -#~ "en l'tat, vous pourriez tre dans l'impossibilit d'accder certaines " -#~ "extensions partir des scripts PHP. Il est recommand de laisser PHP " -#~ "utiliser le chemin par dfaut pour dfinir l'emplacement des extensions." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "" -#~ "Faut-il commenter la configuration extension_dir dans /etc/php5/cgi/php." -#~ "ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "ATTENTION! L'emplacement des extensions php5 a chang et vous avez " -#~ "configur extension_dir dans /etc/php5/cgi/php.ini. En laissant ceci en " -#~ "l'tat, vous pourriez tre dans l'impossibilit d'accder certaines " -#~ "extensions partir des scripts PHP. Il est recommand de laisser PHP " -#~ "utiliser le chemin par dfaut pour dfinir l'emplacement des extensions." diff --git a/debian/po/ja.po b/debian/po/ja.po deleted file mode 100644 index 11247b8d8..000000000 --- a/debian/po/ja.po +++ /dev/null @@ -1,92 +0,0 @@ -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans -# -# Developers do not need to manually edit POT or PO files. -# -msgid "" -msgstr "" -"Project-Id-Version: PHP for Debian 4.3.2+3rc3-2\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2003-11-29 08:34+0900\n" -"Last-Translator: Kenshi Muto <kmuto@debian.org>\n" -"Language-Team: Japanese <debian-japanese@lists.debian.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=EUC-JP\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "${extname} /etc/php5/${sapiconfig}/php.ini ɲäޤ?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"php5 ؤ ${extname} ǽΥݡȤȡ뤷Ƥޤޤ " -"${sapiconfig} SAPI ꤬ͭˤʤäƤޤγĥǽͭˤ" -"ޤ?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "${extname} /etc/php5/${sapiconfig}/php.ini ޤ?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"php5 ؤ ${extname} ǽΥݡȤƤޤޤ ${sapiconfig} " -"SAPI ͭˤʤäޤޤǤΤޤޤξ硢PHP Ѥ褦Ȥݤ" -"餯꤬ޤ" - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "" -#~ "extension_dir /etc/php5/apache/php.ini 饳ȥȤޤ?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "ٹ! php5 ĥξѹޤ/etc/php5/apache/php.ini ꤵ" -#~ "줿 extension_dir ޤΤޤޤˤƤȡPHP ץȤ餤" -#~ "Ĥγĥ˥ǤʤȤˤʤޤPHP ˳ĥΰ֤Ȥƥ" -#~ "ΥǥեȥѥȤ碌褦ᤷޤ" - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "" -#~ "extension_dir /etc/php5/cgi/php.ini 饳ȥȤޤ?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "ٹ! php5 ĥξѹޤ/etc/php5/cgi/php.ini ꤵ" -#~ " extension_dir ޤΤޤޤˤƤȡPHP ץȤ餤" -#~ "Ĥγĥ˥ǤʤȤˤʤޤPHP ˳ĥΰ֤Ȥƥѥ" -#~ "ΥǥեȥѥȤ碌褦ᤷޤ" diff --git a/debian/po/nl.po b/debian/po/nl.po deleted file mode 100644 index 9881d2139..000000000 --- a/debian/po/nl.po +++ /dev/null @@ -1,96 +0,0 @@ -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans -# -# Developers do not need to manually edit POT or PO files. -# -msgid "" -msgstr "" -"Project-Id-Version: php5 4:4.3.3-3\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2003-11-14 15:42+0100\n" -"Last-Translator: Tim Dijkstra <tim@famdijkstra.org>\n" -"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=iso-8859-15\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "" -"Dient ${extname} te worden toegevoegd aan /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"U bent ${extname}-ondersteuning voor php5 aan het installeren, maar het is " -"nog niet geactiveerd in de configuratie van de ${sapiconfig}-SAPI. Wilt u " -"deze uitbreiding nu activeren?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "Moet ${extname} worden verwijderd uit /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"U bent ${extname}-ondersteuning voor php5 aan het verwijderen, maar het is " -"nog wel geactiveerd in de configuratie van de ${sapiconfig}-SAPI. Dit kan " -"problemen veroorzaken tijdens het gebruik van PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "" -#~ "De extension_dir instelling in /etc/php5/apache/php.ini uitschakelen?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "WAARSCHUWING! De locatie van de php5-uitbreidingen is veranderd en u " -#~ "heeft een extension_dir ingesteld in /etc/php5/apache/php.ini. Deze " -#~ "instelling behouden kan ervoor zorgen dat u in PHP-scripts sommige " -#~ "uitbreidingen niet kunt gebruiken. Het wordt aanbevolen dat u PHP het " -#~ "standaard pad voor uitbreidingen laat gebruiken dat is opgegeven tijdens " -#~ "de compilatie." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "De extension_dir instelling in /etc/php5/cgi/php.ini uitschakelen?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "WAARSCHUWING! De locatie van de php5-uitbreidingen is veranderd en u " -#~ "heeft een extension_dir ingesteld in /etc/php5/cgi/php.ini. Deze " -#~ "instelling behouden kan ervoor zorgen dat u in PHP-scripts sommige " -#~ "uitbreidingen niet kunt gebruiken. Het wordt aanbevolen dat u PHP het " -#~ "standaard pad voor uitbreidingen laat gebruiken dat is opgegeven tijdens " -#~ "de compilatie." diff --git a/debian/po/pt.po b/debian/po/pt.po deleted file mode 100644 index 11ad8d397..000000000 --- a/debian/po/pt.po +++ /dev/null @@ -1,81 +0,0 @@ -# Portuguese translation for php5's debconf messages. -# 2005, Miguel Figueiredo <elmig@debianpt.org> -msgid "" -msgstr "" -"Project-Id-Version: php5 4:4.3.10-10\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2005-04-17 14:05+0000\n" -"Last-Translator: Miguel Figueiredo <elmig@debianpt.org>\n" -"Language-Team: Portuguese <traduz@debianpt.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Deve ${extname} ser adicionado a /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Você está a instalar suporte ${extname} para php5, e ainda não está activado " -"na configuração para SAPI ${sapiconfig}. Você deseja que esta extenção seja " -"activada agora?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "Deve ${extname} ser removido de /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Você está a remover o suporte ${extname} para php5, mas ainda está activado " -"na configuração para SAPI ${sapiconfig}. Deixá-lo provavelmente pode causar " -"problemas quando tentar utilizar PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "Comentar a configuração extension_dir em /etc/php5/apache/php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "AVISO! Foi alterado o local das extenções php5, e você tem um " -#~ "extension_dir configurado em /etc/php5/apache/php.ini. Deixá-lo lá pode " -#~ "fazer com que não seja possível aceder algumas extensões a partir de " -#~ "scripts PHP. Para localizar as extensões é recomendado que você deixe o " -#~ "PHP utilizar o caminho compilado por omissão." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "Comentar a configuração extension_dir em /etc/php5/cgi/php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "AVISO! Foi alterado o local das extenções php5, e você tem um " -#~ "extension_dir configurado em /etc/php5/cgi/php.ini. Deixá-lo lá pode " -#~ "fazer com que não seja possível aceder algumas extensões a partir de " -#~ "scripts PHP. Para localizar as extensões é recomendado que você deixe o " -#~ "PHP utilizar o caminho compilado por omissão." diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po deleted file mode 100644 index 40daafbfc..000000000 --- a/debian/po/pt_BR.po +++ /dev/null @@ -1,93 +0,0 @@ -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans -# -# Developers do not need to manually edit POT or PO files. -# -msgid "" -msgstr "" -"Project-Id-Version: php5_4.3.2+rc3-3\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2003-08-24 21:44-0300\n" -"Last-Translator: Andr Lus Lopes <andrelop@debian.org>\n" -"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "${extname} deve ser adicionado a /etc/php5/${sapiconfig}/php.ini ?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Voc est instalando o suporte a ${extname} para o php5 e o mesmo ainda no " -"est habilitado para a configurao SAPI ${sapiconfig}. Voc deseja que essa " -"extenso seja habilitada agora ?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "${extname} deve ser removido de /etc/php5/${sapiconfig}/php.ini ?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Voc est removendo o suporte a ${extname} para o php5 e o mesmo ainda " -"continua habilitado para a configurao SAPI ${sapiconfig}. Mant-lo onde " -"est atualmente provavelmente ir causar problemas quando voc tentar usar o " -"PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "Comentar parmetro extension_dir de /etc/php5/apache/php.ini ?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "AVISO ! A local das extenses php5 mudou e voc possui atualmente o " -#~ "parmetro extension_dir definido no /etc/php5/apache/php.ini. Mant-lo " -#~ "dessa maneira poder impedir que voc acesse algumas extenses a partir " -#~ "de scripts PHP. recomendado que voc permita que o PHP use o caminho " -#~ "padro compilado para localizar extenses." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "Comentar parmetro extension_dir de /etc/php5/cgi/php.ini ?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "AVISO ! A local das extenses php5 mudou e voc possui atualmente o " -#~ "parmetro extension_dir definido no /etc/php5/cgi/php.ini. Mant-lo dessa " -#~ "maneira poder impedir que voc acesse algumas extenses a partir de " -#~ "scripts PHP. recomendado que voc permita que o PHP use o caminho " -#~ "padro compilado para localizar extenses." diff --git a/debian/po/ru.po b/debian/po/ru.po deleted file mode 100644 index 28147e90a..000000000 --- a/debian/po/ru.po +++ /dev/null @@ -1,92 +0,0 @@ -# translation of php5_4:4.3.10-15_ru.po to Russian
-#
-# Translators, if you are not familiar with the PO format, gettext
-# documentation is worth reading, especially sections dedicated to
-# this format, e.g. by running:
-# info -n '(gettext)PO Files'
-# info -n '(gettext)Header Entry'
-# Some information specific to po-debconf are available at
-# /usr/share/doc/po-debconf/README-trans
-# or http://www.debian.org/intl/l10n/po-debconf/README-trans#
-# Developers do not need to manually edit POT or PO files.
-# Yuriy Talakan' <yt@amur.elektra.ru>, 2005.
-#
-msgid "" -msgstr "" -"Project-Id-Version: php5_4:4.3.10-15_ru\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2005-05-22 22:35+1000\n" -"Last-Translator: Yuriy Talakan' <yt@amur.elektra.ru>\n" -"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.9.1\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Добавить ${extname} в /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Вы устанавливаете поддержку ${extname} для php5, а она еще не разрешена в " -"настройках для ${sapiconfig} SAPI. Хотите разрешить это расширение сейчас?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "Удалить ${extname} из /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Вы удаляете поддержку ${extname} для php5, а она всё ещё разрешена в " -"настройках для ${sapiconfig} SAPI. Если оставить всё, как есть, то возможны " -"проблемы с PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "Закомментировать параметр extension_dir в /etc/php5/apache/php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "ВНИМАНИЕ! Расположение расширений php5 изменилось, а у вас есть " -#~ "настройкаextension_dir в /etc/php5/apache/php.ini. Если оставить всё как " -#~ "есть, вы можете не получить доступ к некоторым расширениям из ваших " -#~ "сценариев на PHP. Рекомендуется позволить PHP использовать " -#~ "вкомпилированный путь по умолчанию к директории с расширениями." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "Закомментировать параметр extension_dir в /etc/php5/cgi/php.ini?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "ВНИМАНИЕ! Расположение расширений php5 изменилось, а у вас есть " -#~ "настройкаextension_dir в /etc/php5/cgi/php.ini. Если оставить всё как " -#~ "есть, вы можете не получить доступ к некоторым расширениям из ваших " -#~ "сценариев на PHP. Рекомендуется позволить PHP использовать " -#~ "вкомпилированный путь по умолчанию к директории с расширениями." diff --git a/debian/po/sv.po b/debian/po/sv.po deleted file mode 100644 index 521893151..000000000 --- a/debian/po/sv.po +++ /dev/null @@ -1,58 +0,0 @@ -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans -# Developers do not need to manually edit POT or PO files. -# , fuzzy -# -# -msgid "" -msgstr "" -"Project-Id-Version: php5 5.0.5-1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2005-09-29 19:01-0700\n" -"Last-Translator: Daniel Nylander <po@danielnylander.se>\n" -"Language-Team: Swedish <sv@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=iso-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Ska ${extname} lggas till i /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Du installerar ${extname} std fr php5 och den r nnu inte aktiverad i " -"konfigurationen fr ${sapiconfig} SAPI. Vill du aktivera den nu?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "Ska ${extname} raderas frn /etc/php5/${sapiconfig}/php.ini?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Du tar bort ${extname} stdet fr php5 och den r fortfarande aktiverad i " -"konfigurationen fr ${sapiconfig} SAPI. Lmna den aktiverad kan skapa " -"problem nr du anvnder PHP." diff --git a/debian/po/templates.pot b/debian/po/templates.pot deleted file mode 100644 index 6b8f19d3d..000000000 --- a/debian/po/templates.pot +++ /dev/null @@ -1,55 +0,0 @@ -# -# Translators, if you are not familiar with the PO format, gettext -# documentation is worth reading, especially sections dedicated to -# this format, e.g. by running: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# -# Some information specific to po-debconf are available at -# /usr/share/doc/po-debconf/README-trans -# or http://www.debian.org/intl/l10n/po-debconf/README-trans -# -# Developers do not need to manually edit POT or PO files. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" diff --git a/debian/po/tr.po b/debian/po/tr.po deleted file mode 100644 index 4eefde415..000000000 --- a/debian/po/tr.po +++ /dev/null @@ -1,88 +0,0 @@ -# Turkish translation of php5. -# This file is distributed under the same license as the php5 package. -# Osman Yüksel <yuxel@sonsuzdongu.com>, 2004. -# -msgid "" -msgstr "" -"Project-Id-Version: php5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2004-06-06 05:40+0300\n" -"Last-Translator: Osman Yüksel <yuxel@sonsuzdongu.com>\n" -"Language-Team: Turkish <debian-l10n-turkish@lists.debian.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: KBabel 1.3.1\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "${extname}, /etc/php5/${sapiconfig}/php.ini'ye eklensin mi?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"php5 için ${extname} desteği kuruyorsunuz, ve bu henüz ${sapiconfig} SAPI " -"yapılandırmasına eklenmemiş. Bu uzantıyı şimdi etkinleştirmek ister misiniz?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "${extname}, /etc/php5/${sapiconfig}/php.ini'den çıkarılsın mı?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"php5 için ${extname} desteğini kaldırıyorsunuz, ancak bu hâlâ ${sapiconfig} " -"SAPI yapılandırmasında aktif duruma. Bunu böyle bırakmak ileride, PHP " -"kullanmaya çalışırken sorunlara yol açabilir." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "" -#~ "/etc/php5/apache/php.ini içindeki extension_dir ayarı açıklama satırına " -#~ "dönüştürülerek etkisizleştirilsin mi?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "UYARI! php5 uzantılarının konumu değişti, fakat mevcut /etc/php5/apache/" -#~ "php.ini dosyasındaki extension_dir değişkeni başka bir konumu gösteriyor. " -#~ "Bu ayarı böyle bırakmak, PHP betiklerinin baz eklentilere erişememesine " -#~ "yol açabilir. Uzantıları bulması için PHP'nin ontanimli derlenmiş yolu " -#~ "kullanmasına izin vermeniz tavsiye edilir." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "" -#~ "/etc/php5/cgi/php.ini içindeki extension_dir ayarı açıklama satırına " -#~ "dönüştürülerek etkisizleştirilsin mi?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "UYARI! php5 uzantılarının konumu değişti, fakat mevcut /etc/php5/cgi/php." -#~ "ini dosyasındaki extension_dir değişkeni başka bir konumu gösteriyor. Bu " -#~ "ayarı böyle bırakmak, PHP betiklerinin bazı eklentilere erişememesine yol " -#~ "açabilir. Uzantıları bulması için PHP'nin öntanımlı derlenmiş yolu " -#~ "kullanmasına izin vermeniz tavsiye edilir." diff --git a/debian/po/vi.po b/debian/po/vi.po deleted file mode 100644 index 4ffac5116..000000000 --- a/debian/po/vi.po +++ /dev/null @@ -1,90 +0,0 @@ -# Vietnamese translation for php5. -# Copyright © 2005 Free Software Foundation, Inc. -# Clytie Siddall <clytie@riverland.net.au>, 2005. -# -msgid "" -msgstr "" -"Project-Id-Version: php5 4/4.3.10-15\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-07-16 23:18+1000\n" -"PO-Revision-Date: 2005-07-04 14:05+0930\n" -"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n" -"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0\n" -"X-Generator: LocFactoryEditor 1.2.2\n" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "Should ${extname} be added to /etc/php5/${sapiconfig}/php.ini?" -msgstr "Có nên thêm «${extname}» vào «/etc/php5/${sapiconfig}/php.ini» không?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:4 -msgid "" -"You are installing ${extname} support for php5, and it is not yet enabled in " -"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " -"be enabled now?" -msgstr "" -"Lúc này bạn đang cài đặt cách hỗ trợ «${extname}» cho PHP5, nhưng mà nó chưa " -"bật trong cấu hình cho SAPI «${sapiconfig}». Bạn có muốn hiệu lực phần mở " -"rộng này ngay bây giờ không?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "Should ${extname} be removed from /etc/php5/${sapiconfig}/php.ini?" -msgstr "" -"Có nên loại bỏ «${extname}» ra «/etc/php5/${sapiconfig}/php.ini» không?" - -#. Type: boolean -#. Description -#: ../php5-module.templates:12 -msgid "" -"You are removing ${extname} support for php5, but it is still enabled in the " -"configuration for the ${sapiconfig} SAPI. Leaving this in place will " -"probably cause problems when trying to use PHP." -msgstr "" -"Lúc này bạn đang loại bỏ cách hỗ trợ «${extname}» ra PHP5, nhưng mà nó vẫn " -"còn bật trong cấu hình cho SAPI «${sapiconfig}». Nếu bạn không vô hiệu hóa " -"nó, rất có thể gây ra lỗi trong khi cố sử dụng PHP." - -#~ msgid "Comment out extension_dir config from /etc/php5/apache/php.ini?" -#~ msgstr "" -#~ "Dùng chú thích để vô hiệu hóa cấu hình «extension_dir» ra «/etc/php5/" -#~ "apache/php.ini» không?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/apache/php.ini. Leaving it in " -#~ "place may leave you unable to access some extensions from PHP scripts. " -#~ "It is recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "CẢNH BÁO: vị trí của những phần mở rộng PHP5 đã thay đổi, nhưng mà bạn " -#~ "còn có một «extension_dir» được cấu hình trong «/etc/php5/apache/php." -#~ "ini». Nếu bạn không vô hiệu hóa nó, có lẽ bạn sẽ không truy cập được một " -#~ "số phần mở rộng thông qua tập lệnh PHP. Khuyên bạn cho phép PHP dùng " -#~ "đường dẫn mặc định có sẵn (đã biên dịch) để tìm phần mở rộng." - -#~ msgid "Comment out extension_dir config from /etc/php5/cgi/php.ini?" -#~ msgstr "" -#~ "Dùng chú thích để vô hiệu hóa cấu hình «extension_dir» ra «/etc/php5/cgi/" -#~ "php.ini» không?" - -#~ msgid "" -#~ "WARNING! The location of the php5 extensions has changed, and you have an " -#~ "extension_dir configured in /etc/php5/cgi/php.ini. Leaving it in place " -#~ "may leave you unable to access some extensions from PHP scripts. It is " -#~ "recommended that you let PHP use the compiled-in default path for " -#~ "locating extensions." -#~ msgstr "" -#~ "CẢNH BÁO: vị trí của những phần mở rộng PHP5 đã thay đổi, nhưng mà bạn " -#~ "còn có một «extension_dir» được cấu hình trong «/etc/php5/cgi/php.ini». " -#~ "Nếu bạn không vô hiệu hóa nó, có lẽ bạn sẽ không truy cập được một số " -#~ "phần mở rộng thông qua tập lệnh PHP. Khuyên bạn cho phép PHP dùng đường " -#~ "dẫn mặc định có sẵn (đã biên dịch) để tìm phần mở rộng" diff --git a/debian/rules b/debian/rules index 173edaf3a..0bed51fd4 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ #export DH_VERBOSE=1 # This is the debhelper compatability version to use. -export DH_COMPAT=3 +export DH_COMPAT=4 # This has to be exported to make some magic below work. export DH_OPTIONS @@ -51,7 +51,8 @@ ifeq ($(wildcard /usr/share/file/magic.mime), /usr/share/file/magic.mime) MAGIC_MIME = /usr/share/file/magic.mime endif -COMMON_CONFIG= --build=$(PHP5_BUILD_GNU_TYPE)-gnu --host=$(PHP5_HOST_GNU_TYPE)-gnu \ +COMMON_CONFIG=--build=$(PHP5_BUILD_GNU_TYPE)-gnu \ + --host=$(PHP5_HOST_GNU_TYPE)-gnu \ --mandir=/usr/share/man \ --enable-memory-limit \ --disable-debug \ @@ -178,6 +179,7 @@ configure-apache-stamp: patch-stamp CFLAGS="$(CFLAGS)" PROG_SENDMAIL="$(PROG_SENDMAIL)" ../configure \ --prefix=/usr --with-apxs=/usr/bin/apxs \ --with-config-file-path=/etc/php5/apache \ + --with-config-file-scan-dir=/etc/php5/apache/conf.d \ $(COMMON_CONFIG) \ --without-mm \ --without-mysql --without-sybase-ct --without-sqlite @@ -197,17 +199,18 @@ configure-apache2-stamp: patch-stamp CFLAGS="$(CFLAGS)" PROG_SENDMAIL="$(PROG_SENDMAIL)" ../configure \ --prefix=/usr --with-apxs2=/usr/bin/apxs2 \ --with-config-file-path=/etc/php5/apache2 \ + --with-config-file-scan-dir=/etc/php5/apache2/conf.d \ $(COMMON_CONFIG) \ --without-mm \ --with-curl=shared,/usr \ --with-zlib-dir=/usr \ --with-gd=shared,/usr --enable-gd-native-ttf \ --with-jpeg-dir=shared,/usr \ - --with-xpm-dir=shared,/usr/X11R6 \ - --with-png-dir=shared,/usr \ - --with-freetype-dir=shared,/usr \ - --with-ttf=shared,/usr \ - --with-t1lib=shared,/usr \ + --with-xpm-dir=shared,/usr/X11R6 \ + --with-png-dir=shared,/usr \ + --with-freetype-dir=shared,/usr \ + --with-ttf=shared,/usr \ + --with-t1lib=shared,/usr \ --with-ldap=shared,/usr \ --with-mhash=shared,/usr \ --with-mysql=shared,/usr \ @@ -235,6 +238,7 @@ configure-cgi-stamp: patch-stamp CFLAGS="$(CFLAGS)" PROG_SENDMAIL="$(PROG_SENDMAIL)" ../configure \ --prefix=/usr --enable-force-cgi-redirect --enable-fastcgi \ --with-config-file-path=/etc/php5/cgi \ + --with-config-file-scan-dir=/etc/php5/cgi/conf.d \ $(COMMON_CONFIG) \ --without-mm \ --without-mysql --without-sybase-ct --without-sqlite @@ -253,6 +257,7 @@ configure-cli-stamp: patch-stamp CFLAGS="$(CFLAGS)" PROG_SENDMAIL="$(PROG_SENDMAIL)" ../configure \ --prefix=/usr --disable-cgi \ --with-config-file-path=/etc/php5/cli \ + --with-config-file-scan-dir=/etc/php5/cli/conf.d \ $(COMMON_CONFIG) \ --without-mm \ --without-mysql --without-sybase-ct --without-sqlite \ @@ -274,22 +279,21 @@ clean: unpatch rm -f configure-cli-stamp build-cli-stamp rm -f build-pear-stamp rm -f install-stamp - - # Add here commands to clean up after the build process. - #-$(MAKE) distclean rm -rf apache-build rm -rf apache2-build rm -rf cgi-build rm -rf cli-build rm -rf pear-build rm -f debian/copyright - dh_clean + # clean up autogenerated cruft cat debian/modulelist | while read package extname dsoname; do \ - rm -f debian/php5-$$package.postinst \ - debian/php5-$$package.prerm \ - debian/php5-$$package.config \ - debian/php5-$$package.templates; \ + rm -f debian/php5-$$package.postinst; \ + done + for sapi in libapache-mod-php5 libapache2-mod-php5 php5-cgi php5-cli; do \ + for cruft in postinst links; do \ + rm -f debian/$${sapi}.$${cruft}; \ + done; \ done install: DH_OPTIONS= @@ -319,7 +323,8 @@ install: build # sanitize php.ini file cat php.ini-dist | tr "\t" " " > debian/php5-common/usr/share/php5/php.ini-dist - ln -s ../../../php5/php.ini-dist debian/php5-common/usr/share/doc/php5-common/examples/php.ini-dist + cat php.ini-dist | tr "\t" " " | sed -e'/memory_limit =/ s/8M/32M/g' > debian/php5-common/usr/share/php5/php.ini-dist.cli + cat php.ini-dist | tr "\t" " " > debian/php5-common/usr/share/doc/php5-common/examples/php.ini-dist cat php.ini-recommended | tr "\t" " " > debian/php5-common/usr/share/doc/php5-common/examples/php.ini-recommended cat php.ini-paranoid | tr "\t" " " > debian/php5-common/usr/share/doc/php5-common/examples/php.ini-paranoid @@ -399,33 +404,19 @@ binary-indep: build install # Need this version of debhelper for DH_OPTIONS to work. dh_testdir dh_testroot - dh_installdebconf cat debian/copyright.header LICENSE Zend/LICENSE > debian/copyright dh_installdocs -# dh_installexamples for package in php5 php-pear; do \ rm -rf debian/$$package/usr/share/doc/$$package; \ ln -s php5-common debian/$$package/usr/share/doc/$$package; \ done -# dh_installmenu -# dh_installemacsen -# dh_installpam -# dh_installinit -# dh_installcron -# dh_installmanpages -# dh_installinfo -# dh_undocumented -# dh_installchangelogs dh_link dh_compress -Xphp.ini dh_fixperms -# # You may want to make some executables suid here. -# dh_suidregister dh_installdeb -# dh_perl dh_gencontrol dh_md5sums dh_builddeb @@ -438,17 +429,30 @@ binary-arch: build install dh_testdir dh_testroot # Do this first so we don't overwrite any debhelper-generated files + # + # generate the config snippets and maintscripts for various php + # modules from the templates. cat debian/modulelist | while read package extname dsoname; do \ if [ -z "$$dsoname" ]; then dsoname=$$package; fi; \ + mkdir -p debian/php5-$$package/etc/php5/conf.d; \ sed -e"s/@extname@/$$extname/g; s/@dsoname@/$$dsoname/g" \ - < debian/php5-module.postinst > debian/php5-$$package.postinst; \ - sed -e"s/@extname@/$$extname/g; s/@dsoname@/$$dsoname/g" \ - < debian/php5-module.prerm > debian/php5-$$package.prerm; \ + < debian/php5-module.ini \ + > debian/php5-$${package}/etc/php5/conf.d/$${package}.ini; \ sed -e"s/@extname@/$$extname/g; s/@dsoname@/$$dsoname/g" \ - < debian/php5-module.config > debian/php5-$$package.config; \ - cp debian/php5-module.templates debian/php5-$$package.templates; \ + < debian/php5-module.postinst \ + > debian/php5-$${package}.postinst; \ done - dh_installdebconf -a + # likewise, for the different sapi implementations + for tmpl in postrm links; do \ + for sapi in apache apache2 cgi cli; do \ + sed -e "s/@sapi@/$$sapi/g" \ + < debian/php5-sapi.$$tmpl \ + > debian/php5-$${sapi}.$$tmpl; \ + done; \ + mv debian/php5-apache.$$tmpl debian/libapache-mod-php5.$$tmpl; \ + mv debian/php5-apache2.$$tmpl debian/libapache2-mod-php5.$$tmpl; \ + done + cat debian/copyright.header LICENSE Zend/LICENSE > debian/copyright dh_installdocs -a @@ -461,16 +465,7 @@ binary-arch: build install rm -rf debian/$$package/usr/share/doc/$$package; \ ln -s php5-common debian/$$package/usr/share/doc/$$package; \ done - -# dh_installexamples -# dh_installmenu -# dh_installemacsen -# dh_installpam -# dh_installinit dh_installcron -pphp5-common --name=php5 -# dh_installmanpages -# dh_installinfo -# dh_undocumented dh_installchangelogs -pphp5-common NEWS dh_strip -a dh_link -a @@ -481,11 +476,7 @@ binary-arch: build install mkdir -p debian/php5-common/usr/share/linda/overrides echo "Tag: non-standard-dir-perm" >> debian/php5-common/usr/share/linda/overrides/php5-common echo "Data: /var/lib/php5.*" >> debian/php5-common/usr/share/linda/overrides/php5-common -# # You may want to make some executables suid here. -# dh_suidregister dh_installdeb -a -# dh_makeshlibs -# dh_perl dh_shlibdeps -a phpapi=`./debian/php5-dev/usr/bin/php-config5 --phpapi`; \ |
