From owner-svn-ports-head@freebsd.org Sat Dec 23 09:17:50 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E06FEA0E15; Sat, 23 Dec 2017 09:17:50 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 681057CA4C; Sat, 23 Dec 2017 09:17:50 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBN9Hn7U058710; Sat, 23 Dec 2017 09:17:49 GMT (envelope-from ume@FreeBSD.org) Received: (from ume@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBN9HnAt058708; Sat, 23 Dec 2017 09:17:49 GMT (envelope-from ume@FreeBSD.org) Message-Id: <201712230917.vBN9HnAt058708@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ume set sender to ume@FreeBSD.org using -f From: Hajimu UMEMOTO Date: Sat, 23 Dec 2017 09:17:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457030 - in head/mail/cyrus-imapd30: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ume X-SVN-Commit-Paths: in head/mail/cyrus-imapd30: . files X-SVN-Commit-Revision: 457030 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Dec 2017 09:17:50 -0000 Author: ume Date: Sat Dec 23 09:17:49 2017 New Revision: 457030 URL: https://svnweb.freebsd.org/changeset/ports/457030 Log: - Add XAPIAN option. [1] - Drop MySQL include path from configure option. [1] - Fix build when XAPIAN is enabled. - Enable AUTOCREATE option by default. Submitted by: Paul Blazejowski [1] Added: head/mail/cyrus-imapd30/files/patch-lib_assert.h (contents, props changed) Modified: head/mail/cyrus-imapd30/Makefile Modified: head/mail/cyrus-imapd30/Makefile ============================================================================== --- head/mail/cyrus-imapd30/Makefile Sat Dec 23 09:16:31 2017 (r457029) +++ head/mail/cyrus-imapd30/Makefile Sat Dec 23 09:17:49 2017 (r457030) @@ -2,7 +2,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 3.0.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-imapd/ \ http://cyrusimap.org/releases/ @@ -45,9 +45,10 @@ CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE BACKUP CLAMAV HTTP IDLED LDAP LMDB MURDER \ - MYSQL NNTP PGSQL REPLICATION SNMP SQLITE SQUAT DOCS + MYSQL NNTP PGSQL REPLICATION SNMP SQLITE SQUAT XAPIAN \ + DOCS #OPTIONS_DEFINE+= DRAC -OPTIONS_DEFAULT= CLAMAV IDLED SQLITE SQUAT +OPTIONS_DEFAULT= AUTOCREATE CLAMAV IDLED SQLITE SQUAT OPTIONS_SUB= yes AUTOCREATE_DESC= Enable autocreate support AUTOCREATE_CONFIGURE_ENABLE= autocreate @@ -81,9 +82,7 @@ MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USES= mysql -MYSQL_CONFIGURE_ON= --with-mysql=yes \ - --with-mysql-libdir=${LOCALBASE}/lib/mysql \ - --with-mysql-incdir=${LOCALBASE}/include/mysql +MYSQL_CONFIGURE_WITH= mysql NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PGSQL_USES= pgsql @@ -97,11 +96,9 @@ SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} SQLITE_BROKEN_OFF= SQLITE is requited SQUAT_DESC= Enable Squat support SQUAT_CONFIGURE_OFF= --disable-squat -# Need additional patch to xapian -#OPTIONS_DEFINE+= XAPIAN -#XAPIAN_DESC= Enable Xapian support -#XAPIAN_CONFIGURE_ENABLE=xapian -#XAPIAN_LIB_DEPENDS= libxapian.so:databases/xapian-core +XAPIAN_DESC= Enable Xapian support +XAPIAN_CONFIGURE_ENABLE=xapian +XAPIAN_LIB_DEPENDS= libxapian.so:databases/xapian-core OPTIONS_RADIO= GSSAPI OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT Added: head/mail/cyrus-imapd30/files/patch-lib_assert.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/cyrus-imapd30/files/patch-lib_assert.h Sat Dec 23 09:17:49 2017 (r457030) @@ -0,0 +1,22 @@ +--- lib/assert.h.orig 2017-09-02 01:09:05 UTC ++++ lib/assert.h +@@ -43,6 +43,10 @@ + #ifndef INCLUDED_ASSERT_H + #define INCLUDED_ASSERT_H + ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + #ifdef __STDC__ + #define assert(ex) {if (!(ex))assertionfailed(__FILE__, __LINE__, #ex);} + void assertionfailed(const char *file, int line, const char *expr); +@@ -50,4 +54,8 @@ void assertionfailed(const char *file, i + #define assert(ex) {if (!(ex))assertionfailed(__FILE__, __LINE__, (char*)0);} + #endif + ++#ifdef __cplusplus ++} ++#endif ++ + #endif /* INCLUDED_ASSERT_H */