Skip to content
Permalink
Browse files

davmail-bin: 5.3.0.3065 bump

  • Loading branch information...
blshkv committed Aug 12, 2019
1 parent 33c238e commit 5b759fdbfba442d9d1d8e69bc0b007893585a1a8
Showing with 78 additions and 0 deletions.
  1. +1 −0 net-mail/davmail-bin/Manifest
  2. +77 −0 net-mail/davmail-bin/davmail-bin-5.3.0.3065.ebuild
@@ -1,3 +1,4 @@
DIST davmail-5.2.0-2961.zip 5685697 BLAKE2B d83dced73e3b3f85810535c980918b1ef0e66986f0457c9cc4abd979b92fa3b231560407b83b54e9727cdc9516a497be4069be359abe08b93b075e2978afb41c SHA512 f58fab1c7c0538677c37159275a5a6fde9d96b1e8aab764dbecc2a6dbb4627a28d66a43943db5115d4e955a204cd194f065d0a74b2407d88e3ef17539a22f527
DIST davmail-5.3.0-3065.zip 5735001 BLAKE2B a5a6722a133af78f640ab702ffa4f2a552233386eea5a61e9ba361effc7323e7ad05fbc26493aa896dfb4745ddcdd8a662d8044efcba883298b055003ff9b2fe SHA512 462c0f18ffacb5686799d08e651e06f353a4260c73e2df4d1837a6426da3276ada82a52b4aa3a8f21431e1f173c6e4f6ccdb8ae6c24260d5956b83d653312e02
DIST davmail-linux-x86-4.7.3-2438.tgz 6551950 BLAKE2B 2cfc06156f1b9580343c0febb07e27a9661195c5adb04cad262d4423ab49d2f89e9d081a928ba904c9dab718f3e46612c09ae4cf5bd10c50ebada5681b9af3ec SHA512 f29c4e02c9a26c014793f2ba700a90500790d3a41b162a196630e2c8fabadba662d917bde7da0e471c08fedade7f2aae33c9a73237a254191ec4cdbde6e4a682
DIST davmail-linux-x86_64-4.7.3-2438.tgz 6697846 BLAKE2B 780c564d05b4d78c07f661384b373e7548b5577949732be7ce8b0fb72aa1d0b13ac082dbb2325329fb405611479e290aebca880e1ae162b7c0cbd48966dc3313 SHA512 28e30c5031656b7a04a29808c26f1abcec62a885c9c7d30b961092dca1cf051f05bc9fcd24ec8c6f9d1297e0cef38b8f8b1841f187988ad8578519041607e753
@@ -0,0 +1,77 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit eutils java-pkg-2 user

#https://sourceforge.net/projects/davmail/files/davmail/
MY_PN="davmail"

DESCRIPTION="POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway"
HOMEPAGE="http://davmail.sourceforge.net/"
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-$(ver_cut 1-3)-$(ver_cut 4).zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 -*"
IUSE="server"

DEPEND="|| (
>=virtual/jre-1.6:*
>=virtual/jdk-1.6:*
)
!net-mail/davmail"
RDEPEND="${DEPEND}"
S="${WORKDIR}"

pkg_setup() {
if use server ; then
enewuser davmail -1 -1 /dev/null
fi
}

java-pkg-2_src_compile() {
einfo ""
}

src_install() {
# libraries
java-pkg_dojar lib/*.jar
java-pkg_dojar ${MY_PN}.jar

# icon
# doicon "${FILESDIR}"/${MY_PN}.png

# create wrapper script for the client
java-pkg_dolauncher ${MY_PN} --main ${MY_PN}.DavGateway --java_args ""

# desktop entry
make_desktop_entry ${MY_PN} "DavMail" /usr/share/pixmaps/${MY_PN}.png "Network"

if use server ; then
# log file
touch ${MY_PN}.log
insinto /var/log
doins ${MY_PN}.log
fowners ${MY_PN} /var/log/${MY_PN}.log

# config files
insinto /etc
doins "${FILESDIR}"/${MY_PN}.properties
newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
newconfd "${FILESDIR}"/${MY_PN}.conf ${MY_PN}
fi
}

pkg_postinst() {
if use server ; then
elog
elog "You have chosen to run ${MY_PN} as a system service. You will need to"
elog "modify /etc/${MY_PN}.properties to serve your needs."
elog
elog "You may find it easier to run the ${MY_PN}, configure it via the GUI"
elog "and copy the resulting ~/.${MY_PN}.properties to /etc. Make sure you"
elog "set ${MY_PN}.server=true and ${MY_PN}.allowRemote=true."
elog
fi
}

0 comments on commit 5b759fd

Please sign in to comment.
You can’t perform that action at this time.