mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
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>
This commit is contained in:
parent
4e5898abc9
commit
ec5fa6bf18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51775
@ -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
|
||||
|
41
www/mod_auth_pwcheck/Makefile
Normal file
41
www/mod_auth_pwcheck/Makefile
Normal file
@ -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>
|
1
www/mod_auth_pwcheck/distinfo
Normal file
1
www/mod_auth_pwcheck/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (mod_auth_pwcheck-1.0.tar.gz) = 40c484b33d6f98beceb29a844339f1e8
|
1
www/mod_auth_pwcheck/pkg-comment
Normal file
1
www/mod_auth_pwcheck/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Apache module for user authentication via Cyrus pwcheck daemon
|
10
www/mod_auth_pwcheck/pkg-descr
Normal file
10
www/mod_auth_pwcheck/pkg-descr
Normal file
@ -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/
|
4
www/mod_auth_pwcheck/pkg-message
Normal file
4
www/mod_auth_pwcheck/pkg-message
Normal file
@ -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.
|
||||
|
4
www/mod_auth_pwcheck/pkg-plist
Normal file
4
www/mod_auth_pwcheck/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user