From 4e74e2d9b6ade7cf2aaa8149081359eef9e1726a Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Tue, 29 Oct 2019 15:06:52 +0100 Subject: net-mail/davmail-bin: Version bump and fixed for EAPI=7 Signed-off-by: Sven Eden --- net-mail/davmail-bin/Manifest | 3 +- net-mail/davmail-bin/davmail-bin-4.8.0.ebuild | 93 --------------------------- net-mail/davmail-bin/davmail-bin-5.3.1.ebuild | 72 +++++++++++++++++++++ net-mail/davmail-bin/metadata.xml | 19 +++--- 4 files changed, 83 insertions(+), 104 deletions(-) delete mode 100644 net-mail/davmail-bin/davmail-bin-4.8.0.ebuild create mode 100644 net-mail/davmail-bin/davmail-bin-5.3.1.ebuild (limited to 'net-mail') diff --git a/net-mail/davmail-bin/Manifest b/net-mail/davmail-bin/Manifest index 338c38c..c6aa62c 100644 --- a/net-mail/davmail-bin/Manifest +++ b/net-mail/davmail-bin/Manifest @@ -1,2 +1 @@ -DIST davmail-linux-x86-4.8.0-2479.tgz 6554557 SHA256 6a0aa8b8e31d5a9e89d3be46b9bc0216482c5e2ad0454e11aaece189e7291182 SHA512 73657be729ab200ea431724241f3500f576f87c3f8d5f34e0505ed5e17b35a3e9c1d684627d3e63718c11d729b91b1962cbf4767584810b8301903d38f52a81f WHIRLPOOL e7305d5e73ab58e59a61b1978ab407ac01ad459a0ce66a1b78e7bf6e35547cc25011a399846b04042af08760a7d2a84219b8c25c445f95710f0ea136dafaca5c -DIST davmail-linux-x86_64-4.8.0-2479.tgz 6700895 SHA256 0e650c4a060d64fd2b270ddb00baa906aac617865d5e60c9f526a281cdb27b62 SHA512 979846ff80c3993403d7f0d3b5dda1eba06350b668bf3a721d9df2fcc20783dcd3e621e281aa6d6a5d51feea341f8f04bf3d7a60a3d3bdec503e09300886a278 WHIRLPOOL 029f2dccca04c1c66a865dcd324fa842c92c5c770c9fd3210f12fb7d1e0a2533e6244be70140882ef988be95c544c2fd5273f5c5860aac424512f4c791582b8c +DIST davmail-5.3.1-3079.zip 5734114 SHA256 a055871b08ef6f971a295d40e47cf39545525626077ec86e5709887efa4b07f6 SHA512 a938fcaee6a0c4f8376fefe4b4302f3315c341750298162b6a8da7175ed72c1da75b287277ebc3bfa71bd5a5d0e1d5e73f123dc58d2cae3821ed8b760a4c969e WHIRLPOOL b355071e5ddccc0c400388b147d2776c8dbdf37dc6e9ad80b84ae4319f960832e0ac76a902d4ad3ea0dd9a7908c3a734181b42a4d37dc1cdc369147cb1d01560 diff --git a/net-mail/davmail-bin/davmail-bin-4.8.0.ebuild b/net-mail/davmail-bin/davmail-bin-4.8.0.ebuild deleted file mode 100644 index 8e347fe..0000000 --- a/net-mail/davmail-bin/davmail-bin-4.8.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=7 - -inherit eutils java-pkg-2 user - -MY_REV="2479" -MY_PN="davmail" -MY_P="${MY_PN}-linux-x86" - -SRC_URI="amd64? ( mirror://sourceforge/${MY_PN}/${MY_P}_64-${PV}-${MY_REV}.tgz ) - x86? ( mirror://sourceforge/${MY_PN}/${MY_P}-${PV}-${MY_REV}.tgz )" -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.6 - >=virtual/jdk-1.6 - ) - !net-mail/davmail" -RDEPEND="${DEPEND}" - - -src_unpack() { - if use x86; then - S="${WORKDIR}/${MY_P}-${PV}-${MY_REV}" - else - S="${WORKDIR}/${MY_P}_64-${PV}-${MY_REV}" - fi - default -} - -src_prepare() { - default -} - -pkg_setup() { - if use server ; then - enewuser davmail -1 -1 /dev/null - fi -} - -src_install() { - cd "${S}" - - # 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 -} diff --git a/net-mail/davmail-bin/davmail-bin-5.3.1.ebuild b/net-mail/davmail-bin/davmail-bin-5.3.1.ebuild new file mode 100644 index 0000000..f4dc53e --- /dev/null +++ b/net-mail/davmail-bin/davmail-bin-5.3.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils java-pkg-2 + +MY_REV="3079" +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 +} diff --git a/net-mail/davmail-bin/metadata.xml b/net-mail/davmail-bin/metadata.xml index 763ee73..bb8b9e7 100644 --- a/net-mail/davmail-bin/metadata.xml +++ b/net-mail/davmail-bin/metadata.xml @@ -1,13 +1,14 @@ -no-herd - - yamakuzure@gmx.net - Maintaining in seden overlay, until davmail is added to the tree. - - - Add an entry to the menu of your dektop environment - Add a davmail user and an entry to /etc/init.d to use davmail as a service - + + Sven Eden + yamakuzure@gmx.net + Maintaining in seden overlay, until davmail is added to the tree. + + + + Add a davmail user and an entry to /etc/init.d to use davmail as a service + + -- cgit v1.2.3-65-gdbad