aboutsummaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2-srp
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2016-02-27 05:15:57 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2016-02-27 05:15:57 +0000
commit90e622d893f8606f7d66b3793bda59def1b58c01 (patch)
treeb35e92edcec92b58617ae55bb043d37546925c16 /security/cyrus-sasl2-srp
parent77ba0faeb4122e143025dea2503aece7addda71d (diff)
Move the common part of the cyrus-sasl2 separated ports into
Makefile.common, to make further maintenance easier.
Notes
Notes: svn path=/head/; revision=409651
Diffstat (limited to 'security/cyrus-sasl2-srp')
-rw-r--r--security/cyrus-sasl2-srp/Makefile58
1 files changed, 2 insertions, 56 deletions
diff --git a/security/cyrus-sasl2-srp/Makefile b/security/cyrus-sasl2-srp/Makefile
index 1fda9ad044bc..0c01ff4d5a8d 100644
--- a/security/cyrus-sasl2-srp/Makefile
+++ b/security/cyrus-sasl2-srp/Makefile
@@ -1,53 +1,11 @@
# $FreeBSD$
-PORTNAME= srp
-PORTVERSION= 2.1.26
-#PORTREVISION= 0
-CATEGORIES= security ipv6
-MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-sasl/ \
- http://cyrusimap.org/releases/
-PKGNAMEPREFIX= cyrus-sasl-
-DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}
+PKGNAMESUFFIX= -srp
-MAINTAINER= ume@FreeBSD.org
COMMENT= SASL SRP authentication plugin
-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}/plugins
-
-USES= libtool
-USE_LDCONFIG= yes
-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 \
- --with-rc4=openssl
-CONFIGURE_ARGS+=--with-dblib=none \
- --disable-anon \
- --disable-cram \
- --disable-digest \
- --disable-gssapi \
- --disable-krb4 \
- --disable-ntlm \
- --disable-otp \
- --disable-plain \
- --disable-scram
CONFIGURE_ARGS+=--enable-srp
-MAKE_ENV+= INSTALL_STRIP_FLAG=${STRIP}
-
OPTIONS_DEFINE= SRP_SETPASS
OPTIONS_DEFAULT= SRP_SETPASS
SRP_SETPASS_DESC= setting SRP secrets with saslpasswd
@@ -58,16 +16,4 @@ PLIST_FILES= lib/sasl2/libsrp.a \
lib/sasl2/libsrp.so.3 \
lib/sasl2/libsrp.so.3.0.0
-.include <bsd.port.pre.mk>
-
-.if ${OPENSSLBASE} == /usr
-CONFIGURE_ARGS+=--with-openssl=yes
-.else
-CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
-.endif
-
-do-build:
- cd ${WRKSRC}/include && ${MAKE}
- cd ${WRKSRC}/plugins && ${MAKE}
-
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../../security/cyrus-sasl2/Makefile.common"