Date: Fri, 14 Jan 2005 12:29:18 +0100 From: Kirill Ponomarew <krion@voodoo.oberon.net> To: Adi Pircalabu <apircalabu@bitdefender.com> Cc: freebsd-ports@freebsd.org Subject: Re: HEADS UP: pkg-plist strict enforcement starting Message-ID: <20050114112918.GF69532@voodoo.oberon.net> In-Reply-To: <20050114130404.250d6e26@apircalabu.dsd.ro> References: <20050113062739.GA28658@xor.obsecurity.org> <Pine.LNX.4.44.0501131148520.25402-100000@pancho> <20050113180504.GA26064@xor.obsecurity.org> <20050114130404.250d6e26@apircalabu.dsd.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
--W18qbkTAGYos9/y6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 14, 2005 at 01:04:04PM +0200, Adi Pircalabu wrote: > > I'm going to be careful about not allowing the "questionable" packages > > to fall foul of the pkg-plist checking, until we decide one way or the > > other whether they should be considered "broken". > > This is a tricky situation from my point of view. I'm following this > thread with a lot of interest since I'll be managing a port which CAN > NOT honor pkg-plist strict checking. Here are few details: > > - The configuration files are created and heavily modified at install > time from .dist files, will be modified as needed and should not be > deleted at uninstall - the configuration should be kept for a later > upgrade. This will definitely break "make install deinstall" on the > packages cluster, but the files are required since they must contain > information about various modules and plugins of the port, and this > information must be written through a daemon started at post-install. You can try cmp(1) in pkg-plist to compare configurations files. Take a look at ports collection, there are enough examples. > - The port uses several other files (plugins, modules) which will be > updated from time to time. Also, new modules / plugins whose names could > not be initially listed in pkg-plist may be added, as well as existing > ones may be updated or even deleted. It's better to use ~/.your_port directory in such cases. -Kirill --W18qbkTAGYos9/y6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB560OQC1G6a60JuURAj+yAJ4yHfJ+ekS3Fvy2sVFCX8MWeslkJACeJjyW cWQ6AnxIxqWaFu0tQzcvGhs= =HegM -----END PGP SIGNATURE----- --W18qbkTAGYos9/y6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050114112918.GF69532>