From owner-svn-ports-all@FreeBSD.ORG Sun Oct 13 16:24:19 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 83EF985D; Sun, 13 Oct 2013 16:24:19 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6295D2ABC; Sun, 13 Oct 2013 16:24:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9DGOJKQ060266; Sun, 13 Oct 2013 16:24:19 GMT (envelope-from ume@svn.freebsd.org) Received: (from ume@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9DGOJug060265; Sun, 13 Oct 2013 16:24:19 GMT (envelope-from ume@svn.freebsd.org) Message-Id: <201310131624.r9DGOJug060265@svn.freebsd.org> From: Hajimu UMEMOTO Date: Sun, 13 Oct 2013 16:24:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330238 - head/security/cyrus-sasl2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2013 16:24:19 -0000 Author: ume Date: Sun Oct 13 16:24:18 2013 New Revision: 330238 URL: http://svnweb.freebsd.org/changeset/ports/330238 Log: - use modern OPTIONS helper. - remove LATEST_LINK as this port has no package name collision. Modified: head/security/cyrus-sasl2/Makefile Modified: head/security/cyrus-sasl2/Makefile ============================================================================== --- head/security/cyrus-sasl2/Makefile Sun Oct 13 16:14:01 2013 (r330237) +++ head/security/cyrus-sasl2/Makefile Sun Oct 13 16:24:18 2013 (r330238) @@ -13,8 +13,6 @@ COMMENT= RFC 2222 SASL (Simple Authentic LICENSE= BSD LICENSE_FILE= ${WRKSRC}/COPYING -LATEST_LINK= ${PORTNAME}2 - USES= perl5 USE_PERL5= patch USE_AUTOTOOLS= libtool @@ -62,62 +60,71 @@ OPTIONS_RADIO= SQLITE OPTIONS_RADIO_SQLITE= SQLITE2 SQLITE3 OPTIONS_GROUP= MECH OPTIONS_GROUP_MECH= CRAM DIGEST LOGIN NTLM OTP PLAIN SCRAM -OPTIONS_DEFAULT= AUTHDAEMOND OBSOLETE_CRAM_ATTR CRAM DIGEST LOGIN NTLM \ - OTP PLAIN SCRAM +OPTIONS_DEFAULT= AUTHDAEMOND OBSOLETE_CRAM_ATTR CRAM DIGEST \ + LOGIN NTLM OTP PLAIN SCRAM +OPTIONS_SUB= yes ALWAYSTRUE_DESC= the alwaystrue password verifier +ALWAYSTRUE_CONFIGURE_ENABLE=alwaystrue AUTHDAEMOND_DESC= use of authdaemon +AUTHDAEMOND_CONFIGURE_ON=--with-authdaemond=/var/run/authdaemond/socket +AUTHDAEMOND_CONFIGURE_OFF=--with-authdaemond=no KEEP_DB_OPEN_DESC= Keep handle to Berkeley DB open +KEEP_DB_OPEN_CONFIGURE_ENABLE=keep-db-open OBSOLETE_CRAM_ATTR_DESC=cmusaslsecretCRAM-MD5 property +OBSOLETE_CRAM_ATTR_CONFIGURE_OFF=--enable-obsolete_cram_attr=no +BDB_CONFIGURE_ON= --with-dblib=berkeley \ + --with-bdb-libdir=${BDB_LIB_DIR} \ + --with-bdb-incdir=${BDB_INCLUDE_DIR} \ + --with-bdb=${BDB_LIB_NAME} +BDB_CONFIGURE_OFF= --with-dblib=ndbm +MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE} +MYSQL_CONFIGURE_OFF= --without-mysql +PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} +PGSQL_CONFIGURE_OFF= --without-pgsql SQLITE2_DESC= SQLite 2 database +SQLITE2_CONFIGURE_ON= --with-sqlite=${LOCALBASE} +SQLITE2_CONFIGURE_OFF= --without-sqlite +SQLITE3_CONFIGURE_ON= --with-sqlite3=${LOCALBASE} +SQLITE3_CONFIGURE_OFF= --without-sqlite3 CRAM_DESC= CRAM-MD5 authentication +CRAM_CONFIGURE_ENABLE= cram DIGEST_DESC= DIGEST-MD5 authentication +DIGEST_CONFIGURE_ENABLE=digest LOGIN_DESC= LOGIN authentication +LOGIN_CONFIGURE_ENABLE= login NTLM_DESC= NTLM authentication +NTLM_CONFIGURE_ENABLE= ntlm OTP_DESC= OTP authentication +OTP_CONFIGURE_ENABLE= otp PLAIN_DESC= PLAIN authentication +PLAIN_CONFIGURE_ENABLE= plain SCRAM_DESC= SCRAM authentication +SCRAM_CONFIGURE_ENABLE= scram .include .if ${PORT_OPTIONS:MBDB} USE_BDB= yes INVALID_BDB_VER=2 -CONFIGURE_ARGS+=--with-dblib=berkeley \ - --with-bdb-libdir=${BDB_LIB_DIR} \ - --with-bdb-incdir=${BDB_INCLUDE_DIR} \ - --with-bdb=${BDB_LIB_NAME} SASLDB_NAME= sasldb2 .else -CONFIGURE_ARGS+=--with-dblib=ndbm SASLDB_NAME= sasldb2.db .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes -CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} -.else -CONFIGURE_ARGS+=--without-mysql .endif .if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes -CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} -.else -CONFIGURE_ARGS+=--without-pgsql .endif .if ${PORT_OPTIONS:MSQLITE2} USE_SQLITE= 2 -CONFIGURE_ARGS+=--with-sqlite=${LOCALBASE} -.else -CONFIGURE_ARGS+=--without-sqlite .endif .if ${PORT_OPTIONS:MSQLITE3} USE_SQLITE= 3 -CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} -.else -CONFIGURE_ARGS+=--without-sqlite3 .endif .if ${PORT_OPTIONS:MMYSQL} || ${PORT_OPTIONS:MPGSQL} || \ @@ -127,62 +134,6 @@ CONFIGURE_ARGS+=--enable-sql SQL= "@comment " .endif -.if ${PORT_OPTIONS:MALWAYSTRUE} -CONFIGURE_ARGS+=--enable-alwaystrue -.endif - -.if ${PORT_OPTIONS:MKEEP_DB_OPEN} -CONFIGURE_ARGS+=--enable-keep-db-open -.endif - -.if !${PORT_OPTIONS:MOBSOLETE_CRAM_ATTR} -CONFIGURE_ARGS+=--enable-obsolete_cram_attr=no -.endif - -.if ${PORT_OPTIONS:MAUTHDAEMOND} -CONFIGURE_ARGS+=--with-authdaemond=/var/run/authdaemond/socket -.else -CONFIGURE_ARGS+=--with-authdaemond=no -.endif - -.if ${PORT_OPTIONS:MLOGIN} -CONFIGURE_ARGS+=--enable-login -.else -LOGIN= "@comment " -.endif - -.if !${PORT_OPTIONS:MPLAIN} -CONFIGURE_ARGS+=--disable-plain -PLAIN= "@comment " -.endif - -.if !${PORT_OPTIONS:MOTP} -CONFIGURE_ARGS+=--disable-otp -OTP= "@comment " -.endif - -.if !${PORT_OPTIONS:MCRAM} -CONFIGURE_ARGS+=--disable-cram -CRAM= "@comment " -.endif - -.if !${PORT_OPTIONS:MDIGEST} -CONFIGURE_ARGS+=--disable-digest -DIGEST= "@comment " -.endif - -.if ${PORT_OPTIONS:MNTLM} -CONFIGURE_ARGS+=--enable-ntlm -.else -CONFIGURE_ARGS+=--disable-ntlm -NTLM= "@comment " -.endif - -.if !${PORT_OPTIONS:MSCRAM} -CONFIGURE_ARGS+=--disable-scram -SCRAM= "@comment " -.endif - .if ${ARCH} == "amd64" CPPFLAGS+= -fPIC .endif @@ -225,16 +176,9 @@ HTDOCS= advanced appconvert components g mechanisms options plugprog programming readme sysadmin upgrading \ windows -PLIST_SUB= PREFIX=${PREFIX} \ - LOGIN=${LOGIN} \ - PLAIN=${PLAIN} \ - OTP=${OTP} \ - CRAM=${CRAM} \ - DIGEST=${DIGEST} \ - NTLM=${NTLM} \ +PLIST_SUB+= PREFIX=${PREFIX} \ GSSAPI=${GSSAPI} \ EBONES=${EBONES} \ - SCRAM=${SCRAM} \ SQL=${SQL} \ DOCSDIR=${DOCSDIR:S/^${PREFIX}\///}