Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 06:27:56 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Adi Pircalabu <apircalabu@bitdefender.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: HEADS UP: pkg-plist strict enforcement starting
Message-ID:  <20050114142756.GA58907@xor.obsecurity.org>
In-Reply-To: <20050114162405.2777fa0a@apircalabu.dsd.ro>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 14, 2005 at 04:24:05PM +0200, Adi Pircalabu wrote:
> On Fri, 14 Jan 2005 17:02:50 +0300
> Sergey Matveychuk <sem@FreeBSD.org> wrote:
>=20
> > What port are you talking about?
>=20
> It's BitDefender Antivirus I have to port on FreeBSD. The architecture
> and behaviour is similar to Linux version. Besides creating the
> configuration files at install time from generic .dist files, it also
> creates new files (especially AV definition and signature files), along
> with modifying existing ones. A typical situation:
> A new AV engine is created and the decision is to put the detection code
> in a new file, which was not present in the system after install.
> Obviously the file was not registered at install so I can not delete it
> when deinstalling (I have no idea of the filename, size, md5). Therefore
> the file will be left as is after install, leading to a broken port.

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.

Kris

--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB59bsWry0BWjoQKURAs/jAKDUYfVjTLggp60+NU9t7UyTOtsH1gCeIuYO
jQq6posoy2yBF7zrbPX3TiY=
=c6RJ
-----END PGP SIGNATURE-----

--VS++wcV0S1rZb1Fb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050114142756.GA58907>