Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20450 - pdnsd patch upgrade. Added use flags ipv6 and debug
Summary: pdnsd patch upgrade. Added use flags ipv6 and debug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL: http://www.phys.uu.nl/%7Erombouts/pdn...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-05-04 21:19 UTC by Daniel Black (RETIRED)
Modified: 2004-02-02 09:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adds "-s" status control to the startup. files/pdnsd.rc6 (pdnsd.rc6,762 bytes, text/plain)
2003-05-04 21:24 UTC, Daniel Black (RETIRED)
Details
changelog (ChangeLog,1.99 KB, text/plain)
2003-05-04 21:32 UTC, Daniel Black (RETIRED)
Details
new ebuild (pdnsd-1.1.7a-r1.ebuild,2.11 KB, text/x-ebuild)
2003-05-04 21:34 UTC, Daniel Black (RETIRED)
Details
fixes permission error - init script in ipv6 case (pdnsd-1.1.7a-r1a.patch,164 bytes, patch)
2003-05-04 22:06 UTC, Daniel Black (RETIRED)
Details | Diff
another small init script generation fault with ipv6 (pdnsd-1.1.7a-r2.patch,303 bytes, patch)
2003-05-04 23:16 UTC, Daniel Black (RETIRED)
Details | Diff
pdnsd-1.1.8_p8.ebuild (pdnsd-1.1.8_p8.ebuild,2.01 KB, text/x-ebuild)
2003-10-16 20:07 UTC, Daniel Black (RETIRED)
Details
patch against new ebuild (ebuild.patch,550 bytes, patch)
2003-10-17 03:41 UTC, Daniel Black (RETIRED)
Details | Diff
ebuild patch (ebuild.patch,1.40 KB, patch)
2003-10-18 18:20 UTC, Daniel Black (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Black (RETIRED) gentoo-dev 2003-05-04 21:19:25 UTC
This new ebuild encorportates fixes and enhancements listed in the above URL. This 
hasn't been fully tested to connect to and ipv6 DNS server however it seems to be 
sending the write messages. It binds to ipv6 address and handles ipv4 requests at the 
same time. I've made this ebuild suggest to the user adding a few lines to 
/etc/ppp/ip-{up|down}.  Unfortuately this is overwritten by the default 
/etc/init.d/net.ppp0 with AUTOCFGFILES = "yes".  I suggest something be added to 
this script to call a /etc/ppp/iplocal-{up|down} (or scripts in /etc/ppp/ip-{up|down}.d 
directory) if it exists. There are a lot of user customisable things like firewalls, offline 
fetching, gentoo stats update for example that may wish to be performed upon dialup 
started. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2003-05-04 21:24:38 UTC
Created attachment 11492 [details]
adds "-s" status control to the startup. files/pdnsd.rc6

Modification to the init script that allows the proxy dns server to be
controlled at runtime throught filesystems socket /var/lib/pdnsd/pdnsd.status
Comment 2 Daniel Black (RETIRED) gentoo-dev 2003-05-04 21:32:25 UTC
Created attachment 11493 [details]
changelog
Comment 3 Daniel Black (RETIRED) gentoo-dev 2003-05-04 21:34:10 UTC
Created attachment 11494 [details]
new ebuild
Comment 4 Daniel Black (RETIRED) gentoo-dev 2003-05-04 22:06:31 UTC
Created attachment 11495 [details, diff]
fixes permission error - init script in ipv6 case

Late bug find sorry. 2 lines changed.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2003-05-04 23:16:50 UTC
Created attachment 11503 [details, diff]
another small init script generation fault with ipv6
Comment 6 Daniel Black (RETIRED) gentoo-dev 2003-05-25 02:30:51 UTC
I'm not convinced this is caching the results to disk. Performing further testing here. 
Comment 7 Heiko Helmle 2003-09-14 02:50:53 UTC
The original author stopped maintaining pdnsd, but Paul Rombouts (see URL) seems to have taken over.

Maybe an ebuild for version par5 or par6 should be taken into portage, since it fixes a memory leak.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2003-09-14 22:01:41 UTC
and theres a note on the website explaining the disc caching fault that I made 
in comment 6. Yes I've been slack and stopped testing sorry - may get back to 
it just doing a few other things at the moment. 
Comment 9 Heiko Helmle 2003-10-16 01:20:20 UTC
par8 come out a while ago

the caching problem is also mentioned on Roumbouts page.

Can't reproduce the problem though...
Comment 10 Daniel Black (RETIRED) gentoo-dev 2003-10-16 20:05:33 UTC
the caching problem was with an earlier verion of the pars that the attached
ebuild uses. The nonpatched version works fine.
Comment 11 Daniel Black (RETIRED) gentoo-dev 2003-10-16 20:07:20 UTC
Created attachment 19341 [details]
pdnsd-1.1.8_p8.ebuild

ebuild for  for par8
Comment 12 Daniel Black (RETIRED) gentoo-dev 2003-10-17 03:41:56 UTC
Created attachment 19353 [details, diff]
patch against new ebuild

opps forgot a semicolon when patching a sample file.
Comment 13 Daniel Black (RETIRED) gentoo-dev 2003-10-18 18:20:28 UTC
Created attachment 19441 [details, diff]
ebuild patch

I emailed Paul Rombouts about the using --with-random-device and he has sinced
fixed this. The attached ebuild patch makes use of this to improve
randomization.

I've noticed this ebuild uses all available IUSE flags regardless of what
is
specified. I think I've done it correct but it doesn't work for me.

I've used an "isdn" USE flag. This has not been used before although it could
be used in the packages net-dialup/capi4k-utils and possibly some others.
Maybe
a candidate for /usr/portage/profiles/use.local.desc?
Comment 14 Daniel Black (RETIRED) gentoo-dev 2003-12-17 07:33:29 UTC
Ok I was doing something silly when I was testing this (using env IUSE=... ebuild....". The USE flags work fine.

Can someone from dialup suggest how to make a script that makes this start after the interface is up? Something like /etc/init.d/wwwoffle-online? Should this account for dial-on-demand networks? Should this ebuild add a commented line to /etc/ppp/ip-up.local? I accept the comments at the end of the ebuild probably need to be rewritten but what is the best course of action to take?

Paul since your listed here - another URL for your home page - http://packages.gentoo.org/packages/?category=net-dns;name=pdnsd
Comment 15 Daniel Black (RETIRED) gentoo-dev 2004-01-29 15:59:37 UTC
Is any dev on this email alias?
Comment 16 Brian Harring (RETIRED) gentoo-dev 2004-01-29 21:17:47 UTC
Err, aren't you a dev mr. dragonheart? :)
Lanius, myself, and brandy are mailed via net-dialup@gentoo.org iirc.  Feel free to add yourself, I'm only familiar w/ some of the net-dialup packages (this package is not one of them, yet).
Comment 17 Daniel Black (RETIRED) gentoo-dev 2004-01-31 18:21:23 UTC
Taking ownership. I'll make an init.d script that puts pdnsd into an online mode. Will remove the debug use flag. If this isn't committed within 2 weeks and someone cares - bug me. Any other suggestion just add them here.
Comment 18 Daniel Black (RETIRED) gentoo-dev 2004-02-02 09:06:02 UTC
pdnsd-1.1.9 commited to cvs. "use isdn" unchecked. ipv6 appeared to be sending the correct messages. I didn't have a ipv6 server running though. Report any bugs to me please and I'll see what I can do.
Comment 19 Daniel Black (RETIRED) gentoo-dev 2004-02-02 09:15:52 UTC
According to debain:

http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=pdnsd

This should be able to be supported on alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc platforms