Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 12:34:07 +0600 (YEKST)
From:      Anton Voronin <anton@urc.ac.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29667: New port: www/mod_auth_pwcheck
Message-ID:  <200108130634.f7D6Y7695647@belle.rnoc.urc.ac.ru>

next in thread | raw e-mail | index | archive | help

>Number:         29667
>Category:       ports
>Synopsis:       New port: www/mod_auth_pwcheck
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 12 23:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anton Voronin
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Southern Ural State University, Chelyabinsk, Russia
>Environment:

System: FreeBSD belle.rnoc.urc.ac.ru 4.3-STABLE FreeBSD 4.3-STABLE #1: Wed Jul 11 15:25:18 YEKST 2001 root@belle.rnoc.urc.ac.ru:/amd/rnocserv.urc.ac.ru/usr/build/src-4/sys/compile/BELLE i386

>Description:

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.

WWW: http://rnoc.urc.ac.ru/~anton/projects/mod_auth_pwcheck/

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mod_auth_pwcheck
#	mod_auth_pwcheck/distinfo
#	mod_auth_pwcheck/pkg-message
#	mod_auth_pwcheck/pkg-descr
#	mod_auth_pwcheck/pkg-plist
#	mod_auth_pwcheck/pkg-comment
#	mod_auth_pwcheck/Makefile
#
echo c - mod_auth_pwcheck
mkdir -p mod_auth_pwcheck > /dev/null 2>&1
echo x - mod_auth_pwcheck/distinfo
sed 's/^X//' >mod_auth_pwcheck/distinfo << 'END-of-mod_auth_pwcheck/distinfo'
XMD5 (mod_auth_pwcheck-1.0.tar.gz) = 40c484b33d6f98beceb29a844339f1e8
END-of-mod_auth_pwcheck/distinfo
echo x - mod_auth_pwcheck/pkg-message
sed 's/^X//' >mod_auth_pwcheck/pkg-message << 'END-of-mod_auth_pwcheck/pkg-message'
XPlease add the user under which your web server is running to the group
X"cyrus" and ensure that directory /var/pwcheck is readable and searchable
Xby group.
X
END-of-mod_auth_pwcheck/pkg-message
echo x - mod_auth_pwcheck/pkg-descr
sed 's/^X//' >mod_auth_pwcheck/pkg-descr << 'END-of-mod_auth_pwcheck/pkg-descr'
XThis module provides the way for user authentication using the pwcheck
Xdaemon from the Cyrus SASL package. This lets the authentication to be done
Xvia the system password file without root permissions. The module also
Xoptionally provides access control via the system group file instead of any
Xspecial group file used by the standard mod_auth_* modules.
X
XUnless you wish to do access control using the system group file, then you
Xneed any of the standard mod_auth_* modules to be in use.
X
XWWW: http://rnoc.urc.ac.ru/~anton/projects/mod_auth_pwcheck/
END-of-mod_auth_pwcheck/pkg-descr
echo x - mod_auth_pwcheck/pkg-plist
sed 's/^X//' >mod_auth_pwcheck/pkg-plist << 'END-of-mod_auth_pwcheck/pkg-plist'
X%%AP_LIBEXEC%%/mod_auth_pwcheck.so
X%%AUTH_PWCHECK_DOCS%%/index.html
X@unexec %%APXS%% -e -A -n auth_pwcheck mod_auth_pwcheck.so
X@dirrm %%AUTH_PWCHECK_DOCS%%
END-of-mod_auth_pwcheck/pkg-plist
echo x - mod_auth_pwcheck/pkg-comment
sed 's/^X//' >mod_auth_pwcheck/pkg-comment << 'END-of-mod_auth_pwcheck/pkg-comment'
XApache module for user authentication via Cyrus pwcheck daemon
END-of-mod_auth_pwcheck/pkg-comment
echo x - mod_auth_pwcheck/Makefile
sed 's/^X//' >mod_auth_pwcheck/Makefile << 'END-of-mod_auth_pwcheck/Makefile'
X# New ports collection makefile for: mod_auth_pwcheck
X# Date created:		2001/08/08
X# Whom:			Anton Voronin <anton@urc.ac.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_auth_pwcheck
XPORTVERSION=	1.0
XCATEGORIES=	www
XMASTER_SITES=	http://rnoc.urc.ac.ru/~anton/projects/files/
X
XMAINTAINER=	anton@urc.ac.ru
X
XBUILD_DEPENDS=	${APXS}:${PORTSDIR}/${AP_CATEGORY}/${AP_PORT}
XRUN_DEPENDS=	${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/${AP_CATEGORY}/${AP_PORT} \
X		${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
X.include <bsd.port.pre.mk>
X
XAPXS?=		${LOCALBASE}/sbin/apxs
X.if exists(${APXS})
XAP_MOD_SSL_SUFFIX!=	${APXS} -q CFLAGS | ${GREP} DMOD_SSL >/dev/null \
X		&& ${ECHO} -modssl
XAP_CATEGORY!=	${APXS} -q CFLAGS | ${GREP} DRUSSIAN_APACHE >/dev/null \
X		&& ${ECHO} russian \
X		|| ${ECHO} www
XAP_TARGET!=	${APXS} -q TARGET
XAP_LIBEXEC!=	${APXS} -q LIBEXECDIR | ${SED} 's@^${PREFIX}/@@'
X.else
XAP_CATEGORY=	www
X.endif
X
XAP_PORT=	apache13${AP_MOD_SSL_SUFFIX}
XAUTH_PWCHECK_DOCS=	share/doc/apache/manual/mod/mod_auth_pwcheck
XPLIST_SUB=	AUTH_PWCHECK_DOCS="${AUTH_PWCHECK_DOCS}" \
X		AP_LIBEXEC="${AP_LIBEXEC}" \
X		APXS="${APXS}"
X
X.include <bsd.port.post.mk>
END-of-mod_auth_pwcheck/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108130634.f7D6Y7695647>