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

version graph

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

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

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

Severity: normal

Found in version php5-midgard2/10.05.6-1

Fixed in version php5-midgard2/10.05.7-1

Done: Piotr Pokora <piotrek.pokora@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, Piotr Pokora <piotrek.pokora@gmail.com>:
Bug#667785; Package php5-midgard2. (Fri, 06 Apr 2012 15:40:05 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 Piotr Pokora <piotrek.pokora@gmail.com>. (Fri, 06 Apr 2012 15:40:06 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:04 +0200
Package: php5-midgard2
Version: 10.05.6-1
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package php5-midgard2 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 Piotr Pokora <piotrek.pokora@gmail.com>:
You have taken responsibility. (Sat, 16 Jun 2012 09:15:47 GMT) (full text, mbox, link).


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


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

From: Piotr Pokora <piotrek.pokora@gmail.com>
To: 667785-close@bugs.debian.org
Subject: Bug#667785: fixed in php5-midgard2 10.05.7-1
Date: Sat, 16 Jun 2012 09:12:10 +0000
Source: php5-midgard2
Source-Version: 10.05.7-1

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

php5-midgard2_10.05.7-1.debian.tar.gz
  to main/p/php5-midgard2/php5-midgard2_10.05.7-1.debian.tar.gz
php5-midgard2_10.05.7-1.dsc
  to main/p/php5-midgard2/php5-midgard2_10.05.7-1.dsc
php5-midgard2_10.05.7-1_i386.deb
  to main/p/php5-midgard2/php5-midgard2_10.05.7-1_i386.deb
php5-midgard2_10.05.7.orig.tar.gz
  to main/p/php5-midgard2/php5-midgard2_10.05.7.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 667785@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Pokora <piotrek.pokora@gmail.com> (supplier of updated php5-midgard2 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: SHA512

Format: 1.8
Date: Wed, 13 Jun 2012 21:34:29 +0200
Source: php5-midgard2
Binary: php5-midgard2
Architecture: source i386
Version: 10.05.7-1
Distribution: unstable
Urgency: low
Maintainer: Piotr Pokora <piotrek.pokora@gmail.com>
Changed-By: Piotr Pokora <piotrek.pokora@gmail.com>
Description: 
 php5-midgard2 - Midgard2 Content Repository - PHP5 language bindings and module
Closes: 667785
Changes: 
 php5-midgard2 (10.05.7-1) unstable; urgency=low
 .
   * New upstream
   * Use php5en(dis)mod in prerm and postinst. Closes: #667785
Checksums-Sha1: 
 d3a14a659fa2e7993aeaf4453d120691f6e3d95a 1806 php5-midgard2_10.05.7-1.dsc
 c20b9fb9acc6afc8f664e32144fa0512d9679974 116869 php5-midgard2_10.05.7.orig.tar.gz
 9349c3b0ec0bb7ec1067f140d76c7f95b721287b 2603 php5-midgard2_10.05.7-1.debian.tar.gz
 a15cca6f97eaca37bbd1873f7238906c002dbfd3 96936 php5-midgard2_10.05.7-1_i386.deb
Checksums-Sha256: 
 b90716e65ce20ca52b9c31c0ba2c66da8d288f09f278f2b91d3c37b19d163bc1 1806 php5-midgard2_10.05.7-1.dsc
 7c51606cd21cc3398755a8ea75e55a1bd1910e2de1736a0731a34405935fac0b 116869 php5-midgard2_10.05.7.orig.tar.gz
 25d4d7aaea5f79df7887b3e405dbbd00509d8a9e5cbed7f89f7c04ce39cf7449 2603 php5-midgard2_10.05.7-1.debian.tar.gz
 957a78d222882139006e08cfe0ccc428dabb22ca00bada7b185a25744c19e00b 96936 php5-midgard2_10.05.7-1_i386.deb
Files: 
 beb904176e1a1eca68bdadfcf179f302 1806 web optional php5-midgard2_10.05.7-1.dsc
 b17ae5d4b08657247109af4e240a44f5 116869 web optional php5-midgard2_10.05.7.orig.tar.gz
 cea6674ce108f49a998452c0baee8cfc 2603 web optional php5-midgard2_10.05.7-1.debian.tar.gz
 7a7d5a80ffae168e5b44f16c721c570c 96936 web optional php5-midgard2_10.05.7-1_i386.deb

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

iQIcBAEBCgAGBQJP3DrSAAoJEOD3WfeQvdIH5J8P/1ZeC7bTjqm80ZWDq0NG0IdL
XoouhtymXMlh3NuLYJFLFJI9mvD1JONoGMwlkgYuJf3eCfQ0XfMORWyJP1NPBnd1
kZtDlJXEE/6Vw7itvC4eKOQdUnQE03NfcDBa3WrgjdpcWUTvRo6JiZOIYE1oaq03
ESuR8na3AYHM3l6fVqSBJJUnokw/04BV4ayX+x7v/ZewuxZDBFGSJ4LCUyIGRA3d
aAHvZCdHEPCSJptxzu0pSxe4r2Gn9hg1VRI9CdawE7Nx7ieMUfhtHc7o44E2lV43
kvvsbIR7Y7L2ICVj+BuWsw9dmL/OnewDtI8UeRwO1M3rPnF1Qh4oU85UY6InC7rp
73+VNklFh2MiLH6WldknpT9J58F7/qx0t4EJ3NJbUj1XJcVi9fTE/IdGf8mtJDiq
qfQ2LlHv1MR/w6q9msWgw+H8QF6P8xBVb8rEYZ08oz+s5hNTXR7nE+sxbX3zqtoj
nytV5Of6nwMfjT5SL4ND7VROov/4eqc9MlBlfEIq40393uwLabVE2F+CgNTN9jnh
q0MBio8PQk4iRAHJtWDo4nZausFk35c09vX8VwLkQb+U96tkcRbU7deqQtaBCmpu
Y76GXgiPq7UKIV1Xb1xpTOk14DeRAMGJJNGp6XqEMlr/ZEAGIYfP0ZoTP2UPowCt
gvuLaHnZ/hyIvGGVngB5
=Gf/L
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 20 Apr 2013 07:30:44 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:15 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.