2dc1006b11
Update roundcube to 1.4.7. RELEASE 1.4.7 ------------- - Fix bug where subfolders of special folders could have been duplicated on folder list - Increase maximum size of contact jobtitle and department fields to 128 characters - Fix missing newline after the logged line when writing to stdout (#7418) - Elastic: Fix context menu (paste) on the recipient input (#7431) - Fix problem with forwarding inline images attached to messages with no HTML part (#7414) - Fix problem with handling attached images with same name when using database_attachments/redundant_attachments (#7455) - Security: Fix cross-site scripting (XSS) via HTML messages with malicious svg/namespace
52 lines
1.3 KiB
Text
52 lines
1.3 KiB
Text
# $NetBSD: Makefile.common,v 1.20 2020/07/07 04:37:26 taca Exp $
|
|
#
|
|
# used by mail/roundcube/Makefile
|
|
# used by mail/roundcube/plugins.mk
|
|
|
|
DISTNAME= roundcubemail-${RC_VERS}-complete
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=roundcube/}
|
|
GITHUB_PROJECT= roundcubemail
|
|
GITHUB_RELEASE= ${RC_VERS}
|
|
HOMEPAGE= https://roundcube.net/
|
|
|
|
RC_VERS= 1.4.7
|
|
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= pax
|
|
EXTRACT_USING= bsdtar
|
|
NO_BUILD= yes
|
|
WRKNAME= ${DISTNAME:S/-complete//}
|
|
WRKSRC= ${WRKDIR}/${WRKNAME}
|
|
|
|
DISTINFO_FILE?= ${PKGDIR}/../../mail/roundcube/distinfo
|
|
|
|
PKG_SYSCONFSUBDIR?= roundcube
|
|
|
|
PKG_GROUPS_VARS+= WWW_GROUP
|
|
PKG_USERS_VARS= WWW_USER
|
|
BUILD_DEFS+= VARBASE WWW_USER WWW_GROUP APACHE_USER APACHE_GROUP
|
|
|
|
RCDIR= share/roundcube
|
|
EGDIR= share/examples/roundcube
|
|
DOCDIR= share/doc/roundcube
|
|
|
|
MESSAGE_SUBST+= DOCDIR="${PREFIX}/${DOCDIR}" \
|
|
PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
|
|
MESSAGE_SUBST+= VARBASE=${VARBASE} RCDIR="${PREFIX}/${RCDIR}"
|
|
FILES_SUBST+= RCDIR="${PREFIX}/${RCDIR}"
|
|
|
|
.for d in ${CONF_PLUGINS}
|
|
INSTALLATION_DIRS+= ${EGDIR}/plugins/${d}
|
|
.endfor
|
|
|
|
.include "../../mail/roundcube/options.mk"
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
post-install:
|
|
.for f in ${CONF_PLUGINS}
|
|
cd ${DESTDIR}${PREFIX} && \
|
|
${TEST} -f ${EGDIR}/plugins/${f}/config.inc.php || \
|
|
${MV} ${RCDIR}/plugins/${f}/config.inc.php.dist \
|
|
${EGDIR}/plugins/${f}/config.inc.php
|
|
.endfor
|