Bug 39557

Summary: apache13-fp - some files not being uninstalled
Product: Ports & Packages Reporter: Scot W. Hetzel <hetzels>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Scot W. Hetzel 2002-06-20 03:50:03 UTC
	Some files were not being uninstaled properly, specifically:

	    bin/checkgid
	    etc/apache/httpd.conf
	    www/cgi-bin/printenv
	    www/cgi-bin/test-cgi
	    www/data/images/apache_pb.gif
	    www/data/images/fplogo.gif
	    www/data/images/powerlogo.gif
	    www/data/index.html.en

	The last 7 files are installed by pkg-install (BATCH=NO), as
	these files may be removed/modified by the server administrator.
	But, when the port is uninstalled it will say that it was unable
	to remove the directories, due to these files hadn't been removed.
	With BATCH=YES, this problem didn't occur.

Fix: - Created pkg-deinstall to handle the removal of these 7 files
	- pkg-install changed to install these 7 files in batch mode
	  (fp_install.sh still restricted to non-batch mode)
	- added missing file and directories to pkg-plist

	Changed Files:
	    pkg-install
	    pkg-plist

	New Files:
	    pkg-deinstall

	NOTE: www and www/data will still report errors when BATCH=NO,
	      due to the fp_install.sh script had added additional
	      subdirectories and files.
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-06-20 05:36:06 UTC
State Changed
From-To: open->closed

committed, thanks