63 lines
1.9 KiB
Text
63 lines
1.9 KiB
Text
|
# $NetBSD: Makefile.common,v 1.1 2003/03/19 21:02:00 jlam Exp $
|
||
|
|
||
|
DISTNAME= cyrus-sasl-1.5.27
|
||
|
CATEGORIES= security
|
||
|
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
|
||
|
ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/
|
||
|
|
||
|
MAINTAINER= jlam@netbsd.org
|
||
|
HOMEPAGE= http://asg.web.cmu.edu/sasl/
|
||
|
|
||
|
PLUGIN_DEPENDS= cyrus-sasl>=1.5.27
|
||
|
|
||
|
DISTINFO_FILE= ${.CURDIR}/../cyrus-sasl/distinfo
|
||
|
FILESDIR= ${.CURDIR}/../cyrus-sasl/files
|
||
|
PATCHDIR= ${.CURDIR}/../cyrus-sasl/patches
|
||
|
|
||
|
USE_BUILDLINK2= YES
|
||
|
GNU_CONFIGURE= YES
|
||
|
USE_GMAKE= YES
|
||
|
USE_LIBTOOL= YES
|
||
|
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
|
||
|
|
||
|
.include "../../mk/bsd.prefs.mk"
|
||
|
|
||
|
# CYRUS_USER username of the Cyrus administrator
|
||
|
# CYRUS_GROUP group of the Cyrus administrator
|
||
|
#
|
||
|
CYRUS_USER?= cyrus
|
||
|
CYRUS_GROUP?= mail
|
||
|
FILES_SUBST+= CYRUS_USER=${CYRUS_USER}
|
||
|
|
||
|
HTMLDIR= ${PREFIX}/share/doc/html/cyrus-sasl
|
||
|
PLUGINDIR= ${PREFIX}/lib/sasl
|
||
|
SASLSOCKETDIR= /var/run/sasl
|
||
|
FILES_SUBST+= SASLSOCKETDIR=${SASLSOCKETDIR}
|
||
|
PLIST_SUBST+= SASLSOCKETDIR=${SASLSOCKETDIR}
|
||
|
|
||
|
BUILD_DEFS+= CYRUS_USER CYRUS_GROUP
|
||
|
|
||
|
CONFIGURE_ARGS+= --with-pwcheck=${SASLSOCKETDIR}
|
||
|
CONFIGURE_ARGS+= --with-saslauthd=${SASLSOCKETDIR}
|
||
|
CONFIGURE_ARGS+= --with-dblib=ndbm
|
||
|
CONFIGURE_ARGS+= --with-dbpath=${PKG_SYSCONFDIR}/sasldb
|
||
|
CONFIGURE_ARGS+= --with-plugindir=${PLUGINDIR}
|
||
|
|
||
|
# Authentication mechanisms
|
||
|
CONFIGURE_ARGS+= --disable-anon # ANONYMOUS
|
||
|
CONFIGURE_ARGS+= --disable-cram # CRAM-MD5
|
||
|
CONFIGURE_ARGS+= --disable-digest # DIGEST-MD5
|
||
|
CONFIGURE_ARGS+= --disable-login # LOGIN
|
||
|
CONFIGURE_ARGS+= --disable-plain # PLAIN
|
||
|
CONFIGURE_ARGS+= --disable-scram # SCRAM-MD5
|
||
|
CONFIGURE_ARGS+= --disable-sia # SIA
|
||
|
CONFIGURE_ARGS+= --disable-srp # SRP
|
||
|
CONFIGURE_ARGS+= --disable-x509 # X.509
|
||
|
CONFIGURE_ARGS+= --disable-krb4 # KERBEROS_V4
|
||
|
CONFIGURE_ARGS+= --disable-gssapi # GSSAPI
|
||
|
CONFIGURE_ARGS+= --without-pam
|
||
|
|
||
|
post-extract:
|
||
|
cd ${WRKSRC}; ${RM} -f include/md5.h
|
||
|
${CP} ${FILESDIR}/sasl-config.in ${WRKSRC}/plugins
|