From owner-svn-ports-all@FreeBSD.ORG Sat Aug 25 16:48:56 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46FAD106564A; Sat, 25 Aug 2012 16:48:56 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 31D3C8FC12; Sat, 25 Aug 2012 16:48:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7PGmuFX066626; Sat, 25 Aug 2012 16:48:56 GMT (envelope-from ohauer@svn.freebsd.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7PGmtS6066622; Sat, 25 Aug 2012 16:48:55 GMT (envelope-from ohauer@svn.freebsd.org) Message-Id: <201208251648.q7PGmtS6066622@svn.freebsd.org> From: Olli Hauer Date: Sat, 25 Aug 2012 16:48:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303150 - head/www/mod_auth_cas X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2012 16:48:56 -0000 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 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 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: + + + Authtype CAS + require valid-user + + + 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 + + + Authtype CAS + require cas-attribute edupersonaffiliation:staff + + + For more informations see: + https://wiki.jasig.org/display/CASC/mod_auth_cas +======================================================================