davmail-bin: drop old, qa fixes

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-09-06 14:38:25 -04:00
parent e5538daef8
commit edf5a523a5
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 5 additions and 78 deletions

View file

@ -1,2 +1 @@
DIST davmail-6.0.0-3375.zip 7564456 BLAKE2B 614027f27a35e4a4701b1760ee796b445a256a66144174bb82970cb2451e6118a17c9963c95e7963421c1b07bfafe8cdabeac9519ed606a516aff974f76fba1f SHA512 9279e94058b8be01a45452cc04d8ae27b493446b7f91b18cc9b295913a1ed1f7c3253d14cf25bc408327816e678ae2c8fecbfcf09c3015267ef9e394b1759d34
DIST davmail-6.0.1-3390.zip 7564902 BLAKE2B 79538f59e8d061b461d43ba5314f5ef5c55c8a34c999a4cac7308945205854ea47d762358fcffe8c36dd82d56bcb2d0d1a150aa76dd3305328ff368203293f9b SHA512 abc6c6c64524aeac394e80422de3b4fd0c4fc8f9076c99b3177d9d7296e870a8f7673148a403319921911abc34ae81bd74c43c68b8187c072e7324544c785e39

View file

@ -1,72 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils java-pkg-2 desktop systemd
#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}
server? ( acct-user/davmail
acct-group/davmail
)"
S="${WORKDIR}"
java-pkg-2_src_compile() {
einfo ""
}
src_install() {
# libraries
java-pkg_dojar lib/*.jar
java-pkg_dojar ${MY_PN}.jar
# create wrapper script for the client
java-pkg_dolauncher ${MY_PN} --main ${MY_PN}.DavGateway --java_args ""
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}
systemd_dounit "${FILESDIR}"/davmail.service
else
# icon
doicon "${FILESDIR}"/${MY_PN}.png
# desktop entry
make_desktop_entry ${MY_PN} "DavMail" /usr/share/pixmaps/${MY_PN}.png "Network"
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
}

View file

@ -1,8 +1,8 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils java-pkg-2 desktop systemd
EAPI=8
inherit java-pkg-2 desktop systemd
#https://sourceforge.net/projects/davmail/files/davmail/
MY_PN="davmail"
@ -16,10 +16,10 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="server"
BDEPEND="app-arch/unzip"
DEPEND="|| ( >=virtual/jre-1.6:*
>=virtual/jdk-1.6:*
)
!net-mail/davmail"
)"
RDEPEND="${DEPEND}
server? ( acct-user/davmail
acct-group/davmail