pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/news/inn Fix configuration parsing problem in "inndsta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da938957d885
branches:  trunk
changeset: 477706:da938957d885
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Jul 07 12:38:24 2004 +0000

description:
Fix configuration parsing problem in "inndstart" which caused it to
ignore the "bindaddress" keyword in "inn.conf". Fix based on a patch
supplied by Bob in PR pkg/26164.

diffstat:

 news/inn/distinfo         |   3 ++-
 news/inn/patches/patch-af |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r fea0633c4630 -r da938957d885 news/inn/distinfo
--- a/news/inn/distinfo Wed Jul 07 12:03:29 2004 +0000
+++ b/news/inn/distinfo Wed Jul 07 12:38:24 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2004/06/02 12:25:35 tron Exp $
+$NetBSD: distinfo,v 1.11 2004/07/07 12:38:24 tron Exp $
 
 SHA1 (inn-2.4.1.tar.gz) = f36267eca56a643a37ed6c2903cd6fbb71e407f5
 Size (inn-2.4.1.tar.gz) = 1849845 bytes
@@ -7,6 +7,7 @@
 SHA1 (patch-ac) = dafbd4918eb771cf0bb49b9d2503125812fe6852
 SHA1 (patch-ad) = c782b0510c460a8942bb272e18e6d8d78901d4c9
 SHA1 (patch-ae) = 1177f68a567cbbf4b131548c8a1a595e3d3f29b8
+SHA1 (patch-af) = 0cfdb3c63f782dfe7120a1ae85fe86b8e0582639
 SHA1 (patch-ag) = d91e1710a12d6bf39564f550947f4705b0ffd585
 SHA1 (patch-ah) = 719ed7d26c23ce5170275995e4bd9e5a337199b9
 SHA1 (patch-ai) = 30caac4e6b269dc7cfac507ca1f8f0fe5ac11329
diff -r fea0633c4630 -r da938957d885 news/inn/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/inn/patches/patch-af Wed Jul 07 12:38:24 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-af,v 1.7 2004/07/07 12:38:25 tron Exp $
+
+--- innd/inndstart.c.orig      2004-01-07 23:47:19.000000000 +0100
++++ innd/inndstart.c   2004-07-07 14:25:19.000000000 +0200
+@@ -136,6 +136,7 @@
+     if (p && strcmp(p, "all") != 0 && strcmp(p, "any") != 0) {
+         if (!inet_aton(p, &address))
+             die("invalid bindaddress in inn.conf (%s)", p);
++      addr_specified = true;
+     }
+ #ifdef HAVE_INET6
+     address6 = in6addr_any;
+@@ -143,6 +144,7 @@
+     if (p && strcmp(p, "all") != 0 && strcmp(p, "any") != 0) {
+       if (inet_pton(AF_INET6, p, &address6) < 1)
+           die("invalid bindaddress6 in inn.conf (%s)", p);
++      addr_specified = true;
+     }
+ #endif
+ 



Home | Main Index | Thread Index | Old Index