summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjorton <jorton@fedoraproject.org>2008-01-24 15:19:59 +0000
committerjorton <jorton@fedoraproject.org>2008-01-24 15:19:59 +0000
commitdc09582c00b03391ff1cdc30e2a52aba9468f3cf (patch)
treed390257c0a2bac0a1f6aa84454cc3978bb901531
parent3d1f4a9625341c987e20ccd35802ad366fda8c5c (diff)
- update to 2.2.8 (#427982)httpd-2_2_8-1_fc7
-rw-r--r--.cvsignore1
-rw-r--r--httpd-2.2.6-ssllibver.patch104
-rw-r--r--httpd.spec10
-rw-r--r--sources2
4 files changed, 6 insertions, 111 deletions
diff --git a/.cvsignore b/.cvsignore
index b06b844..ab0d1e6 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -2,3 +2,4 @@ httpd-2.2.4.tar.gz
httpd-2.2.4
httpd-2.2.6
clog
+httpd-2.2.8
diff --git a/httpd-2.2.6-ssllibver.patch b/httpd-2.2.6-ssllibver.patch
deleted file mode 100644
index 5281793..0000000
--- a/httpd-2.2.6-ssllibver.patch
+++ /dev/null
@@ -1,104 +0,0 @@
---- httpd-2.2.6/modules/ssl/mod_ssl.c.ssllibver
-+++ httpd-2.2.6/modules/ssl/mod_ssl.c
-@@ -500,7 +500,7 @@ static void ssl_register_hooks(apr_pool_
- ap_hook_insert_filter (ssl_hook_Insert_Filter, NULL,NULL, APR_HOOK_MIDDLE);
- /* ap_hook_handler (ssl_hook_Upgrade, NULL,NULL, APR_HOOK_MIDDLE); */
-
-- ssl_var_register();
-+ ssl_var_register(p);
-
- APR_REGISTER_OPTIONAL_FN(ssl_proxy_enable);
- APR_REGISTER_OPTIONAL_FN(ssl_engine_disable);
---- httpd-2.2.6/modules/ssl/ssl_engine_vars.c.ssllibver
-+++ httpd-2.2.6/modules/ssl/ssl_engine_vars.c
-@@ -58,12 +58,32 @@ static int ssl_is_https(conn_rec *c)
- return sslconn && sslconn->ssl;
- }
-
--void ssl_var_register(void)
-+static const char var_interface[] = "mod_ssl/" MOD_SSL_VERSION;
-+static char var_library_interface[] = SSL_LIBRARY_TEXT;
-+static char *var_library = NULL;
-+
-+void ssl_var_register(apr_pool_t *p)
- {
-+ char *cp, *cp2;
-+
- APR_REGISTER_OPTIONAL_FN(ssl_is_https);
- APR_REGISTER_OPTIONAL_FN(ssl_var_lookup);
- APR_REGISTER_OPTIONAL_FN(ssl_ext_lookup);
-- return;
-+
-+ /* Perform once-per-process library version determination: */
-+ var_library = apr_pstrdup(p, SSL_LIBRARY_DYNTEXT);
-+
-+ if ((cp = strchr(var_library, ' ')) != NULL) {
-+ *cp = '/';
-+ if ((cp2 = strchr(cp, ' ')) != NULL)
-+ *cp2 = NUL;
-+ }
-+
-+ if ((cp = strchr(var_library_interface, ' ')) != NULL) {
-+ *cp = '/';
-+ if ((cp2 = strchr(cp, ' ')) != NULL)
-+ *cp2 = NUL;
-+ }
- }
-
- /* This function must remain safe to use for a non-SSL connection. */
-@@ -635,39 +655,17 @@ static void ssl_var_lookup_ssl_cipher_bi
-
- static char *ssl_var_lookup_ssl_version(apr_pool_t *p, char *var)
- {
-- static char interface[] = "mod_ssl/" MOD_SSL_VERSION;
-- static char library_interface[] = SSL_LIBRARY_TEXT;
-- static char *library = NULL;
-- char *result;
--
-- if (!library) {
-- char *cp, *cp2;
-- library = apr_pstrdup(p, SSL_LIBRARY_DYNTEXT);
-- if ((cp = strchr(library, ' ')) != NULL) {
-- *cp = '/';
-- if ((cp2 = strchr(cp, ' ')) != NULL)
-- *cp2 = NUL;
-- }
-- if ((cp = strchr(library_interface, ' ')) != NULL) {
-- *cp = '/';
-- if ((cp2 = strchr(cp, ' ')) != NULL)
-- *cp2 = NUL;
-- }
-- }
--
- if (strEQ(var, "INTERFACE")) {
-- result = apr_pstrdup(p, interface);
-+ return apr_pstrdup(p, var_interface);
- }
- else if (strEQ(var, "LIBRARY_INTERFACE")) {
-- result = apr_pstrdup(p, library_interface);
-+ return apr_pstrdup(p, var_library_interface);
- }
- else if (strEQ(var, "LIBRARY")) {
-- result = apr_pstrdup(p, library);
-- }
-- else {
-- result = NULL;
-+ return apr_pstrdup(p, var_library);
- }
-- return result;
-+
-+ return NULL;
- }
-
-
---- httpd-2.2.6/modules/ssl/ssl_private.h.ssllibver
-+++ httpd-2.2.6/modules/ssl/ssl_private.h
-@@ -648,7 +648,7 @@ void ssl_die(void);
- void ssl_log_ssl_error(const char *, int, int, server_rec *);
-
- /** Variables */
--void ssl_var_register(void);
-+void ssl_var_register(apr_pool_t *p);
- char *ssl_var_lookup(apr_pool_t *, server_rec *, conn_rec *, request_rec *, char *);
- const char *ssl_ext_lookup(apr_pool_t *p, conn_rec *c, int peer, const char *oid);
-
diff --git a/httpd.spec b/httpd.spec
index 3fe053e..4560833 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -5,7 +5,7 @@
Summary: Apache HTTP Server
Name: httpd
-Version: 2.2.6
+Version: 2.2.8
Release: 1%{?dist}
URL: http://httpd.apache.org/
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@@ -37,7 +37,6 @@ Patch25: httpd-2.0.54-selinux.patch
# Bug fixes
Patch54: httpd-2.2.0-authnoprov.patch
Patch55: httpd-2.2.4-oldflush.patch
-Patch56: httpd-2.2.6-ssllibver.patch
License: Apache Software License
Group: System Environment/Daemons
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -115,7 +114,6 @@ Security (TLS) protocols.
%patch54 -p1 -b .authnoprov
%patch55 -p1 -b .oldflush
-%patch56 -p1 -b .ssllibver
# Patch in vendor/release string
sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1
@@ -137,9 +135,6 @@ rm -rf srclib/{apr,apr-util,pcre}
# regenerate configure scripts
autoheader && autoconf || exit 1
-# Limit size of CHANGES to recent history
-echo '1,/Changes with Apache 2.0/wq' | ed CHANGES
-
# Before configure; fix location of build dir in generated apxs
%{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/httpd/build:g" \
support/apxs.in
@@ -465,6 +460,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/httpd/build/*.sh
%changelog
+* Thu Jan 24 2008 Joe Orton <jorton@redhat.com> 2.2.8-1.fc7
+- update to 2.2.8 (#427982)
+
* Tue Sep 18 2007 Joe Orton <jorton@redhat.com> 2.2.6-1.fc7
- update to 2.2.6
- require /etc/mime.types (#249223)
diff --git a/sources b/sources
index 0c17cc7..b9b71ca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d050a49bd7532ec21c6bb593b3473a5d httpd-2.2.6.tar.gz
+39a755eb0f584c279336387b321e3dfc httpd-2.2.8.tar.gz