From owner-freebsd-ports@FreeBSD.ORG Thu May 17 21:59:05 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D164316A403 for ; Thu, 17 May 2007 21:59:05 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id 2C38313C457 for ; Thu, 17 May 2007 21:59:04 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from [192.168.0.23] (r3b159.net.upc.cz [213.220.193.159]) (authenticated bits=0) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id l4HLVvun098911 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 17 May 2007 23:31:59 +0200 (CEST) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: Doug Barton In-Reply-To: <464CB5AA.7040304@FreeBSD.org> References: <20070502193159.GB42482@xor.obsecurity.org> <463F7236.4080108@FreeBSD.org> <20070507184231.GA50639@xor.obsecurity.org> <20070507201448.GA52651@xor.obsecurity.org> <20070507204414.GA53358@xor.obsecurity.org> <20070507205850.GA34916@lor.one-eyed-alien.net> <20070507220659.GC78665@graf.pompo.net> <20070507222146.GA57768@xor.obsecurity.org> <464CB5AA.7040304@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-H7zFNsSeZC3kSNyBMEEe" Date: Thu, 17 May 2007 23:31:57 +0200 Message-Id: <1179437517.8912.5.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Score: -0.931 () AWL X-Scanned-By: MIMEDefang 2.61 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 213.220.193.159; Sender-helo: [192.168.0.23]; ) Cc: ports@FreeBSD.org, Brooks Davis , Kris Kennaway Subject: Specs for saving old shared libs 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: Thu, 17 May 2007 21:59:05 -0000 --=-H7zFNsSeZC3kSNyBMEEe Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Doug Barton p=ED=B9e v =E8t 17. 05. 2007 v 13:06 -0700: > What might=20 > be useful in this regard is if someone were to start a new thread=20 > describing exactly what the desired behavior is, and ideally to=20 > include a description of how portupgrade does it now. Just before old package deinstall, scan the list of files installed by old port (pkg_info -g). Match .so.X files under PREFIX/lib and any ldconfig'ed paths 1*), copy them away to /usr/local/lib/compat/pkg. After installation of new port, match .so.X files again. If same filenames appear, remove old copies from /usr/local/lib/compat/pkg. Finally, ldconfig -r /usr/local/lib/compat/pkg 1*) portupgrade currently gets this wrong and saves all .so* files, including uninteresting things like plugins etc. --=20 Pav Lucistnik The final screw holding up a rackmount server is always possessed by demons. --=-H7zFNsSeZC3kSNyBMEEe Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGTMnJntdYP8FOsoIRAv6BAJ9NBz+mOdQ0rUApq7RouxchtHCpPwCfQc/S BIhUn/wX4LZLeulhtCSBsQE= =4cY7 -----END PGP SIGNATURE----- --=-H7zFNsSeZC3kSNyBMEEe--