Subject: CVS commit: pkgsrc
To: None <>
From: Johnny C. Lam <>
List: source-changes
Date: 10/31/2000 15:48:40
Module Name:	pkgsrc
Committed By:	jlam
Date:		Tue Oct 31 13:48:40 UTC 2000

Modified Files:
	pkgsrc/www/surfraw: Makefile
	pkgsrc/www/surfraw/pkg: PLIST
Added Files:
	pkgsrc/www/surfraw/files: patch-sum
	pkgsrc/www/surfraw/patches: patch-aa
	pkgsrc/www/surfraw/pkg: DEINSTALL INSTALL

Log Message:
Handle configuration files:

	* During installation, install a default file, then copy over a real
	  config file during post-installation if it doesn't already exist.
	* During de-installation, remove the real config file if it doesn't
	  differ from the default config file.

The INSTALL/DEINSTALL scripts could probably serve as a model for how other
packages should deal with config files.

To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/www/surfraw/Makefile
cvs rdiff -r0 -r1.1 pkgsrc/www/surfraw/files/patch-sum
cvs rdiff -r0 -r1.1 pkgsrc/www/surfraw/patches/patch-aa
cvs rdiff -r0 -r1.1 pkgsrc/www/surfraw/pkg/DEINSTALL \
cvs rdiff -r1.6 -r1.7 pkgsrc/www/surfraw/pkg/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.