diff options
author | jlam <jlam> | 2002-01-22 22:02:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-01-22 22:02:36 +0000 |
commit | 9f0135ee7f9b2f7f28f0b212b5a26f9a4aa8820d (patch) | |
tree | e6195b96ecdab17044bf53162c63ab07c581d795 | |
parent | 596aa5ee78a2d2c3c437b3a32f9d1d32ce5b0499 (diff) | |
download | pkgsrc-9f0135ee7f9b2f7f28f0b212b5a26f9a4aa8820d.tar.gz |
Initial import of mail/courier-authldap-0.37.1.
This package contains the Courier authenticiation module that can
authenticate against a list of mail accounts stored in an external LDAP
directory.
-rw-r--r-- | mail/courier-authldap/DESCR | 3 | ||||
-rw-r--r-- | mail/courier-authldap/Makefile | 61 | ||||
-rw-r--r-- | mail/courier-authldap/PLIST | 6 |
3 files changed, 70 insertions, 0 deletions
diff --git a/mail/courier-authldap/DESCR b/mail/courier-authldap/DESCR new file mode 100644 index 00000000000..198a571e56d --- /dev/null +++ b/mail/courier-authldap/DESCR @@ -0,0 +1,3 @@ +This package contains the Courier authenticiation module that can +authenticate against a list of mail accounts stored in an external LDAP +directory. diff --git a/mail/courier-authldap/Makefile b/mail/courier-authldap/Makefile new file mode 100644 index 00000000000..58f2abc40cf --- /dev/null +++ b/mail/courier-authldap/Makefile @@ -0,0 +1,61 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/22 22:02:36 jlam Exp $ + +PKGNAME= courier-authldap-${BASE_VERS} +PKGREVISION?= # empty +COMMENT= Courier LDAP authentication module + +CONFLICTS= courier-imap-ldap-[0-9]* + +PERL5_REQD= 5.6.0 +BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5 +DEPENDS+= courier-auth>=${BASE_VERS}:../../mail/courier-auth + +USE_BUILDLINK_ONLY= yes +REPLACE_PERL= sysconftool + +.include "../../mail/courier-auth/Makefile.common" + +WRKSRC_FILES= config.guess config.sub configure \ + install-sh mkinstalldirs +WRKSRC_FILES+= dbobj.h.in dbobj.config.in sysconftool +WRKSRC_SUBDIRS= afx bdbobj gdbmobj numlib soxwrap md5 sha1 \ + libhmac random128 unicode rfc822 rfc1035 \ + rfc2045 liblock +WRKSRC_SUBDIRS+= makedat userdb authlib + +EXTRACT_ELEMENTS= ${WRKSRC_FILES:S/^/${DISTNAME}\//} +EXTRACT_ELEMENTS+= ${WRKSRC_SUBDIRS:S/^/${DISTNAME}\//} + +CONFIGURE_ARGS+= --with-authldap + +SYSCONFTOOL= ${PREFIX}/sbin/authdaemon.sysconftool +GEN_FILES= authldaprc +CONF_FILES_PERMS= # empty +.for FILE in ${GEN_FILES} +CONF_FILES_PERMS+= ${EGDIR}/${FILE}.dist ${PKG_SYSCONFDIR}/${FILE} \ + ${ROOT_USER} ${ROOT_GROUP} 0600 +.endfor + +DISTINFO_FILE= ${.CURDIR}/../../mail/courier-auth/distinfo +PATCHDIR= ${.CURDIR}/../../mail/courier-auth/patches +INSTALL_EXTRA_TMPL= ${.CURDIR}/../../mail/courier-auth/INSTALL + +FILES_SUBST+= SYSCONFTOOL=${SYSCONFTOOL:Q} +FILES_SUBST+= GEN_FILES=${GEN_FILES:Q} + +pre-configure: configure-init + +do-build: +.for DIR in ${WRKSRC_SUBDIRS} + @cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${ALL_TARGET} +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.ldap ${AUTHLIBDIR} + ${INSTALL_DATA} ${WRKSRC}/authlib/authldap.schema ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/authlib/authldaprc ${EGDIR}/authldaprc.dist + +.include "../../databases/openldap/buildlink.mk" +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/courier-authldap/PLIST b/mail/courier-authldap/PLIST new file mode 100644 index 00000000000..9bad92c4644 --- /dev/null +++ b/mail/courier-authldap/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/22 22:02:36 jlam Exp $ +libexec/courier/authlib/authdaemond.ldap +share/examples/courier/authldap.schema +share/examples/courier/authldaprc.dist +@unexec ${RMDIR} -p %D/share/examples/courier 2>/dev/null || ${TRUE} +@unexec ${RMDIR} -p %D/libexec/courier 2>/dev/null || ${TRUE} |