1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
- switch to github
- bump PORTREVISION

PR:		191792
Submitted by:	dgeo <dgeo@centrale-marseille.fr>
This commit is contained in:
Olli Hauer 2014-07-13 22:31:17 +00:00
parent d9898f92a8
commit 010300555b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361716
3 changed files with 23 additions and 15 deletions

View File

@ -3,13 +3,8 @@
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*
DISTFILES= mod_auth_cas.c mod_auth_cas.h
DIST_SUBDIR= apache2/mod_auth_cas/${PORTVERSION}
EXTRACT_ONLY=
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache 2.x module that supports the CASv1 and CASv2 protocols
@ -18,7 +13,12 @@ LICENSE= APACHE20
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
NO_WRKSUBDIR= yes
USE_GITHUB= yes
GH_ACCOUNT= Jasig
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= e12f9d1
WRKSRC_SUBDIR= src
USE_APACHE= 22+
AP_FAST_BUILD= yes
@ -26,8 +26,4 @@ AP_GENPLIST= yes
AP_LIB= ${LOCALBASE}/lib
AP_EXTRAS= -l ssl -l curl
post-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_auth_cas.c ${WRKSRC}/mod_auth_cas.c
${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_auth_cas.h ${WRKSRC}/mod_auth_cas.h
.include <bsd.port.mk>

View File

@ -1,4 +1,2 @@
SHA256 (apache2/mod_auth_cas/1.0.9.1/mod_auth_cas.c) = ddff1d54d2824842b6abacc882c6105a9d006964b7e3b367c1e77c8e5b0a92c1
SIZE (apache2/mod_auth_cas/1.0.9.1/mod_auth_cas.c) = 81903
SHA256 (apache2/mod_auth_cas/1.0.9.1/mod_auth_cas.h) = 99518b262b1bc28c1d7d51e9e2cc8510b9c733b29b6d7af99fed145dcdc1af96
SIZE (apache2/mod_auth_cas/1.0.9.1/mod_auth_cas.h) = 7630
SHA256 (mod_auth_cas-1.0.9.1.tar.gz) = db1d473628bf699c438450afcee4912f4f44db8a2c676f8f6de7f20bdba8de91
SIZE (mod_auth_cas-1.0.9.1.tar.gz) = 73178

View File

@ -0,0 +1,14 @@
--- ./mod_auth_cas.c.orig 2014-07-13 23:56:46.000000000 +0200
+++ ./mod_auth_cas.c 2014-07-13 23:58:26.000000000 +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 */