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.43) id 1EFaCW-0006qm-Tg for garchives@archives.gentoo.org; Wed, 14 Sep 2005 16:33:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j8EGSDFD005176; Wed, 14 Sep 2005 16:28:13 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j8EGSCtj003890 for ; Wed, 14 Sep 2005 16:28:13 GMT Received: from cpe-65-26-255-237.wi.res.rr.com ([65.26.255.237] helo=nightcrawler) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1EFaBt-0001cl-V2 for gentoo-osx@lists.gentoo.org; Wed, 14 Sep 2005 16:32:58 +0000 Date: Wed, 14 Sep 2005 11:33:18 -0500 From: Brian Harring To: gentoo-osx@lists.gentoo.org Subject: Re: [gentoo-osx] SheBang script Message-ID: <20050914163318.GG6179@nightcrawler> References: <43273D5D.7040308@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-osx@gentoo.org Reply-to: gentoo-osx@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yRA+Bmk8aPhU85Qt" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-Archives-Salt: 0636d017-ecb5-4b34-a474-0609bfe6eaa5 X-Archives-Hash: 220ab10ec17a8a5bbbeeb6c24b07feb7 --yRA+Bmk8aPhU85Qt Content-Type: text/plain; charset=utf8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 14, 2005 at 11:06:03AM -0500, Kito wrote: >=20 > On Sep 13, 2005, at 3:58 PM, Grobian wrote: > [...] >=20 > ># This script searches for executable script files in the given > ># directory and all its sub-directories and tries to process them in > ># such a way, that the actual PATH environment controls how they are > ># executed. An example would be a script file having at the first =20 > >line: >=20 > Ok, I was thinking something along these lines to handle =20 > install_names for executables and dylibs as well, basically just loop =20 > over the ${D} and either warn or fix if install_names contain paths =20 > outside the global prefix. >=20 > Brian: Is this sort of thing best handled in bash ala bashrc, or is =20 > there a good entry point in the portage code to plug this stuff in =20 > pythonically? Kicking around something that would allow setups the ability to plug in=20 chunks of code for doing things prior/post merge... So, hooking within the python side would be possible, and prefered. =20 Basically is how collision-protect/setuid scans will be implemented,=20 and probably triggering ldconfig runs even (assuming it works sanely). Less cruft jammed into bash, the better. :) ~harring --yRA+Bmk8aPhU85Qt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDKFDOvdBxRoA3VU0RAn/UAJ9vB6Atb8Kp/NwK52kJ9qIqNrc9GQCg1Hph oGwGGXPTb0qVuqTgy8YxW4o= =tfR5 -----END PGP SIGNATURE----- --yRA+Bmk8aPhU85Qt-- -- gentoo-osx@gentoo.org mailing list