From cd32a5dd06299be9b6afbbcac65c36dc268b0df3 Mon Sep 17 00:00:00 2001 From: Stuart Shelton Date: Sat, 9 Apr 2016 23:53:57 +0100 Subject: Add net-mail/davmail-bin-4.7.2 --- net-mail/davmail-bin/Manifest | 2 + net-mail/davmail-bin/davmail-bin-4.7.2.ebuild | 59 +++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 net-mail/davmail-bin/davmail-bin-4.7.2.ebuild (limited to 'net-mail') diff --git a/net-mail/davmail-bin/Manifest b/net-mail/davmail-bin/Manifest index a5efc7bc..b4e9dd1f 100644 --- a/net-mail/davmail-bin/Manifest +++ b/net-mail/davmail-bin/Manifest @@ -14,6 +14,7 @@ DIST davmail-4.6.1-2343.zip 4989260 SHA256 fc04acfc86b8e98127a48f10671034968572b DIST davmail-4.6.2-2377.zip 5012110 SHA256 549c3023615ea3f69822ecd39b3f6eda2ef2ad4f5625bc54e4bc112a8ff88260 SHA512 7f6520683fc08b4864a0b7ce664ca05b457a2c0a593e49a157c4d4f0d19a90e312248ac41987dbc8c4e01fc2be64b1b05c5c842d0885ccf3363dc222e25ee383 WHIRLPOOL 3fc29fed5404846898521c6c2c7720581a5a016169e438355ff318b0482268c36e75fc332e9c39faa8fa004144781233acd87ebf55636fb8ebf83723973b5f92 DIST davmail-4.7.0-2408.zip 5016991 SHA256 9dcf678d4228d4ef35281eb372a75fd6d26c7a124ed6bd6a92f6993774c724d4 SHA512 fefe7ddb0ad0e17e8ffa9bccaf503336397fe944b7685dfe4c5c068ea5cf1c5443df54f7e35f1a8b0ff85b39665cfa5b109158cff52c283b7f9e0c9c8a0c6fbc WHIRLPOOL c0b23ed53163ec92098e29b87cf9a25263766df1c4bd2810970574ad5d6f929f3a18a63b9a801bb66be0438df01863c9e1a64413e456882a64be5eeeaacee363 DIST davmail-4.7.1-2416.zip 5017148 SHA256 0813fbf2784463eba2ebd6b7e1f6597d138956f81d9ce50f03f823747ebd7ef6 SHA512 00267df62704a9aa31b0a1cba395112d207050786794442dc50179ab59349cd9026873d78d0e7630c841d2796ce65982fe841ba258d629209c7afec56ea64b30 WHIRLPOOL 0d9ccba31ed67487baf45182296d65ad3dcf8658029768e9d36c6983a6e40b1820e7685906ce772dc12b1345eafd0348f2895019bd60af4ae8604725fa6493da +DIST davmail-4.7.2-2427.zip 5018472 SHA256 1c08bb97e08e1d29bee9bab0a58c70ef975c2f98bb91354c4ab3da283462823c SHA512 39abb551b597e35a276d8d5bcbb7bf091ed188e94591d040e5bc76100519d6f3e3b00624256441857ea41505e5a25aab4f3663904c0abe6478ed2764e240e12b WHIRLPOOL 8d2e28cf3b66376b6a6c9e012168530b091bb6dd1f4c74b3024e86b838a69386d61e2b5f2c065ae411649726971d4566218d4c62e29a443d41b588a78d61cd98 EBUILD davmail-bin-3.9.8.ebuild 1751 SHA256 d0499b937442de7c9aeaa53161ccc0a09677c1c353be2cd49e5d7b78f1b655c9 SHA512 cd86a25243aac897f988cffdcd1d15011a031a5c1b272846196ee43e272b269b6bbb11b5bee0ca580d6f022725adf76506513a7f8126bd74f380cdb77fe70abd WHIRLPOOL 6e47614ca9d1261552cca4df994688b87d07554b21bc162083a9c2458d6c6d2c1ec20b4c36826c7d238e5a53a07c1d96d4ce256dc85b833ae5d1fc35fa4e7e92 EBUILD davmail-bin-3.9.9.ebuild 1751 SHA256 23526b0138312b7a24b3ba7ba301dab1ed07283d6b6dd7f36c89e543abdbf9f1 SHA512 cb3d17ee1765ff52b510b0f189f8ccdcb7a803cd2831c7d57b231076540f872dc2a277abd2f86182e02a45f64f049ef9c480773009b2a6dffc9cf01957f1e5a5 WHIRLPOOL a109734e4579c050696e3ab4caf8fbfd2b315ffdbfc5705926a24d34e06cbfbc170243b0f8921f5a2cc59ae925e8cfc012c24b76023e535cdffc9636400d7634 EBUILD davmail-bin-4.3.3.ebuild 1751 SHA256 4e3a55f67cc6d6f79ac85e841bd4166eaafa8ab99e843d8b68ad89e504b18b1e SHA512 100e224381c27086175464201f2c2d05895a44782aa008b6b9ee57a0d2e298dceecc8f8bdf0bb9c73a4ddf2a8178ae0f2c6934c7f419016a201077cf1d54512f WHIRLPOOL 9ee922bfd19dd229e9a05d5d3527dab36db41e9a9b71760aee222281bb1663d0d0807d329e871d14201fae0e2fd86c487d087e257e91459bd2b32866ac0c2a95 @@ -26,3 +27,4 @@ EBUILD davmail-bin-4.6.1.ebuild 1758 SHA256 8410126be2b2a9bd323c66a498c539861443 EBUILD davmail-bin-4.6.2.ebuild 1786 SHA256 dd76f6a9328b063468a0822fe3f052a1c871ddb0667ce6c36d6e107d9fc3fe7e SHA512 3cf612a894bd06ddf2911bd1baa2154236f9660b752b9cde0847373223aa49ab065c399653b21bb97c147fb461de445e8b31aabaa32c76931789e87934053163 WHIRLPOOL 8ea02072e6b120df7b5fc0ecdd1282a3a67d58002a64731dc6436b4fb1c138e6785c6e31577207704eb11487d4320a6615cff3e2921ff0659412fe2d825681a4 EBUILD davmail-bin-4.7.0.ebuild 1864 SHA256 63a7d963c3315a3c7d3707269e6f675f941c0b4fac20730040da0aede3c13acc SHA512 6a49adc726e43fc5a6d48ed913a163d4a433b40e15db463f3311b078c1907307248d8a116fcbed879301a3dac25adeeb45efa301e7cd3e089ceb61d24dcb16a1 WHIRLPOOL 40e39b63230c48df67826c6e7e41a28c9ea4d47d6c37aae3673e1adc2317eb09c710e401213fafc12ff05627fed07ed6ef2a624d9612e3cf54d30a246d3a938c EBUILD davmail-bin-4.7.1.ebuild 1874 SHA256 0b316d7b5cd190757e40259d815642d485ccafabc9fc7a7378bd2fb4601b1017 SHA512 b655eb1e37592f3943cc6ed737773d6b0a3efbafdadc7927505ab0db1731a3632430991faa8db63ddb81e62d401e5ea7a02f53d831fc369eb6bb6c6cb95b6bf2 WHIRLPOOL 9bf73dd5836796d564c3c9db1849f69beea21c7944c2b0f2409012bd1643a742061860ce6b2b4a0ad0b0b87f51512b1436234620117d1225d328f7c44080e0c1 +EBUILD davmail-bin-4.7.2.ebuild 1874 SHA256 2f99dc544606e6e0fa67c9cd17cb93c4b867cd7e6a5017239bd0ae846c657d82 SHA512 2912718e5ef135ad88862b45f59cd389951dcf1dd16f30fc900ca28968e1e3f19068907052fad9a6fa6302aa709349dc9da792e5617d3c9766e6c07f75bc9a9e WHIRLPOOL 7129021dac247be1c01448557162e784c632580099988134ea8b806e35e76d9b1209d84862f318869e05a7f2b5fc586f15e2df5dcf44617b7a4d448ed47b5240 diff --git a/net-mail/davmail-bin/davmail-bin-4.7.2.ebuild b/net-mail/davmail-bin/davmail-bin-4.7.2.ebuild new file mode 100644 index 00000000..2168bf26 --- /dev/null +++ b/net-mail/davmail-bin/davmail-bin-4.7.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit user + +DESCRIPTION="DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway" +HOMEPAGE="http://davmail.sourceforge.net/" +REV=2427 +MY_PN="${PN/-bin}" +MY_P="${MY_PN}-${PV}" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}-${REV}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +DEPEND="" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}" + +pkg_setup() { + enewgroup davmail || die "DavMail Group creation failed" + enewuser davmail -1 -1 "/opt/${MY_P}" davmail || die "DavMail User creation failed" +} + +src_install () { + echo "CONFIG_PROTECT=\"${EPREFIX}/opt/${MY_P}/conf\"" > "${T}/90${MY_PN}" + + newinitd "${FILESDIR}"/"davmail-3.9.8-initd" davmail || \ + die "Could not create init script" + newconfd "${FILESDIR}"/"davmail.confd" davmail || \ + die "Could not create conf file" + sed -i "s|%INST_DIR%|/opt/${MY_P}|g" "${ED}"/etc/{init,conf}.d/davmail || \ + die "Could not customise init script" + + exeinto /opt/"${MY_P}"/bin + doexe davmail.jar || die "Could not install Jar" + fperms 644 /opt/"${MY_P}"/bin/davmail.jar + + insinto /opt/"${MY_P}" + doins -r lib || die "Could not copy libraries" + insinto /opt/"${MY_P}"/conf + newins "${FILESDIR}"/davmail.properties-${PV%.[0-9]*}.0 davmail.properties || die "Could not copy properties" + + dodir /var/log/davmail || die "Could not create log directory" + fowners davmail:davmail /var/log/davmail || die "Could not change ownership of log directory" + + fowners davmail:davmail /opt/"${MY_P}" || die "Could not change ownership of DavMail directory" + + doenvd "${T}/90${MY_PN}" || die "Could not configure environment" + + einfo "davmail.properties has been installed to '/opt/${MY_P}/conf'" + einfo "Please see http://davmail.sourceforge.net/gettingstarted.html for details" + einfo "of how to configure DavMail" +} -- cgit v1.2.3-65-gdbad