OK, thanks.

On 2011/12/20 11:56, Giovanni Bechis wrote:
> On 12/19/11 20:49, Stuart Henderson wrote:
> [...]
> > cp /port/obj/pear-Net-IPv4-1.3.4/package.xml 
> > /port/obj/pear-Net-IPv4-1.3.4/Net_IPv4-1.3.4
> > mkdir -p /port/obj/pear-Net-IPv4-1.3.4/fake-amd64/var/www/lib/php
> > /usr/local/bin/pear install -f -n -R 
> > /port/obj/pear-Net-IPv4-1.3.4/fake-amd64 -n 
> > /port/obj/pear-Net-IPv4-1.3.4/Net_IPv4-1.3.4/package.xml
> > systrace: deny user: root, prog: /usr/local/bin/php-5.3, pid: 
> > 27577(0)[7744], policy: /usr/bin/env, filters: 238, syscall: 
> > native-fswrite(5), filename: /var/www/pear/lib/.lock
> > 
> after latest pear update all pear ports fails this way, this diff fixes
> the problem (but make update-plist deletes the "lib/.lock" entry).
>  Comments ?
>   Cheers
>    Giovanni

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/pear/Makefile,v
> retrieving revision 1.14
> diff -u -p -r1.14 Makefile
> --- Makefile  16 Nov 2011 15:56:37 -0000      1.14
> +++ Makefile  20 Dec 2011 10:51:51 -0000
> @@ -9,7 +9,7 @@ PKGNAME-main= ${DISTNAME}
>  PKGNAME-utils=       pear-utils-${VERSION}
>  CATEGORIES=  www devel
>  
> -REVISION=    0
> +REVISION=    1
>  
>  HOMEPAGE=    http://pear.php.net/
>  MASTER_SITES=        http://blade2k.humppa.hu/
> @@ -58,5 +58,6 @@ do-install:
>       @perl -pi -e "s,OPENBSD_PEAR_ROOT,'${PREFIX-main}/pear',g" \
>               ${WRKINST}${PREFIX-main}/pear/lib/PEAR/Config.php
>       @touch ${WRKINST}${PREFIX-main}/pear/.lock
> +     @touch ${WRKINST}${PREFIX-main}/pear/lib/.lock
>  
>  .include <bsd.port.mk>
> Index: pkg/PLIST-main
> ===================================================================
> RCS file: /cvs/ports/www/pear/pkg/PLIST-main,v
> retrieving revision 1.4
> diff -u -p -r1.4 PLIST-main
> --- pkg/PLIST-main    16 Nov 2011 13:29:14 -0000      1.4
> +++ pkg/PLIST-main    20 Dec 2011 10:51:51 -0000
> @@ -23,6 +23,7 @@ pear/lib/.channels/pear.php.net.reg
>  pear/lib/.channels/pecl.php.net.reg
>  pear/lib/.depdb
>  pear/lib/.depdblock
> +pear/lib/.lock
>  pear/lib/.registry/
>  pear/lib/.registry/.channel.__uri/
>  pear/lib/.registry/.channel.doc.php.net/

Reply via email to