blob: b33c4147088b32577d6bc4b60b578d8d8626de9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.8 2004/02/21 14:43:16 jlam Exp $
PKGNAME= courier-authldap-${BASE_VERS}
COMMENT= Courier LDAP authentication module
CONFLICTS= courier-imap-ldap-[0-9]*
DEPENDS+= courier-auth-${BASE_VERS}{,nb*}:../../mail/courier-auth
.include "../courier-auth/Makefile.authdaemond"
USE_PKGINSTALL= yes
INSTALL_EXTRA_TMPL= ${.CURDIR}/../../mail/courier-auth/INSTALL
CONFIGURE_ARGS+= --with-authldap
GEN_FILES= authldaprc
FILES_SUBST+= GEN_FILES=${GEN_FILES:Q}
CONF_FILES_PERMS= # empty
.for FILE in ${GEN_FILES}
CONF_FILES_PERMS+= ${EGDIR}/${FILE}.dist ${PKG_SYSCONFDIR}/${FILE} \
${ROOT_USER} ${ROOT_GROUP} 0600
.endfor
.include "../../databases/openldap/buildlink3.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.ldap ${AUTHLIBDIR}
${INSTALL_MAN} ${WRKSRC}/authlib/README.ldap ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/authlib/authldap.schema ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/authlib/authldaprc ${EGDIR}/authldaprc.dist
.include "../../mk/bsd.pkg.mk"
|