From owner-svn-ports-head@freebsd.org Mon Dec 10 14:13:55 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E779F13274FF; Mon, 10 Dec 2018 14:13:54 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A01D7A8E4; Mon, 10 Dec 2018 14:13:54 +0000 (UTC) (envelope-from ale@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6B2A020F58; Mon, 10 Dec 2018 14:13:54 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBAEDstw047576; Mon, 10 Dec 2018 14:13:54 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBAEDse6047574; Mon, 10 Dec 2018 14:13:54 GMT (envelope-from ale@FreeBSD.org) Message-Id: <201812101413.wBAEDse6047574@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Mon, 10 Dec 2018 14:13:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487168 - in head/mail/roundcube: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ale X-SVN-Commit-Paths: in head/mail/roundcube: . files X-SVN-Commit-Revision: 487168 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8A01D7A8E4 X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-0.99)[-0.990,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 10 Dec 2018 14:13:55 -0000 Author: ale Date: Mon Dec 10 14:13:53 2018 New Revision: 487168 URL: https://svnweb.freebsd.org/changeset/ports/487168 Log: Add newsyslog script for log rotate [1]. Don't set DB backends as mutually exclusive [2]. PR: 210195 [1], 221764 [2] Submitted by: ler, crees Added: head/mail/roundcube/files/newsyslog.conf.in (contents, props changed) Modified: head/mail/roundcube/Makefile Modified: head/mail/roundcube/Makefile ============================================================================== --- head/mail/roundcube/Makefile Mon Dec 10 14:02:36 2018 (r487167) +++ head/mail/roundcube/Makefile Mon Dec 10 14:13:53 2018 (r487168) @@ -2,6 +2,7 @@ PORTNAME= roundcube DISTVERSION= 1.3.8 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES?= mail www MASTER_SITES= https://github.com/roundcube/roundcubemail/releases/download/${DISTVERSION}/ @@ -28,9 +29,9 @@ CPE_VENDOR= roundcube USE_PHP= pcre mbstring session iconv dom xml json intl zip filter openssl fileinfo exif -OPTIONS_DEFINE= LDAP GD PSPELL NSC DOCS -OPTIONS_SINGLE= DB -OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE +OPTIONS_DEFINE= LDAP GD PSPELL NSC DOCS EXAMPLES +OPTIONS_MULTI= DB +OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT=MYSQL DB_DESC= Database backend @@ -51,6 +52,8 @@ PGSQL_VARS= use_php+=pdo_pgsql PSPELL_VARS= use_php+=pspell SQLITE_VARS= use_php+=pdo_sqlite +SUB_FILES= newsyslog.conf + post-extract-NSC: @${CP} ${FILESDIR}/spellchecker.php ${WRKSRC} @@ -75,5 +78,13 @@ do-install-DOCS-on: .for i in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor + +do-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKDIR}/newsyslog.conf ${STAGEDIR}${EXAMPLESDIR} + @${ECHO_CMD} '@dir etc/newsyslog.conf.d' \ + >> ${TMPPLIST} + @${ECHO_CMD} '@sample ${EXAMPLESDIR}/newsyslog.conf etc/newsyslog.conf.d/roundcube.conf' \ + >> ${TMPPLIST} .include Added: head/mail/roundcube/files/newsyslog.conf.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/roundcube/files/newsyslog.conf.in Mon Dec 10 14:13:53 2018 (r487168) @@ -0,0 +1,3 @@ +# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] +%%WWWDIR%%/roundcube/logs/errors www:www 644 10 1000 * XCBN +%%WWWDIR%%/roundcube/logs/sendmail www:www 644 10 1000 * XCBN