diff options
author | will <will@FreeBSD.org> | 2001-12-19 03:12:05 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-12-19 03:12:05 +0000 |
commit | 1ba46c2825e071243d22b1856ce7565e89fd4e50 (patch) | |
tree | 297c48552a311c49ec5a5ef99751a92d9dd9c1f5 /www | |
parent | 212bc7197d08504586d81e3e35027078f142e30c (diff) | |
download | FreeBSD-ports-1ba46c2825e071243d22b1856ce7565e89fd4e50.zip FreeBSD-ports-1ba46c2825e071243d22b1856ce7565e89fd4e50.tar.gz |
Add mod_auth_pwcheck 1.0, an Apache module for user authentication via
Cyrus pwcheck daemon.
PR: 29667
Submitted by: Anton Voronin <anton@urc.ac.ru>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_auth_pwcheck/Makefile | 41 | ||||
-rw-r--r-- | www/mod_auth_pwcheck/distinfo | 1 | ||||
-rw-r--r-- | www/mod_auth_pwcheck/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_auth_pwcheck/pkg-descr | 10 | ||||
-rw-r--r-- | www/mod_auth_pwcheck/pkg-message | 4 | ||||
-rw-r--r-- | www/mod_auth_pwcheck/pkg-plist | 4 |
7 files changed, 62 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index be94357..422da1e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -135,6 +135,7 @@ SUBDIR += mod_auth_mysql SUBDIR += mod_auth_pam SUBDIR += mod_auth_pgsql + SUBDIR += mod_auth_pwcheck SUBDIR += mod_backhand SUBDIR += mod_bf SUBDIR += mod_cgi_debug diff --git a/www/mod_auth_pwcheck/Makefile b/www/mod_auth_pwcheck/Makefile new file mode 100644 index 0000000..17407b1 --- /dev/null +++ b/www/mod_auth_pwcheck/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: mod_auth_pwcheck +# Date created: 2001/08/08 +# Whom: Anton Voronin <anton@urc.ac.ru> +# +# $FreeBSD$ +# + +PORTNAME= mod_auth_pwcheck +PORTVERSION= 1.0 +CATEGORIES= www +MASTER_SITES= http://www.chelcom.ru/~anton/projects/files/ + +MAINTAINER= anton@urc.ac.ru + +BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${AP_CATEGORY}/${AP_PORT} +RUN_DEPENDS= ${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/${AP_CATEGORY}/${AP_PORT} \ + ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl + +WRKSRC= ${WRKDIR}/${PORTNAME} + +.include <bsd.port.pre.mk> + +APXS?= ${LOCALBASE}/sbin/apxs +.if exists(${APXS}) +AP_MOD_SSL_SUFFIX!= ${APXS} -q CFLAGS | ${GREP} DMOD_SSL >/dev/null \ + || ${ECHO} -modssl +AP_CATEGORY!= ${APXS} -q CFLAGS | ${GREP} DRUSSIAN_APACHE >/dev/null \ + || ${ECHO} www +AP_TARGET!= ${APXS} -q TARGET +AP_LIBEXEC!= ${APXS} -q LIBEXECDIR | ${SED} 's@^${PREFIX}/@@' +.else +AP_CATEGORY= www +.endif + +AP_PORT= apache13${AP_MOD_SSL_SUFFIX} +AUTH_PWCHECK_DOCS= share/doc/apache/manual/mod/mod_auth_pwcheck +PLIST_SUB= AUTH_PWCHECK_DOCS="${AUTH_PWCHECK_DOCS}" \ + AP_LIBEXEC="${AP_LIBEXEC}" \ + APXS="${APXS}" + +.include <bsd.port.post.mk> diff --git a/www/mod_auth_pwcheck/distinfo b/www/mod_auth_pwcheck/distinfo new file mode 100644 index 0000000..6bf3537 --- /dev/null +++ b/www/mod_auth_pwcheck/distinfo @@ -0,0 +1 @@ +MD5 (mod_auth_pwcheck-1.0.tar.gz) = 40c484b33d6f98beceb29a844339f1e8 diff --git a/www/mod_auth_pwcheck/pkg-comment b/www/mod_auth_pwcheck/pkg-comment new file mode 100644 index 0000000..ee3879f --- /dev/null +++ b/www/mod_auth_pwcheck/pkg-comment @@ -0,0 +1 @@ +Apache module for user authentication via Cyrus pwcheck daemon diff --git a/www/mod_auth_pwcheck/pkg-descr b/www/mod_auth_pwcheck/pkg-descr new file mode 100644 index 0000000..e120056 --- /dev/null +++ b/www/mod_auth_pwcheck/pkg-descr @@ -0,0 +1,10 @@ +This module provides the way for user authentication using the pwcheck +daemon from the Cyrus SASL package. This lets the authentication to be done +via the system password file without root permissions. The module also +optionally provides access control via the system group file instead of any +special group file used by the standard mod_auth_* modules. + +Unless you wish to do access control using the system group file, then you +need any of the standard mod_auth_* modules to be in use. + +WWW: http://rnoc.urc.ac.ru/~anton/projects/mod_auth_pwcheck/ diff --git a/www/mod_auth_pwcheck/pkg-message b/www/mod_auth_pwcheck/pkg-message new file mode 100644 index 0000000..759ae68 --- /dev/null +++ b/www/mod_auth_pwcheck/pkg-message @@ -0,0 +1,4 @@ +Please add the user under which your web server is running to the group +"cyrus" and ensure that directory /var/pwcheck is readable and searchable +by group. + diff --git a/www/mod_auth_pwcheck/pkg-plist b/www/mod_auth_pwcheck/pkg-plist new file mode 100644 index 0000000..317dc86 --- /dev/null +++ b/www/mod_auth_pwcheck/pkg-plist @@ -0,0 +1,4 @@ +%%AP_LIBEXEC%%/mod_auth_pwcheck.so +%%AUTH_PWCHECK_DOCS%%/index.html +@unexec %%APXS%% -e -A -n auth_pwcheck mod_auth_pwcheck.so +@dirrm %%AUTH_PWCHECK_DOCS%% |