From owner-freebsd-ports@FreeBSD.ORG Mon Jul 14 11:24:02 2003 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 E40C737B401; Mon, 14 Jul 2003 11:24:02 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE66243FE0; Mon, 14 Jul 2003 11:23:53 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h6EIM393025926; Mon, 14 Jul 2003 14:22:03 -0400 (EDT) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h6EIM74x029564; Mon, 14 Jul 2003 14:22:07 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Maxim Sobolev In-Reply-To: <20030714165358.GC2875@vega.vega.com> References: <20030714165358.GC2875@vega.vega.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-QQ1sHqaPRlqNbCJtgGk6" Organization: MarcusCom, Inc. Message-Id: <1058207026.299.60.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 14 Jul 2003 14:23:46 -0400 X-Spam-Status: No, hits=-11.6 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: ports@FreeBSD.org cc: portmgr@FreeBSD.org Subject: Re: Major flaws of the new make deinstall code 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: Mon, 14 Jul 2003 18:24:03 -0000 --=-QQ1sHqaPRlqNbCJtgGk6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-07-14 at 12:53, Maxim Sobolev wrote: > Folks, >=20 > I've noticed several misbehaviours of the new make deinstall code, > particularly: >=20 > 1. The new code behaves incorrectly when there are several @cwd > statements in the packing list. Particularly, it affects many > ports from games category, which usually create files and dirs > under /var. For some reason, make deinstall code takes the second > @cwd as the prefix of the installed package and obviously mismatch > happens. This needs to be corrected ASAP. Do you have a specific port in mind? I don't recall seeing this in testing. >=20 > 2. In general, prefix-safety feature of make deinstall is misdesigned, > as it should not reject deinstalling package which has no dependants > (i.e. packages that depend on it) regardless of its prefix, as > replacing this package with one with a different prefix will not > lead to any problems I can think of. Replacing a dependency (pkgconfig, for example) with a version in a different prefix could have disasterous effects if you're dealing with files you expect to exist in a certain location. In any event, make deinstall-all will remove all packages with a given ORIGIN regardless of PKGNAME or PREFIX. Joe >=20 > -Maxim --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-QQ1sHqaPRlqNbCJtgGk6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/EvUyb2iPiv4Uz4cRAuCmAKCFj2QwcnEKdJv4rbSvks9JpAVaCgCfY5aa Jqoak4F5W6r9ZSV3cQya5ec= =cAv+ -----END PGP SIGNATURE----- --=-QQ1sHqaPRlqNbCJtgGk6--