svn commit: r400547 - in head/www: . mod_webauth mod_webauth/files
Ryan Steinmetz
zi at FreeBSD.org
Fri Oct 30 16:29:50 UTC 2015
Author: zi
Date: Fri Oct 30 16:29:48 2015
New Revision: 400547
URL: https://svnweb.freebsd.org/changeset/ports/400547
Log:
New port: www/mod_webauth:
WebAuth is an authentication system for web pages and web applications. The
first time a user attempts to access a web page protected by WebAuth, they
will be sent to a central login server (weblogin.stanford.edu at Stanford)
and prompted to authenticate. Normally, they will be asked for a username
and password, although other authentication methods are possible. Once the
user has logged in, the weblogin server will send their encrypted identity
back to the original web page they were trying to access. Their identity
will also be stored in a cookie set by the weblogin server and they will
not need to authenticate again until their credentials expire, even if
they visit multiple protected web sites.
WebAuth works with any browser that supports cookies, requires no agents
or other software installed on the client web browser systems, and works
with an existing Kerberos v5 authentication realm. It can also be used as
the SSO provider for a Shibboleth IdP and supports SPNEGO authentication
as well as username/password over TLS/SSL. See the page on WebAuth features
for more major features and a brief comparison with other web
authentication systems.
WWW: http://webauth.stanford.edu/
Added:
head/www/mod_webauth/
head/www/mod_webauth/Makefile (contents, props changed)
head/www/mod_webauth/distinfo (contents, props changed)
head/www/mod_webauth/files/
head/www/mod_webauth/files/patch-lib_userinfo-json.c (contents, props changed)
head/www/mod_webauth/pkg-descr (contents, props changed)
head/www/mod_webauth/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Fri Oct 30 14:27:05 2015 (r400546)
+++ head/www/Makefile Fri Oct 30 16:29:48 2015 (r400547)
@@ -524,6 +524,7 @@
SUBDIR += mod_umask
SUBDIR += mod_vhost_ldap
SUBDIR += mod_vhs
+ SUBDIR += mod_webauth
SUBDIR += mod_webkit
SUBDIR += mod_whatkilledus
SUBDIR += mod_wsgi4
Added: head/www/mod_webauth/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_webauth/Makefile Fri Oct 30 16:29:48 2015 (r400547)
@@ -0,0 +1,32 @@
+# Created by: Ryan Steinmetz <zi at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= mod_webauth
+PORTVERSION= 4.7.0
+CATEGORIES= www
+MASTER_SITES= http://webauth.stanford.edu/dist/
+DISTNAME= webauth-${PORTVERSION}
+
+MAINTAINER= apache at FreeBSD.org
+COMMENT= Apache module for authenticating users with Kerberos v5
+
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
+ libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
+
+USES= libtool pkgconfig
+USE_APACHE= 22+
+USE_OPENLDAP= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-ldap-lib=${LOCALBASE}/lib \
+ --with-ldap-include=${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
+ @${REINPLACE_CMD} -e '/typedef int sig_atomic_t/d' \
+ ${WRKSRC}/portable/system.h
+
+.include <bsd.port.mk>
Added: head/www/mod_webauth/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_webauth/distinfo Fri Oct 30 16:29:48 2015 (r400547)
@@ -0,0 +1,2 @@
+SHA256 (webauth-4.7.0.tar.gz) = 0fcc077236da03cecfd71d6702f6336a227d9b25ad93e2cd3715568485c74a7f
+SIZE (webauth-4.7.0.tar.gz) = 1323358
Added: head/www/mod_webauth/files/patch-lib_userinfo-json.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_webauth/files/patch-lib_userinfo-json.c Fri Oct 30 16:29:48 2015 (r400547)
@@ -0,0 +1,11 @@
+--- lib/userinfo-json.c.orig 2015-10-28 19:05:45 UTC
++++ lib/userinfo-json.c
+@@ -22,6 +22,8 @@
+ #endif
+ #include <time.h>
+
++#include <util/macros.h>
++
+ #include <lib/internal.h>
+ #include <webauth/basic.h>
+ #include <webauth/factors.h>
Added: head/www/mod_webauth/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_webauth/pkg-descr Fri Oct 30 16:29:48 2015 (r400547)
@@ -0,0 +1,20 @@
+WebAuth is an authentication system for web pages and web applications. The
+first time a user attempts to access a web page protected by WebAuth, they
+will be sent to a central login server (weblogin.stanford.edu at Stanford)
+and prompted to authenticate. Normally, they will be asked for a username
+and password, although other authentication methods are possible. Once the
+user has logged in, the weblogin server will send their encrypted identity
+back to the original web page they were trying to access. Their identity
+will also be stored in a cookie set by the weblogin server and they will
+not need to authenticate again until their credentials expire, even if
+they visit multiple protected web sites.
+
+WebAuth works with any browser that supports cookies, requires no agents
+or other software installed on the client web browser systems, and works
+with an existing Kerberos v5 authentication realm. It can also be used as
+the SSO provider for a Shibboleth IdP and supports SPNEGO authentication
+as well as username/password over TLS/SSL. See the page on WebAuth features
+for more major features and a brief comparison with other web
+authentication systems.
+
+WWW: http://webauth.stanford.edu/
Added: head/www/mod_webauth/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_webauth/pkg-plist Fri Oct 30 16:29:48 2015 (r400547)
@@ -0,0 +1,18 @@
+bin/wa_keyring
+include/%%AP_NAME%%/basic.h
+include/%%AP_NAME%%/defines.h
+include/%%AP_NAME%%/factors.h
+include/%%AP_NAME%%/keys.h
+include/%%AP_NAME%%/krb5.h
+include/%%AP_NAME%%/tokens.h
+include/%%AP_NAME%%/util.h
+include/%%AP_NAME%%/was.h
+include/%%AP_NAME%%/webkdc.h
+lib/lib%%AP_NAME%%.a
+lib/lib%%AP_NAME%%.so
+lib/lib%%AP_NAME%%.so.12
+lib/lib%%AP_NAME%%.so.12.0.0
+libdata/pkgconfig/lib%%AP_NAME%%.pc
+libexec/apache2/modules/%%AP_MODULE%%
+libexec/apache2/modules/mod_%%AP_NAME%%ldap.so
+man/man1/wa_keyring.1.gz
More information about the svn-ports-all
mailing list