Package: libow-php5
Version: 2.8p14-3
Severity: grave
Tags: patch

Hi,

your package links and uses phpapi, but doesn't define correct
dependency on it.  This breaks libow-php5 when used with PHP 5.4 which
just landed in unstable, because of changed phpapi.

Please add something like:

        echo "php:Depends=phpapi-`php-config5 --phpapi`" >> 
debian/libow-php5.substvars

after dh_shlibs call and ${php:Depends} to debian/control.  Patch:

--- control.orig     2012-03-05 13:00:30.260935007 +0000
+++ control          2012-03-05 13:00:40.167924448 +0000
@@ -172,7 +172,7 @@ Description: FTP daemon providing access
 Package: libow-php5
 Architecture: any
 Section: web
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}
 Description: Dallas 1-wire support: PHP5 bindings
  The 1-Wire bus is a cheap low-speed bus for devices like weather
  sensors, access control, etc. It can be attached to your system via
--- rules.orig    2012-03-05 12:59:30.912914561 +0000
+++ rules         2012-03-05 12:59:34.041434825 +0000
@@ -70,6 +70,7 @@ override_dh_strip:
 
 override_dh_makeshlibs:
        dh_makeshlibs --no-package libow-php5 --no-package libow-tcl
+       echo "php:Depends=phpapi-`php-config5 --phpapi`" >> 
debian/libow-php5.substvars
 
 clean:
        $(DH) clean


-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
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



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to