Bug 39557 - apache13-fp - some files not being uninstalled
Summary: apache13-fp - some files not being uninstalled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-20 03:50 UTC by Scot W. Hetzel
Modified: 2002-06-20 05:36 UTC (History)
0 users

See Also:


Attachments
file.diff (3.74 KB, patch)
2002-06-20 03:50 UTC, Scot W. Hetzel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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