Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2006 22:47:59 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Andrew Pantyukhin <infofarmer@gmail.com>
Cc:        FreeBSD Ports <ports@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: pkg_delete and modified files
Message-ID:  <1138484879.36184.86.camel@localhost>
In-Reply-To: <cb5206420601281344q125a691cqfdf021012fb5afea@mail.gmail.com>
References:  <cb5206420601281344q125a691cqfdf021012fb5afea@mail.gmail.com>

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

--=-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 <pav@oook.cz>
              <pav@FreeBSD.org>

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--



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