summaryrefslogtreecommitdiff
path: root/www/mod_auth_pwcheck
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-12-19 03:12:05 +0000
committerWill Andrews <will@FreeBSD.org>2001-12-19 03:12:05 +0000
commitec5fa6bf1815d1df455589933f7a7f572333778f (patch)
treeb7697c0225b5254359296052d9f255e42c48fbb0 /www/mod_auth_pwcheck
parentAdd gotmail 0.6.6, a script to fetch mail from a Hotmail mailbox. (diff)
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>
Notes
Notes: svn path=/head/; revision=51775
Diffstat (limited to 'www/mod_auth_pwcheck')
-rw-r--r--www/mod_auth_pwcheck/Makefile41
-rw-r--r--www/mod_auth_pwcheck/distinfo1
-rw-r--r--www/mod_auth_pwcheck/pkg-comment1
-rw-r--r--www/mod_auth_pwcheck/pkg-descr10
-rw-r--r--www/mod_auth_pwcheck/pkg-message4
-rw-r--r--www/mod_auth_pwcheck/pkg-plist4
6 files changed, 61 insertions, 0 deletions
diff --git a/www/mod_auth_pwcheck/Makefile b/www/mod_auth_pwcheck/Makefile
new file mode 100644
index 000000000000..17407b1635c8
--- /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 000000000000..6bf3537c69f0
--- /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 000000000000..ee3879fd5da1
--- /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 000000000000..e12005633fc6
--- /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 000000000000..759ae68d19b0
--- /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 000000000000..317dc86c9283
--- /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%%