Subject: Re: CHECK_FILES and /etc/gimp/2.0/.pkgsrc
To: Jeremy C. Reed <reed@reedmedia.net>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 01/20/2005 09:07:15
On Wed, 2005-01-19 at 22:51 -0800, Jeremy C. Reed wrote:
> My mk.conf has:
> 
>  PKG_DEVELOPER=  yes
>  CHECK_FILES=    YES
>  CHECK_FILES_STRICT=     YES
>  PKG_SYSCONFBASE=        /etc
> 
> Installing gimp complains:
> 
> *** The package has modified /etc/gimp/2.0 contents directly!
>     The offending files/directories are:
>         /etc/gimp/2.0
>         /etc/gimp/2.0/.pkgsrc
> *** Error code 1
> 
> I have:
> 
> reed@puget:/usr/pkgsrc/graphics/gimp$ ls -ld /etc/gimp/2.0 /etc/gimp/2.0/.pkgsrc
> drwxr-xr-x  2 root root 4096 Jan 19 10:17 /etc/gimp/2.0
> -rw-r--r--  1 root root    5 Jan 19 09:51 /etc/gimp/2.0/.pkgsrc
> 
> pkgsrc/gimp/Makefile has:
> 
> PKG_SYSCONFSUBDIR=      gimp/2.0
> 
> Is this the correct behaviour for CHECK_FILES?

No, it's not.  I still have to fix multiple things in it, because ATM
there are multiple problems (mainly when dealing with stuff installed
by bsd.pkg.install.mk).  Hope I'll get to it soon.

Cheers,

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/