Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2015 22:12:31 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395733 - in head/www: nginx nginx-devel
Message-ID:  <201508312212.t7VMCVnE023395@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Mon Aug 31 22:12:30 2015
New Revision: 395733
URL: https://svnweb.freebsd.org/changeset/ports/395733

Log:
  Add third-party shibboleth module, https://github.com/nginx-shib/nginx-http-shibboleth.
  
  Submitted by:	Guy Antony Halse <G.halse@ru.ac.za> (via private mail)

Modified:
  head/www/nginx-devel/Makefile
  head/www/nginx-devel/distinfo
  head/www/nginx/Makefile
  head/www/nginx/distinfo

Modified: head/www/nginx-devel/Makefile
==============================================================================
--- head/www/nginx-devel/Makefile	Mon Aug 31 21:56:06 2015	(r395732)
+++ head/www/nginx-devel/Makefile	Mon Aug 31 22:12:30 2015	(r395733)
@@ -105,6 +105,7 @@ OPTIONS_DEFINE=	\
 	RTMP \
 	SET_MISC \
 	SFLOW \
+	SHIBBOLETH \
 	SLOWFS_CACHE \
 	SMALL_LIGHT \
 	SRCACHE \
@@ -201,6 +202,7 @@ REDIS2_DESC=			3rd party redis2 module
 RTMP_DESC=			3rd party rtmp module
 SET_MISC_DESC=			3rd party set_misc module
 SFLOW_DESC=			3rd party sflow module
+SHIBBOLETH_DESC=		3rd party shibboleth module
 SLOWFS_CACHE_DESC=		3rd party slowfs_cache module
 SMALL_LIGHT_DESC=		3rd party small_light module
 SRCACHE_DESC=			3rd party srcache module
@@ -775,6 +777,15 @@ EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-
 		${PATCHDIR}/extra-patch-ngx_http_sflow_module.c
 .endif
 
+.if ${PORT_OPTIONS:MSHIBBOLETH}
+RUN_DEPENDS+=	${LOCALBASE}/sbin/shibd:${PORTSDIR}/security/shibboleth2-sp/
+GIT_SHIBBOLETH_VERSION=	20150121
+GH_ACCOUNT+=	nginx-shib:shib
+GH_PROJECT+=	nginx-http-shibboleth:shib
+GH_TAGNAME+=	v${GIT_SHIBBOLETH_VERSION}:shib
+CONFIGURE_ARGS+=--add-module=${WRKSRC_shib}
+.endif
+
 .if ${PORT_OPTIONS:MSLOWFS_CACHE}
 NGINX_SLOWFS_CACHE_VERSION=	1.10
 MASTER_SITES+=	http://labs.frickle.com/files/:slowfs_cache

Modified: head/www/nginx-devel/distinfo
==============================================================================
--- head/www/nginx-devel/distinfo	Mon Aug 31 21:56:06 2015	(r395732)
+++ head/www/nginx-devel/distinfo	Mon Aug 31 22:12:30 2015	(r395733)
@@ -116,5 +116,7 @@ SHA256 (calio-form-input-nginx-module-v0
 SIZE (calio-form-input-nginx-module-v0.07_GH0.tar.gz) = 10563
 SHA256 (calio-iconv-nginx-module-v0.10_GH0.tar.gz) = 88e326eba7fdf9fd2376b1ba033b48cb0eee45136528cf5430ac9340088ce324
 SIZE (calio-iconv-nginx-module-v0.10_GH0.tar.gz) = 12513
+SHA256 (nginx-shib-nginx-http-shibboleth-v20150121_GH0.tar.gz) = e38a19bb4d30e5487c013c4b6b3e3d5b96de82d63b776471cc2c381a5d00374d
+SIZE (nginx-shib-nginx-http-shibboleth-v20150121_GH0.tar.gz) = 10106
 SHA256 (patch.http2-v3_1.9.4.txt) = 6fced0feb2511a8078e770672b77f07fa94e607aa76899f64715b66d726085af
 SIZE (patch.http2-v3_1.9.4.txt) = 314486

Modified: head/www/nginx/Makefile
==============================================================================
--- head/www/nginx/Makefile	Mon Aug 31 21:56:06 2015	(r395732)
+++ head/www/nginx/Makefile	Mon Aug 31 22:12:30 2015	(r395733)
@@ -102,6 +102,7 @@ OPTIONS_DEFINE=	\
 	RTMP \
 	SET_MISC \
 	SFLOW \
+	SHIBBOLETH \
 	SLOWFS_CACHE \
 	SMALL_LIGHT \
 	SRCACHE \
@@ -194,6 +195,7 @@ REDIS2_DESC=			3rd party redis2 module
 RTMP_DESC=			3rd party rtmp module
 SET_MISC_DESC=			3rd party set_misc module
 SFLOW_DESC=			3rd party sflow module
+SHIBBOLETH_DESC=		3rd party shibboleth module
 SLOWFS_CACHE_DESC=		3rd party slowfs_cache module
 SMALL_LIGHT_DESC=		3rd party small_light module
 SRCACHE_DESC=			3rd party srcache module
@@ -758,6 +760,15 @@ EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-
 		${PATCHDIR}/extra-patch-ngx_http_sflow_module.c
 .endif
 
+.if ${PORT_OPTIONS:MSHIBBOLETH}
+RUN_DEPENDS+=	${LOCALBASE}/sbin/shibd:${PORTSDIR}/security/shibboleth2-sp/
+GIT_SHIBBOLETH_VERSION=	20150121
+GH_ACCOUNT+=	nginx-shib:shib
+GH_PROJECT+=	nginx-http-shibboleth:shib
+GH_TAGNAME+=	v${GIT_SHIBBOLETH_VERSION}:shib
+CONFIGURE_ARGS+=--add-module=${WRKSRC_shib}
+.endif
+
 .if ${PORT_OPTIONS:MSLOWFS_CACHE}
 NGINX_SLOWFS_CACHE_VERSION=	1.10
 MASTER_SITES+=	http://labs.frickle.com/files/:slowfs_cache

Modified: head/www/nginx/distinfo
==============================================================================
--- head/www/nginx/distinfo	Mon Aug 31 21:56:06 2015	(r395732)
+++ head/www/nginx/distinfo	Mon Aug 31 22:12:30 2015	(r395733)
@@ -114,3 +114,5 @@ SHA256 (calio-form-input-nginx-module-v0
 SIZE (calio-form-input-nginx-module-v0.07_GH0.tar.gz) = 10563
 SHA256 (calio-iconv-nginx-module-v0.10_GH0.tar.gz) = 88e326eba7fdf9fd2376b1ba033b48cb0eee45136528cf5430ac9340088ce324
 SIZE (calio-iconv-nginx-module-v0.10_GH0.tar.gz) = 12513
+SHA256 (nginx-shib-nginx-http-shibboleth-v20150121_GH0.tar.gz) = e38a19bb4d30e5487c013c4b6b3e3d5b96de82d63b776471cc2c381a5d00374d
+SIZE (nginx-shib-nginx-http-shibboleth-v20150121_GH0.tar.gz) = 10106



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