Date: Fri, 14 Jan 2005 15:39:17 +0100 From: Lupe Christoph <lupe@lupe-christoph.de> To: freebsd-ports@freebsd.org Subject: Re: HEADS UP: pkg-plist strict enforcement starting Message-ID: <1105713557.41e7d9958ddd5@buexe.b-5.de> In-Reply-To: <20050114142756.GA58907@xor.obsecurity.org> References: <Pine.LNX.4.44.0501131148520.25402-100000@pancho> <20050113180504.GA26064@xor.obsecurity.org> <20050114130404.250d6e26@apircalabu.dsd.ro> <20050114112918.GF69532@voodoo.oberon.net> <1105704398.41e7b5ce7dc5e@buexe.b-5.de> <20050114144353.1aad2014@apircalabu.dsd.ro> <20050114133050.GN69532@voodoo.oberon.net> <20050114155745.179a1bfe@apircalabu.dsd.ro> <41E7D10A.8070308@FreeBSD.org> <20050114162405.2777fa0a@apircalabu.dsd.ro> <20050114142756.GA58907@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Kris Kennaway <kris@obsecurity.org>: > The main case you need to worry about is when someone (e.g. package > cluster) does 'make install deinstall'. It's OK, but not ideal, for > the package to leave behind some runtime-created files when the > software has been used or configured by the user. You should then add > a pkg-deinstall message warning about where the leftover files live, > if they exist, so the administrator can choose to delete them by hand. Hmm. What about an environment variable DELETE_PORT_COMPLETELY that let's you test the port knows which files etc it normally leaves behind and shows that by rm'ing them? This way a port can leave things behind but still pass the deinstall test. Of course I'd still prefer a way to specify config files/dirs. But to delete them, the package management system still needs a way to distingiush an upgrade delete from a complete delete. Lupe Christoph -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | "... putting a mail server on the Internet without filtering is like | | covering yourself with barbecue sauce and breaking into the Charity | | Home for Badgers with Rabies. Michael Lucas |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1105713557.41e7d9958ddd5>