summaryrefslogtreecommitdiff
path: root/net-mail/hotwayd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/hotwayd
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/hotwayd')
-rw-r--r--net-mail/hotwayd/Manifest6
-rw-r--r--net-mail/hotwayd/files/hotwayd.xinetd25
-rw-r--r--net-mail/hotwayd/hotwayd-0.8.4.ebuild73
-rw-r--r--net-mail/hotwayd/metadata.xml14
4 files changed, 118 insertions, 0 deletions
diff --git a/net-mail/hotwayd/Manifest b/net-mail/hotwayd/Manifest
new file mode 100644
index 000000000000..c8b618c72072
--- /dev/null
+++ b/net-mail/hotwayd/Manifest
@@ -0,0 +1,6 @@
+AUX hotwayd.xinetd 787 SHA256 dcbf68992ac7ce6e1e8cb4272874595bc90c02e5a19c912d0112b34c8815b5c4 SHA512 04122ea44e1dc2eafae42b6203664085b8c2068cea7afdbff44478e4ed415a69a1490cd2679961fa477c1cb1d9ab639469bc5bb71673b1d500ffbd27cb6bd6bb WHIRLPOOL c2b52acb1d26ce61109044311645a06cd5a4ffd72b1b7d2cadff02155cbbed8a278733e2be2bc41271b3752f9a77cf87e5736f71d1f5b31d2850470a8ccec466
+DIST hotwayd-0.8.4.tar.bz2 161274 SHA256 5915fe038c3285bbfb732d55314b992a1734118c38528666ff69882e16d01d81 SHA512 df965964c8186e51bd2b09f4a99919443efe1ee2e828d0bdd905383813069a45e4b6b321ace969b3071a0d83ad21a1b4f76cd4ba57f89e13a6569d8b65bd8efc WHIRLPOOL f46744fa2254e8db63cbfb9fb8847bbc7fd28b8b9686ff4f2728d132cf2259dd001dde7ef39c4b6bf94099be2e91382127085389c7355c341ba68e8dd8af10c3
+EBUILD hotwayd-0.8.4.ebuild 2021 SHA256 d04d7bcdcfc32c2ca5ef439182a20e0ae378f63b6cbe177e1f5b72fb061f98c7 SHA512 5e39ce116658687df645b1c29d69ba50cf6599f569b5dff3378e693cc7627578e27968434e97eb8f0690537e9dfec2ed8f6a8ea348980eba924e89967c832205 WHIRLPOOL ed08645955d28efdb4f772453aa74554cd2b92546bb9d620b035affbbff6b8671aeafb30db456b325bf68c47603bae33aa37d028510765e33b0fe2b2cb9c7fab
+MISC ChangeLog 2661 SHA256 38c391689ae391620bab7bf1158a6c5e1c0adf3bd5d53f86d1a97bc16adb92c5 SHA512 ec4108bfec4f3ae74a3d89919c3867dac2919f4d53ae4a91bd2ddab2785a07643bb90dc07b591cbad3a05f03702e97ac53a5a09745416bf20c62594c9bdfaaa8 WHIRLPOOL f46468f95aa13e8de25df1666570c1fff91653193b212b2aeae832b535aaef4e2c7c52669579f319ca694b5bcf593f575c321da40cf38d0f37ea40a0e42bd45c
+MISC ChangeLog-2015 4337 SHA256 68dcee3046dbe1d445b8839ae32e07412e228829d3e1b7d39230a40b6e4c45bb SHA512 8f32401334658a964aa78924d308ede2d4d8e69d7261d09b98aa6a78fdfb50f6f4e635c28c4a1478055bfe11c7eea82c62e45d743da2300864c3a7805b01370d WHIRLPOOL 8f4b661d6343143625438f72a27dc67969d3b74cbea8851249a6c44e298cdeed155b55b245213595989937f53e57626aca7f2e9fe509c01d506a1e4e6c38aa59
+MISC metadata.xml 405 SHA256 64ba2cb9c6d41e1b15364e69411f0cc9c6f420d01dfb525205ae6b2f39de7fc1 SHA512 1ae9c94ecb7beceb2c368982aae5c95ec04cc743764bb31ba7219f3ed4c8785133f39f253ab5c4b3de196fc06efef36bead869317c305af23d75d64a8779765f WHIRLPOOL fc49a79fd4426d0014c3ff2aa68043c5efeffe5d8ce8792f2d5592623847d18aaed38bb2872b38da34876d9672bf31e46351f30751e781d2f03f275da25cacb7
diff --git a/net-mail/hotwayd/files/hotwayd.xinetd b/net-mail/hotwayd/files/hotwayd.xinetd
new file mode 100644
index 000000000000..65947585fa77
--- /dev/null
+++ b/net-mail/hotwayd/files/hotwayd.xinetd
@@ -0,0 +1,25 @@
+# default: off
+# description: hotway daemon
+# - By default it listens to port 1100, so please adjust settings in your
+# clients
+# - By default it only allows access from localhost.
+# - Also all xinetd entries do not start by default.
+# One should manually enable the entries that one wants by
+# changing the value of "disable = yes" to "disable = no".
+# - Restart xinetd after changing anything in this file:
+# # /etc/init.d/xinetd restart
+
+service hotwayd
+{
+ only_from = localhost
+ socket_type = stream
+ wait = no
+ user = nobody
+ port = 1100
+ server = /usr/sbin/hotwayd
+ #server_args = -p http://proxy:8080 -u proxy_user -q proxy_password
+ log_on_success += USERID
+ log_on_failure += USERID
+ disable = yes
+ type = unlisted
+}
diff --git a/net-mail/hotwayd/hotwayd-0.8.4.ebuild b/net-mail/hotwayd/hotwayd-0.8.4.ebuild
new file mode 100644
index 000000000000..26e68488a6a4
--- /dev/null
+++ b/net-mail/hotwayd/hotwayd-0.8.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="Hotmail to pop3 daemon"
+HOMEPAGE="http://hotwayd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/hotwayd/${P}.tar.bz2"
+RESTRICT="mirror"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc x86"
+
+IUSE="smtp"
+
+DEPEND="virtual/inetd
+ dev-libs/libxml2
+ smtp? ( >=dev-libs/cyrus-sasl-2 )"
+
+hotmail_greed_warning() {
+ echo
+ ewarn "WARNING:"
+ ewarn "Since Hotmail started to charge for WebDAV access, you need a Hotmail Plus"
+ ewarn "(or equivalent MSN) account to keep using hotwayd. More info:"
+ ewarn "http://www.boolean.ca/hotpop/"
+ ewarn "https://sourceforge.net/forum/forum.php?thread_id=1277989&forum_id=80217"
+ echo
+ ebeep 3
+ epause 10
+}
+
+pkg_setup() {
+ hotmail_greed_warning
+}
+
+src_install () {
+ # The original make install is broken, since it also tries to install
+ # the libghttp files. This is not needed, since this library is statically
+ # linked into the executable.
+ # Lets just copy the (one) file manually...
+ dosbin hotwayd
+ if use smtp; then
+ dosbin hotsmtpd/hotsmtpd
+ insinto /etc/xinetd.d
+ sed -i -e 's:^disable = no:disable = yes:' hotsmtpd/hotsmtpd.xinetd
+ newins hotsmtpd/hotsmtpd.xinetd hotsmtpd
+ fi
+
+ dodoc AUTHORS NEWS README
+
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/${PN}.xinetd ${PN}
+}
+
+pkg_postinst () {
+ hotmail_greed_warning
+ echo
+ elog " By default daemons that use xinetd are not started automatically in gentoo"
+ elog " To activate do the following steps: "
+ elog " - Edit the file /etc/xinetd.d/hotwayd and change disable "
+ elog " from yes to no "
+ elog " - Restart xinetd with \`/etc/init.d/xinetd restart\` "
+ elog
+ if use smtp; then
+ elog "You chose to install hotsmtpd, a SMTP proxy for hotmail. Please"
+ elog "Configure /etc/xinetd.d/hotsmtpd and restart xinetd to start using it."
+ elog
+ fi
+ elog "Set your e-mail applications to use port 1100 for receiving email."
+ if use smtp; then
+ elog "Use port 2500 for sending email."
+ fi
+}
diff --git a/net-mail/hotwayd/metadata.xml b/net-mail/hotwayd/metadata.xml
new file mode 100644
index 000000000000..832def52da81
--- /dev/null
+++ b/net-mail/hotwayd/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+ <use>
+ <flag name="smtp">Build SMTP proxy (hotsmtpd)</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">hotwayd</remote-id>
+ </upstream>
+</pkgmetadata>