Bug 73550 - [PATCH] japanese/rskkserv: Don't overwrite/remove ${PREFIX}/etc/rskkserv.conf
Summary: [PATCH] japanese/rskkserv: Don't overwrite/remove ${PREFIX}/etc/rskkserv.conf
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: Akinori MUSHA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-05 00:50 UTC by Hideyuki KURASHINA
Modified: 2004-11-11 07:16 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (3.16 KB, patch)
2004-11-05 00:50 UTC, Hideyuki KURASHINA
no flags Details | Diff

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