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

version graph

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

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

Date: Fri, 6 Apr 2012 15:40:12 UTC

Severity: normal

Found in version xdebug/2.2.0~rc1-1

Fixed in version xdebug/2.2.0-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, Martin Meredith <mez@debian.org>:
Bug#667788; Package php5-xdebug. (Fri, 06 Apr 2012 15:40:15 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 Martin Meredith <mez@debian.org>. (Fri, 06 Apr 2012 15:40:15 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:05 +0200
Package: php5-xdebug
Version: 2.2.0~rc1-1
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package php5-xdebug 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. (Sun, 20 May 2012 22:15:08 GMT) (full text, mbox, link).


Notification sent to Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug acknowledged by developer. (Sun, 20 May 2012 22:15:09 GMT) (full text, mbox, link).


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

From: Lior Kaplan <kaplan@debian.org>
To: 667788-close@bugs.debian.org
Subject: Bug#667788: fixed in xdebug 2.2.0-1
Date: Sun, 20 May 2012 22:11:07 +0000
Source: xdebug
Source-Version: 2.2.0-1

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

php5-xdebug_2.2.0-1_amd64.deb
  to main/x/xdebug/php5-xdebug_2.2.0-1_amd64.deb
xdebug_2.2.0-1.debian.tar.gz
  to main/x/xdebug/xdebug_2.2.0-1.debian.tar.gz
xdebug_2.2.0-1.dsc
  to main/x/xdebug/xdebug_2.2.0-1.dsc
xdebug_2.2.0.orig.tar.gz
  to main/x/xdebug/xdebug_2.2.0.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 667788@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 xdebug 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: Sun, 20 May 2012 22:47:32 +0300
Source: xdebug
Binary: php5-xdebug
Architecture: source amd64
Version: 2.2.0-1
Distribution: unstable
Urgency: low
Maintainer: Martin Meredith <mez@debian.org>
Changed-By: Lior Kaplan <kaplan@debian.org>
Description: 
 php5-xdebug - Xdebug Module for PHP 5
Closes: 667788
Changes: 
 xdebug (2.2.0-1) unstable; urgency=low
 .
   * New upstream release
   * Manage ini file with php5enmod and php5enmod (Closes: #667788)
Checksums-Sha1: 
 16e27fd12c9a916f9caefa7a8bb73b103adf06f3 1100 xdebug_2.2.0-1.dsc
 f7bed5ab7f13624d07a24c6d0f8af84c8ef37c39 247690 xdebug_2.2.0.orig.tar.gz
 3b547db0757dd3892bdef556cabb681d2096440c 6514 xdebug_2.2.0-1.debian.tar.gz
 8694f53e4ac65c483ba7db3739a0682bfbd7a22b 268692 php5-xdebug_2.2.0-1_amd64.deb
Checksums-Sha256: 
 03c04cc9df16ca7464323597e468869ad1c5a4b63363950439055f7075b44c40 1100 xdebug_2.2.0-1.dsc
 91e426fb3e8ea2b49a1d129b0e56cf357891ea4ef7a95d9a45350d8143f593bc 247690 xdebug_2.2.0.orig.tar.gz
 ec5967f7b5ab678f125edbb6fc261dc06d0b77660a82cde97b4e7c18b3c3d762 6514 xdebug_2.2.0-1.debian.tar.gz
 c25053567706b0ff5eba1eff784df23db22ea30357f59a23c43f40ab29f440a4 268692 php5-xdebug_2.2.0-1_amd64.deb
Files: 
 87d1a41154268a40dabc26a9fc527415 1100 php optional xdebug_2.2.0-1.dsc
 27d8ad8224ffab04d12eecb5997a4f5d 247690 php optional xdebug_2.2.0.orig.tar.gz
 d5dd5f27e042e4633cdaa55ae27105c2 6514 php optional xdebug_2.2.0-1.debian.tar.gz
 01efe731c75c1d90bf2f429b873863f6 268692 php optional php5-xdebug_2.2.0-1_amd64.deb

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

iEYEARECAAYFAk+5SroACgkQFViURZnoHaBbnACgtfmrZf/StFhoUK+T41bBLd95
V9EAn38jYGltEl0R+MCp2iwpwZu6owuw
=NoPJ
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 10 Jul 2012 07:49:08 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 00:50:57 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.