+#ifdef NEED_GETADDRINFO
+#include "../main/getaddrinfo.c"
+#endif
---- apache_1.3.41/src/support/logresolve.c 2006-07-12 11:16:05.000000000 +0300
-+++ apache_1.3.41-ipv6/src/support/logresolve.c 2009-02-16 19:29:36.643502311 +0200
+--- apache_1.3.42/src/support/logresolve.c~ 2010-02-08 08:03:29.000000000 +0200
++++ apache_1.3.42/src/support/logresolve.c 2008-10-06 17:29:12.000000000 +0300
@@ -70,7 +70,9 @@
#endif /* BEOS */
#endif /* !MPE && !WIN32*/
- hostdata = gethostbyaddr((const char *) &ipnum, sizeof(struct in_addr),
- AF_INET);
-- if (hostdata == NULL) {
+- if (hostdata == NULL || !hostdata->h_name || !*hostdata->h_name) {
- if (h_errno > MAX_ERR)
- errors[UNKNOWN_ERR]++;
- else
# TODO
# - add -D_FILE_OFFSET_BITS=64 somewhere to get >2GB logfiles support
+# - 1.3.42 is last formal release, patches _may_ be available in the fugture in
+# http://www.apache.org/dist/httpd/patches/
#
# Conditional build:
%bcond_with rewrite_ldap # enable ldap map support for mod_rewrite (alpha)
Summary(uk.UTF-8): Найпопулярніший Web-Server
Summary(zh_CN.UTF-8): Internet 上应用最广泛的 Web 服务程序。
Name: apache1
-Version: 1.3.41
-Release: 24
+Version: 1.3.42
+Release: 1
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/apache_%{version}.tar.gz
-# Source0-md5: f7f00b635243f03a787ca9f4d4c85651
+# Source0-md5: b76695ec68f9f8b512c9415fc69c1019
Source1: %{name}.init
Source2: %{name}.logrotate
Source3: %{name}.sysconfig