svn commit: r449748 - in head/www: . mod_auth_openidc mod_auth_openidc/files
Ryan Steinmetz
zi at FreeBSD.org
Wed Sep 13 02:04:47 UTC 2017
Author: zi
Date: Wed Sep 13 02:04:45 2017
New Revision: 449748
URL: https://svnweb.freebsd.org/changeset/ports/449748
Log:
New port: www/mod_auth_openidc:
mod_auth_openidc is an authentication/authorization module for the Apache 2.x
HTTP server that functions as an OpenID Connect Relying Party, authenticating
users against an OpenID Connect Provider. It can also function as an OAuth 2.0
Resource Server, validating OAuth 2.0 access tokens presented by OAuth 2.0
Clients.
WWW: https://github.com/pingidentity/mod_auth_openidc/
Added:
head/www/mod_auth_openidc/
head/www/mod_auth_openidc/Makefile (contents, props changed)
head/www/mod_auth_openidc/distinfo (contents, props changed)
head/www/mod_auth_openidc/files/
head/www/mod_auth_openidc/files/pkg-message.in (contents, props changed)
head/www/mod_auth_openidc/pkg-descr (contents, props changed)
head/www/mod_auth_openidc/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Wed Sep 13 01:50:45 2017 (r449747)
+++ head/www/Makefile Wed Sep 13 02:04:45 2017 (r449748)
@@ -424,6 +424,7 @@
SUBDIR += mod_auth_mysql2
SUBDIR += mod_auth_mysql_another
SUBDIR += mod_auth_openid
+ SUBDIR += mod_auth_openidc
SUBDIR += mod_auth_pam2
SUBDIR += mod_auth_pgsql2
SUBDIR += mod_auth_pubtkt
Added: head/www/mod_auth_openidc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_openidc/Makefile Wed Sep 13 02:04:45 2017 (r449748)
@@ -0,0 +1,48 @@
+# Created by: Ryan Steinmetz <zi at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= mod_auth_openidc
+PORTVERSION= 2.3.1
+DISTVERSIONPREFIX= v
+CATEGORIES= www
+PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
+
+MAINTAINER= zi at FreeBSD.org
+COMMENT= OpenID Connect Relying Party and OAuth 2.0 Resource Server for Apache
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS= libcjose.so:devel/cjose \
+ libcurl.so:ftp/curl \
+ libjansson.so:devel/jansson \
+ libpcre.so:devel/pcre
+
+USE_GITHUB= yes
+GH_ACCOUNT= pingidentity
+
+PLIST_FILES= ${APACHEMODDIR}/mod_auth_openidc.so
+
+USE_APACHE= 22+
+USES= autoreconf:autoconf gmake libtool pkgconfig ssl
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-hiredis
+CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \
+ PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig"
+SUB_FILES= pkg-message
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|@APXS2@ @APXS2_OPTS@ -i|@APXS2@ @APXS2_OPTS@ -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} -i|' \
+ ${WRKSRC}/Makefile.in
+
+pre-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} \
+ ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
+ ${INSTALL_DATA} ${WRKSRC}/auth_openidc.conf \
+ ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes/auth_openidc.conf.sample
+
+.include <bsd.port.mk>
Added: head/www/mod_auth_openidc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_openidc/distinfo Wed Sep 13 02:04:45 2017 (r449748)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1505264187
+SHA256 (pingidentity-mod_auth_openidc-v2.3.1_GH0.tar.gz) = 4bbed6531b24bfcfd3e2e10911831216a68246a00908a226a97812f9fc9cd337
+SIZE (pingidentity-mod_auth_openidc-v2.3.1_GH0.tar.gz) = 210766
Added: head/www/mod_auth_openidc/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_openidc/files/pkg-message.in Wed Sep 13 02:04:45 2017 (r449748)
@@ -0,0 +1,7 @@
+===========================================================================
+Please add the following to %%PREFIX%%/%%APACHEETCDIR%%/httpd.conf:
+LoadModule auth_openidc_module %%APACHEMODDIR%%/mod_auth_openidc.so
+
+Then update the following config file with your settings:
+%%PREFIX%%/%%APACHEETCDIR%%/Includes/auth_openidc.conf
+===========================================================================
Added: head/www/mod_auth_openidc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_openidc/pkg-descr Wed Sep 13 02:04:45 2017 (r449748)
@@ -0,0 +1,7 @@
+mod_auth_openidc is an authentication/authorization module for the Apache 2.x
+HTTP server that functions as an OpenID Connect Relying Party, authenticating
+users against an OpenID Connect Provider. It can also function as an OAuth 2.0
+Resource Server, validating OAuth 2.0 access tokens presented by OAuth 2.0
+Clients.
+
+WWW: https://github.com/pingidentity/mod_auth_openidc/
Added: head/www/mod_auth_openidc/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_openidc/pkg-plist Wed Sep 13 02:04:45 2017 (r449748)
@@ -0,0 +1 @@
+ at sample %%APACHEETCDIR%%/Includes/auth_openidc.conf.sample
More information about the svn-ports-head
mailing list