Bug 73550

Summary: [PATCH] japanese/rskkserv: Don't overwrite/remove ${PREFIX}/etc/rskkserv.conf
Product: Ports & Packages Reporter: Hideyuki KURASHINA <rushani>
Component: Individual Port(s)Assignee: Akinori MUSHA <knu>
Status: Closed FIXED    
Severity: Affects Only Me CC: knu
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Hideyuki KURASHINA freebsd_committer freebsd_triage 2004-11-05 00:50:21 UTC
	- The `install' target described in Makefile.in included in current
	  distfile always tries to install $(CONFFILE) into
	  $(DESTDIR)$(sysconfdir)/.  As the result, every time
	  ${PREFIX}/etc/rskkserv.conf is overwritten.

	- pkg-plist has an entry `etc/rskkserv.conf'.  This means,
	  the file is removed anyway though user modified the configuration.

Fix: Apply following patch.  This also includes following changes:

	  - Install ${WRKSRC}/doc/rskkserv.conf.sample into ${EXAMPLESDIR}
	    for consistency.

	  - ports/UPDATING is also touched with above change.

How-To-Repeat: 
	cp <something> ${PREFIX}/etc/rskkserv.conf
	cd /usr/ports/japanese/rskkserv
	make install
	  -> ${PREFIX}/etc/rskkserv.conf will be overwritten...

	[Edit ${PREFIX}/etc/rskkserv.conf]
	make deinstall
	  -> ${PREFIX}/etc/rskkserv.conf will be removed...
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-11-05 21:47:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->knu

Over to maintainer.
Comment 2 Akinori MUSHA freebsd_committer freebsd_triage 2004-11-11 07:16:00 UTC
State Changed
From-To: open->closed

Committed, thanks!