Hi Gerrit, intrigeri wrote (Fri, 18 Jun 2010): > The postinst script keeps telling me the IP address I entered is > invalid, because the following line is buggy:
> GOOD=$(netstat -ie |grep -F " inet addr:$IP " || :) > To fix it, I had to replace "addr" with "adr". I've prepared a NMU that fixes this bug in the djbdns package. This NMU is versioned as 1:1.05-9~exp0.1 and targeted at experimental since the bug it fixes only affects this distribution; please see attached nmudiff. I intend to ask my AM (Cc'd) to upload it to DELAYED/10 at the end of the month. Feel free to tell me if you think we should do otherwise. Thank you for maintaining djbdns in Debian. Bye, -- intrigeri <intrig...@boum.org> | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc | The impossible just takes a bit longer.
diff -u djbdns-1.05/debian/changelog djbdns-1.05/debian/changelog --- djbdns-1.05/debian/changelog +++ djbdns-1.05/debian/changelog @@ -1,3 +1,10 @@ +djbdns (1:1.05-9~exp0.1) experimental; urgency=low + + * Non-maintainer upload. + * debian/tinydns-run.postinst: fix typo in IP check (closes: #586350). + + -- intrigeri <intrigeri+deb...@boum.org> Sat, 15 Oct 2011 23:42:20 +0200 + djbdns (1:1.05-9~exp0) experimental; urgency=low * tinydns-run/*, debian/tinydns-run.*, debian/po/: new binary package diff -u djbdns-1.05/debian/tinydns-run.postinst djbdns-1.05/debian/tinydns-run.postinst --- djbdns-1.05/debian/tinydns-run.postinst +++ djbdns-1.05/debian/tinydns-run.postinst @@ -24,7 +24,7 @@ test -z "$IP" || test "$IP" != "$(head -n1 /etc/sv/tinydns/env/IP)" || break - GOOD=$(netstat -ie |grep -F " inet addr:$IP " || :) + GOOD=$(netstat -ie |grep -F " inet adr:$IP " || :) USED=$(netstat -ln |grep -F " $IP:53 " || :) case "$IP,$GOOD,$USED" in