Date: Sat, 25 Aug 2012 16:48:55 +0000 (UTC) From: Olli Hauer <ohauer@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303150 - head/www/mod_auth_cas Message-ID: <201208251648.q7PGmtS6066622@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ohauer Date: Sat Aug 25 16:48:55 2012 New Revision: 303150 URL: http://svn.freebsd.org/changeset/ports/303150 Log: - update to version 1.0.9.1 - add pkg-message PR: ports/168710 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> Added: head/www/mod_auth_cas/pkg-message (contents, props changed) Modified: head/www/mod_auth_cas/Makefile (contents, props changed) head/www/mod_auth_cas/distinfo (contents, props changed) Modified: head/www/mod_auth_cas/Makefile ============================================================================== --- head/www/mod_auth_cas/Makefile Sat Aug 25 16:46:35 2012 (r303149) +++ head/www/mod_auth_cas/Makefile Sat Aug 25 16:48:55 2012 (r303150) @@ -6,28 +6,35 @@ # PORTNAME= mod_auth_cas -PORTVERSION= 1.0.8 -PORTREVISION= 1 +PORTVERSION= 1.0.9.1 CATEGORIES= www -#MASTER_SITES= https://www.ja-sig.org/svn/cas-clients/mod_auth_cas/tags/mod_auth_cas-1.0.8/src/ +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= mod_auth_cas +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 -MAKE_JOBS_SAFE= yes +LICENSE= AL2 + +LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl +MAKE_JOBS_SAFE= yes NO_WRKSUBDIR= yes USE_APACHE= 22+ AP_FAST_BUILD= yes 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 +post-install: + @${CAT} ${PKGMESSAGE} + .include <bsd.port.mk> Modified: head/www/mod_auth_cas/distinfo ============================================================================== --- head/www/mod_auth_cas/distinfo Sat Aug 25 16:46:35 2012 (r303149) +++ head/www/mod_auth_cas/distinfo Sat Aug 25 16:48:55 2012 (r303150) @@ -1,4 +1,4 @@ -SHA256 (mod_auth_cas/mod_auth_cas.c) = 0603d66013bac281067d67067a0400c00e036f63a1075ee8257afe049a70a683 -SIZE (mod_auth_cas/mod_auth_cas.c) = 67710 -SHA256 (mod_auth_cas/mod_auth_cas.h) = e0359ac88a290f9c8f9686b9d60ea61ec230f28146abf4ac6a3239feeadaad28 -SIZE (mod_auth_cas/mod_auth_cas.h) = 7409 +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 Added: head/www/mod_auth_cas/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_auth_cas/pkg-message Sat Aug 25 16:48:55 2012 (r303150) @@ -0,0 +1,32 @@ +====================================================================== + Set a few required parameters in your Apache configuration: + + CASCookiePath /var/cache/apache2/mod_auth_cas/ + CASLoginURL https://login.example.org/cas/login + CASValidateURL https://login.example.org/cas/serviceValidate + + Protect a "Location" or "Directory" block in your Apache configuration: + + <Location /secured> + Authtype CAS + require valid-user + </Location> + + If SAML-delivered attribute authorization is also desired, use the + samlValidate URL, enable SAML validation, and specify cas-attribute + in your require rule (please note: both attribute name and value are + case-sensitive): + + CASCookiePath /var/cache/apache2/mod_auth_cas/ + CASLoginURL https://login.example.org/cas/login + CASValidateURL https://login.example.org/cas/samlValidate + CASValidateSAML On + + <Location /secured> + Authtype CAS + require cas-attribute edupersonaffiliation:staff + </Location> + + For more informations see: + https://wiki.jasig.org/display/CASC/mod_auth_cas +======================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208251648.q7PGmtS6066622>