Subject: Re: pkg/20852 aka paths in packages
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 07/25/2003 09:22:06
On Fri, 25 Jul 2003 wrote:

> > Yes, but in the default installation it should try to be a drop-in replacement
> > for the base system supplied sendmail as far as possible.

Maybe see openssh package for some examples. See its
"UPDATE_INTREE_OPENSSH" (Makefile.intree).

> When it installs files in /etc/mail, should those files be in the package's
> PLIST so they are included in the binary package?

Have a look at pkgsrc/Packages.txt and read the "Configuration files
handling and placement" section. The files are generally installed "under
share/examples/${PKGNAME} so PLIST can register them."

Also see the openssh pksrc Makefile and look at the
PKG_SYSCONFSUBDIR and CONF_FILES lines (and post-install target). See the
PLIST too (because it does have the configs added under
share/examples/openssh/, for example.)

   Jeremy C. Reed