From owner-freebsd-ports@FreeBSD.ORG Fri Jan 14 14:27:58 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BC4116A4CE for ; Fri, 14 Jan 2005 14:27:58 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF26443D2D for ; Fri, 14 Jan 2005 14:27:57 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 00FDD513CE; Fri, 14 Jan 2005 06:27:56 -0800 (PST) Date: Fri, 14 Jan 2005 06:27:56 -0800 From: Kris Kennaway To: Adi Pircalabu Message-ID: <20050114142756.GA58907@xor.obsecurity.org> References: <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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20050114162405.2777fa0a@apircalabu.dsd.ro> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org Subject: Re: HEADS UP: pkg-plist strict enforcement starting X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 14:27:58 -0000 --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 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--