Summary: | pdnsd patch upgrade. Added use flags ipv6 and debug | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Black (RETIRED) <dragonheart> |
Component: | New packages | Assignee: | Daniel Black (RETIRED) <dragonheart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | deviantgeek, net-dialup |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.phys.uu.nl/%7Erombouts/pdnsd.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
adds "-s" status control to the startup. files/pdnsd.rc6
changelog new ebuild fixes permission error - init script in ipv6 case another small init script generation fault with ipv6 pdnsd-1.1.8_p8.ebuild patch against new ebuild ebuild patch |
Description
Daniel Black (RETIRED)
![]() 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
Created attachment 11493 [details]
changelog
Created attachment 11494 [details]
new ebuild
Created attachment 11495 [details, diff]
fixes permission error - init script in ipv6 case
Late bug find sorry. 2 lines changed.
Created attachment 11503 [details, diff]
another small init script generation fault with ipv6
I'm not convinced this is caching the results to disk. Performing further testing here. 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. 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. par8 come out a while ago the caching problem is also mentioned on Roumbouts page. Can't reproduce the problem though... the caching problem was with an earlier verion of the pars that the attached ebuild uses. The nonpatched version works fine. Created attachment 19341 [details]
pdnsd-1.1.8_p8.ebuild
ebuild for for par8
Created attachment 19353 [details, diff]
patch against new ebuild
opps forgot a semicolon when patching a sample file.
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?
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 Is any dev on this email alias? 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). 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. 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. 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 |