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

version graph

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

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

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

Severity: normal

Found in version ffmpeg-php/0.6.0-2.1

Fixed in version ffmpeg-php/0.6.0-2.2

Done: Ondřej Surý <ondrej@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, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#667765; Package php5-ffmpeg. (Fri, 06 Apr 2012 15:39:04 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 Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Fri, 06 Apr 2012 15:39:04 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:35:57 +0200
Package: php5-ffmpeg
Version: 0.6.0-2.1
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package php5-ffmpeg 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 Ondřej Surý <ondrej@debian.org>:
You have taken responsibility. (Fri, 06 Apr 2012 16:51:07 GMT) (full text, mbox, link).


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


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

From: Ondřej Surý <ondrej@debian.org>
To: 667765-close@bugs.debian.org
Subject: Bug#667765: fixed in ffmpeg-php 0.6.0-2.2
Date: Fri, 06 Apr 2012 16:47:40 +0000
Source: ffmpeg-php
Source-Version: 0.6.0-2.2

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

ffmpeg-php_0.6.0-2.2.diff.gz
  to main/f/ffmpeg-php/ffmpeg-php_0.6.0-2.2.diff.gz
ffmpeg-php_0.6.0-2.2.dsc
  to main/f/ffmpeg-php/ffmpeg-php_0.6.0-2.2.dsc
php5-ffmpeg_0.6.0-2.2_amd64.deb
  to main/f/ffmpeg-php/php5-ffmpeg_0.6.0-2.2_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 667765@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated ffmpeg-php 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: Fri, 06 Apr 2012 18:21:53 +0200
Source: ffmpeg-php
Binary: php5-ffmpeg
Architecture: source amd64
Version: 0.6.0-2.2
Distribution: unstable
Urgency: low
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Description: 
 php5-ffmpeg - audio and video support via ffmpeg for php5
Closes: 667765
Changes: 
 ffmpeg-php (0.6.0-2.2) unstable; urgency=low
 .
   * Use php5{en,dis}mod for conffile handling (Closes: #667765)
Checksums-Sha1: 
 dc76f48d85f417c3d8ef181292d36e48e681c386 1449 ffmpeg-php_0.6.0-2.2.dsc
 a48b72f7a1b45577ff0f8d54479f97cca3eb348b 9090 ffmpeg-php_0.6.0-2.2.diff.gz
 3e98d43f2e1818f2a1e2db490198dba54c68e88e 23932 php5-ffmpeg_0.6.0-2.2_amd64.deb
Checksums-Sha256: 
 04247fc332e19c998aadbbc221e82e5a82c0852c74673b9421550f1cdffa5253 1449 ffmpeg-php_0.6.0-2.2.dsc
 4ad45058cd2cc30ca5af6d6fdd6ac9a04abdc4767c54a877a665154729302e8e 9090 ffmpeg-php_0.6.0-2.2.diff.gz
 3f83fc25310c4642c35fcbee373c18947beaa8770a1939b28747601b3254d5cd 23932 php5-ffmpeg_0.6.0-2.2_amd64.deb
Files: 
 c904ae6532d47e29c953fe149846c6d2 1449 php optional ffmpeg-php_0.6.0-2.2.dsc
 52954c23d0848b65368abcbb3f06846b 9090 php optional ffmpeg-php_0.6.0-2.2.diff.gz
 73423fbab54868d19a56b2df0002bc6d 23932 php optional php5-ffmpeg_0.6.0-2.2_amd64.deb

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

iEYEARECAAYFAk9/Gr4ACgkQ9OZqfMIN8nNbjgCgmgyNvF3S1Kruuci1MFtcJNSI
hKYAnRQG7TgGygTFxm9Kh+nGwhKJXNnB
=djF+
-----END PGP SIGNATURE-----





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