* [gentoo-commits] gentoo-x86 commit in www-apache/mod_gnutls/files: mod_gnutls-0.5.4-apache-2.4.patch
@ 2011-06-23 15:18 Markos Chandras (hwoarang)
0 siblings, 0 replies; 2+ messages in thread
From: Markos Chandras (hwoarang) @ 2011-06-23 15:18 UTC (permalink / raw
To: gentoo-commits
hwoarang 11/06/23 15:18:29
Removed: mod_gnutls-0.5.4-apache-2.4.patch
Log:
Remove old ebuilds. Requested by Arfrever
(Portage version: 2.1.9.49/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in www-apache/mod_gnutls/files: mod_gnutls-0.5.4-apache-2.4.patch
@ 2009-05-30 0:08 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-05-30 0:08 UTC (permalink / raw
To: gentoo-commits
arfrever 09/05/30 00:08:22
Added: mod_gnutls-0.5.4-apache-2.4.patch
Log:
Version bump (bug #254438). Fix building with >=net-libs/gnutls-2.7.1 (bug #253714).
(Portage version: 13625-svn/cvs/Linux x86_64)
Revision Changes Path
1.1 www-apache/mod_gnutls/files/mod_gnutls-0.5.4-apache-2.4.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_gnutls/files/mod_gnutls-0.5.4-apache-2.4.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_gnutls/files/mod_gnutls-0.5.4-apache-2.4.patch?rev=1.1&content-type=text/plain
Index: mod_gnutls-0.5.4-apache-2.4.patch
===================================================================
--- include/mod_gnutls.h.in
+++ include/mod_gnutls.h.in
@@ -52,10 +52,8 @@
/* Recent Versions of 2.1 renamed several hooks. This allows us to
compile on 2.0.xx */
-#if AP_SERVER_MINORVERSION_NUMBER >= 1
-#if AP_SERVER_PATCHLEVEL_NUMBER >= 3
+#if (AP_SERVER_MINORVERSION_NUMBER == 1 && AP_SERVER_PATCHLEVEL_NUMBER >= 3) || AP_SERVER_MINORVERSION_NUMBER >= 2
#define USING_2_1_RECENT 1
-#endif
#endif
#ifndef USING_2_1_RECENT
--- src/gnutls_cache.c
+++ src/gnutls_cache.c
@@ -38,6 +38,10 @@
#define MC_TAG_LEN sizeof(MC_TAG)
#define STR_SESSION_LEN (GNUTLS_SESSION_ID_STRING_LEN + MC_TAG_LEN)
+#if MODULE_MAGIC_NUMBER_MAJOR < 20081201
+#define ap_unixd_config unixd_config
+#endif
+
char *mgs_session_id2sz(unsigned char *id, int idlen,
char *str, int strsize)
{
@@ -544,9 +548,9 @@
#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
/* Running as Root */
if (geteuid() == 0) {
- chown(path1, unixd_config.user_id, -1);
+ chown(path1, ap_unixd_config.user_id, -1);
if (path2 != NULL) {
- chown(path2, unixd_config.user_id, -1);
+ chown(path2, ap_unixd_config.user_id, -1);
}
}
#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-23 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23 15:18 [gentoo-commits] gentoo-x86 commit in www-apache/mod_gnutls/files: mod_gnutls-0.5.4-apache-2.4.patch Markos Chandras (hwoarang)
-- strict thread matches above, loose matches on Subject: below --
2009-05-30 0:08 Arfrever Frehtes Taifersar Arahesis (arfrever)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox