diff options
author | Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> | 2021-04-02 11:18:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-02 11:18:39 +0700 |
commit | 5e635b5de19ce525d5bde07f9d129f1a2ebc5d69 (patch) | |
tree | e32d35a2112159cf45514226766fdce0c57d0e31 /network/davmail | |
parent | 0a284b007e460e535e5da5bb794932608b8dff2d (diff) |
network/davmail: Updated for version 5.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/davmail')
-rw-r--r-- | network/davmail/davmail.SlackBuild | 4 | ||||
-rw-r--r-- | network/davmail/davmail.info | 6 | ||||
-rw-r--r-- | network/davmail/davmail.sh | 15 |
3 files changed, 18 insertions, 7 deletions
diff --git a/network/davmail/davmail.SlackBuild b/network/davmail/davmail.SlackBuild index 8166e5c38da5..1d4deb3c53c2 100644 --- a/network/davmail/davmail.SlackBuild +++ b/network/davmail/davmail.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for DavMail -# Copyright (c) 2015-2018 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> +# Copyright (c) 2015-2022 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ # Updated by Alfredo Tomasini <alto.tom@gmail.com> to support .zip releases PRGNAM=davmail -VERSION=${VERSION:-4.9.0} +VERSION=${VERSION:-5.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch diff --git a/network/davmail/davmail.info b/network/davmail/davmail.info index 5961fd492932..e21dc8593a37 100644 --- a/network/davmail/davmail.info +++ b/network/davmail/davmail.info @@ -1,8 +1,8 @@ PRGNAM="davmail" -VERSION="4.9.0" +VERSION="5.5.1" HOMEPAGE="http://davmail.sourceforge.net" -DOWNLOAD="https://sourceforge.net/projects/davmail/files/davmail/4.9.0/davmail-4.9.0-2652.zip" -MD5SUM="0d907e0dac83cfe834d2260f6624a2f2" +DOWNLOAD="https://sourceforge.net/projects/davmail/files/davmail/5.5.1/davmail-5.5.1-3299.zip" +MD5SUM="ae194c3571e107081164913a001d6f27" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" diff --git a/network/davmail/davmail.sh b/network/davmail/davmail.sh index 117fb8188a27..4a2f245f6f8e 100644 --- a/network/davmail/davmail.sh +++ b/network/davmail/davmail.sh @@ -1,4 +1,15 @@ #!/bin/sh + BASE=/usr/share/davmail -for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done -exec java -Xmx512M -Dsun.net.inetaddr.ttl=60 -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1 + +if [ -n "$JAVA_HOME" ]; then + JAVA_CMD="$JAVA_HOME/bin/java" +else + JAVA_CMD="$(which java)" +fi + +for i in $BASE/lib/*; do + export CLASSPATH=$CLASSPATH:$i; +done + +exec $JAVA_CMD -Xmx512M -Dsun.net.inetaddr.ttl=60 -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1 |