# HG changeset patch # User Pascal Bellard # Date 1382015775 0 # Node ID 3b3a139f486294c31e984d957d4e0d8122fcb3d6 # Parent 854aac736a5d5fa62521d1c93a9ed94e5f05a36d php-auth-pam: php 5.4 patch diff -r 854aac736a5d -r 3b3a139f4862 cups/stuff/etc/init.d/cupsd --- a/cups/stuff/etc/init.d/cupsd Tue Oct 15 22:45:52 2013 +0000 +++ b/cups/stuff/etc/init.d/cupsd Thu Oct 17 13:16:15 2013 +0000 @@ -23,6 +23,7 @@ status ;; start) + pgrep -f cupsd > /dev/null || rm -f $PIDFILE 2> /dev/null if [ ! -e $PIDFILE ]; then echo -n "Starting $DESC: $NAME... " $DAEMON $OPTIONS diff -r 854aac736a5d -r 3b3a139f4862 php-auth-pam/receipt --- a/php-auth-pam/receipt Tue Oct 15 22:45:52 2013 +0000 +++ b/php-auth-pam/receipt Thu Oct 17 13:16:15 2013 +0000 @@ -5,12 +5,13 @@ CATEGORY="development" SHORT_DESC="PHP extension for PAM" MAINTAINER="erjo@slitaz.org" -DEPENDS="php-apache pam" -BUILD_DEPENDS="php-dev pam pam-dev autoconf automake" +LICENSE="BSD" TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" WEB_SITE="http://packages.debian.org/" WGET_URL="http://ftp.de.debian.org/debian/pool/main/p/php-auth-pam/$TARBALL" +DEPENDS="php-apache pam" +BUILD_DEPENDS="php-dev pam pam-dev autoconf automake" # Rules to configure and make the package. compile_rules() @@ -20,6 +21,7 @@ cd $src phpize patch -p1 < $stuff/php-auth-pam-Makefile.global0.4.u || exit 1 + sed -i 's/^function_entry/zend_&/;s/pval /zval /' pam_auth.c # php 5.4 ./configure $CONFIGURE_ARGS \ --prefix=/usr && @@ -31,7 +33,7 @@ genpkg_rules() { mkdir -p $fs/usr/share/php - cp -a $_pkg/usr/lib/php/extensions/*/*.so $fs/usr/share/php + cp -a $install/usr/lib/php/extensions/*/*.so $fs/usr/share/php } post_install()