packages: apache/apache.spec, apache/httpd-2.0.45-encode.patch, apache/apac...
glen
glen at pld-linux.org
Wed Sep 1 12:50:43 CEST 2010
Author: glen Date: Wed Sep 1 10:50:43 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated patches to 2.3.8, does not fully compile
---- Files affected:
packages/apache:
apache.spec (1.601 -> 1.602) , httpd-2.0.45-encode.patch (1.3 -> 1.4) , apache-paths.patch (1.1 -> 1.2) , httpd-2.0.46-sslmutex.patch (1.2 -> 1.3) , httpd-2.0.48-corelimit.patch (1.1 -> 1.2) , httpd-2.0.48-debuglog.patch (1.1 -> 1.2) , apache-apxs.patch (1.8 -> 1.9) , httpd-2.2.x-mod_ssl-sessioncaching.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/apache/apache.spec
diff -u packages/apache/apache.spec:1.601 packages/apache/apache.spec:1.602
--- packages/apache/apache.spec:1.601 Tue Aug 3 09:39:00 2010
+++ packages/apache/apache.spec Wed Sep 1 12:50:37 2010
@@ -1,5 +1,3 @@
-# $Revision$, $Date$
-# # TODO:
# - config examples for mod_*
# - --with-suexec-uidmin=500 or =1000 ?
# - subpackages for MPMs
@@ -22,16 +20,16 @@
%bcond_without event # event MPM
%bcond_with distcache # distcache support
%bcond_with bucketeer # debug one
-#
-%include /usr/lib/rpm/macros.perl
+
# this is internal macro, don't change to %%apache_modules_api
-%define _apache_modules_api 20051115
+%define _apache_modules_api 20100723
%if "%{pld_release}" != "ac"
%define openssl_ver 0.9.8i
%else
%define openssl_ver 0.9.7d
%endif
+%include /usr/lib/rpm/macros.perl
Summary: The most widely used Web server on the Internet
Summary(de.UTF-8): Leading World Wide Web-Server
Summary(es.UTF-8): Servidor HTTPD para proveer servicios WWW
@@ -41,12 +39,12 @@
Summary(ru.UTF-8): Самый популярный веб-сервер
Summary(tr.UTF-8): Lider WWW tarayıcı
Name: apache
-Version: 2.2.16
-Release: 1
+Version: 2.3.8
+Release: 0.1
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
-# Source0-md5: 7f33f2c8b213ad758c009ae46d2795ed
+# Source0-md5: 275b3dea795edb19f74470ff9b591ccd
Source1: %{name}.init
Source2: %{name}.logrotate
Source3: %{name}.sysconfig
@@ -83,7 +81,7 @@
Patch4: %{name}-apr.patch
# what about this? it isn't applied...
Patch6: httpd-2.0.40-xfsz.patch
-Patch7: %{name}-syslibs.patch
+#Patch7: %{name}-syslibs.patch
Patch8: httpd-2.0.45-encode.patch
Patch9: %{name}-paths.patch
Patch10: httpd-2.0.46-dav401dest.patch
@@ -1760,7 +1758,7 @@
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch7 -p1
+#%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
@@ -1777,7 +1775,7 @@
%patch26 -p1
# using system apr, apr-util and pcre
-rm -rf srclib/{apr,apr-util,pcre}
+#rm -rf srclib/{apr,apr-util,pcre}
# sanity check
MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
@@ -2764,6 +2762,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.602 2010/09/01 10:50:37 glen
+- updated patches to 2.3.8, does not fully compile
+
Revision 1.601 2010/08/03 07:39:00 shadzik
- rel 1, builds
================================================================
Index: packages/apache/httpd-2.0.45-encode.patch
diff -u packages/apache/httpd-2.0.45-encode.patch:1.3 packages/apache/httpd-2.0.45-encode.patch:1.4
--- packages/apache/httpd-2.0.45-encode.patch:1.3 Fri Jan 12 13:01:23 2007
+++ packages/apache/httpd-2.0.45-encode.patch Wed Sep 1 12:50:37 2010
@@ -3,23 +3,17 @@
* remove dates from error pages (#86474), since they won't be in the right
language
-diff -ur httpd-2.2.0.org/docs/error/include/bottom.html httpd-2.2.0/docs/error/include/bottom.html
---- httpd-2.2.0.org/docs/error/include/bottom.html 2004-11-20 21:16:24.000000000 +0100
-+++ httpd-2.2.0/docs/error/include/bottom.html 2005-12-02 23:04:57.540690250 +0100
-@@ -5,10 +5,8 @@
+--- httpd-2.3.8/docs/error/include/bottom.html~ 2007-07-31 22:49:08.000000000 +0300
++++ httpd-2.3.8/docs/error/include/bottom.html 2010-09-01 13:12:26.494207986 +0300
+@@ -5,7 +5,7 @@
<h2>Error <!--#echo encoding="none" var="REDIRECT_STATUS" --></h2>
<address>
- <a href="/"><!--#echo var="SERVER_NAME" --></a><br />
-- <!--#config timefmt="%c" -->
-- <span><!--#echo var="DATE_LOCAL" --><br />
-- <!--#echo var="SERVER_SOFTWARE" --></span>
+ <a href="/"><!--#echo encoding="entity" var="SERVER_NAME" --></a><br />
-+ <span><!--#echo var="SERVER_SOFTWARE" --></span>
+ <span><!--#echo var="SERVER_SOFTWARE" --></span>
</address>
</body>
- </html>
-diff -ur httpd-2.2.0.org/server/util_script.c httpd-2.2.0/server/util_script.c
--- httpd-2.2.0.org/server/util_script.c 2005-11-10 16:20:05.000000000 +0100
+++ httpd-2.2.0/server/util_script.c 2005-12-02 23:04:50.848272000 +0100
@@ -224,8 +224,7 @@
================================================================
Index: packages/apache/apache-paths.patch
diff -u packages/apache/apache-paths.patch:1.1 packages/apache/apache-paths.patch:1.2
--- packages/apache/apache-paths.patch:1.1 Mon Dec 26 22:13:44 2005
+++ packages/apache/apache-paths.patch Wed Sep 1 12:50:37 2010
@@ -1,8 +1,12 @@
---- httpd-2.2.0/docs/cgi-examples/printenv.save 2005-12-26 23:09:55.000000000 +0200
-+++ httpd-2.2.0/docs/cgi-examples/printenv 2005-12-26 23:09:55.000000000 +0200
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl
+--- httpd-2.3.8/docs/cgi-examples/printenv~ 2008-09-06 23:26:15.000000000 +0300
++++ httpd-2.3.8/docs/cgi-examples/printenv 2010-09-01 13:14:05.820581537 +0300
+@@ -1,8 +1,4 @@
+-#
+-
+-# To permit this cgi, replace # on the first line above with the
+-# appropriate #!/path/to/perl shebang, and set this script executable
+-# with chmod 755.
+#!/usr/bin/perl
- ##
- ## printenv -- demo CGI program which just prints its environment
- ##
+ #
+ # Note that it is subject to cross site scripting attacks on MS IE
+ # and any other browser which fails to honor RFC2616, so never use
================================================================
Index: packages/apache/httpd-2.0.46-sslmutex.patch
diff -u packages/apache/httpd-2.0.46-sslmutex.patch:1.2 packages/apache/httpd-2.0.46-sslmutex.patch:1.3
--- packages/apache/httpd-2.0.46-sslmutex.patch:1.2 Fri Dec 2 23:11:41 2005
+++ packages/apache/httpd-2.0.46-sslmutex.patch Wed Sep 1 12:50:37 2010
@@ -1,14 +1,12 @@
-diff -urbB httpd-2.2.0.org/modules/ssl/ssl_engine_mutex.c httpd-2.2.0/modules/ssl/ssl_engine_mutex.c
---- httpd-2.2.0.org/modules/ssl/ssl_engine_mutex.c 2005-11-10 16:20:05.000000000 +0100
-+++ httpd-2.2.0/modules/ssl/ssl_engine_mutex.c 2005-12-02 23:11:09.183916500 +0100
-@@ -45,6 +45,10 @@
- if (mc->pMutex) {
+--- httpd-2.3.8/modules/ssl/ssl_engine_mutex.c~ 2010-05-04 20:40:43.000000000 +0300
++++ httpd-2.3.8/modules/ssl/ssl_engine_mutex.c 2010-09-01 13:15:13.397109981 +0300
+@@ -47,6 +47,9 @@
return TRUE;
}
-+
+
+ if (mc->szMutexFile)
-+ apr_file_remove(mc->szMutexFile, p);
++ apr_file_remove(mc->szMutexFile, p);
+
- if ((rv = apr_global_mutex_create(&mc->pMutex, mc->szMutexFile,
- mc->nMutexMech, s->process->pool))
+ if ((rv = ap_global_mutex_create(&mc->pMutex, NULL, SSL_CACHE_MUTEX_TYPE,
+ NULL, s, s->process->pool, 0))
!= APR_SUCCESS) {
================================================================
Index: packages/apache/httpd-2.0.48-corelimit.patch
diff -u packages/apache/httpd-2.0.48-corelimit.patch:1.1 packages/apache/httpd-2.0.48-corelimit.patch:1.2
--- packages/apache/httpd-2.0.48-corelimit.patch:1.1 Sat Feb 28 20:23:41 2004
+++ packages/apache/httpd-2.0.48-corelimit.patch Wed Sep 1 12:50:37 2010
@@ -2,11 +2,11 @@
Automatically raise the core file size limit if CoreDumpDirectory
is configured.
---- httpd-2.0.48/server/core.c.corelimit
-+++ httpd-2.0.48/server/core.c
-@@ -4233,6 +4233,25 @@
+--- httpd-2.3.8/server/core.c~ 2010-09-01 13:15:44.000000000 +0300
++++ httpd-2.3.8/server/core.c 2010-09-01 13:16:25.533795195 +0300
+@@ -3646,6 +3646,25 @@
- ap_set_version(pconf);
+ set_banner(pconf);
ap_setup_make_content_type(pconf);
+
+#ifdef RLIMIT_CORE
@@ -27,6 +27,6 @@
+ }
+#endif
+
- return OK;
- }
-
+ ap_setup_auth_internal(ptemp);
+ if (!sys_privileges) {
+ ap_log_error(APLOG_MARK, APLOG_CRIT, 0, NULL,
================================================================
Index: packages/apache/httpd-2.0.48-debuglog.patch
diff -u packages/apache/httpd-2.0.48-debuglog.patch:1.1 packages/apache/httpd-2.0.48-debuglog.patch:1.2
--- packages/apache/httpd-2.0.48-debuglog.patch:1.1 Sat Feb 28 20:23:41 2004
+++ packages/apache/httpd-2.0.48-debuglog.patch Wed Sep 1 12:50:37 2010
@@ -9,16 +9,16 @@
Note this patch depends on the pie patch.
---- httpd-2.0.48/include/http_log.h.debuglog
-+++ httpd-2.0.48/include/http_log.h
-@@ -130,7 +130,11 @@
+--- httpd-2.3.8/include/http_log.h~ 2010-06-14 22:59:05.000000000 +0300
++++ httpd-2.3.8/include/http_log.h 2010-09-01 13:18:19.608547664 +0300
+@@ -213,7 +213,11 @@
extern int AP_DECLARE_DATA ap_default_loglevel;
+#ifdef AP_FNAME
-+#define APLOG_MARK AP_FNAME,__LINE__
++#define APLOG_MARK AP_FNAME,__LINE__,APLOG_MODULE_INDEX
+#else
- #define APLOG_MARK __FILE__,__LINE__
+ #define APLOG_MARK __FILE__,__LINE__,APLOG_MODULE_INDEX
+#endif
/**
================================================================
Index: packages/apache/apache-apxs.patch
diff -u packages/apache/apache-apxs.patch:1.8 packages/apache/apache-apxs.patch:1.9
--- packages/apache/apache-apxs.patch:1.8 Wed Nov 1 01:01:25 2006
+++ packages/apache/apache-apxs.patch Wed Sep 1 12:50:37 2010
@@ -25,30 +25,6 @@
print STDERR "apxs:Error: no config variable $var\n";
&usage;
}
-@@ -199,11 +201,10 @@
- ($httpd = $0) =~ s:support/apxs$::;
- }
-
--unless (-x "$httpd") {
-- error("$httpd not found or not executable");
-- exit 1;
-+if (not -x "$httpd") {
-+ print STDERR "Note: $httpd not found or not executable.\n";
- }
--
-+else {
- unless (grep /mod_so/, `. $envvars && $httpd -l`) {
- error("Sorry, no shared object support for Apache");
- error("available under your platform. Make sure");
-@@ -211,7 +212,7 @@
- error("your server binary `$httpd'.");
- exit 1;
- }
--
-+}
- sub get_config_vars{
- my ($file, $rh_config) = @_;
-
@@ -479,8 +480,8 @@
$t =~ s|\.[^./\\]+$|\.so|;
if ($opt_i) {
================================================================
Index: packages/apache/httpd-2.2.x-mod_ssl-sessioncaching.patch
diff -u packages/apache/httpd-2.2.x-mod_ssl-sessioncaching.patch:1.2 packages/apache/httpd-2.2.x-mod_ssl-sessioncaching.patch:1.3
--- packages/apache/httpd-2.2.x-mod_ssl-sessioncaching.patch:1.2 Sat Mar 6 17:58:57 2010
+++ packages/apache/httpd-2.2.x-mod_ssl-sessioncaching.patch Wed Sep 1 12:50:37 2010
@@ -1,17 +1,15 @@
-Index: httpd-2.2.x/modules/ssl/ssl_private.h
-===================================================================
---- httpd-2.2.x/modules/ssl/ssl_private.h (revision 833672)
-+++ httpd-2.2.x/modules/ssl/ssl_private.h (working copy)
-@@ -395,6 +395,9 @@ typedef struct {
+--- httpd-2.3.8/modules/ssl/ssl_private.h~ 2010-09-01 13:21:44.000000000 +0300
++++ httpd-2.3.8/modules/ssl/ssl_private.h 2010-09-01 13:22:12.923733895 +0300
+@@ -394,6 +394,9 @@
#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ENGINE_INIT)
const char *szCryptoDevice;
#endif
+#ifndef OPENSSL_NO_TLSEXT
+ ssl_enabled_t session_tickets_enabled;
+#endif
- struct {
- void *pV1, *pV2, *pV3, *pV4, *pV5, *pV6, *pV7, *pV8, *pV9, *pV10;
- } rCtx;
+
+ #ifdef HAVE_OCSP_STAPLING
+ const ap_socache_provider_t *stapling_cache;
@@ -545,6 +548,7 @@ const char *ssl_cmd_SSLRequire(cmd_parm
const char *ssl_cmd_SSLRenegBufferSize(cmd_parms *cmd, void *dcfg, const char *arg);
const char *ssl_cmd_SSLStrictSNIVHostCheck(cmd_parms *cmd, void *dcfg, int flag);
@@ -161,14 +159,12 @@
/*
* Save the found server into our SSLConnRec for later
-Index: httpd-2.2.x/modules/ssl/mod_ssl.c
-===================================================================
---- httpd-2.2.x/modules/ssl/mod_ssl.c (revision 833672)
-+++ httpd-2.2.x/modules/ssl/mod_ssl.c (working copy)
-@@ -92,6 +92,8 @@ static const command_rec ssl_config_cmds
+--- httpd-2.3.8/modules/ssl/mod_ssl.c~ 2010-06-06 20:10:23.000000000 +0300
++++ httpd-2.3.8/modules/ssl/mod_ssl.c 2010-09-01 13:22:58.820804816 +0300
+@@ -69,6 +69,8 @@
SSL_CMD_SRV(RandomSeed, TAKE23,
"SSL Pseudo Random Number Generator (PRNG) seeding source "
- "(`startup|connect builtin|file:/path|exec:/path [bytes]')")
+ "('startup|connect builtin|file:/path|exec:/path [bytes]')")
+ SSL_CMD_SRV(SessionTicketExtension, FLAG,
+ "TLS Session Ticket extension support")
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/apache.spec?r1=1.601&r2=1.602&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/httpd-2.0.45-encode.patch?r1=1.3&r2=1.4&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/apache-paths.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/httpd-2.0.46-sslmutex.patch?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/httpd-2.0.48-corelimit.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/httpd-2.0.48-debuglog.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/apache-apxs.patch?r1=1.8&r2=1.9&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/httpd-2.2.x-mod_ssl-sessioncaching.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list