diff options
author | tron <tron@pkgsrc.org> | 2004-07-07 12:38:24 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-07-07 12:38:24 +0000 |
commit | 22fa604f5e2ce086070bc7338bf13a8a8cae9ae1 (patch) | |
tree | 0d87291343e5c1747d6ed5f21c5453e374946549 | |
parent | 0488c3ae66020c94980bd2d17c0ce808c9717440 (diff) | |
download | pkgsrc-22fa604f5e2ce086070bc7338bf13a8a8cae9ae1.tar.gz |
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.
-rw-r--r-- | news/inn/distinfo | 3 | ||||
-rw-r--r-- | news/inn/patches/patch-af | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/news/inn/distinfo b/news/inn/distinfo index b73b2dce498..659d4c365e1 100644 --- a/news/inn/distinfo +++ b/news/inn/distinfo @@ -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-ab) = c3360248137c07c0e1750860de79aa1f372a6352 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 --git a/news/inn/patches/patch-af b/news/inn/patches/patch-af new file mode 100644 index 00000000000..8e93b903740 --- /dev/null +++ b/news/inn/patches/patch-af @@ -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 + |