diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-01-21 21:16:31 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-01-21 21:16:31 +0000 |
commit | 394754c6e5d65095d9896b57440fdaa6bf35ca19 (patch) | |
tree | 9e9d5fe168c1f512db139d7ce8f00225d21dc7ae /net-mail/hotwayd | |
parent | Stable on ppc. (diff) | |
download | historical-394754c6e5d65095d9896b57440fdaa6bf35ca19.tar.gz historical-394754c6e5d65095d9896b57440fdaa6bf35ca19.tar.bz2 historical-394754c6e5d65095d9896b57440fdaa6bf35ca19.zip |
xinetd files voodoo. See bug #76593.
Package-Manager: portage-2.0.51-r14
Diffstat (limited to 'net-mail/hotwayd')
-rw-r--r-- | net-mail/hotwayd/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/hotwayd/Manifest | 12 | ||||
-rw-r--r-- | net-mail/hotwayd/files/hotwayd.xinetd | 11 | ||||
-rw-r--r-- | net-mail/hotwayd/hotwayd-0.8.2-r1.ebuild | 27 |
4 files changed, 29 insertions, 30 deletions
diff --git a/net-mail/hotwayd/ChangeLog b/net-mail/hotwayd/ChangeLog index ea7dc2d81e6c..0e397687c811 100644 --- a/net-mail/hotwayd/ChangeLog +++ b/net-mail/hotwayd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-mail/hotwayd # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/hotwayd/ChangeLog,v 1.16 2005/01/14 20:16:04 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/hotwayd/ChangeLog,v 1.17 2005/01/21 21:16:31 ticho Exp $ + + 21 Jan 2005; Andrej Kacian <ticho@gentoo.org> files/hotwayd.xinetd, + hotwayd-0.8.2-r1.ebuild: + Changed the xinetd file to use port 1100 by default, and service type to + unlisted. Also modified postinst instructions to reflect new settings. Set + hotsmtpd xinetd file to disabled by default. Closes bug #76593, reported by + Zhang Weiwu <zhangweiwu@realss.com>. 14 Jan 2005; Andrej Kacian <ticho@gentoo.org> hotwayd-0.8-r1.ebuild, hotwayd-0.8.ebuild: diff --git a/net-mail/hotwayd/Manifest b/net-mail/hotwayd/Manifest index 223c66b213e3..d493fa6122c0 100644 --- a/net-mail/hotwayd/Manifest +++ b/net-mail/hotwayd/Manifest @@ -1,13 +1,13 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 4529bed841e664eb259225c71a38c565 ChangeLog 2843 +MD5 a0325f143fde1013166164779e249299 ChangeLog 3210 MD5 9ad44953fae3ac30888d8f588638bbae hotwayd-0.7.4.ebuild 1750 MD5 1a618945732c2b336257ac00726db4e1 hotwayd-0.8.2.ebuild 1709 MD5 8cbeb0862e389f0bbe8f4e826c337469 hotwayd-0.8-r1.ebuild 1941 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 cbedd6655aa04b6637cd48f5aca0057d hotwayd-0.8.ebuild 1868 -MD5 813f8aae1c2110d2ac750f7fb999fc6a hotwayd-0.8.2-r1.ebuild 2046 +MD5 bed104cabaa3de5dc0ef0531a20205fe hotwayd-0.8.2-r1.ebuild 1730 MD5 2d2ee1259a0fd2a7f3e82f7b3449be37 files/hotwayd-0.8-amd64.patch 563 MD5 dd6f3b429961f43d5dc98ae6cb7a7135 files/hotwayd-0.8.xinetd 1096 MD5 095121675641d48c7914ee0357579157 files/digest-hotwayd-0.8.2-r1 66 @@ -16,11 +16,11 @@ MD5 11f58c76db54b710b16843e031fd58ab files/hotwayd-0.8-headerfix.patch 557 MD5 76109cc95e670b7bf885c7028e669359 files/digest-hotwayd-0.7.4 66 MD5 095121675641d48c7914ee0357579157 files/digest-hotwayd-0.8.2 66 MD5 66d321fd1972f44a53676d31a03bca9d files/digest-hotwayd-0.8-r1 64 -MD5 f1e3a435a01ea89b18857dbb690c41d7 files/hotwayd.xinetd 1097 +MD5 d6cae8d0287ee4805fbaafdd12240d8e files/hotwayd.xinetd 787 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) -iD8DBQFB6CiNQlM6RnzZP+IRAh2ZAJ4uXKWprDQ8aJONr6AiOdQ9CuprVQCfeQpC -um8xVk3o+5WzNWeS7Hq+qeU= -=ske5 +iD8DBQFB8XE4QlM6RnzZP+IRAt0GAKCfBTIOiteVuR2fe5n9W6sZA8LubgCgktUJ +k2TDaLwfJp9a9HiA+Uw5f8k= +=26fc -----END PGP SIGNATURE----- diff --git a/net-mail/hotwayd/files/hotwayd.xinetd b/net-mail/hotwayd/files/hotwayd.xinetd index 47dd94beeb9a..65947585fa77 100644 --- a/net-mail/hotwayd/files/hotwayd.xinetd +++ b/net-mail/hotwayd/files/hotwayd.xinetd @@ -1,11 +1,7 @@ # default: off # description: hotway daemon -# - You need to add a line that says "hotwayd 110/tcp" to your -# /etc/services file. Change the port number if necessary, see below. -# - By default it listens to port 110 (default for pop3) -# If you already have a pop3 server running, or you want it to listen -# to another port change the value of "port = 110" below. -# Change the value in your email client and in /etc/services accordingly. +# - 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 @@ -19,10 +15,11 @@ service hotwayd socket_type = stream wait = no user = nobody - port = 110 + 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.2-r1.ebuild b/net-mail/hotwayd/hotwayd-0.8.2-r1.ebuild index 473160bdc763..93de6501d198 100644 --- a/net-mail/hotwayd/hotwayd-0.8.2-r1.ebuild +++ b/net-mail/hotwayd/hotwayd-0.8.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/hotwayd/hotwayd-0.8.2-r1.ebuild,v 1.1 2005/01/13 15:14:51 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/hotwayd/hotwayd-0.8.2-r1.ebuild,v 1.2 2005/01/21 21:16:31 ticho Exp $ inherit eutils @@ -27,6 +27,7 @@ src_install () { 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 @@ -37,26 +38,20 @@ src_install () { } pkg_postinst () { - einfo "" - einfo " By default daemons that use xinetd are not started " - einfo " automatically in gentoo" + echo + einfo " By default daemons that use xinetd are not started automatically in gentoo" einfo " To activate do the following steps: " einfo " - Edit the file /etc/xinetd.d/hotwayd and change disable " einfo " from yes to no " - einfo " - Add the following line to /etc/services: " - einfo " hotwayd 110/tcp " - einfo " - Note: if you already have a daemon serving port 110 (the " - einfo " default pop3 port); then change the port number to something " - einfo " else; also change the port number in hotwayd " - einfo " - If you already had xinetd up and running, restart with " - einfo " # /etc/init.d/xinetd restart " - einfo " or " - einfo " If the emerge also pulled in the xinetd package for you, do " - einfo " # rc-update add xinetd default " - einfo " # /etc/init.d/xinetd start " - einfo "" + einfo " - Restart xinetd with \`/etc/init.d/xinetd restart\` " + echo if use smtp; then einfo "You chose to install hotsmtpd, a SMTP proxy for hotmail. Please" einfo "Configure /etc/xinetd.d/hotsmtpd and restart xinetd to start using it." + echo + fi + einfo "Set your e-mail applications to use port 1100 for receiving email." + if use smtp; then + einfo "Use port 2500 for sending email." fi } |