mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
6d25652c5d
Fixes potential CVE-2014-3566 vulnerability DavMail 4.6.1 Bugfix release to fix recent regression with Office 365, also includes a few Linux and IMAP enhancements. Linux: - RPM: exclude Growl library from RPM package - Add genericname to desktop entry - RPM: Fix warning the init script refers to runlevel 4 which is admin defined. No distribution script must use it - Detect and log message for Unity users - RPM: Fix JAVA HOME detection for openSUSE_13.2 - RPM: update spec file from OpenSuse build by Dmitri Bachtin and Achim Herwig SWT: - SWT: improve tray init, preload image and add a delay on first message Enhancements: - Add a few more logging statements IMAP: - Fix #36 Endless loop when using IMAP IDLE feature with SSL sockets, replaced thread sleep with a short timeout on socket read EWS: - EWS: update checkEndPointUrl, send get root folder request instead of static wsdl request no longer available on Office365 DavMail 4.6.0 Bugfix release with many IMAP enhancements over EWS, implement batch move items, also includes a brand new generic OSX package to handle new OSX java behaviour. OSX: - OSX: refactor OSX package based on universalJavaApplicationStub - Replace Java application stub with https://github.com/tofi86/universalJavaApplicationStub/blob/master/src/universalJavaApplicationStub Doc: - Doc: update OSX setup documentation - Doc: additional Linux instructions for Ubuntu 14 - Fix #31 A typo in davmail.properties example EWS: - EWS: improve main calendar folder test - EWS: fix batch move - EWS: Adjust paged search for folders - EWS: implement batch move items - EWS: improve folder paged search - Prepare batch move implementation - EWS: force NTLM in direct EWS mode - EWS: implement batch move method - EWS: switch to GetMethod to check endpoint - EWS: take paging into account in appendSubFolders - EWS: fix ErrorExceededFindCountLimit on FindFolder requests - EWS: avoid NullPointerException in fixAttendees Linux: - Allow Java 8 and default jre in debian package IMAP: - IMAP: fix 587 log and skip broken messages Caldav - Caldav: fix #98 Support of Contacts in CardDav REPORT - Fix #35 duplicates in updated reoccurring events Enhancements - From audit: remove throws statement - Adjust KerberosHelper logging message - Fix for #534 Kerberos Authentication doesn't seem to be work cross domain LDAP: - LDAP: reset icon after search PR: 198297 Submitted by: John Hein <z7dr6ut7gs@snkmail.com> Approved by: <john.c.prather@gmail.com> (maintainer (timeout))
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# Created by: John Prather
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= davmail
|
|
PORTVERSION= 4.6.1
|
|
CATEGORIES= mail java
|
|
MASTER_SITES= SF/davmail/davmail/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}-${REVISION}
|
|
|
|
MAINTAINER= john.c.prather@gmail.com
|
|
COMMENT= POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= dos2unix tar:tgz
|
|
DOS2UNIX_FILES= build.xml
|
|
NO_ARCH= yes
|
|
USE_ANT= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
ALL_TARGET= release
|
|
REVISION= 2343
|
|
# port build number, same as on DISTNAME
|
|
MAKE_ARGS= -Drevision=${REVISION}
|
|
MAKE_ENV+= "ANT_OPTS=-Dfile.encoding=UTF-8"
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
USE_RC_SUBR= davmail
|
|
SUB_FILES= davmail.sh
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#exec=\"davmail\"#exec=\"${PREFIX}/bin/davmail\"#' \
|
|
-e 's#icon=\"/usr/share/davmail/davmail.png\"#icon=\"${DATADIR}/davmail.png\"#' \
|
|
${WRKSRC}/build.xml
|
|
|
|
do-install:
|
|
@cd ${WRKSRC}/dist && ${FIND} . -type d \
|
|
-exec ${MKDIR} ${STAGEDIR}${DATADIR}/\{} \;
|
|
@cd ${WRKSRC}/dist && ${FIND} . -type f \
|
|
-not -name "*.deb" \
|
|
-not -name "*.tgz" \
|
|
-not -name "*.exe" \
|
|
-not -name "swt-*.jar" \
|
|
-not -name "*.zip" \
|
|
-not -name "*.war" \
|
|
-not -name "*.rpm" \
|
|
-not -name "*.desktop" \
|
|
-exec ${INSTALL_DATA} \{} ${STAGEDIR}${DATADIR}/\{} \;
|
|
${INSTALL_SCRIPT} ${WRKDIR}/davmail.sh ${STAGEDIR}${PREFIX}/bin/davmail
|
|
${INSTALL_DATA} ${WRKSRC}/src/etc/davmail.properties \
|
|
${STAGEDIR}${PREFIX}/etc/davmail.properties.sample
|
|
${INSTALL_DATA} ${WRKSRC}/dist/davmail.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
|
|
.include <bsd.port.mk>
|