Date: Mon, 10 Dec 2018 14:13:53 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487168 - in head/mail/roundcube: . files Message-ID: <201812101413.wBAEDse6047574@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812101413.wBAEDse6047574>