Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 22:43:14 +0200 (CEST)
From:      Geoffroy Desvernay <dgeo@centrale-marseille.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        apache@FreeBSD.org
Subject:   [PATCH] www/ap22-mod_auth_cas: mod_auth_cas broken with openssl from ports on 9.x
Message-ID:  <201407102043.s6AKhEZR024952@dgeo.sysadm.ec-m.fr>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Geoffroy Desvernay
>Organization:	Ecole Centrale de Marseille
>Confidential:	no
>Synopsis:	[PATCH] www/ap22-mod_auth_cas: mod_auth_cas broken with openssl from ports on 9.x
>Severity:	serious
>Priority:	medium
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 10.0-RELEASE-p6 amd64
>Environment:
System: FreeBSD dgeo.sysadm.ec-m.fr 10.0-RELEASE-p6 FreeBSD 10.0-RELEASE-p6 #0: Tue Jun 24 07:47:37 UTC 2014
>Description:
Unbreak with openssl from ports on 9.x

Port maintainer (apache@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN)
>How-To-Repeat:
 * use WITH_OPENSSL_PORT=yes
 * build mod_auth_cas (tested with apache22)
 * Try to activate it and see: mod_auth_cas.so: undefined symbol: CRYPTO_THREADID_get_id_callback

>Fix:
 * old patch from https://github.com/Jasig/mod_auth_cas/pull/13 but no release upstream sinceā€¦

--- ap22-mod_auth_cas-1.0.9.1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 361487)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mod_auth_cas
 PORTVERSION=	1.0.9.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	https://source.jasig.org/cas-clients/mod_auth_cas/tags/mod_auth_cas-${PORTVERSION}/src/
 # SVN tags only, *sigh*
Index: files/patch-mod_auth_cas.c
===================================================================
--- files/patch-mod_auth_cas.c	(revision 0)
+++ files/patch-mod_auth_cas.c	(working copy)
@@ -0,0 +1,14 @@
+--- mod_auth_cas.c.orig	2014-07-10 22:16:06.014554609 +0200
++++ mod_auth_cas.c	2014-07-10 22:18:56.127540526 +0200
+@@ -2024,9 +2024,9 @@
+ 			CRYPTO_set_id_callback(cas_ssl_id_callback);
+ 		}
+ #else
+-		if(CRYPTO_get_locking_callback() == NULL && CRYPTO_THREADID_get_id_callback() == NULL) {
++		if(CRYPTO_get_locking_callback() == NULL && CRYPTO_THREADID_get_callback() == NULL) {
+ 			CRYPTO_set_locking_callback(cas_ssl_locking_callback);
+-			CRYPTO_THREADID_set_id_callback(cas_ssl_id_callback);
++			CRYPTO_THREADID_set_callback(cas_ssl_id_callback);
+ 		}
+ #endif /* OPENSSL_NO_THREADID */
+ #endif /* defined(OPENSSL_THREADS) && APR_HAS_THREADS */

Property changes on: files/patch-mod_auth_cas.c
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- ap22-mod_auth_cas-1.0.9.1.patch ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407102043.s6AKhEZR024952>