From owner-freebsd-ports@FreeBSD.ORG Sat Jan 28 21:48:11 2006 Return-Path: X-Original-To: ports@FreeBSD.org 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 D109D16A420 for ; Sat, 28 Jan 2006 21:48:11 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [195.250.137.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2758C43D46 for ; Sat, 28 Jan 2006 21:48:00 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from ikaros.oook.cz (localhost [127.0.0.1]) by hood.oook.cz (8.13.4/8.13.4) with ESMTP id k0SLlxxM067168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Jan 2006 22:47:59 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by ikaros.oook.cz (8.13.4/8.13.4/Submit) id k0SLlxWT067167; Sat, 28 Jan 2006 22:47:59 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: ikaros.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Andrew Pantyukhin In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1x9i2pd1Eld0lj9u6zDm" Date: Sat, 28 Jan 2006 22:47:59 +0100 Message-Id: <1138484879.36184.86.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: FreeBSD Ports , Kris Kennaway Subject: Re: pkg_delete and modified files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 21:48:11 -0000 --=-1x9i2pd1Eld0lj9u6zDm Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Andrew Pantyukhin p=ED=B9e v ne 29. 01. 2006 v 00:44 +0300: > Looking for a solution to the problem we stumbled upon, > [which was keeping many modified files without the > cmp trick described in the porter's handbook] > I gave pkg_install/* sources a glance and now I'm > thinking about a quick fix. The -f flag causes files to be > deleted even in case of a checksum mismatch. In fact > the -f flag is meant for something slightly else: >=20 > Force removal of the package, even if a dependency > is recorded or the deinstall or require script fails. >=20 > So I'm thinking about another flag (like -F or a second > -f) to control the behavior with modified files. I think that > keeping them should be a default. I can't think of a > thing that it will break, maybe you can. The cmp trick > will still work. And it only takes a couple of lines to > implement. And a couple of years before we can start using it, because it have to get into all branches and few releases. And it still does not solve your problem, because your port will overwrite the files from previous installation on next upgrade. --=20 Pav Lucistnik I want to earn the right to be obnoxious before I'm too bitter to really enjoy it. -- Able --=-1x9i2pd1Eld0lj9u6zDm Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD2+aPntdYP8FOsoIRAssXAJ9KHyVHyB9aq68Wk7kXbsNayypBbACgwKtG ++s3V8TZOTFd03IwdHuDGBI= =MMjf -----END PGP SIGNATURE----- --=-1x9i2pd1Eld0lj9u6zDm--