From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DMARC_QUAR,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from yatze.fizzelpark.com (yatze.fizzelpark.com [195.94.81.200]) by chiba.3jane.net (Postfix) with SMTP id F3C522005FF7 for ; Thu, 14 Mar 2002 14:14:56 -0600 (CST) Received: (qmail 3534 invoked by uid 507); 14 Mar 2002 20:10:08 -0000 Received: from thilo.bangert@gmx.net by yatze by uid 504 with qmail-scanner-1.10 (sophie: 2.7/3.52. . Clear:0. Processed in 2.423907 secs); 14 Mar 2002 20:10:08 -0000 Received: from unknown (HELO there) (212.88.65.225) by mail.fizzelpark.com (195.94.81.201) with SMTP; 14 Mar 2002 20:10:06 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Thilo Bangert To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] User question during ebuild Date: Thu, 14 Mar 2002 20:43:58 +0100 X-Mailer: KMail [version 1.3.2] References: <001201c1cb6d$8d670fa0$4b00a8c0@metrony.com> In-Reply-To: <001201c1cb6d$8d670fa0$4b00a8c0@metrony.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020314201456.F3C522005FF7@chiba.3jane.net> Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 4e7b3c9d-5d68-43b6-8550-120c335ab8aa X-Archives-Hash: 044a4362067f92f09ba8524664da9fbb Hi, On Thursday, 14. March 2002 16:33, you wrote: > I've been playing around with Gentoo on and off since rc3 and I > have a need for it now. I'm building a appliance style database > server for a client and I want to use ebuilds to install and > maintain my custom application as well as some patched utilities. > During the install I'd like to ask the user some questions and > take action based on the answer. > this is a dificult part - i feel. usually ebuilds are just ebuilds - ie. the install software, they don't configure something. this is however in a few cases done anyway (the qmail ebuild comes to my mind - which pretty much sets up the whole thing) - but even though the ebuild does configuration, it does not ask the user any questions. IMHO ebuilds should not ask questions but run non-interactivly. when gontran and me rebuild the djbdns ebuild, we choose to write some setup scripts which then ask the user all the questions needed to get one going. (BTW. the new djbdns ebuild is not in portage yet - checkout http://fizzelpark.com/portage/ ) this is very much MHO! > Is there a framework for this type of activity? well, there is bash :-) > > Thanks, > -Aaron Held -- regards Thilo