ports/79830: update port: lang/php[45]: fix PLIST for pear again

Yen-Ming Lee leeym at FreeBSD.org
Tue Apr 12 17:50:41 UTC 2005


>Number:         79830
>Category:       ports
>Synopsis:       update port: lang/php[45]: fix PLIST for pear again
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 12 17:50:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Tue Mar 15 10:20:57 CST 2005 root at utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386


	
>Description:

This patch was a part of ports/78516.

The file ${PREFIX}/lib/php/pear/.filemap will be update when installing or
deinstalling pear packages, so its MD5 checksum will mismatch and fail to
remove it when deinstalling a pear package.

So, list it in pkg-plist in not enough, please use "@unexec rm ..." instead.

>How-To-Repeat:
	
>Fix:

	

--- php.diff begins here ---
Index: php4/pkg-plist.pear
===================================================================
RCS file: /home/pcvs/ports/lang/php4/pkg-plist.pear,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist.pear
--- php4/pkg-plist.pear	11 Apr 2005 09:11:49 -0000	1.4
+++ php4/pkg-plist.pear	12 Apr 2005 17:43:05 -0000
@@ -33,6 +33,7 @@
 share/pear/bootstrap/PEAR/RunTest.php
 share/pear/bootstrap/XML/RPC.php
 share/pear/bootstrap/XML/RPC/Server.php
+ at unexec rm %D/lib/php/pear/.filemap 2> /dev/null || true
 @dirrm lib/php/pear/.registry
 @dirrm lib/php/pear
 @unexec rmdir %D/lib/php 2> /dev/null || true
Index: php5/pkg-plist.pear
===================================================================
RCS file: /home/pcvs/ports/lang/php5/pkg-plist.pear,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist.pear
--- php5/pkg-plist.pear	11 Apr 2005 09:11:49 -0000	1.5
+++ php5/pkg-plist.pear	12 Apr 2005 17:43:05 -0000
@@ -34,6 +34,7 @@
 share/pear/bootstrap/PEAR/RunTest.php
 share/pear/bootstrap/XML/RPC.php
 share/pear/bootstrap/XML/RPC/Server.php
+ at unexec rm %D/lib/php/pear/.filemap 2> /dev/null || true
 @dirrm lib/php/pear/.registry
 @dirrm lib/php/pear
 @unexec rmdir %D/lib/php 2> /dev/null || true
--- php.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list