Date: Tue, 29 Oct 2002 08:39:57 -0800 (PST) From: John Nielsen <john@jnielsen.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: john@jnielsen.net Subject: ports/44593: New port: mail/hotway, a POP3 gateway for Hotmail/MSN mail Message-ID: <200210291639.g9TGdvSV057320@ns1.jnielsen.net>
next in thread | raw e-mail | index | archive | help
>Number: 44593 >Category: ports >Synopsis: New port: mail/hotway, a POP3 gateway for Hotmail/MSN mail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 29 08:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: John Nielsen >Release: FreeBSD 4.6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD ns1.jnielsen.net 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Fri Sep 13 22:58:07 PDT 2002 user@jail8.johncompanies.com:/usr/src/sys/compile/4622500 i386 >Description: Hotway uses HTTPMail (the same protocol that Outlook Express uses) to access Microsoft's Hotmail servers. The software acts as a proxy mail server, allowing you to access hotmail and MSN accounts using a standard POP3 mail client. WWW: http://people.freenet.de/courierdave >How-To-Repeat: >Fix: --- hotway.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./pkg-comment # ./pkg-descr # ./pkg-message # ./pkg-plist # ./distinfo # ./files # ./files/patch-inet.c # ./files/patch-Makefile.in # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: hotway X# Date created: 29 October 2002 X# Whom: John Nielsen <john@jnielsen.net> X# X# $FreeBSD$ X# X XPORTNAME= hotway XPORTVERSION= 0.5 XCATEGORIES= mail XMASTER_SITES= http://people.freenet.de/courierdave/ X XMAINTAINER= ports@freebsd.org X XLIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ X iconv.3:${PORTSDIR}/converters/libiconv X XUSE_BZIP2= yes XGNU_CONFIGURE= yes XUSE_GMAKE= yes X X.include <bsd.port.mk> END-of-./Makefile echo x - ./pkg-comment sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment' XA Hotmail -> POP3 gateway. END-of-./pkg-comment echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XHotway uses HTTPMail (the same protocol that Outlook Express uses) to access XMicrosoft's Hotmail servers. The software acts as a proxy mail server, Xallowing you to access hotmail and MSN accounts using a standard POP3 mail Xclient. X XWWW: http://people.freenet.de/courierdave END-of-./pkg-descr echo x - ./pkg-message sed 's/^X//' >./pkg-message << 'END-of-./pkg-message' XTo run hotwayd you need to add it to inetd.conf. XTo use the standard pop3 port for hotwayd, add the following Xline to /etc/inetd.conf: X Xpop3 stream tcp nowait root /usr/local/sbin/hotwayd hotwayd X XYou may also specify an arbitrary port for hotwayd. Define it Xin /etc/services, and then use a line like this in /etc/inetd.conf: X Xhotwayd stream tcp nowait root /usr/local/sbin/hotwayd hotwayd X XAfter making your changes, restart inetd. e.g.: X Xkillall -HUP inetd X XYou can now use fetchmail or any pop3 mail client to read your e-mail. XThe POP username should be your full hotmail or msn e-mail address, Xand the password is your hotmail/msn password. END-of-./pkg-message echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xsbin/hotwayd Xinclude/hotwayd.h Xinclude/httpmail.h Xinclude/ghttp.h Xinclude/ghttp_constants.h END-of-./pkg-plist echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (hotway-0.5.tar.bz2) = d44d86b29a4a13d8a99c9fc1a5c49a21 END-of-./distinfo echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-inet.c sed 's/^X//' >./files/patch-inet.c << 'END-of-./files/patch-inet.c' X--- inet.c.orig Tue Oct 29 08:09:14 2002 X+++ inet.c Tue Oct 29 08:09:27 2002 X@@ -24,6 +24,7 @@ X #include <sys/types.h> X #include <sys/socket.h> X #include <stdlib.h> X+#include <netinet/in.h> X #include <arpa/inet.h> X #include <netdb.h> X END-of-./files/patch-inet.c echo x - ./files/patch-Makefile.in sed 's/^X//' >./files/patch-Makefile.in << 'END-of-./files/patch-Makefile.in' X--- Makefile.in.orig Tue Oct 29 08:13:59 2002 X+++ Makefile.in Tue Oct 29 08:14:43 2002 X@@ -101,7 +101,7 @@ X DEFS = @DEFS@ -I. -I$(srcdir) X CPPFLAGS = @CPPFLAGS@ X LDFLAGS = @LDFLAGS@ X-LIBS = @LIBS@ X+LIBS = -L /usr/local/lib -lm -lz -lxml2 -liconv X hotwayd_OBJECTS = hotwayd.o commands.o xmlstuff.o inet.o X hotwayd_DEPENDENCIES = libghttp-1.0.9-mod/ghttp.c \ X libghttp-1.0.9-mod/http_date.c libghttp-1.0.9-mod/http_hdrs.c \ END-of-./files/patch-Makefile.in exit --- hotway.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210291639.g9TGdvSV057320>