aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/davmail-bin/Manifest2
-rw-r--r--net-mail/davmail-bin/davmail-bin-4.5.0.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/net-mail/davmail-bin/Manifest b/net-mail/davmail-bin/Manifest
index b2e513bc..8db4c36a 100644
--- a/net-mail/davmail-bin/Manifest
+++ b/net-mail/davmail-bin/Manifest
@@ -5,8 +5,10 @@ DIST davmail-3.9.9-1976.zip 4878497 SHA256 46035ad9dab8523069157599a80498f666dc7
DIST davmail-4.3.3-2146.zip 4973581 SHA256 a8d6333f13fbff3fcb57406e8d7f531c5f79b80d383fb85f2b867cde7056ec39 SHA512 4f1edd0f44ca3fc3fc44c7768e17e98b5ec704306017c0f4e0e09c09bba18d30a4cea69db555bd5e28b74505abeec3dd3e4169177e2023ac80e1ce470dfdcbdb WHIRLPOOL 1347c6fbbe6cdb6bf989ff53eb7e0fd091a401666332ec0af52a6bf8a0e619497acbedaf8057467e7aecb45831166aaf8ab879a49c3131dedb48f1e99cec77f1
DIST davmail-4.4.0-2198.zip 4982355 SHA256 3353eb48474a2d04bfe610e28163eadfa964ccc17f31f38372d3770368d60ebb SHA512 2287809dcc07ff7d938d6feb8399c6a3e349ca80849fa0551e0af9fec39a01fc62192e9468bbf3e7163dc428ad86be1ee33978fc5df54b722b98beb312109b3d WHIRLPOOL 16b10d2fd411541d70473e634175ef388ffbbd536ee3b3fe60e8384405a0fbd8d0668ba73991c5076d23f3ab4b8b9addbe6331bee3a19fba35b0968bdab45325
DIST davmail-4.4.1-2225.zip 4983173 SHA256 ef8bf1e0b33302647e0e32556400e88e640fd55dbb68690e630e807323ade871 SHA512 d51b7050da317b79f92ccfb9ba6112b274d140f7d0d6ebc66dbff230affc8b9733e3dcb098d5d75654f20234c0027f824f9bb20acb5f41293497777d7d1ecefb WHIRLPOOL e5457da6c8dd11a3af8271217c7ca0a7c8f60b6735738bafcf0e134794fe23b140b670fb8fb369d3de73d55b7974fbaa99330adee57a7a54a1b270da556cb1a5
+DIST davmail-4.5.0-2292.zip 4986741 SHA256 8cdf35c4cc0ca7ff1c24bc72a178fbbea9720fe0de0c772243fd6f4fe3ed8e3d SHA512 157ec0393be8e724f703c1912ee602248cfdb218a814a85b060f3d3b47b49c333b780e9646217d17df83c35e17a05f5adf11519bc8f58e37ec9a1053f6cccab0 WHIRLPOOL 4a8de259afccab666fc52bf886bdf0faa953f9711a8f549f9d413e58581d2cd8e849a3eda18f85f535a257236bbb46b5de547d9edb7f70cb88183f2e6c6b8ba2
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
EBUILD davmail-bin-4.4.0.ebuild 1751 SHA256 2c7078611e95b11421b3d190d665ad2b035be82948774894b8e7dbe1f80ab8a0 SHA512 563a1bb516af99d5cee4977b8e7d007c3bbcdb39baae9367fd2832974c3860f0c12490b85051a3796e4e89dce9764a370b4efcc275adfdbfdb209aa7775a444f WHIRLPOOL 18c42c0f8d8cad4188b064ff1db2aff1bd709aa98fdb7dc65e5dffe7e8ae5765c8df5721b469682611b002c93dfd9ec9de730fe5c5ff8505f0c6ccf2422430e2
EBUILD davmail-bin-4.4.1.ebuild 1751 SHA256 7d70113c844b8adefb608205a6b436a79cdfea7478a7f6aab903780e2a8ed373 SHA512 b77a19ff7203ef8ab844bf216eb754559b87364a628cad9bd6e823168aae5d6bd084de83167abe16af6dd004233533770f154d8a92b58723bebaea1a65886e4e WHIRLPOOL 52858e00aa5ac5bba66b1174fc5e4d2cb59e45f7cea92035c3217b6dd36f10043829ef606c59317fca3ddf6e1c5cfbfbb08ddf7c77f4ed64fb63216cf4c2bf3e
+EBUILD davmail-bin-4.5.0.ebuild 1758 SHA256 476c33dd104f96c6a45ff22214a09baed26a2046e107952a7d23571977497d05 SHA512 c9206f7883b467ef418fcf98400723042b1213e676e3c9634b3d00709fb4994afce19cfcd4102cb16c98fb350ab80ec7be2e15546c0894ae56525dda26aaf2ad WHIRLPOOL 66111179e72f563af7c907b305de60bca670eb15953295635536142617bf91a8f1465d95d2b99f7b74e00ab30adad76fb5ec6322c5539cdde6909fc68873be8b
diff --git a/net-mail/davmail-bin/davmail-bin-4.5.0.ebuild b/net-mail/davmail-bin/davmail-bin-4.5.0.ebuild
new file mode 100644
index 00000000..2a2808f8
--- /dev/null
+++ b/net-mail/davmail-bin/davmail-bin-4.5.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit user
+
+DESCRIPTION="DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway"
+HOMEPAGE="http://davmail.sourceforge.net/"
+REV=2292
+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.5"
+
+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"
+ sed -i "s|%INST_DIR%|/opt/${MY_P}|g" "${ED}"/etc/init.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
+ doins "${FILESDIR}"/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"
+}