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 1Dt30K-0007O1-Bo for garchives@archives.gentoo.org; Thu, 14 Jul 2005 12:39:52 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6ECd9Cp005239; Thu, 14 Jul 2005 12:39:09 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 j6ECbVFb016389 for ; Thu, 14 Jul 2005 12:37:31 GMT Received: from p061198129002.ppp.prin.ne.jp ([61.198.129.2] helo=opteron246.suzuki-stubbs.home) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1Dt2y0-0001X7-FC for gentoo-dev@lists.gentoo.org; Thu, 14 Jul 2005 12:37:36 +0000 Received: by opteron246.suzuki-stubbs.home (Postfix, from userid 1000) id B03A0100A80; Thu, 14 Jul 2005 21:37:31 +0900 (JST) From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: [gentoo-embedded] Interactive command Date: Thu, 14 Jul 2005 21:37:28 +0900 User-Agent: KMail/1.8.1 References: <1121294641.16275.40.camel@localhost> <1121317999.5993.27.camel@localhost> <1121342280.10953.20.camel@localhost> In-Reply-To: <1121342280.10953.20.camel@localhost> 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 Content-Type: multipart/signed; boundary="nextPart1361497.C9p7lz4KrX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507142137.31455.jstubbs@gentoo.org> X-Archives-Salt: f385d807-b3fe-4037-be79-98fe902611b5 X-Archives-Hash: 2aae3ea7689e134f2e03dc4761b71b80 --nextPart1361497.C9p7lz4KrX Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 14 July 2005 20:58, Ned Ludd wrote: > echo "being that no portage dev in his/her right mind would ever" > echo "allow interactive code in an ebuild we use bashrc tricks" Actually, I promote interactive code in pkg_config(). There's no standard a= s=20 to what it will do, so there's no real solution other than telling the user= =20 and then waiting for confirmation. As for the other phases, they should of course be 100% non-interactive.=20 However, a pkg_presetup() or some such couldn't go astray - as long as it w= as=20 purely optional. It would be much better to wait until portage supports=20 arbitrary per-package env for it to be of any real use though. Regards, Jason Stubbs --nextPart1361497.C9p7lz4KrX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBC1lyLxvWNPsk/ZP4RAkvOAKCm8iRbiyvT6sZQJqynzZsWA8tXtwCdEi4D VBpj2EYTA7dMjmpuCnQkpxk= =o4Et -----END PGP SIGNATURE----- --nextPart1361497.C9p7lz4KrX-- -- gentoo-dev@gentoo.org mailing list