* [gentoo-dev] User question during ebuild
@ 2002-03-14 15:33 Aaron Held
2002-03-14 19:43 ` Thilo Bangert
0 siblings, 1 reply; 6+ messages in thread
From: Aaron Held @ 2002-03-14 15:33 UTC (permalink / raw
To: gentoo-dev
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.
Is there a framework for this type of activity?
Thanks,
-Aaron Held
=================================================================
==
As Isaac Newton would say now:
If I see further than others, it is because I stand on
the shoulders of giants too dumb to patent their
discoveries.
(Gregory Palast, http://www.observer.co.uk/ )
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] User question during ebuild
2002-03-14 15:33 [gentoo-dev] User question during ebuild Aaron Held
@ 2002-03-14 19:43 ` Thilo Bangert
2002-03-14 20:27 ` Grant Goodyear
2002-03-15 3:07 ` Aaron Held
0 siblings, 2 replies; 6+ messages in thread
From: Thilo Bangert @ 2002-03-14 19:43 UTC (permalink / raw
To: gentoo-dev
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] User question during ebuild
2002-03-14 19:43 ` Thilo Bangert
@ 2002-03-14 20:27 ` Grant Goodyear
2002-03-14 21:11 ` Thilo Bangert
2002-03-14 22:01 ` Thilo Bangert
2002-03-15 3:07 ` Aaron Held
1 sibling, 2 replies; 6+ messages in thread
From: Grant Goodyear @ 2002-03-14 20:27 UTC (permalink / raw
To: gentoo-dev
> 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/ )
Incidentally, the current djbdns ebuild works just fine. I have
it working on my machine here, and all I did was follow the steps
on the djbdns web site.
-g2boojum-
PS. I can't read your djbdns-1.0.5-r2.ebuild -- The requested URL
/portage/djbdns-1.05-r2.ebuild was not found on this server.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] User question during ebuild
2002-03-14 20:27 ` Grant Goodyear
@ 2002-03-14 21:11 ` Thilo Bangert
2002-03-14 22:01 ` Thilo Bangert
1 sibling, 0 replies; 6+ messages in thread
From: Thilo Bangert @ 2002-03-14 21:11 UTC (permalink / raw
To: gentoo-dev
On Thursday, 14. March 2002 21:27, you wrote:
> > 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/ )
>
> Incidentally, the current djbdns ebuild works just fine. I have
> it working on my machine here, and all I did was follow the steps
> on the djbdns web site.
yepp, i know - i am using it myself :-)
all we did, was to add a tinydns-setup and dnscache-setup script for
users not knowing djbdns that well
>
> -g2boojum-
>
> PS. I can't read your djbdns-1.0.5-r2.ebuild -- The requested URL
> /portage/djbdns-1.05-r2.ebuild was not found on this server.
http://fizzelpark.com/portage/?dirpath=net-misc/djbdns/
this would also be bug 1014
--
regards
Thilo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] User question during ebuild
2002-03-14 20:27 ` Grant Goodyear
2002-03-14 21:11 ` Thilo Bangert
@ 2002-03-14 22:01 ` Thilo Bangert
1 sibling, 0 replies; 6+ messages in thread
From: Thilo Bangert @ 2002-03-14 22:01 UTC (permalink / raw
To: gentoo-dev
> PS. I can't read your djbdns-1.0.5-r2.ebuild -- The requested URL
> /portage/djbdns-1.05-r2.ebuild was not found on this server.
man, must i have been tired yesterday - it should be working now
sorry
--
regards
Thilo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] User question during ebuild
2002-03-14 19:43 ` Thilo Bangert
2002-03-14 20:27 ` Grant Goodyear
@ 2002-03-15 3:07 ` Aaron Held
1 sibling, 0 replies; 6+ messages in thread
From: Aaron Held @ 2002-03-15 3:07 UTC (permalink / raw
To: gentoo-dev
> this is a dificult part - i feel. usually ebuilds are just
ebuilds -
> ie. the install software, they don't configure something.
I can understand that, specially if you do a make world type
action, but when I
setup the databae (postgres) and my app I need to create some
root user login
info that must be supplied by the end user. I'd hate to code that
into the ebuild.
Another idea is to test for it the first time the app runs and
then prompt at that
point.
> > Is there a framework for this type of activity?
>
> well, there is bash :-)
I thought I saw something about a port of the RedHat newt in CVS
>
> >
> > Thanks,
> > -Aaron Held
>
> --
> regards
> Thilo
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-03-15 3:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-14 15:33 [gentoo-dev] User question during ebuild Aaron Held
2002-03-14 19:43 ` Thilo Bangert
2002-03-14 20:27 ` Grant Goodyear
2002-03-14 21:11 ` Thilo Bangert
2002-03-14 22:01 ` Thilo Bangert
2002-03-15 3:07 ` Aaron Held
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox