svn commit: r421727 - in head/www: . mod_auth_gssapi mod_auth_gssapi/files
Kurt Jaeger
pi at FreeBSD.org
Sat Sep 10 19:10:09 UTC 2016
Author: pi
Date: Sat Sep 10 19:10:08 2016
New Revision: 421727
URL: https://svnweb.freebsd.org/changeset/ports/421727
Log:
New port: www/mod_auth_gssapi
This module adds support for single-sign-on authentication via GSSAPI
to the Apache httpd. It is intended as a successor to mod_auth_kerb.
WWW: https://github.com/modauthgssapi/mod_auth_gssapi
PR: 212325
Submitted by: chris at chrullrich.net
Added:
head/www/mod_auth_gssapi/
head/www/mod_auth_gssapi/Makefile (contents, props changed)
head/www/mod_auth_gssapi/distinfo (contents, props changed)
head/www/mod_auth_gssapi/files/
head/www/mod_auth_gssapi/files/240_mod_auth_gssapi.conf.sample.in (contents, props changed)
head/www/mod_auth_gssapi/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Sat Sep 10 18:53:56 2016 (r421726)
+++ head/www/Makefile Sat Sep 10 19:10:08 2016 (r421727)
@@ -411,6 +411,7 @@
SUBDIR += mod_auth_cas
SUBDIR += mod_auth_cookie_mysql2
SUBDIR += mod_auth_external2
+ SUBDIR += mod_auth_gssapi
SUBDIR += mod_auth_imap2
SUBDIR += mod_auth_kerb2
SUBDIR += mod_auth_mysql2
Added: head/www/mod_auth_gssapi/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_gssapi/Makefile Sat Sep 10 19:10:08 2016 (r421727)
@@ -0,0 +1,48 @@
+# $FreeBSD$
+
+PORTNAME= mod_auth_gssapi
+PORTVERSION= 1.4.1
+DISTVERSIONPREFIX= v
+CATEGORIES= www
+PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
+
+MAINTAINER= chris at chrullrich.net
+COMMENT= Apache module for authenticating users with GSSAPI
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USE_GITHUB= yes
+GH_ACCOUNT= modauthgssapi
+
+USE_APACHE= 24+
+USES= autoreconf libtool ssl gssapi:mit,flags
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= KRB5_CONFIG=${KRB5CONFIG}
+CONFIGURE_ARGS+= OPENSSL_CFLAGS=-I${OPENSSLINC}
+CONFIGURE_ARGS+= OPENSSL_LIBS=-lcrypto
+
+PLIST_FILES= @sample\ %%APACHEETCDIR%%/modules.d/%%APMOD_FILE%% \
+ %%APACHEMODDIR%%/mod_auth_gssapi.so
+
+SUB_FILES= ${APMOD_FILE}
+APMOD_FILE= 240_${PORTNAME}.conf.sample
+PLIST_SUB+= APMOD_FILE=${APMOD_FILE}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000000 && ${SSL_DEFAULT} == base
+IGNORE= mod_auth_gssapi requires OpenSSL 1.0.0+
+.elif ${SSL_DEFAULT:Mlibressl*}
+IGNORE= mod_auth_gssapi currently only supports OpenSSL
+.endif
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+ ${APXS} -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} \
+ -i -n ${MODULENAME} ${WRKSRC}/src/${MODULENAME}.la
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
+ ${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
+
+.include <bsd.port.post.mk>
Added: head/www/mod_auth_gssapi/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_gssapi/distinfo Sat Sep 10 19:10:08 2016 (r421727)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1473058147
+SHA256 (modauthgssapi-mod_auth_gssapi-v1.4.1_GH0.tar.gz) = bd2209f6b41d6334dd06d880d0c0ff3c06cebb3cd7457fc3fb5fc57b7b97803e
+SIZE (modauthgssapi-mod_auth_gssapi-v1.4.1_GH0.tar.gz) = 102871
Added: head/www/mod_auth_gssapi/files/240_mod_auth_gssapi.conf.sample.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_gssapi/files/240_mod_auth_gssapi.conf.sample.in Sat Sep 10 19:10:08 2016 (r421727)
@@ -0,0 +1,9 @@
+## $FreeBSD$
+## vim: set filetype=apache:
+##
+## module file for mod_auth_gssapi
+##
+## PROVIDE: mod_auth_gssapi
+## REQUIRE:
+
+#LoadModule auth_gssapi_module %%APACHEMODDIR%%/mod_auth_gssapi.so
Added: head/www/mod_auth_gssapi/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_auth_gssapi/pkg-descr Sat Sep 10 19:10:08 2016 (r421727)
@@ -0,0 +1,4 @@
+This module adds support for single-sign-on authentication via GSSAPI
+to the Apache httpd. It is intended as a successor to mod_auth_kerb.
+
+WWW: https://github.com/modauthgssapi/mod_auth_gssapi
More information about the svn-ports-head
mailing list