Call for testers -- CONF_FILES variable

Eitan Adler lists at eitanadler.com
Sun Jul 3 15:59:05 UTC 2011


> Yes, right now, pkgng uses the .pkgconf suffix to know that it is a
> configuration file. But now, we have a new format for the package
> manifest so _maybe_ (it has to be discussed with bapt) we can add an
> attribute to a file entry saying "I am a sample of a conf file". The
> hardest part for that would be to detect in the ports tree if we are
> using pkgng or the legacy pkg_install, and, depending on that, to
> generate the appropriate entry in the manifest / plist.

(I hope this isn't bikeshedding)

I would much prefer this method over choosing an unusual suffix. There
is much documentation on the internet that assumes certain things
about packaging. Many times INSTALL files will tell the user to
looking for a .sample file or .conf file. It would be odd and annoying
to have the sample configuration file on certain versions of FreeBSD
be different than everyone else. Also, as others have stated, pkgconf
sounds like something FreeBSD specific - not a application specific
suffix.

As a general note: why does pkgng care about the file suffix at all?
The pkg program should just be "dumb" about it and follow whatever the
pkg-plist says to do.



-- 
Eitan Adler


More information about the freebsd-ports mailing list