From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19316 invoked from network); 31 Aug 2004 23:28:27 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 31 Aug 2004 23:28:27 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1C2I38-00032Z-Va for arch-gentoo-dev@lists.gentoo.org; Tue, 31 Aug 2004 23:28:27 +0000 Received: (qmail 7090 invoked by uid 89); 31 Aug 2004 23:28:26 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 11921 invoked from network); 31 Aug 2004 23:28:26 +0000 From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Date: Tue, 31 Aug 2004 19:28:13 -0400 User-Agent: KMail/1.6.2 References: <4134FB0B.9060501@ifm.liu.se> In-Reply-To: <4134FB0B.9060501@ifm.liu.se> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_TmQNBLTaAZWJItR"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408311928.19670.vapier@gentoo.org> Subject: Re: [gentoo-dev] per-package environment variables. X-Archives-Salt: a7baeb8b-4558-4f35-b638-2deccc3899ad X-Archives-Hash: 63e94992ac7f9131dc7df0f6c986af9b --Boundary-02=_TmQNBLTaAZWJItR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 31 August 2004 06:26 pm, Antst GD wrote: > For the moment both solutions looks ugly for me. At least I can't > imaging simple and easy-to-understand syntax for package.env, which will > look nice and will parce without problems. > > What do you think about? most of what you proposed seems excessive and confusing (and like you say,= =20 ugly) ... a cleaner/simpler solution can be taken from your work though i=20 think ... we have a directory: /etc/profile/packages.env/ in this directory we have simple bash (bash because we can just source it a= nd=20 be done with it) files which line up in a similar fashion to the portage=20 tree ... for example, if i want an env file for bash, i would have: /etc/profile/packages.env/app-shells/bash i think this is about all we need ... and like Antst pointed out, this look= s=20 like it'd be real simple to implement ... =2Dmike --Boundary-02=_TmQNBLTaAZWJItR Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) Comment: iQIVAwUAQTUJk0FjO5/oN/WBAQIn8w//VTmIhmx9BKtdwSkfmnDEOUbgh3fLofuc zV/Pdmwd7YnENXt9JbVwclPaGWQrk8PnCFQpyTtzIZTkgYWEGIUKmFcOkoIAnyZ1 2iQiUUzd/bdr6gOLvkLcxBWEK4/0s3UTuWqIhYeqd8N4zge9hZYr9qS7sV2cFdQY y1xSe03lO6ndU/h+GS/35LgLLT4n16w++kFzEDOSsbDtqvZksnJdQoLS+YTrzuXS N/JOoR5c0++aHxItaAahsoU7WI6IthB5WrQ82IIoWyq17mI54LKeBEniQBJb/hMF i7W7gddiwar2N4kHWbR03tSpNXtqJZo9TwYODF2KFf2t2Z6kin6/J/9axRdT9M4S uqecn7yVU5CfsmICy/vOezhDM9pZNHMxfS6TKYunkG6JCwhth1SQq60HnLTLJpPk L8JkvozVzmKOZzdrdiT0ipFzWKphgUMvJVoNxSPWYY1MAE82GIYbUYBNRfpfn8hT DT9YTn2MtLj7LQk3nu/hQyTmqXUjAC5XwfzDc5wZ34F6WtAYAPEj6rUb+4d5WTnz H472IlbK8CJ1/O6HGZFJewYkhGmtEz/o3UWU8r/Zi37EkCSQ/BrWEE9vpZgI2fR5 KZ5ZgSFXA11RHsPQ2RMQgZ0vmp7r+kkoc7Qip7CwgOeLp5T/GEGBSI9AgZz/zDYh r41dKIoHqlg= =vAxz -----END PGP SIGNATURE----- --Boundary-02=_TmQNBLTaAZWJItR--