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

version graph

Package: php-apc; Maintainer for php-apc is (unknown);

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

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

Severity: normal

Found in version php-apc/3.1.9+svn324329-1

Fixed in version php-apc/3.1.10-1

Done: Lior Kaplan <kaplan@debian.org>

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, Pietro Monteiro <pietro@riseup.net>:
Bug#667773; Package php-apc. (Fri, 06 Apr 2012 15:39:29 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 Pietro Monteiro <pietro@riseup.net>. (Fri, 06 Apr 2012 15:39:29 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:00 +0200
Package: php-apc
Version: 3.1.9+svn324329-1
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package php-apc 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 Lior Kaplan <kaplan@debian.org>:
You have taken responsibility. (Thu, 12 Apr 2012 19:57:07 GMT) (full text, mbox, link).


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


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

From: Lior Kaplan <kaplan@debian.org>
To: 667773-close@bugs.debian.org
Subject: Bug#667773: fixed in php-apc 3.1.10-1
Date: Thu, 12 Apr 2012 19:55:15 +0000
Source: php-apc
Source-Version: 3.1.10-1

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

php-apc_3.1.10-1.debian.tar.gz
  to main/p/php-apc/php-apc_3.1.10-1.debian.tar.gz
php-apc_3.1.10-1.dsc
  to main/p/php-apc/php-apc_3.1.10-1.dsc
php-apc_3.1.10-1_amd64.deb
  to main/p/php-apc/php-apc_3.1.10-1_amd64.deb
php-apc_3.1.10.orig.tar.gz
  to main/p/php-apc/php-apc_3.1.10.orig.tar.gz



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 667773@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lior Kaplan <kaplan@debian.org> (supplier of updated php-apc 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: SHA1

Format: 1.8
Date: Thu, 12 Apr 2012 20:44:07 +0300
Source: php-apc
Binary: php-apc
Architecture: source amd64
Version: 3.1.10-1
Distribution: unstable
Urgency: low
Maintainer: Pietro Monteiro <pietro@riseup.net>
Changed-By: Lior Kaplan <kaplan@debian.org>
Description: 
 php-apc    - APC (Alternative PHP Cache) module for PHP 5
Closes: 667773
Changes: 
 php-apc (3.1.10-1) unstable; urgency=low
 .
   * New upstream release
     - Adds PHP 5.4 support
   * Manage ini file with php5enmod and php5enmod (Closes: #667773)
Checksums-Sha1: 
 af03c54e613d6b35241d4faade9ee8d1a8b2f42a 1127 php-apc_3.1.10-1.dsc
 02c8a2f60c5b1789e7cccd9c1b421d822ca77734 156208 php-apc_3.1.10.orig.tar.gz
 6ce18b64df61afadebd9aac99361a87435fda126 5175 php-apc_3.1.10-1.debian.tar.gz
 f10c7c0ba098ff68f7821707ffe5bce25224b51d 88328 php-apc_3.1.10-1_amd64.deb
Checksums-Sha256: 
 3a0c8be6c18fd0675def476fb1651ebd7a5afdaac254056ca558182955c4d12f 1127 php-apc_3.1.10-1.dsc
 99f260b32592f1b50da9c7a83fad3c5cbdb2484fa01aee6cc04caadd8cd4fc44 156208 php-apc_3.1.10.orig.tar.gz
 632dcf88ade24dd8d79c184f4f90f05aa912bf9474914d6c8f1a84a5c9e78f3d 5175 php-apc_3.1.10-1.debian.tar.gz
 489c559fd59e278aed9328b9025119fa823fb769380cb414d6c20526587efb26 88328 php-apc_3.1.10-1_amd64.deb
Files: 
 812c298095eebb8393c94dbe10d9beda 1127 php optional php-apc_3.1.10-1.dsc
 f4a6b91903d6ba9dce89fc87bb6f26c9 156208 php optional php-apc_3.1.10.orig.tar.gz
 aac6da24f1119e7385f45f5f0d1e093d 5175 php optional php-apc_3.1.10-1.debian.tar.gz
 827ee8e09008caed4ebcad1e8ffb38c0 88328 php optional php-apc_3.1.10-1_amd64.deb

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

iEYEARECAAYFAk+HLXUACgkQFViURZnoHaDo5wCfYYjGr48VlC76u+72+yiP3alX
5nEAn3i7SlnqGjoCAvX5aBN76nSbZtLj
=nCrB
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 22 May 2012 07:39: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:07:20 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.