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

version graph

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

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

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

Severity: normal

Found in version php-memcache/3.0.6-4

Fixed in version php-memcache/3.0.6-5

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#667775; Package php5-memcache. (Fri, 06 Apr 2012 15:39:35 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:35 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-memcache
Version: 3.0.6-4
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package php5-memcache 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:05 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:05 GMT) (full text, mbox, link).


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

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

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

php-memcache_3.0.6-5.debian.tar.gz
  to main/p/php-memcache/php-memcache_3.0.6-5.debian.tar.gz
php-memcache_3.0.6-5.dsc
  to main/p/php-memcache/php-memcache_3.0.6-5.dsc
php5-memcache_3.0.6-5_amd64.deb
  to main/p/php-memcache/php5-memcache_3.0.6-5_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 667775@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-memcache 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:27:49 +0400
Source: php-memcache
Binary: php5-memcache
Architecture: source amd64
Version: 3.0.6-5
Distribution: unstable
Urgency: low
Maintainer: Sergey B Kirpichev <skirpichev@gmail.com>
Changed-By: Sergey B Kirpichev <skirpichev@gmail.com>
Description: 
 php5-memcache - memcache extension module for PHP5
Closes: 667775
Changes: 
 php-memcache (3.0.6-5) unstable; urgency=low
 .
   * Install README and example.php
   * Use php5{en,dis}mod for conffile handling (Closes: #667775)
Checksums-Sha1: 
 027f967bf2bfea49f5351d402e4431d75dfd181c 1816 php-memcache_3.0.6-5.dsc
 ac31e286c2b5d84aaa8cc3e63f7129f826771fc9 5919 php-memcache_3.0.6-5.debian.tar.gz
 e41f7f53477d4c685d0fd1404e275a15a19b79b9 51414 php5-memcache_3.0.6-5_amd64.deb
Checksums-Sha256: 
 1bde3696218951f561c2f8356ebb4e91b5f5e19757470f7a06c5f1bc372a469f 1816 php-memcache_3.0.6-5.dsc
 f7e8ca68abfec3db9b7343be4755a4f1bda15f093b2308cd5dd3eb2a229a08dc 5919 php-memcache_3.0.6-5.debian.tar.gz
 91127da470770b9d2d1f7831266a99a1b699f368cc22f52fcde3bd0e96abb533 51414 php5-memcache_3.0.6-5_amd64.deb
Files: 
 0469c8221116f06dc57d653abb05902c 1816 php optional php-memcache_3.0.6-5.dsc
 6ee2f42b0cc8bcd7d97a1414f6ff3c0a 5919 php optional php-memcache_3.0.6-5.debian.tar.gz
 1811753283385037184e46dd5ef42bd1 51414 php optional php5-memcache_3.0.6-5_amd64.deb

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

iQIcBAEBCAAGBQJPgJYAAAoJEDnJoLZAJirwlsEQAJJKBIbIqdQQdNHUIJ/EPnz5
NeyqeEKoW/bT683RHtBLPMGCaq5hMV/Q/m2nUUy43F+TW4kwKItGNgOShvzoC0BS
y9H4sKHP/8X3Cv3lamdTB0YZzpBeniIt/NOtbiZ8umJl8jJFoXyNSyaftmfIwuct
Sy+XOVgkC7+dnQ5Ee8d/d4WW5BY0EkJZGxLI0l5vcrQoY+J6Rw3Sst73oPxtjPnB
Z46j2O3I3hWQxcsordvtQ3npyEq6b5kNF03/kyHyYESJxF2ERr9wjuaCZMz4UpLJ
nZDZG5Tig+DQcKBT0/GJAJQlTatbhsNqPAwcYZCUcpcgKKtdhRR2pltB8yf/Z85H
SLIomyUayVWT5EpCa89Q8ECslXlSlwrnUK7FmgMNSzFnVo2qcHYEIeBtm6k7O/bF
iyxsufyZUFwE1TmxGQRBzUZVhrs7KmRDzHhuJ/AwHn0zE3AMCpeHkpIOq8FaQe74
Ye0FV6jNfhbUDcG5o+hrL0e2yRzBdGTDgtc/2eW8NiAbLBsPFVdBepGvMy/vgpHU
d9FqJ/ftXfEluLwZvRJU2uTwFve6gsCi7ukwGmBjFV/IoW5Bh2TGM1gfCQFcYv9+
cwuglvJWXwHiyGlzb+Cec0ARDh7mm9+NYKixPDDWfQj2YljF2mZASJ8EYz8v9rxK
fU6Px8dR7T9iPmiB4Ebd
=t0Yj
-----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:47:31 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:05:47 2023; Machine Name: bembo

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.