From 201c94b74e120aca0212b5377ec251b873ee028e Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Tue, 25 Jul 2023 13:06:27 +0200 Subject: net-mail/davmail-bin: add 6.1.0 Signed-off-by: Sven Eden --- net-mail/davmail-bin/Manifest | 2 + net-mail/davmail-bin/davmail-bin-6.1.0.ebuild | 71 +++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 net-mail/davmail-bin/davmail-bin-6.1.0.ebuild (limited to 'net-mail') diff --git a/net-mail/davmail-bin/Manifest b/net-mail/davmail-bin/Manifest index 503a167..5cd1b78 100644 --- a/net-mail/davmail-bin/Manifest +++ b/net-mail/davmail-bin/Manifest @@ -4,6 +4,8 @@ AUX davmail.png 4218 BLAKE2B 590ac8db85b1a4e9bb5c06d773349684a8ebabaeb584001d14a AUX davmail.properties 1290 BLAKE2B 8be15234a50650a2082b3cedd003427c217dea63f2804e44da3470c3db740f4fcf0279cdb99a6b619484067721a9b28c9fcff56509e17fbdd768689cfcfa0a61 SHA512 af7403a99a5014b35163801a818c141ab7d0427f660900e15e16724ab1d05b4f346389584ff4537692d9f48f31a191a77f4b55d2960e694cfc00f2d00ba8ded6 DIST davmail-6.0.0-3375.zip 7564456 BLAKE2B 614027f27a35e4a4701b1760ee796b445a256a66144174bb82970cb2451e6118a17c9963c95e7963421c1b07bfafe8cdabeac9519ed606a516aff974f76fba1f SHA512 9279e94058b8be01a45452cc04d8ae27b493446b7f91b18cc9b295913a1ed1f7c3253d14cf25bc408327816e678ae2c8fecbfcf09c3015267ef9e394b1759d34 DIST davmail-6.0.1-3390.zip 7564902 BLAKE2B 79538f59e8d061b461d43ba5314f5ef5c55c8a34c999a4cac7308945205854ea47d762358fcffe8c36dd82d56bcb2d0d1a150aa76dd3305328ff368203293f9b SHA512 abc6c6c64524aeac394e80422de3b4fd0c4fc8f9076c99b3177d9d7296e870a8f7673148a403319921911abc34ae81bd74c43c68b8187c072e7324544c785e39 +DIST davmail-6.1.0-3423.zip 7572875 BLAKE2B ea9eb9d3b520fc04f2e4667ed40cdee97db16d712031c89442e83eae166ac0d3229563e1b64d15a17bdbbd38a4eb24931a1254c3aed704ede55890929b416663 SHA512 e077a227b14122f7fbd6732ef3acd54df92c288af6a3037ead3023ce642cd4c3811762bf64d24e841c6e80c0418b99191b65b90f0a9819206db10067e3405a94 EBUILD davmail-bin-6.0.0.ebuild 1659 BLAKE2B 3057a1d626a5178b4aeded34215ddd14a508ff6beb6babfb0c2d4ab99a2a2353a59a769bf1ead38d9224fe8b77687e9e457ef0f901b84ee187c4faecb69bf862 SHA512 00f4fb69612451e4139b447d30205a5f95edcbaff69f02452791c7bd2a377ca6e5093227ab0a88034bf8bf39070bb48a348b03d659dacbc0fd546602d0b1c0f0 EBUILD davmail-bin-6.0.1.ebuild 1670 BLAKE2B cd9b9fbc9a3698377ce095e15693a5479c8f1cd6a2ff97cdd1ad8456607e6fbb986578b9b92364e7ad9655d0e9bf00f3a0e8a6db2230daae8b372f1fa75c04a2 SHA512 bdc5231cf7163f5aaafc964d338894c9e5d2fb5b3685b38b4435a954d28cef050c7f1e175a70d33158cf27ae85ced674625ee10c2348d32dc6a233aa7bd2d889 +EBUILD davmail-bin-6.1.0.ebuild 1663 BLAKE2B 43ff0eeff2862309ffee3e3a4602802414c1d1a9a3082f568a08e0836dc9598df2ae0175e47490bcaba92b58b848188041b0acb08b5604316fa33052a2a29d48 SHA512 56759c97b65962fc77aa74847786a0e00d41559fe4f40c22370293fcaa489400c756305f9732e21dc0b2254d5dda86dc271aeab0eef113e82a2013fade457384 MISC metadata.xml 464 BLAKE2B 5fc36e9755b33e4e31d2e5805d770cda02a001bb6ba6d2e388772b8f5028213aeb805075ec5f01f5cecf2038d52c9e9f771b468a9116d10efacb3f0f1da0bde1 SHA512 726279d2e3e4e3f918b957d40fed9032a8ed1db2c915d21db16aaabf62d5e16785b375867e452028e9f67d477b24e1e5e2f0d89847d968d04e259d637a03a556 diff --git a/net-mail/davmail-bin/davmail-bin-6.1.0.ebuild b/net-mail/davmail-bin/davmail-bin-6.1.0.ebuild new file mode 100644 index 0000000..b2a2feb --- /dev/null +++ b/net-mail/davmail-bin/davmail-bin-6.1.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop java-pkg-2 + +MY_REV="3423" +MY_PN="davmail" +MY_P="${MY_PN}-${PV}-${MY_REV}" + +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.zip" +DESCRIPTION="POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway" +HOMEPAGE="http://davmail.sourceforge.net/" +RESTRICT="mirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="server" + +DEPEND=" + || ( >=virtual/jre-1.8:* + >=virtual/jdk-1.8:* ) + server? ( acct-user/davmail ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +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 +} -- cgit v1.2.3-65-gdbad