diff options
Diffstat (limited to 'security/cyrus-sasl2-saslauthd/Makefile')
-rw-r--r-- | security/cyrus-sasl2-saslauthd/Makefile | 100 |
1 files changed, 5 insertions, 95 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile index 304a8fff4f4f..976e66c17eac 100644 --- a/security/cyrus-sasl2-saslauthd/Makefile +++ b/security/cyrus-sasl2-saslauthd/Makefile @@ -1,43 +1,19 @@ # $FreeBSD$ -PORTNAME= saslauthd -PORTVERSION= 2.1.26 +PKGNAMESUFFIX= -saslauthd PORTREVISION= 3 -CATEGORIES= security ipv6 -MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-sasl/ \ - http://cyrusimap.org/releases/ -PKGNAMEPREFIX= cyrus-sasl- -DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION} -MAINTAINER= ume@FreeBSD.org COMMENT= SASL authentication server for cyrus-sasl2 -LICENSE= BSD4CLAUSE -LICENSE_FILE= ${WRKSRC}/COPYING - LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 -CYRUS_SASL2_DIR=${MASTERDIR}/../cyrus-sasl2 -DISTINFO_FILE= ${CYRUS_SASL2_DIR}/distinfo -PATCHDIR= ${CYRUS_SASL2_DIR}/files INSTALL_WRKSRC= ${WRKSRC}/saslauthd -DOCSDIR= ${PREFIX}/share/doc/cyrus-sasl2 USE_RC_SUBR= saslauthd -USE_OPENSSL= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ - --with-plugindir=${PREFIX}/lib/sasl2 \ - --with-dbpath=${PREFIX}/etc/sasldb2 \ - --with-lib-subdir=lib \ - --includedir=${PREFIX}/include \ - --enable-static \ - --enable-login \ +CONFIGURE_ARGS= --enable-login \ --enable-auth-sasldb \ - --with-rc4=openssl \ - --with-saslauthd=${SASLAUTHD_RUNPATH} \ - --disable-krb4 + --with-saslauthd=${SASLAUTHD_RUNPATH} CONFIGURE_ENV+= andrew_cv_runpath_switch=none OPTIONS_DEFINE= BDB DOCS OPENLDAP HTTPFORM @@ -54,11 +30,11 @@ HTTPFORM_DESC= Enable HTTP form authentication HTTPFORM_CONFIGURE_ENABLE=httpform OPTIONS_RADIO= GSSAPI -OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE OPTIONS_DEFAULT+= GSSAPI_BASE .endif +OPTIONS_RADIO_GSSAPI+= GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_BASE_USES= gssapi:base GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal @@ -69,70 +45,4 @@ GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MBDB} -INVALID_BDB_VER=2 -.endif - -.if ${PORT_OPTIONS:MOPENLDAP} -.if defined(WITH_OPENLDAP_VER) -WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} -.endif -.endif - -.if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ - !${PORT_OPTIONS:MGSSAPI_MIT} -CONFIGURE_ARGS+=--disable-gssapi -.endif - -.if ${OPENSSLBASE} == /usr -CONFIGURE_ARGS+=--with-openssl=yes -.else -CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} -.endif - -SASLAUTHD_RUNPATH?= /var/run/saslauthd -.if ${SASLAUTHD_RUNPATH} != /var/run/saslauthd -RUNPATH= "@comment " -.endif - -CYRUS_USER?= cyrus - -DOCS= AUTHORS COPYING ChangeLog INSTALL LDAP_SASLAUTHD NEWS README - -PLIST_SUB= PREFIX=${PREFIX} \ - DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \ - RUNPATH=${RUNPATH} - -SUB_LIST+= SASLAUTHD_RUNPATH=${SASLAUTHD_RUNPATH} - -do-build: - cd ${WRKSRC}/include && ${MAKE} - cd ${WRKSRC}/sasldb && ${MAKE} - cd ${WRKSRC}/saslauthd && ${MAKE} - cd ${WRKSRC}/saslauthd && ${MAKE} saslcache - cd ${WRKSRC}/saslauthd && ${MAKE} testsaslauthd - -post-install: - @${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/saslcache \ - ${STAGEDIR}${PREFIX}/sbin/saslcache - @${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/testsaslauthd \ - ${STAGEDIR}${PREFIX}/sbin/testsaslauthd -.if ${SASLAUTHD_RUNPATH} != /var/run/saslauthd - @${ECHO_MSG} "" - @${ECHO_MSG} "SASLAUTHD_RUNPATH was specified." - @${ECHO_MSG} "Make sure you create ${SASLAUTHD_RUNPATH}." - @${ECHO_MSG} "" -.else - @${MKDIR} ${STAGEDIR}/var/run/saslauthd -.endif - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR}/saslauthd -.for file in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/saslauthd/${file} \ - ${STAGEDIR}${DOCSDIR}/saslauthd -.endfor - -.include <bsd.port.post.mk> +.include "${.CURDIR}/../../security/cyrus-sasl2/Makefile.common" |