FreeBSD Bugzilla – Attachment 143457 Details for
Bug 187796
[patch] update mail/davmail to 4.4.1 plus some fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
refresh patch after some parts applied to svn independently
patch-4.4.1-noswt-20140606 (text/plain), 12.55 KB, created by
John Hein
on 2014-06-06 16:49:14 UTC
(
hide
)
Description:
refresh patch after some parts applied to svn independently
Filename:
MIME Type:
Creator:
John Hein
Created:
2014-06-06 16:49:14 UTC
Size:
12.55 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 356765) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= davmail >-PORTVERSION= 4.2.1 >+PORTVERSION= 4.4.1 > CATEGORIES= mail java > MASTER_SITES= SF/davmail/davmail/${PORTVERSION} > DISTNAME= ${PORTNAME}-src-${PORTVERSION}-${REVISION} >@@ -13,15 +13,13 @@ > > LICENSE= GPLv2 > >-RUN_DEPENDS= ${JAVALIBDIR}/swt-devel.jar:${PORTSDIR}/x11-toolkits/swt-devel >- > USES= dos2unix > DOS2UNIX_FILES= build.xml > USE_ANT= yes > USE_JAVA= yes > JAVA_VERSION= 1.6+ > ALL_TARGET= release >-REVISION= 2089 >+REVISION= 2225 > # port build number, same as on DISTNAME > MAKE_ARGS= -Drevision=${REVISION} > MAKE_ENV+= "ANT_OPTS=-Dfile.encoding=UTF-8" >@@ -31,7 +29,6 @@ > USE_RC_SUBR= davmail > SUB_FILES= davmail.sh > >-NO_STAGE= yes > post-patch: > @${REINPLACE_CMD} -e 's#exec=\"davmail\"#exec=\"${PREFIX}/bin/davmail\"#' \ > -e 's#icon=\"/usr/share/davmail/davmail.png\"#icon=\"${DATADIR}/davmail.png\"#' \ >@@ -39,7 +36,7 @@ > > do-install: > @cd ${WRKSRC}/dist && ${FIND} . -type d \ >- -exec ${MKDIR} ${DATADIR}/\{} \; >+ -exec ${MKDIR} ${STAGEDIR}${DATADIR}/\{} \; > @cd ${WRKSRC}/dist && ${FIND} . -type f \ > -not -name "*.deb" \ > -not -name "*.tgz" \ >@@ -49,16 +46,10 @@ > -not -name "*.war" \ > -not -name "*.rpm" \ > -not -name "*.desktop" \ >- -exec ${INSTALL_DATA} \{} ${DATADIR}/\{} \; >- @${INSTALL_SCRIPT} ${WRKDIR}/davmail.sh ${PREFIX}/bin/davmail >+ -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DATADIR}/\{} \; >+ @${INSTALL_SCRIPT} ${WRKDIR}/davmail.sh ${STAGEDIR}${PREFIX}/bin/davmail > @${INSTALL_DATA} ${FILESDIR}/davmail.properties.sample \ >- ${PREFIX}/etc >- @${INSTALL_DATA} ${WRKSRC}/dist/davmail.desktop ${PREFIX}/share/applications/ >+ ${STAGEDIR}${PREFIX}/etc >+ @${INSTALL_DATA} ${WRKSRC}/dist/davmail.desktop ${STAGEDIR}${PREFIX}/share/applications/ > >-post-install: >- @if [ ! -f ${PREFIX}/etc/davmail.properties ]; then \ >- ${CP} -p ${PREFIX}/etc/davmail.properties.sample \ >- ${PREFIX}/etc/davmail.properties ; \ >- fi >- > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 356765) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (davmail-src-4.2.1-2089.tgz) = 03d2a9d19723c03e253218f6de404580664741e9eb0afb7240703241b619af6a >-SIZE (davmail-src-4.2.1-2089.tgz) = 22503303 >+SHA256 (davmail-src-4.4.1-2225.tgz) = 76c4957d45f8b968543407c1ea4512eecb5d63a57b84bbc679851bc15d939132 >+SIZE (davmail-src-4.4.1-2225.tgz) = 22229902 >Index: files/davmail.in >=================================================================== >--- files/davmail.in (revision 356765) >+++ files/davmail.in (working copy) >@@ -25,7 +25,7 @@ > > start_cmd="${name}_start" > >-procname="java" >+procname="*/java" > pidfile="/var/run/davmail.pid" > required_files=${davmail_config} > >@@ -36,9 +36,8 @@ > return 1 > fi > echo "Starting ${name}." >- for i in %%DATADIR%%/lib/*; do export CLASSPATH=$CLASSPATH:$i; done >- java -cp %%DATADIR%%/davmail.jar:$CLASSPATH:%%JAVAJARDIR%%/swt.jar davmail.DavGateway ${davmail_config} >> /var/log/davmail-error.log 2>&1 & >- echo -n $! > ${pidfile} >+ CLASSPATH="$BASE/lib/*" >+ ((java -cp "%%DATADIR%%/davmail.jar:$CLASSPATH" davmail.DavGateway ${davmail_config} & echo -n $! > ${pidfile}) 2>&1 | logger -p daemon.info -t davmail) & > } > > run_rc_command "$1" >Index: files/davmail.sh.in >=================================================================== >--- files/davmail.sh.in (revision 356765) >+++ files/davmail.sh.in (working copy) >@@ -1,5 +1,5 @@ > #!/bin/sh > # $FreeBSD$ > BASE="%%DATADIR%%" >-for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done >-java -cp $BASE/davmail.jar:$CLASSPATH:%%JAVASHAREDIR%%/classes/swt.jar davmail.DavGateway $1 >+CLASSPATH="$BASE/lib/*" >+exec java -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1 >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 356765) >+++ pkg-plist (working copy) >@@ -2,84 +2,84 @@ > @unexec if cmp -s %D/etc/davmail.properties.sample %D/etc/davmail.properties; then rm -f %D/etc/davmail.properties ; fi > etc/davmail.properties.sample > @exec if [ ! -f %D/etc/davmail.properties ] ; then cp -p %D/%F %B/davmail.properties; fi >-%%JAVASHAREDIR%%/davmail/lib/slf4j-log4j12-1.3.1.jar >-%%JAVASHAREDIR%%/davmail/lib/log4j-1.2.16.jar >+share/applications/davmail.desktop >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Info.plist >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/activation-1.1.1.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/commons-codec-1.3.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/commons-collections-3.1.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/commons-httpclient-3.1.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/commons-logging-1.0.4.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/davmail.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/htmlcleaner-2.2.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/jackrabbit-webdav-2.4.3.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/jcharset-1.3.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/jcifs-1.3.14.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/jdom-1.0.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/libgrowl-0.2.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/log4j-1.2.16.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/mail-1.4.3.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/slf4j-api-1.3.1.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/slf4j-log4j12-1.3.1.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/stax-api-1.0.1.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/stax2-api-3.1.1.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/woodstox-core-asl-4.1.2.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java/xercesImpl-2.8.1.jar >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/MacOS/davmail >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/MacOS/libgrowl.jnilib >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/PkgInfo >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/en.lproj/Localizable.strings >+%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/tray.icns >+%%JAVASHAREDIR%%/davmail/davmail.jar >+%%JAVASHAREDIR%%/davmail/davmail.png >+%%JAVASHAREDIR%%/davmail/davmail.sh >+%%JAVASHAREDIR%%/davmail/lib/activation-1.1.1.jar >+%%JAVASHAREDIR%%/davmail/lib/commons-codec-1.3.jar > %%JAVASHAREDIR%%/davmail/lib/commons-collections-3.1.jar >-%%JAVASHAREDIR%%/davmail/lib/junit-3.8.1.jar >-%%JAVASHAREDIR%%/davmail/lib/commons-codec-1.3.jar >-%%JAVASHAREDIR%%/davmail/lib/libgrowl-0.2.jar >-%%JAVASHAREDIR%%/davmail/lib/mail-1.4.3.jar >+%%JAVASHAREDIR%%/davmail/lib/commons-httpclient-3.1.jar > %%JAVASHAREDIR%%/davmail/lib/commons-logging-1.0.4.jar >-%%JAVASHAREDIR%%/davmail/lib/activation-1.1.1.jar >-%%JAVASHAREDIR%%/davmail/lib/libgrowl.jnilib >+%%JAVASHAREDIR%%/davmail/lib/htmlcleaner-2.2.jar >+%%JAVASHAREDIR%%/davmail/lib/jackrabbit-webdav-2.4.3.jar > %%JAVASHAREDIR%%/davmail/lib/jcharset-1.3.jar > %%JAVASHAREDIR%%/davmail/lib/jcifs-1.3.14.jar > %%JAVASHAREDIR%%/davmail/lib/jdom-1.0.jar >+%%JAVASHAREDIR%%/davmail/lib/junit-3.8.1.jar >+%%JAVASHAREDIR%%/davmail/lib/libgrowl-0.2.jar >+%%JAVASHAREDIR%%/davmail/lib/libgrowl.jnilib >+%%JAVASHAREDIR%%/davmail/lib/log4j-1.2.16.jar >+%%JAVASHAREDIR%%/davmail/lib/mail-1.4.3.jar > %%JAVASHAREDIR%%/davmail/lib/slf4j-api-1.3.1.jar >-%%JAVASHAREDIR%%/davmail/lib/xercesImpl-2.8.1.jar >-%%JAVASHAREDIR%%/davmail/lib/commons-httpclient-3.1.jar >+%%JAVASHAREDIR%%/davmail/lib/slf4j-log4j12-1.3.1.jar >+%%JAVASHAREDIR%%/davmail/lib/stax-api-1.0.1.jar >+%%JAVASHAREDIR%%/davmail/lib/stax2-api-3.1.1.jar > %%JAVASHAREDIR%%/davmail/lib/winrun4j-0.4.4.jar > %%JAVASHAREDIR%%/davmail/lib/woodstox-core-asl-4.1.2.jar >-%%JAVASHAREDIR%%/davmail/lib/stax-api-1.0.1.jar >-%%JAVASHAREDIR%%/davmail/lib/stax2-api-3.1.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/htmlcleaner-2.2.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/jackrabbit-webdav-2.4.3.jar >-%%JAVASHAREDIR%%/davmail/lib/htmlcleaner-2.2.jar >-%%JAVASHAREDIR%%/davmail/lib/jackrabbit-webdav-2.4.3.jar >+%%JAVASHAREDIR%%/davmail/lib/xercesImpl-2.8.1.jar >+%%JAVASHAREDIR%%/davmail/version.txt >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/classes/davmail.properties >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/activation-1.1.1.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/commons-codec-1.3.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/commons-collections-3.1.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/commons-httpclient-3.1.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/commons-logging-1.0.4.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/davmail.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/htmlcleaner-2.2.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/jackrabbit-webdav-2.4.3.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/classes/davmail.properties >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/davmail.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/libgrowl-0.2.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/mail-1.4.3.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/activation-1.1.1.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/jcharset-1.3.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/jcifs-1.3.14.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/jdom-1.0.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/junit-3.8.1.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/jdom-1.0.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/log4j-1.2.16.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/mail-1.4.3.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/slf4j-api-1.3.1.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/slf4j-log4j12-1.3.1.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/xercesImpl-2.8.1.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/commons-collections-3.1.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/commons-httpclient-3.1.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/jcifs-1.3.14.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/commons-codec-1.3.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/commons-logging-1.0.4.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/stax-api-1.0.1.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/stax2-api-3.1.1.jar >-%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/winrun4j-0.4.4.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/woodstox-core-asl-4.1.2.jar >+%%JAVASHAREDIR%%/davmail/web/WEB-INF/lib/xercesImpl-2.8.1.jar > %%JAVASHAREDIR%%/davmail/web/WEB-INF/web.xml >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/MacOS/davmail >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/activation-1.1.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/commons-codec-1.3.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/commons-collections-3.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/commons-httpclient-3.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/commons-logging-1.0.4.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/jcharset-1.3.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/jcifs-1.3.14.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/jdom-1.0.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/libgrowl-0.2.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/libgrowl.jnilib >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/log4j-1.2.16.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/mail-1.4.3.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/slf4j-api-1.3.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/slf4j-log4j12-1.3.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/xercesImpl-2.8.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/davmail.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/stax-api-1.0.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/stax2-api-3.1.1.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java/woodstox-core-asl-4.1.2.jar >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/tray.icns >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Info.plist >-%%JAVASHAREDIR%%/davmail/DavMail.app/Contents/PkgInfo >-%%JAVASHAREDIR%%/davmail/version.txt >-%%JAVASHAREDIR%%/davmail/davmail.jar >-%%JAVASHAREDIR%%/davmail/davmail.png >-%%JAVASHAREDIR%%/davmail/davmail.sh >-share/applications/davmail.desktop > @dirrm %%JAVASHAREDIR%%/davmail/DavMail.app/Contents/MacOS >-@dirrm %%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/Java >+@dirrm %%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Java >+@dirrm %%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources/en.lproj > @dirrm %%JAVASHAREDIR%%/davmail/DavMail.app/Contents/Resources > @dirrm %%JAVASHAREDIR%%/davmail/DavMail.app/Contents > @dirrm %%JAVASHAREDIR%%/davmail/DavMail.app
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mandree
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 187796
:
141079
|
141080
| 143457