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

version graph

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

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

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

Severity: normal

Found in version php-geoip/1.0.7-5

Fixed in version php-geoip/1.0.7-6

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#667774; Package php5-geoip. (Fri, 06 Apr 2012 15:39:32 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:32 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: php5-geoip
Version: 1.0.7-5+b1
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

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


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

From: Sergey B Kirpichev <skirpichev@gmail.com>
To: 667774-close@bugs.debian.org
Subject: Bug#667774: fixed in php-geoip 1.0.7-6
Date: Sat, 07 Apr 2012 18:22:20 +0000
Source: php-geoip
Source-Version: 1.0.7-6

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

php-geoip_1.0.7-6.debian.tar.gz
  to main/p/php-geoip/php-geoip_1.0.7-6.debian.tar.gz
php-geoip_1.0.7-6.dsc
  to main/p/php-geoip/php-geoip_1.0.7-6.dsc
php5-geoip_1.0.7-6_amd64.deb
  to main/p/php-geoip/php5-geoip_1.0.7-6_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 667774@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-geoip 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 21:45:54 +0400
Source: php-geoip
Binary: php5-geoip
Architecture: source amd64
Version: 1.0.7-6
Distribution: unstable
Urgency: low
Maintainer: Sergey B Kirpichev <skirpichev@gmail.com>
Changed-By: Sergey B Kirpichev <skirpichev@gmail.com>
Description: 
 php5-geoip - GeoIP module for php5
Closes: 667774
Changes: 
 php-geoip (1.0.7-6) unstable; urgency=low
 .
   * Reformat debian/copyright according to accepted DEP5 spec
   * Bump up Standards-Version to 3.9.3 (no changes)
   * Renamed docs -> php5-geoip.docs
   * Use php5{en,dis}mod for conffile handling (Closes: #667774)
Checksums-Sha1: 
 5f593094682580fdb6e1ec30be6ed6b696885be6 1797 php-geoip_1.0.7-6.dsc
 06e5115477121c38d9bad8b384c3369c93132987 4184 php-geoip_1.0.7-6.debian.tar.gz
 e7ae23cf9c2e3f20a766731e3117a6404bad33ef 11044 php5-geoip_1.0.7-6_amd64.deb
Checksums-Sha256: 
 fe19a369536381e68f326e1311d4b82030ef714aecc5aa372a25306a6f89e829 1797 php-geoip_1.0.7-6.dsc
 6021e9ac9453f5ce0c9893670c703df08bbdc17b5b9fb625b33bc6a25f1410f9 4184 php-geoip_1.0.7-6.debian.tar.gz
 1c2bcfd8e83ebd575ae487f1881e925bf0b8fc60dcfe8f0b278874e6ee1febe1 11044 php5-geoip_1.0.7-6_amd64.deb
Files: 
 37be8d6b1c81dc6509b5c28c6f55ba93 1797 php optional php-geoip_1.0.7-6.dsc
 5db35874dc8fce10a258acb1f5fa2118 4184 php optional php-geoip_1.0.7-6.debian.tar.gz
 118fbabbedd9c62caa872eadbe029270 11044 php optional php5-geoip_1.0.7-6_amd64.deb

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

iQIcBAEBCAAGBQJPgIFZAAoJEDnJoLZAJirwk90P/iT2uC0W8XWlQ4bRsfmWZkTT
i4QhIInOUt5t4brnNFeR6MEGXQQzjr0PVFmXxanVAFXUhL2jJQ385t3tQfbZF/iA
vxts8qUBStyambC8XMnMZISgKjzZREO3chczn00PxnbhcJrqklOg2BHTsyWd4K4P
1YJWToeAEyWl44vXX5/Ycc3+65HSbKevvy+iFVqoiFO+W2iVHaCzQJh2ern55/PO
no0LeSApReurXvdQ/59hW5Lal2FqFXX5PkXCV7oz3/9ge6vZJYrIUb/H4GLxbhEB
uENcdDdZIaJ4HIWbP8Yruqgahv4cBLL5dZQ9VTqkpqGciyh5hYi9udR3+ojOE4j3
+ti6fLplvdJWFQFLoXtF26kPq9iLxShpevJSKvrAT5sKtn79OHuHfvOazNUAo1hi
W0r+RWUiweFXc1r7no0VWagqPSRFMB386YHfaVQUYMTSbo3FAIUW5UnCc6mn6RxN
zAC/OR6Adf86ITgKSUSPLkC8VS0qYoYgaXC5hBLdFTvR79nb3lB1lT8/uqDESdT5
pcSBqCDy3Op19gVXooIuhXOIKjMXSTvxyJw0vcdMZbrR0i/iKLgtOnUbBcM4qNEx
dzfI4F9GQzmNMOGhJlV7+bq6ICC1CKjGo7Xk8jgUY0kFTBo/OPYyxKlriVapt+wn
aU83CKaD1cC5++1hezTf
=/Nph
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 16 May 2012 07:40:57 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:08:33 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.