leaving behind .sample files and pkg_add alternate registerdb

Marco van de Voort marcov at stack.nl
Sat Aug 27 13:33:05 GMT 2005


> I've been working on a port recently, and ran into two small questions:
> 
> 1) is it evil to leave behind .cfg.sample files? If so, how do I add them
>   to pkg-plist and avoid errors if the user moved (instead of copied) them
>   to the .cfg ? @unexec? If so, how would it look for a file?
> 
> 2) At work, I tried to work on the port, but I'm only user there, and I
>     can't seem to be able to change the registration directory for pkg_
>     commands. Is this possible at all? (works fine for src building)

And another gotcha, I have a difference in pkg-plist behaviour between
make install/deinstall and pkg_add/delete

3) Is it possible that pkg_create doesn't add/create empty directories?
(I copied an example dir from a src archive, and it had empty CVS/ dirs
in it)



More information about the freebsd-ports mailing list