---- apache_1.3.22/src/support/apxs.pl.orig Fri Dec 7 20:32:18 2001
-+++ apache_1.3.22/src/support/apxs.pl Fri Dec 7 21:47:25 2001
-@@ -111,6 +111,7 @@
+diff -urNp -x '*.orig' apache_1.3.42.org/src/support/apxs.pl apache_1.3.42/src/support/apxs.pl
+--- apache_1.3.42.org/src/support/apxs.pl 2023-02-02 22:42:09.429834914 +0100
++++ apache_1.3.42/src/support/apxs.pl 2023-02-02 22:42:09.649834915 +0100
+@@ -68,6 +68,7 @@ my $opt_i = 0;
my $opt_a = 0;
my $opt_A = 0;
my $opt_q = 0;
+my $opt_v = 0;
- # this subroutine is derived from Perl's getopts.pl with the enhancement of
- # the "+" metacharater at the format string to allow a list to be build by
-@@ -190,7 +191,7 @@
+ # default for DSO file extension
+ my $dso_ext = "so";
+@@ -153,7 +154,7 @@ sub usage {
# option handling
my $rc;
&usage if ($rc == 0);
&usage if ($#ARGV == -1 and not $opt_g);
&usage if (not $opt_q and not ($opt_g and $opt_n) and not $opt_i and not $opt_c and not $opt_e);
-@@ -247,7 +248,9 @@
+@@ -210,7 +211,9 @@ sub execute_cmds {
my ($cmd, $rc);
foreach $cmd (@cmds) {
---- apache_1.3.11/src/support/apxs.pl.apxs Thu Dec 16 17:10:30 1999
-+++ apache_1.3.11/src/support/apxs.pl Tue Jan 25 01:19:16 2000
+diff -urNp -x '*.orig' apache_1.3.42.org/src/support/apxs.pl apache_1.3.42/src/support/apxs.pl
+--- apache_1.3.42.org/src/support/apxs.pl 2006-07-12 10:16:05.000000000 +0200
++++ apache_1.3.42/src/support/apxs.pl 2023-02-02 22:41:54.629834912 +0100
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
#
- # Copyright 1999-2004 The Apache Software Foundation
- #
-@@ -220,15 +220,14 @@
- ## Initial DSO support check
+ # Licensed to the Apache Software Foundation (ASF) under one or more
+ # contributor license agreements. See the NOTICE file distributed with
+@@ -188,15 +188,14 @@ if (@opt_S) {
##
+ if ($^O ne "MSWin32") {
if (not -x "$CFG_SBINDIR/$CFG_TARGET") {
- print STDERR "apxs:Error: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
- exit(1);
+ print STDERR "apxs:Warning: binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
+ print STDERR "apxs:Warning: Continuing anyway...\n"; }
}
+ }
- ##
---- build-tree-apache/apache_1.3.34/src/modules/standard/mod_autoindex.c Wed Mar 13 22:05:33 2002
-+++ build-tree-apache/apache_1.3.34/src/modules/standard/mod_autoindex.c Wed Apr 24 17:17:05 2002
-@@ -101,6 +101,7 @@
+diff -urNp -x '*.orig' apache_1.3.42.org/src/modules/standard/mod_autoindex.c apache_1.3.42/src/modules/standard/mod_autoindex.c
+--- apache_1.3.42.org/src/modules/standard/mod_autoindex.c 2023-02-02 22:43:12.489834914 +0100
++++ apache_1.3.42/src/modules/standard/mod_autoindex.c 2023-02-02 22:43:12.716501580 +0100
+@@ -59,6 +59,7 @@ module MODULE_VAR_EXPORT autoindex_modul
#define TRACK_MODIFIED 1024
#define SORT_NOCASE 2048
#define STUDLY_INDEXING 4096
#define K_PAD 1
#define K_NOPAD 0
-@@ -463,6 +464,9 @@
+@@ -421,6 +422,9 @@ static const char *add_opts(cmd_parms *c
else if (!strcasecmp(w, "IgnoreCase")) {
- option = SORT_NOCASE;
+ option = SORT_NOCASE;
}
+ else if (!strcasecmp(w, "Indexes")) {
+ option = INDEXOPT_INDEXES;
else if (!strcasecmp(w, "None")) {
if (action != '\0') {
return "Cannot combine '+' or '-' with 'None' keyword";
-@@ -2012,7 +2016,7 @@
+@@ -1970,7 +1974,7 @@ static int index_directory(request_rec *
static int handle_autoindex(request_rec *r)
{
autoindex_config_rec *d;
d = (autoindex_config_rec *) ap_get_module_config(r->per_dir_config,
&autoindex_module);
-@@ -2023,8 +2027,12 @@
+@@ -1981,8 +1985,12 @@ static int handle_autoindex(request_rec
}
/* OK, nothing easy. Trot out the heavy artillery... */
-diff -Naurd build-tree.orig/apache_1.3.34/configure build-tree/apache_1.3.34/configure
---- build-tree.orig/apache_1.3.34/configure 2004-02-20 23:40:50.000000000 +0100
-+++ build-tree/apache_1.3.34/configure 2004-05-15 00:06:13.000000000 +0200
+diff -urNp -x '*.orig' apache_1.3.42.org/configure apache_1.3.42/configure
+--- apache_1.3.42.org/configure 2023-02-02 22:43:53.016501583 +0100
++++ apache_1.3.42/configure 2023-02-02 22:43:53.329834916 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
- # Copyright 1999-2004 The Apache Software Foundation
- #
-diff -Naurd build-tree.orig/apache_1.3.34/src/Configure build-tree/apache_1.3.34/src/Configure
---- build-tree.orig/apache_1.3.34/src/Configure 2004-04-09 19:01:50.000000000 +0200
-+++ build-tree/apache_1.3.34/src/Configure 2004-05-15 00:06:57.000000000 +0200
+ # Licensed to the Apache Software Foundation (ASF) under one or more
+ # contributor license agreements. See the NOTICE file distributed with
+diff -urNp -x '*.orig' apache_1.3.42.org/src/Configure apache_1.3.42/src/Configure
+--- apache_1.3.42.org/src/Configure 2023-02-02 22:43:53.066501583 +0100
++++ apache_1.3.42/src/Configure 2023-02-02 22:43:53.329834916 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
- # Copyright 1999-2004 The Apache Software Foundation
- #
-@@ -208,7 +208,7 @@
+ # Licensed to the Apache Software Foundation (ASF) under one or more
+ # contributor license agreements. See the NOTICE file distributed with
+@@ -210,7 +210,7 @@ fi
##
DBM_LIB="-ldbm"
DB_LIB="-ldb"
SUBTARGET="target_static"
SHLIB_SUFFIX_NAME=""
SHLIB_SUFFIX_LIST=""
-diff -Naurd build-tree.orig/apache_1.3.34/src/helpers/TestCompile build-tree/apache_1.3.34/src/helpers/TestCompile
---- build-tree.orig/apache_1.3.34/src/helpers/TestCompile 2004-02-16 23:23:09.000000000 +0100
-+++ build-tree/apache_1.3.34/src/helpers/TestCompile 2004-05-15 00:07:11.000000000 +0200
+diff -urNp -x '*.orig' apache_1.3.42.org/src/helpers/TestCompile apache_1.3.42/src/helpers/TestCompile
+--- apache_1.3.42.org/src/helpers/TestCompile 2006-07-12 10:16:05.000000000 +0200
++++ apache_1.3.42/src/helpers/TestCompile 2023-02-02 22:43:53.333168250 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
- # Copyright 1999-2004 The Apache Software Foundation
- #
+ # Licensed to the Apache Software Foundation (ASF) under one or more
+ # contributor license agreements. See the NOTICE file distributed with
# instead of the regular apache-1.3/aplinger.diff.
#
---- apache_1.3.39/src/main/Makefile.tmpl.org Sat Dec 2 16:09:32 2000
-+++ apache_1.3.39/src/main/Makefile.tmpl Sat Dec 2 16:23:34 2000
-@@ -5,13 +5,13 @@
+diff -urNp -x '*.orig' apache_1.3.42.org/src/main/Makefile.tmpl apache_1.3.42/src/main/Makefile.tmpl
+--- apache_1.3.42.org/src/main/Makefile.tmpl 2004-11-24 20:10:19.000000000 +0100
++++ apache_1.3.42/src/main/Makefile.tmpl 2023-02-02 22:44:19.209834916 +0100
+@@ -5,13 +5,13 @@ INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXT
LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
LIB= libmain.a
.c.o:
$(CC) -c $(INCLUDES) $(CFLAGS) $<
---- apache_1.3.39/src/main/http_main.c~ 2007-10-23 01:51:50.000000000 +0300
-+++ apache_1.3.39/src/main/http_main.c 2007-10-23 01:52:32.306586698 +0300
-@@ -102,6 +102,10 @@
+diff -urNp -x '*.orig' apache_1.3.42.org/src/main/http_main.c apache_1.3.42/src/main/http_main.c
+--- apache_1.3.42.org/src/main/http_main.c 2023-02-02 22:44:18.889834915 +0100
++++ apache_1.3.42/src/main/http_main.c 2023-02-02 22:44:19.213168249 +0100
+@@ -60,6 +60,10 @@ int ap_main(int argc, char *argv[]);
#include "http_vhost.h"
#include "util_script.h" /* to force util_script.c linking */
#include "util_uri.h"
#include "scoreboard.h"
#include "multithread.h"
#include <sys/stat.h>
-@@ -1575,6 +1578,19 @@
+@@ -1993,6 +1997,19 @@ static void lingering_close(request_rec
return;
}
/* Set up to wait for readable data on socket... */
FD_ZERO(&lfds);
-@@ -4484,6 +4486,8 @@
+@@ -4538,6 +4555,8 @@ static void common_init(void)
+ ap_server_post_read_config = ap_make_array(pcommands, 1, sizeof(char *));
ap_server_config_defines = ap_make_array(pcommands, 1, sizeof(char *));
- pid_table = ap_make_table(pglobal, HARD_SERVER_LIMIT);
+ lingerd_connect();
+
-diff -ruN -x Makefile.in -x '*~' -x build-tree.orig -x 'ap_ctx.[ch]' -x 'ap_hook.[ch]' -x 'ap_mm.[ch]' -x os-inline.c -x os.h build-tree.orig/apache_1.3.34/src/modules/proxy/proxy_http.c build-tree/apache_1.3.34/src/modules/proxy/proxy_http.c
---- build-tree.orig/apache_1.3.34/src/modules/proxy/proxy_http.c 2003-02-03 12:13:26.000000000 -0500
-+++ build-tree/apache_1.3.34/src/modules/proxy/proxy_http.c 2003-10-17 12:24:51.000000000 -0400
-@@ -552,6 +595,8 @@
+diff -urNp -x '*.orig' apache_1.3.42.org/src/modules/proxy/proxy_http.c apache_1.3.42/src/modules/proxy/proxy_http.c
+--- apache_1.3.42.org/src/modules/proxy/proxy_http.c 2023-02-02 22:43:29.949834915 +0100
++++ apache_1.3.42/src/modules/proxy/proxy_http.c 2023-02-02 22:43:30.219834915 +0100
+@@ -604,6 +604,8 @@ int ap_proxy_http_handler(request_rec *r
ap_table_set(resp_hdrs, "URI", proxy_location_reverse_map(r, urlstr));
if ((urlstr = ap_table_get(resp_hdrs, "Content-Location")) != NULL)
ap_table_set(resp_hdrs, "Content-Location", proxy_location_reverse_map(r, urlstr));
+ ap_table_set(resp_hdrs, "Content-Base", proxy_location_reverse_map(r, urlstr));
/* check if NoCache directive on this host */
- if (nocache == 0) {
+ {
-diff -ruN -x Makefile.in -x configure -x *~ -x apache_1.3.14.orig apache_1.3.14.orig/src/include/hsregex.h apache_1.3.14/src/include/hsregex.h
---- build-tree/apache_1.3.34/src/include/hsregex.h Mon Sep 25 16:48:24 2000
-+++ build-tree/apache_1.3.34/src/include/hsregex.h Wed Dec 6 15:20:03 2000
-@@ -24,7 +24,7 @@
- #endif
+diff -urNp -x '*.orig' apache_1.3.42.org/src/include/hsregex.h apache_1.3.42/src/include/hsregex.h
+--- apache_1.3.42.org/src/include/hsregex.h 2005-10-10 19:45:29.000000000 +0200
++++ apache_1.3.42/src/include/hsregex.h 2023-02-02 22:42:24.093168248 +0100
+@@ -22,7 +22,7 @@ extern "C" {
+ #define ap_private_extern
#endif
-typedef off_t regoff_t;
-diff -Naurd build-tree.orig/apache_1.3.34/src/support/suexec.c build-tree/apache_1.3.34/src/support/suexec.c
---- build-tree.orig/apache_1.3.34/src/support/suexec.c 2004-08-23 23:36:55.000000000 +0200
-+++ build-tree/apache_1.3.34/src/support/suexec.c 2004-08-23 23:40:35.000000000 +0200
+diff -urNp -x '*.orig' apache_1.3.42.org/src/support/suexec.c apache_1.3.42/src/support/suexec.c
+--- apache_1.3.42.org/src/support/suexec.c 2006-07-12 10:16:05.000000000 +0200
++++ apache_1.3.42/src/support/suexec.c 2023-02-02 22:42:51.499834914 +0100
@@ -49,6 +49,10 @@
+
#include <stdarg.h>
- #include <strings.h>
+/* for fcntl(fileno(log), F_SETFD, FD_CLOEXEC); */
+#include <unistd.h>
#include "suexec.h"
/*
-@@ -151,6 +155,8 @@
+@@ -148,6 +152,8 @@ static void err_output(const char *fmt,
perror("fopen");
exit(1);
}
}
time(&timevar);
-@@ -823,20 +829,6 @@
+@@ -568,20 +574,6 @@ int main(int argc, char *argv[])
umask(SUEXEC_UMASK);
#endif /* SUEXEC_UMASK */
Summary(zh_CN.UTF-8): Internet 上应用最广泛的 Web 服务程序。
Name: apache1
Version: 1.3.42
-Release: 14
+Release: 15
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://archive.apache.org/dist/httpd/apache_%{version}.tar.gz
Requires(pre): /usr/sbin/useradd
Requires(pre): /usr/sbin/usermod
Requires(pre): textutils
-Requires(triggerpostun): sed >= 4.0
+Requires(postun): sed >= 4.0
Requires: /etc/mime.types
Requires: mailcap
Requires: psmisc >= 20.1
Summary: Apache module with user authentication which uses Berkeley DB files
Summary(pl.UTF-8): Moduł Apache'a z mechanizmem uwierzytelniania używającym plików Berkeley DB
Group: Networking/Daemons/HTTP
-Requires(triggerpostun): sed >= 4.0
+Requires(postun): sed >= 4.0
Requires: %{name}(EAPI) = %{version}-%{release}
Provides: apache(mod_auth_db) = %{version}-%{release}
Obsoletes: apache-mod_auth_db < 2.0.0
Summary: Apache module - display index of files
Summary(pl.UTF-8): Moduł apache do wyświetlania indeksu plików
Group: Networking/Daemons/HTTP
-Requires(triggerpostun): sed >= 4.0
+Requires(postun): sed >= 4.0
Requires: %{name}(EAPI) = %{version}-%{release}
Requires: %{name}-mod_alias = %{version}-%{release}
Requires: apache-icons
Summary: Apache module with Web proxy
Summary(pl.UTF-8): Moduł dodający obsługę serwera proxy
Group: Networking/Daemons/HTTP
-Requires(triggerpostun): sed >= 4.0
+Requires(postun): sed >= 4.0
Requires: %{name}(EAPI) = %{version}-%{release}
Provides: apache(mod_proxy) = %{version}-%{release}
Obsoletes: apache-mod_proxy < 2.0.0
Summary: Server status report module for apache
Summary(pl.UTF-8): Moduł dostarczający informacje statystyczne o serwerze
Group: Networking/Daemons/HTTP
-Requires(triggerpostun): sed >= 4.0
+Requires(postun): sed >= 4.0
Requires: %{name}(EAPI) = %{version}-%{release}
Provides: apache(mod_status) = %{version}-%{release}
Obsoletes: apache-mod_status < 2.0.0
Summary: Apache module for dynamically configured mass virtual hosting
Summary(pl.UTF-8): Moduł dodający obsługę hostów wirtualnych
Group: Networking/Daemons/HTTP
-Requires(triggerpostun): sed >= 4.0
+Requires(postun): sed >= 4.0
Requires: %{name}(EAPI) = %{version}-%{release}
Provides: apache(mod_vhost_alias) = %{version}-%{release}
Obsoletes: apache-mod_vhost_alias < 2.0.0
%patch24 -p1
%patch25 -p1
-%patch26 -p2
+%patch26 -p1
%patch27 -p2
-%patch28 -p2
+%patch28 -p1
%patch29 -p2
-%patch30 -p2
+%patch30 -p1
%patch31 -p2
%patch32 -p2
-%patch33 -p2
+%patch33 -p1
%patch34 -p2
-%patch35 -p2
+%patch35 -p1
%patch36 -p2
%patch37 -p2
%patch38 -p2