blob: 7e2c80a0849884d0874f69735fb57fabfaf942ac (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.43 2004/03/26 02:27:52 wiz Exp $
.include "Makefile.common"
PKGREVISION= 6
SVR4_PKGNAME= csasl
COMMENT= Simple Authentication and Security Layer
PLIST_SRC+= ${.CURDIR}/PLIST.common
# Authentication mechanisms
CONFIGURE_ARGS+= --enable-anon # ANONYMOUS
CONFIGURE_ARGS+= --enable-cram # CRAM-MD5
CONFIGURE_ARGS+= --enable-plain # PLAIN
.if defined(USE_PAM)
. include "../../security/PAM/buildlink3.mk"
BUILD_DEFS+= USE_PAM
CONFIGURE_ARGS+= --with-pam=${BUILDLINK_PREFIX.pam}
.endif
CONFIGURE_ARGS+= --enable-digest # DIGEST-MD5
CONFIGURE_ARGS+= --with-rc4=${SSLBASE}
.include "../../security/openssl/buildlink3.mk"
.if defined(KERBEROS) || \
(defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS]))
. include "../../mk/krb5.buildlink3.mk"
CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE} # GSSAPI
PLIST_SRC+= ${.CURDIR}/PLIST.krb5
.endif
PLIST_SRC+= ${.CURDIR}/PLIST.plugins
USE_PKGINSTALL= YES
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
PKG_GROUPS= ${CYRUS_GROUP}
PKG_USERS= ${CYRUS_USER}:${CYRUS_GROUP}::::${SH}
RCD_SCRIPTS= sasl_pwcheck saslauthd
OWN_DIRS= ${PREFIX}/lib/sasl
post-install:
${INSTALL_DATA_DIR} ${HTMLDIR}
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt ${HTMLDIR}
.include "../../mk/bsd.pkg.mk"
|