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

version graph

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

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

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

Severity: normal

Merged with 817924

Found in versions php-radius/1.2.5-2.4, php-radius/1.2.5-2.1

Fixed in version 1.4.0~b1-1

Done: Ondřej Surý <ondrej@sury.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, Roberto Lumbreras <rover@debian.org>:
Bug#667779; Package php5-radius. (Fri, 06 Apr 2012 15:39:47 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 Roberto Lumbreras <rover@debian.org>. (Fri, 06 Apr 2012 15:39:47 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:02 +0200
Package: php5-radius
Version: 1.2.5-2.1+b1
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package php5-radius 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




Marked as found in versions php-radius/1.2.5-2.4. Request was from Brian Ristuccia <brian@ristuccia.com> to control@bugs.debian.org. (Fri, 11 Mar 2016 17:12:04 GMT) (full text, mbox, link).


Merged 667779 817924 Request was from Brian Ristuccia <brian@ristuccia.com> to control@bugs.debian.org. (Fri, 11 Mar 2016 17:12:06 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: Brian Ristuccia <brianr@debian.org>, Debian Bug Tracking System <817924-done@bugs.debian.org>
Subject: Re: [Pkg-php-pecl] Bug#817924: php5-radius: config file not in /etc/php/mods-available
Date: Fri, 11 Mar 2016 21:41:54 +0100
Version: 1.4.0~b1-1

php-radius_1.4.0~b1-1 updated for PHP 7.0 is sitting in the NEW queue.

The old version of this package is still valid for old php5 that is
still present in the archive.

We are in middle of transition and not all packages have been updated
yet to the new infrastructure, you can tract (some) progress here:
https://release.debian.org/transitions/html/php7.0.html

Cheers,
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

On Fri, Mar 11, 2016, at 17:26, Brian Ristuccia wrote:
> Package: php5-radius
> Version: 1.2.5-2.4+b1
> Severity: normal
> 
> 
> The included configuration file is in the old /etc/php5/conf.d location.
> Under
> the old configuration scheme, the module was enabled by default. With a
> newer
> php installation, the module is disabled by default and can not be
> enabled with
> php5enmod.
> 
> 
> 
> -- System Information:
> Debian Release: 8.3
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages php5-radius depends on:
> ii  libc6                          2.19-18+deb8u2
> ii  php5-common [phpapi-20131226]  5.6.17+dfsg-0+deb8u1
> 
> php5-radius recommends no packages.
> 
> php5-radius suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> Pkg-php-pecl mailing list
> Pkg-php-pecl@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-pecl



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 10 Apr 2016 07:26:26 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: Tue Jan 30 05:19:39 2024; 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.