network/davmail: Updated for version 5.5.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Giuseppe Di Terlizzi 2021-04-02 11:18:39 +07:00 committed by Willy Sudiarto Raharjo
parent 0a284b007e
commit 5e635b5de1
3 changed files with 18 additions and 7 deletions

View File

@ -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

View File

@ -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"

View File

@ -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