aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2015-11-07 12:28:08 +0000
committerStuart Shelton <stuart@shelton.me>2015-11-07 12:28:08 +0000
commite614996d41d6e31b32047032b954905a94a236b9 (patch)
treea0514329cf05fd3af14886215d0f693e88ad59a8 /net-mail
parentUpdate net-firewall/iptables-9999 (diff)
downloadsrcshelton-e614996d41d6e31b32047032b954905a94a236b9.tar.gz
srcshelton-e614996d41d6e31b32047032b954905a94a236b9.tar.bz2
srcshelton-e614996d41d6e31b32047032b954905a94a236b9.zip
Add net-mail/davmail-bin-4.7.0
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/davmail-bin/Manifest6
-rw-r--r--net-mail/davmail-bin/davmail-bin-4.7.0.ebuild59
-rw-r--r--net-mail/davmail-bin/files/davmail-3.9.8-initd8
-rw-r--r--net-mail/davmail-bin/files/davmail.confd6
-rw-r--r--net-mail/davmail-bin/files/davmail.properties-4.7.0134
5 files changed, 207 insertions, 6 deletions
diff --git a/net-mail/davmail-bin/Manifest b/net-mail/davmail-bin/Manifest
index 06f87b70..2482d6b9 100644
--- a/net-mail/davmail-bin/Manifest
+++ b/net-mail/davmail-bin/Manifest
@@ -1,5 +1,7 @@
-AUX davmail-3.9.8-initd 1046 SHA256 8caec347f4e01737bad8bb02cc831f14b11a7686b4d18c0ae1894555e1b88dbd SHA512 3376b911e1c2cb1cdce10ea9e3ae30320aa679daa11fbb2d0c5d2a9f4b24c1c5b9ae080e656629adb4af8030bd8f2957f7888c0af49876ec72f04eab02fb1a26 WHIRLPOOL 3810f16b49aecc7f5c92f2cd3ba58a09ba778c0ea2d93e2dcf8842a37c0e32703a51e28413f39639842d530afe70fe103900f05b87b691fdcf3f4e146f8f8cc9
+AUX davmail-3.9.8-initd 1029 SHA256 bafda8e2293c9df30d5eb186f9efb96f8bd1056ce413a904d11db297d7d1d1a5 SHA512 bc679b300d8a011e507998f148b7e7c0a238777a68c7a445c35117fa7ac941e554890ab74040f0cd2355398bb84ff33e9f0342f62b5c035426f006b2e6e1507e WHIRLPOOL e8551d0ab31e4e8b1ad542ce18a6cd2e4d2a64c8024ffb60d72651a3e5d630fd103141e5f5157dd3893ad40c39f4521bb016789412104ad82cdaef56e4162e37
+AUX davmail.confd 204 SHA256 1e4c4f0f3a6c4a8cbf096929475122abf800ff02ec3fcf3dd0a08076ff5955f3 SHA512 f4975da164169f9c3baa09e59b1c6b9d4b382043241dc17160ea21675e49335e95c5700f0f0d38483c1068c450db796b17023c7bdb26869daf1f7391bdf292ff WHIRLPOOL 0593684c3b783826ca5bd0cec446da93931859358be608ea4ba8f9e84be73761fe37be2423c8d03736716436b3ae0b2c2483ef6119dc7bf18da2ae2fda583a55
AUX davmail.properties 879 SHA256 7bcf05750ea720cce434435acf660a01fac9217d23d1221d04b904af6d4b1622 SHA512 7f0df4191860d9109f4ed8f6102152f44026051f8c28f840013d8b74c94bdb0bbd94843eabd0b6cf1fff49f2c3fdef42bac30fd482b2e84739a575380f1e6630 WHIRLPOOL 446a14b7c8565698c06a595cbbfc00f6eb0221a6a6134c28b05d070a6f4ef4ec6871c6b76136b5438ea8fcc4fe53f86d74273726d6e2c3622f1ee7f1d8383922
+AUX davmail.properties-4.7.0 3962 SHA256 69979b50d7fd9c7d131a65c900d2b9928d4239f83df1c395950c1f12c08a5853 SHA512 043c6cbcd8ec5b869ea9143099a0168fa76050494ae2c9e088f081061a935e09e9164df882f82bc8780b525782dd1bba8cdc4d8de336cd095bca3f28bc72bbb5 WHIRLPOOL 7b41b1a3f22adbd0e747e2739b76fcdba4b01bf365f674d1f70ff99c046f07c6ad65bf1b05636ca8c91b08d8eee451afd296ac6ca500c520e068d18b44b5f94a
DIST davmail-3.9.8-1921.zip 4870397 SHA256 f13bfa16a15e85fde9f2cb00308bb340ede4625966969d3fce3f352b45823956 SHA512 e310a18f2c9104dd2d6fb785bbca1d407238ca03bc18b47e9d1acc010788a7d8c24bf219a8947f24bb6dd86a90c25ab2ed469ec4b216cb875c334eebda4d1754 WHIRLPOOL af72bf12671b70e9410ff586a2742c58bf4ebfb220a1431fa5102feeba43b46f165fe55be1eca9cea4d18b82ef87bae37141e089c26b883c81dcacec5e67081a
DIST davmail-3.9.9-1976.zip 4878497 SHA256 46035ad9dab8523069157599a80498f666dc77bdc4b90c47dc7df956ab85c75d SHA512 f4ae386f0cf6e1c1cb655da36ea99e2c8255600f30827b5de706cdd41f5eead4eb52059fad34e15238497ccb114c9b612865468be24727a221ce0c55df66bf08 WHIRLPOOL 348a2f3d82f7f5eb9c1ae81d903987033710c9826e6c46fecf385216679e8f9af9385e28fade2626743752ca08058f846ad4804b1f95e3724238a4fc1caceff6
DIST davmail-4.3.3-2146.zip 4973581 SHA256 a8d6333f13fbff3fcb57406e8d7f531c5f79b80d383fb85f2b867cde7056ec39 SHA512 4f1edd0f44ca3fc3fc44c7768e17e98b5ec704306017c0f4e0e09c09bba18d30a4cea69db555bd5e28b74505abeec3dd3e4169177e2023ac80e1ce470dfdcbdb WHIRLPOOL 1347c6fbbe6cdb6bf989ff53eb7e0fd091a401666332ec0af52a6bf8a0e619497acbedaf8057467e7aecb45831166aaf8ab879a49c3131dedb48f1e99cec77f1
@@ -10,6 +12,7 @@ DIST davmail-4.5.1-2303.zip 4986903 SHA256 d69f0c8cf6cf5b76c1fb0ff82fe7cecd22d47
DIST davmail-4.6.0-2331.zip 4988276 SHA256 e45659d22ef027dbe8a956279852e57b99457c5961fc1145c35736c4c4943827 SHA512 bea26f549eaca63e234a7f082af47fecd86fddd5993d413f109560fd56fa0155754656aaff7eff74ca7914d86bc6ffb8573aea61661585c1181bb42a34973944 WHIRLPOOL fc0b55d1305b422edeed7e565943f649695ed4cd25241b04e341b659dd3d599b53f939765e8162f62af18aab9591e37bb7b8693e8e23be39dfc64eb70e4acb09
DIST davmail-4.6.1-2343.zip 4989260 SHA256 fc04acfc86b8e98127a48f10671034968572b8a54568f662ed44ce7ff65cffa3 SHA512 e4787646a1551c2d0ca58c7ee209e963a7a5b02ba4412bac4b026ca3eca051bb65cf3dc6ff5c5069d92217063e60b1f9d66ba462b8afa0fdeddbc99e61b69106 WHIRLPOOL 870576d8274b494f17cbc73cfea0e533bb76b64cf7fa54843c4a0c1723d06f07833a28223fe873c479bc2dbed373dddd6ead20d402d05b40fed575cf1b293875
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
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
@@ -20,3 +23,4 @@ EBUILD davmail-bin-4.5.1.ebuild 1758 SHA256 2b72592a93d9a40bd4a8e67cdb2c52ce0109
EBUILD davmail-bin-4.6.0.ebuild 1758 SHA256 3892db85fb81c527f5d55d4d7de07d7a76616cab56a43ccc026ecab7515bf488 SHA512 35c931eb92738dfbe65aecce8a85be4f1721cfd43aed7f63b41fef7ae9661d5f1a815d0f460843762d26d90f26cd02ca912a7149024cfa96ca00503bd8cec8f3 WHIRLPOOL e9c7cd7008f67b413faadb091767191656af1cfe57eb4ed8c40fb7345ef6a14f64b302457c79a68d9d3590c86205c2856274bd48bc36b3c8cadc42c34a861c8d
EBUILD davmail-bin-4.6.1.ebuild 1758 SHA256 8410126be2b2a9bd323c66a498c5398614433b4e7771f308d05ce4a0f3edcc39 SHA512 dddb5dde5b16cf48a0654b93ea31165e14ed1bffb36e5ed03a94b5cccc7b75a108f0272df2a1a2ec0e4b63877bd52ec8c2d28a82bbf5eddaa035a92f5e919f5e WHIRLPOOL 0d63c55c98f33d7aa1fa037151c147a641f4ecb6042cf9fb8fc3d0aaafa8409b13b1b817889df01d469c9c78d6c0f9195c72aae790aa0a14e983d45ffe734bcc
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
diff --git a/net-mail/davmail-bin/davmail-bin-4.7.0.ebuild b/net-mail/davmail-bin/davmail-bin-4.7.0.ebuild
new file mode 100644
index 00000000..dc3c36d4
--- /dev/null
+++ b/net-mail/davmail-bin/davmail-bin-4.7.0.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=2408
+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} 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"
+}
diff --git a/net-mail/davmail-bin/files/davmail-3.9.8-initd b/net-mail/davmail-bin/files/davmail-3.9.8-initd
index 70dc6e1b..ca5ae904 100644
--- a/net-mail/davmail-bin/files/davmail-3.9.8-initd
+++ b/net-mail/davmail-bin/files/davmail-3.9.8-initd
@@ -1,10 +1,8 @@
#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Copyright 2012 Stuart Shelton
+# Copyright 2012-2015 Stuart Shelton
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-DIR="%INST_DIR%"
+DIR="${DAVMAIL_DIR:-%INST_DIR%}"
depend() {
need localmount
@@ -26,7 +24,7 @@ start() {
start-stop-daemon \
--start --quiet --pidfile /var/run/davmail.pid \
--user davmail:davmail --make-pidfile --background \
- --exec java -- -cp "${DIR}"/bin/davmail.jar:${CLASSPATH} davmail.DavGateway "${DIR}"/conf/davmail.properties
+ --exec java -- ${JAVA_OPTS:-} -cp "${DIR}"/bin/davmail.jar:${CLASSPATH} davmail.DavGateway "${DIR}"/conf/davmail.properties
local ret=$?
eend $ret
return $ret
diff --git a/net-mail/davmail-bin/files/davmail.confd b/net-mail/davmail-bin/files/davmail.confd
new file mode 100644
index 00000000..f2faa35d
--- /dev/null
+++ b/net-mail/davmail-bin/files/davmail.confd
@@ -0,0 +1,6 @@
+
+# Specify the DavMail installation directory, if relocated
+#DAVMAIL_DIR="%INST_DIR%"
+
+# Additional options with which to invoke Java when launching DavMail
+JAVA_OPTS="-Xmx512M -Dsun.net.inetaddr.ttl=60"
diff --git a/net-mail/davmail-bin/files/davmail.properties-4.7.0 b/net-mail/davmail-bin/files/davmail.properties-4.7.0
new file mode 100644
index 00000000..49d381fd
--- /dev/null
+++ b/net-mail/davmail-bin/files/davmail.properties-4.7.0
@@ -0,0 +1,134 @@
+# DavMail settings, see http://davmail.sourceforge.net/serversetup.html for documentation
+
+#############################################################
+# Basic settings
+
+# Server (true) or Workstation (false) mode?
+davmail.server=true
+# Connection mode: auto, EWS or WebDav
+davmail.enableEws=auto
+# Base Exchange OWA or EWS URL
+davmail.url=https://owa.example.com/owa/
+davmail.url=http://exchangeServer.example.com/exchange/
+
+# Listener ports
+davmail.popPort=1110
+davmail.imapPort=1143
+davmail.smtpPort=1025
+davmail.caldavPort=1080
+davmail.ldapPort=1389
+
+#############################################################
+# Network settings
+
+# Network proxy settings
+davmail.proxyUser=
+davmail.proxyHost=
+davmail.proxyPort=
+davmail.proxyPassword=
+davmail.enableProxy=false
+davmail.useSystemProxies=true
+# Proxy exclusion list
+davmail.noProxyFor=
+
+# Allow remote connection to DavMail?
+davmail.allowRemote=true
+# Bind server sockets to a specific address?
+davmail.bindAddress=
+# Client connections SO timeout in seconds
+davmail.clientSoTimeout=
+
+# DavMail listener SSL configuration
+davmail.ssl.keystoreType=JKS
+davmail.ssl.keystoreFile=
+davmail.ssl.keystorePass=
+davmail.ssl.keyPass=
+
+# Accept specified certificate even if invalid according to trust store
+davmail.server.certificate.hash=
+
+# Disable SSL for specified listeners?
+davmail.ssl.nosecurecaldav=false
+davmail.ssl.nosecureimap=false
+davmail.ssl.nosecureldap=false
+davmail.ssl.nosecurepop=false
+davmail.ssl.nosecuresmtp=false
+
+# Disable update check?
+davmail.disableUpdateCheck=false
+
+# Send keepalive character during large folder and messages download?
+davmail.enableKeepalive=true
+# Message count limit on folder retrieval
+davmail.folderSizeLimit=0
+# Default windows domain for NTLM and basic authentication
+davmail.defaultDomain=
+
+#############################################################
+# Caldav settings
+
+# Override default alarm sound
+davmail.caldavAlarmSound=
+# Retrieve calendar events not older than 90 days
+davmail.caldavPastDelay=90
+# WebDav only: Force event update to trigger ActiveSync clients update?
+davmail.forceActiveSyncUpdate=false
+
+#############################################################
+# IMAP settings
+
+# Delete messages immediately on IMAP STORE \Deleted flag?
+davmail.imapAutoExpunge=true
+# Enable IDLE support, set polling delay in minutes
+davmail.imapIdleDelay=
+# Always reply to IMAP RFC822.SIZE requests with Exchange approximate message size for performance reasons
+davmail.imapAlwaysApproxMsgSize=
+
+#############################################################
+# POP settings
+
+# Delete messages on server after 30 days
+davmail.keepDelay=30
+# Delete messages in server sent folder after 90 days
+davmail.sentKeepDelay=90
+# Mark retrieved messages read on server?
+davmail.popMarkReadOnRetr=false
+
+#############################################################
+# SMTP settings
+
+# Let Exchange save a copy of sent messages in Sent folder?
+davmail.smtpSaveInSent=true
+
+#############################################################
+# Loggings settings
+
+# Log file path, leave empty for default path
+davmail.logFilePath=/var/log/davmail/davmail.log
+# Maximum log file size, use Log4J syntax, set to 0 to use an external rotation mechanism, e.g. logrotate
+davmail.logFileSize=5MB
+# Log levels
+log4j.logger.davmail=INFO
+log4j.logger.httpclient.wire=WARN
+log4j.logger.org.apache.commons.httpclient=WARN
+log4j.rootLogger=WARN
+
+#############################################################
+# Workstation only settings
+
+# Smartcard access settings
+#davmail.ssl.pkcs11Config=
+#davmail.ssl.pkcs11Library=
+
+# SSL settings for mutual authentication
+#davmail.ssl.clientKeystoreType=
+#davmail.ssl.clientKeystoreFile=
+#davmail.ssl.clientKeystorePass=
+
+# Disable all balloon notifications?
+#davmail.disableGuiNotifications=false
+# Disable startup balloon notifications?
+#davmail.showStartupBanner=true
+
+# Enable transparent client Kerberos authentication?
+#davmail.enableKerberos=false