Debian Bug report logs - #667777
Please make use of new php5enmod and php5dismod commands in your package

version graph

Package: php5-memcached; Maintainer for php5-memcached is (unknown);

Reported by: Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>

Date: Fri, 6 Apr 2012 15:39:38 UTC

Severity: normal

Found in version php-memcached/2.0.1-3

Fixed in version php-memcached/2.0.1-4

Done: Sergey B Kirpichev <skirpichev@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Sergey B Kirpichev <skirpichev@gmail.com>:
Bug#667777; Package php5-memcached. (Fri, 06 Apr 2012 15:39:41 GMT) (full text, mbox, link).


Acknowledgement sent to Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>:
New Bug report received and forwarded. Copy sent to Sergey B Kirpichev <skirpichev@gmail.com>. (Fri, 06 Apr 2012 15:39:41 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please make use of new php5enmod and php5dismod commands in your package
Date: Fri, 06 Apr 2012 17:36:01 +0200
Package: php5-memcached
Version: 2.0.1-3
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package php5-memcached currently installs it's configuration file directly
to /etc/php5.  php5 (>= 5.4.0~rc6-1) has introduced two new commands:
php5enmod and php5dismod

Your config file must be installed in /etc/php5/mods-available/<name>.ini

php5enmod should be called from your postinst script (when configuring
the package) with each installed ini file as an parameter (f.e. if you
provide more dynamic extensions and want to ensure correct loading order).

The syntax of php5enmod is:

php5enmod [name](/[priority])

[name] is filename without .ini extension from /etc/php5/mods-available/<name>.ini

The optional [priority] argument can be used if your extension require
other extensions to be loaded before.  Default priority is 20.

Example:

    if [ "$1" = "configure" ]; then
      php5enmod mysqlnd
    fi

or (with priority):

    if [ "$1" = "configure" ]; then 
       php5enmod pdo/10
    fi

**

php5dismod should be called from prerm script in remove target.

The syntax of php5dismod is:

php5dismod [name]

Example:

    if [ "$1" = "remove" ]; then
      php5dismod mysqlnd
    fi

**

Using these maintainer scripts will help get rid of the condition
when the package is removed, but not purged, hence triggering error
messages from php from the fact that it cannot load deleted dynamic
extension.

Feel free to contact me, if you have any questions.

Thanks, 
--
Ondřej Surý <ondrej@debian.org>

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Reply sent to Sergey B Kirpichev <skirpichev@gmail.com>:
You have taken responsibility. (Sat, 07 Apr 2012 19:54:08 GMT) (full text, mbox, link).


Notification sent to Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug acknowledged by developer. (Sat, 07 Apr 2012 19:54:08 GMT) (full text, mbox, link).


Message #10 received at 667777-close@bugs.debian.org (full text, mbox, reply):

From: Sergey B Kirpichev <skirpichev@gmail.com>
To: 667777-close@bugs.debian.org
Subject: Bug#667777: fixed in php-memcached 2.0.1-4
Date: Sat, 07 Apr 2012 19:51:35 +0000
Source: php-memcached
Source-Version: 2.0.1-4

We believe that the bug you reported is fixed in the latest version of
php-memcached, which is due to be installed in the Debian FTP archive:

php-memcached_2.0.1-4.debian.tar.gz
  to main/p/php-memcached/php-memcached_2.0.1-4.debian.tar.gz
php-memcached_2.0.1-4.dsc
  to main/p/php-memcached/php-memcached_2.0.1-4.dsc
php5-memcached_2.0.1-4_amd64.deb
  to main/p/php-memcached/php5-memcached_2.0.1-4_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 667777@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sergey B Kirpichev <skirpichev@gmail.com> (supplier of updated php-memcached package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 07 Apr 2012 23:24:04 +0400
Source: php-memcached
Binary: php5-memcached
Architecture: source amd64
Version: 2.0.1-4
Distribution: unstable
Urgency: low
Maintainer: Sergey B Kirpichev <skirpichev@gmail.com>
Changed-By: Sergey B Kirpichev <skirpichev@gmail.com>
Description: 
 php5-memcached - memcached extension module for PHP5, uses libmemcached
Closes: 667777
Changes: 
 php-memcached (2.0.1-4) unstable; urgency=low
 .
   * Use php5{en,dis}mod for conffile handling (Closes: #667777)
   * Install README.markdown
Checksums-Sha1: 
 686300e5562798daf6cda5e1eceb1d81e96e57f1 1842 php-memcached_2.0.1-4.dsc
 c1c0428c4b773b2312fbeea9b7828bb61593900f 4362 php-memcached_2.0.1-4.debian.tar.gz
 82767d2cdaeb4e7fb8bb0f95931bb6cc797bd28d 39462 php5-memcached_2.0.1-4_amd64.deb
Checksums-Sha256: 
 e269df4fd23d213a362436a74dd66cfdecedb2c21e43aef2f4dcca223566a529 1842 php-memcached_2.0.1-4.dsc
 4df28a23af97ecf5a6215e30c75d8c786f691c0a736cfe78c144c123617cbb52 4362 php-memcached_2.0.1-4.debian.tar.gz
 a1926bf5af9a807d328753f1fb7d83c669f1fa2dd6746d76ae2d3a571b9ba993 39462 php5-memcached_2.0.1-4_amd64.deb
Files: 
 23e3e8ce290028bc46842a6eb7d2c444 1842 php optional php-memcached_2.0.1-4.dsc
 e2f4431380271efc088dba1092eb13ad 4362 php optional php-memcached_2.0.1-4.debian.tar.gz
 26d460a7ba5fb8ba0248a4e4a7573c73 39462 php optional php5-memcached_2.0.1-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJPgJYOAAoJEDnJoLZAJirwkYQP/RH2RzYJSir28F/PmqybiKFo
3M+j045xUK/oL+EgM5Zr1q8JxFzWQRBab0sq5BbwZYI7tCQljpycu6xR4k3sO0tl
WrZ/zp4flD2YCHSANrHu1Q27U6NHdmbImPpAIeGchmNBpTYMAyRC+tNwNrsnmI40
yikNQRBhAcIdv++DZbDQdfSrCrmMwJwOwc7WDbYJiFfj0rPGsxDZDCD8I3fgJu9u
ohWGSZW7kHwcoSFMo9BF3KVfP+V9hMXupdcXD4rn2XtyQ2Lm9f8uk2uDuHQu1rPR
1W9MTpnelb8WiL+tXyqA9/8FKtte0NTOkoUC5otvtEwCWisk3LB55kcOArkOCTIm
0hM4v9b7Ed1QnhpJAnfesgAmhdzIOGsL0gRMx72hwQBhb4od7/hlr1/IGVvsk6Ec
m26vZ3UVFTq6wI9voMrvRG8uHWkZeYdOe8ZOD7rwOj6orklfTM0ASmmo2Lr/cxRq
oI+uNKbHm6BqYVDFoviEKETR3SwkisAioRzd27TQ+XnGQpScGWufuqa4kSTfOgc0
AN8n5SoZlsW/s7oLCeV91u2JQ5V1v0t5nKWfL9qUY1z/mYEcEISoEPhsF+z3C5h8
nZ8QidHi9VIQYBcxfKM5V7+lfPuroYiG9b5SkxdmJzKru6sUgwbzDb8a7OFXu1U4
ppZXB72516JWWwgsIMuU
=KSZ4
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 10 May 2012 07:48:13 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 02:07:02 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.