From owner-freebsd-apache@FreeBSD.ORG Thu Jul 10 20:43:20 2014 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98F37DC0; Thu, 10 Jul 2014 20:43:20 +0000 (UTC) Received: from melo.ec-m.fr (melo.ec-m.fr [147.94.19.37]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 573B222A5; Thu, 10 Jul 2014 20:43:19 +0000 (UTC) Received: from amavis2.serv.int (amavis2.serv.int [10.3.0.46]) by melo.ec-m.fr (GrosseBox 1743 XXL) with ESMTP id 8BCFAAC86C; Thu, 10 Jul 2014 22:43:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at centrale-marseille.fr Received: from melo.ec-m.fr ([10.3.0.13]) by amavis2.serv.int (amavis2.serv.int [10.3.0.46]) (amavisd-new, port 10024) with LMTP id 92IfottoS-FS; Thu, 10 Jul 2014 22:43:15 +0200 (CEST) Received: from dgeo.sysadm.ec-m.fr (dgeo.sysadm.ec-m.fr [147.94.19.169]) by melo.ec-m.fr (GrosseBox 1743 XXL) with ESMTPS id D76EBAC846; Thu, 10 Jul 2014 22:43:14 +0200 (CEST) Received: (from root@localhost) by dgeo.sysadm.ec-m.fr (8.14.7/8.14.7/Submit) id s6AKhEZR024952; Thu, 10 Jul 2014 22:43:14 +0200 (CEST) (envelope-from root) Date: Thu, 10 Jul 2014 22:43:14 +0200 (CEST) Message-Id: <201407102043.s6AKhEZR024952@dgeo.sysadm.ec-m.fr> To: FreeBSD-gnats-submit@FreeBSD.org Subject: [PATCH] www/ap22-mod_auth_cas: mod_auth_cas broken with openssl from ports on 9.x From: Geoffroy Desvernay X-send-pr-version: 3.113 X-GNATS-Notify: Cc: apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 20:43:20 -0000 >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 ---