Bug 36907 - ports/www/apache2 deinstall may need update
Summary: ports/www/apache2 deinstall may need update
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: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-08 23:50 UTC by dominic_marks
Modified: 2002-05-09 04:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dominic_marks 2002-04-08 23:50:04 UTC
	The apache2 port has a pkg-deinstall message which tells the user
	the following: 
	
		"To delete Apache user permanently, use 'pw userdel www'"

	However since rev 1.25.2.5 of etc/master.passwd FreeBSD has the user
	and group www by default, so this is no longer correct advice.

Fix: 

Remove the pkg-deinstall file, or make it intelligent enough to know
	that on revisions greater or equal to 1.25.2.5 deletion is not
	required. The revision Id can be obtained with:

	# ident /etc/master.passwd | cut -f8 -d " "

	The pkg-install only adds the www:www information if it doesn't
	already exist so it does not need to be changed.
How-To-Repeat: 	cd /usr/ports/www/apache2/ && make deinstall
Comment 1 dwcjr 2002-05-08 15:47:48 UTC
Have you mentioned this to the maintainer?
Comment 2 Hye-Shik Chang 2002-05-08 16:13:15 UTC
On Wed, May 08, 2002 at 07:50:06AM -0700, David W. Chapman Jr. wrote:
>  Have you mentioned this to the maintainer?
>  

Hello, I'm a maintainer of this port.
I'll delete pkg-deinstall on next update (PR/37849)

-- 
Hye-Shik Chang <perky@fallin.lv>
Yonsei University, Seoul
^D
Comment 3 Cy Schubert freebsd_committer freebsd_triage 2002-05-08 16:31:51 UTC
State Changed
From-To: open->analyzed

Fix implemented in my tree.  Awaiting resolution of PR/37849 before 
committing. 


Comment 4 Cy Schubert freebsd_committer freebsd_triage 2002-05-08 16:31:51 UTC
Responsible Changed
From-To: freebsd-ports->cy

I'm already working on PR/37849.  As this one is related to it, I'll 
take this one on too.
Comment 5 dominic_marks 2002-05-08 16:58:29 UTC
On Wed, May 08, 2002 at 09:47:48AM -0500, David W. Chapman Jr. wrote:
> Have you mentioned this to the maintainer?

I think I CC'ed him on the original mail. But it was long enough ago
so that I don't remember for sure.

-- 
Dominic
Comment 6 Cy Schubert freebsd_committer freebsd_triage 2002-05-09 04:56:27 UTC
State Changed
From-To: analyzed->closed

Committed.  Thanks to all for their contributions.