From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EXmmt-0007TP-QF for garchives@archives.gentoo.org; Thu, 03 Nov 2005 21:38:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jA3LbfFu002247; Thu, 3 Nov 2005 21:37:41 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jA3LZss2031499 for ; Thu, 3 Nov 2005 21:35:54 GMT Received: from txslmailp1.vzwnet.com ([66.174.85.8]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EXmkT-0006bW-Vx for gentoo-dev@lists.gentoo.org; Thu, 03 Nov 2005 21:35:54 +0000 Received: from txsldns1.nss.txsl.vzwnet.com (txsldns1.nss.txsl.vzwnet.com [10.215.210.71]) by txslmailp1.vzwnet.com (8.12.10/8.12.10/1.0.1) with ESMTP id jA3LURq2024411 for ; Thu, 3 Nov 2005 13:30:27 -0800 (PST) Received: from txslpc1d36.wkst.vzwnet.com (txslpc1d36.wkst.vzwnet.com [10.215.206.62]) by txsldns1.nss.txsl.vzwnet.com (8.12.10+Sun/8.12.10/1.0.1) with ESMTP id jA3LZp94023279 for ; Thu, 3 Nov 2005 15:35:52 -0600 (CST) Received: by txslpc1d36.wkst.vzwnet.com (Postfix, from userid 1000) id 3CF4023FE3; Thu, 3 Nov 2005 15:35:46 -0600 (CST) Subject: [gentoo-dev] Binary packages and revdep-rebuild From: Paul Varner To: gentoo-dev@lists.gentoo.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-bdXZcda04S5PM5V2gSjd" Date: Thu, 03 Nov 2005 15:35:37 -0600 Message-Id: <1131053738.16612.19.camel@txslpc1d36.wkst.vzwnet.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 X-Archives-Salt: f4db49af-853c-47a1-acbb-e0b8d2cf52c0 X-Archives-Hash: c22f83a6b5810d39186aa8c798ed39de --=-bdXZcda04S5PM5V2gSjd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable One of the common complaints with revdep-rebuild is that it wants to constantly rebuild binary packages (most notably openoffice-bin). To assist in resolving this issue, I have released gentoolkit-0.2.1_pre9 which adds the capability for an ebuild maintainer to adjust how revdep-rebuild behaves towards binary packages. The latest revdep-rebuild allows the user to control the following variables: LD_LIBRARY_MASK - Mask of specially evaluated libraries SEARCH_DIRS - List of directories to search for executables and libraries SEARCH_DIRS_MASK - List of directories to not search With the capability that I just added, a package maintainer can now adjust the same variables. To use this capability do the following: 1. Install a file into /etc/revdep-rebuild (I'm using the same convention as /etc/env.d and prefixing the files with a number) 2. Inside of the file, place the appropriate changes to the variables. For example: I have the following file /etc/revdep-rebuild/10openoffice-bin on my system # openoffice-bin revdep-rebuild configuration file SEARCH_DIRS_MASK=3D"/usr/lib/openoffice" 3. revdep-rebuild will accumulate the variables in the following order: environment, /etc/make.conf, /etc/revdep-rebuild/*=20 This means that a user can override your changes if desired, but your changes will be honored by default. Finally, one other change that I am considering is to add a PACKAGE_MASK variable that will only be read from the files in /etc/revdep-rebuild and cannot be overridden by the user (except by editing the file). The purpose will be to tell revdep-rebuild to never attempt to rebuild that package. Before I implement that I would like to get some feedback on if that is a desired feature. Regards, Paul --=-bdXZcda04S5PM5V2gSjd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDaoKpD+0fw2tAJ1cRAmGnAJ9ljJFznuaUunRM59rJqywug1a8/QCggesO BrN2gzGqDsQhxyuszb7ptp8= =MMQU -----END PGP SIGNATURE----- --=-bdXZcda04S5PM5V2gSjd-- -- gentoo-dev@gentoo.org mailing list