public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] redoing djbdns
@ 2002-02-23 17:59 Thilo Bangert
  2002-02-23 19:26 ` Gontran
  0 siblings, 1 reply; 5+ messages in thread
From: Thilo Bangert @ 2002-02-23 17:59 UTC (permalink / raw
  To: gentoo-dev

Hi all,

i am thinking of redoing the djbdns ebuild. i propose the following
scheme:
because in djbdns the resolver and the nameserver are seperate, i plan
on making three seperate ebuilds, one for the nameserver (tinydns), one
for an internal resolver/cache (dnscache) and one for an external
resolver/cache (dnscachex).

what do you think?
also, would this be a violation of djb's "license"?

tia
Thilo



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] redoing djbdns
  2002-02-23 17:59 [gentoo-dev] redoing djbdns Thilo Bangert
@ 2002-02-23 19:26 ` Gontran
  2002-02-23 20:45   ` Thilo Bangert
  0 siblings, 1 reply; 5+ messages in thread
From: Gontran @ 2002-02-23 19:26 UTC (permalink / raw
  To: gentoo-dev

* Thilo Bangert (thilo.bangert@gmx.net) wrote:
> Hi all,
> 
> i am thinking of redoing the djbdns ebuild. i propose the following
> scheme:
> because in djbdns the resolver and the nameserver are seperate, i plan
> on making three seperate ebuilds, one for the nameserver (tinydns), one
> for an internal resolver/cache (dnscache) and one for an external
> resolver/cache (dnscachex).

Hi.  I've been reworking the djbdns ebuild too -- though it's not quite done.
I was thinking of reworking the setup function in the init script to
be generic and reasonably interactive such that one could run
/etc/init.d/djbdns setup 
and have options to setup local, or external.  It makes sense to have
them be one ebuild I think, since only the configuration is different, not
the binaries.

I agree that tinydns should be seperate.

> 
> what do you think?
> also, would this be a violation of djb's "license"?

Yeah, the licenseing issue is there, but I don't believe there's an issue
here.

Shall we work on this in tandem?


Gontran


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] redoing djbdns
  2002-02-23 19:26 ` Gontran
@ 2002-02-23 20:45   ` Thilo Bangert
  2002-02-24  0:11     ` Gontran
  0 siblings, 1 reply; 5+ messages in thread
From: Thilo Bangert @ 2002-02-23 20:45 UTC (permalink / raw
  To: gentoo-dev

On Saturday, 23. February 2002 20:26, you wrote:
> * Thilo Bangert (thilo.bangert@gmx.net) wrote:
> > Hi all,
> >
> > i am thinking of redoing the djbdns ebuild. i propose the
> > following scheme:
> > because in djbdns the resolver and the nameserver are seperate, i
> > plan on making three seperate ebuilds, one for the nameserver
> > (tinydns), one for an internal resolver/cache (dnscache) and one
> > for an external resolver/cache (dnscachex).
>
> Hi.  I've been reworking the djbdns ebuild too -- though it's not
> quite done. I was thinking of reworking the setup function in the
> init script to be generic and reasonably interactive such that one
> could run /etc/init.d/djbdns setup
> and have options to setup local, or external.  It makes sense to
> have them be one ebuild I think, since only the configuration is
> different, not the binaries.

this sounds good, i just don't know what the gentoo postition is on 
having a setup routine in the startup script... 

does the rc-update script support setup routines? so that if you run
% rc-update add dnscache default
for the first time, the setup routine is started...

IMHO this would be the right thing to do

also i would like to extent the startupscript for svscan to include 
the readproctitle call... haven't looked into this yet though

>
> I agree that tinydns should be seperate.
>
> > what do you think?
> > also, would this be a violation of djb's "license"?
>
> Yeah, the licenseing issue is there, but I don't believe there's an
> issue here.
>

i am not sure - i think as soon as somebody makes binary packages 
from these ebuilds it would be a license violation - but i am by no 
means an expert on this...


> Shall we work on this in tandem?
>

yes - that'd be great

>
> Gontran

Thilo




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] redoing djbdns
  2002-02-23 20:45   ` Thilo Bangert
@ 2002-02-24  0:11     ` Gontran
  2002-02-25  2:18       ` Patrick Flaherty
  0 siblings, 1 reply; 5+ messages in thread
From: Gontran @ 2002-02-24  0:11 UTC (permalink / raw
  To: gentoo-dev

* Thilo Bangert (thilo.bangert@gmx.net) wrote:
> > quite done. I was thinking of reworking the setup function in the
> > init script to be generic and reasonably interactive such that one
> > could run /etc/init.d/djbdns setup
> 
> this sounds good, i just don't know what the gentoo postition is on 
> having a setup routine in the startup script... 

This was how the djbdns init script used to work for rc4, but as you say,
that was some time ago.  Turns out /sbin/runscript has restrictions, so
maybe we could have it be a bash script in the files dir.

Actually, this could solve the problem of the different configurtaion
issues for the wide functionality provided by djbdns.  Have a different
setup script for each type of service!  That would be smooth.


> does the rc-update script support setup routines? so that if you run
> % rc-update add dnscache default
> for the first time, the setup routine is started...
> 
> IMHO this would be the right thing to do

That would be seamless, however, I'm not interested in hacking rc-update
or depscan.sh right now. :).  We could, alternatively, put a notification
in the ebuild instructing the user to run 
/usr/portage/net-misc/djbdns/files/dnscache-setup, or install it somewhere.
That way automatic configuration is strictly optional.

> i am not sure - i think as soon as somebody makes binary packages 
> from these ebuilds it would be a license violation - but i am by no 
 
I believe that's the case.

> > Shall we work on this in tandem?
> 
> yes - that'd be great

OK!  I'll attaching to you privately what I've got so far.


Gontran


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] redoing djbdns
  2002-02-24  0:11     ` Gontran
@ 2002-02-25  2:18       ` Patrick Flaherty
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Flaherty @ 2002-02-25  2:18 UTC (permalink / raw
  To: gentoo-dev

> > i am not sure - i think as soon as somebody makes binary packages 
> > from these ebuilds it would be a license violation - but i am by no 

Djb's site for distributers (yes this includes ports is
http://cr.yp.to/distributors.html).

Basicaly says if your going to be changing layout or filenames (and i
beleive patching also, but i'm not sure) you are violating the license
and should email him for permission.

-pack



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-02-25  2:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-23 17:59 [gentoo-dev] redoing djbdns Thilo Bangert
2002-02-23 19:26 ` Gontran
2002-02-23 20:45   ` Thilo Bangert
2002-02-24  0:11     ` Gontran
2002-02-25  2:18       ` Patrick Flaherty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox