Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 22:18:07 -0700 (PDT)
From:      Andrew Gerweck <andy@gerweck.dyndns.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44077: New Port: FetchYahoo retrieves mail from Yahoo! webmail
Message-ID:  <200210150518.g9F5I74G045648@gerweck.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         44077
>Category:       ports
>Synopsis:       New Port: FetchYahoo retrieves mail from Yahoo! webmail
>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:   Mon Oct 14 22:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Gerweck
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD gerweck.dyndns.org 4.7-RELEASE FreeBSD 4.7-RELEASE #15: Sat Oct 12 15:17:53 PDT 2002 root@gerweck.dyndns.org:/usr/obj/usr/src/sys/ENRIQUE i386


	
>Description:
FetchYahoo! is a simple tool that retrieves mail from the free Yahoo!
webmail service.  It can redeliver using SMTP or deliver directly to a
local mailbox.  It's like fetchmail for Yahoo! Mail users.
	
>How-To-Repeat:
	
>Fix:

	

--- fetchyahoo.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:
#
#	fetchyahoo
#	fetchyahoo/distinfo
#	fetchyahoo/Makefile
#	fetchyahoo/pkg-comment
#	fetchyahoo/pkg-plist
#	fetchyahoo/pkg-descr
#
echo c - fetchyahoo
mkdir -p fetchyahoo > /dev/null 2>&1
echo x - fetchyahoo/distinfo
sed 's/^X//' >fetchyahoo/distinfo << 'END-of-fetchyahoo/distinfo'
XMD5 (fetchyahoo-2.1.tar.gz) = cf775a16c5702fbe79825992cf8069ad
END-of-fetchyahoo/distinfo
echo x - fetchyahoo/Makefile
sed 's/^X//' >fetchyahoo/Makefile << 'END-of-fetchyahoo/Makefile'
X# Ports collection makefile for:	fetchyahoo
X# Date created:				2 Oct 2002
X# Whom: 				Andy Gerweck <a@gerweck.dyndns.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fetchyahoo
XPORTVERSION=	2.1
XCATEGORIES=	mail
XMASTER_SITES=	http://web.mit.edu/ravir/fetchyahoo/
X
XMAINTAINER=	a@gerweck.dyndns.org
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/HTTP.pm:${PORTSDIR}/www/p5-libwww \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MIME/Tools.pm:${PORTSDIR}/mail/p5-MIME-Tools \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Crypt/SSLeay.pm:${PORTSDIR}/security/p5-Crypt-SSLeay \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Util.pm:${PORTSDIR}/mail/p5-Mail-Tools \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
X
XUSE_PERL5=	yes
XNO_BUILD=	yes
X
XMAN1=		fetchyahoo.1
X
Xpost-extract:
X# Sample startup script
X	${ECHO} "#!/bin/sh" >>${WRKDIR}/fetchyahoo.sh-sample
X	${ECHO} >>${WRKDIR}/fetchyahoo.sh-sample
X	${ECHO} "${LOCALBASE}/bin/fetchyahoo.pl --configfile=${PREFIX}/etc/fetchyahoorc 2>&1 >>/var/log/fetchyahoo.log" >>${WRKDIR}/fetchyahoo.sh-sample
X	${ECHO} >>${WRKDIR}/fetchyahoo.sh-sample
X	${ECHO} "echo -n ' fetchyahoo'" >>${WRKDIR}/fetchyahoo.sh-sample
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/fetchyahoo.pl ${PREFIX}/bin/fetchyahoo
X	${INSTALL_MAN} ${WRKSRC}/fetchyahoo.1 ${MAN1PREFIX}/man/man1
X	${INSTALL_DATA} ${WRKSRC}/fetchyahoorc ${PREFIX}/etc/fetchyahoorc.sample
X	${INSTALL_SCRIPT} ${WRKDIR}/fetchyahoo.sh-sample ${PREFIX}/etc/rc.d/fetchyahoo.sh-sample
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/fetchyahoo
X	${INSTALL_MAN} ${WRKSRC}/ChangeLog ${WRKSRC}/Credits ${PREFIX}/share/doc/fetchyahoo
X.endif
X
Xpost-install:
X	@${ECHO}
X	@${ECHO} ==================================================
X	@${ECHO} "                    NOTICES"
X	@${ECHO} ==================================================
X	@${ECHO} + This port installs a sample configuration file
X	@${ECHO} at ${LOCALBASE}/etc/fetchyahoorc.sample.  The sample
X	@${ECHO} startup script expects a file at
X	@${ECHO} ${LOCALBASE}/etc/fetchyahoorc.  If you want to use
X	@${ECHO} the startup script, you should make a copy in the
X	@${ECHO} expected location and tweak that.  Type
X	@${ECHO} man fetchyahoo
X	@${ECHO} for more information.
X	@${ECHO}
X	@${ECHO} + This port installs a sample startup script in
X	@${ECHO} ${LOCALBASE}/etc/rc.d/fetchyahoo.sh-sample.  If you
X	@${ECHO} have root permissions and want fetchyahoo to
X	@${ECHO} startup automatically when your system boots, copy
X	@${ECHO} that file to ${LOCALBASE}/etc/rc.d/fetchyahoo.sh and
X	@${ECHO} see the note above on configuration.
X	@${ECHO}
X
X.include <bsd.port.mk>
END-of-fetchyahoo/Makefile
echo x - fetchyahoo/pkg-comment
sed 's/^X//' >fetchyahoo/pkg-comment << 'END-of-fetchyahoo/pkg-comment'
XRetrieves mail from the free Yahoo! webmail service
END-of-fetchyahoo/pkg-comment
echo x - fetchyahoo/pkg-plist
sed 's/^X//' >fetchyahoo/pkg-plist << 'END-of-fetchyahoo/pkg-plist'
Xbin/fetchyahoo
Xetc/fetchyahoorc.sample
Xetc/rc.d/fetchyahoo.sh-sample
Xshare/doc/fetchyahoo/ChangeLog
Xshare/doc/fetchyahoo/Credits
X@dirrm share/doc/fetchyahoo
END-of-fetchyahoo/pkg-plist
echo x - fetchyahoo/pkg-descr
sed 's/^X//' >fetchyahoo/pkg-descr << 'END-of-fetchyahoo/pkg-descr'
XFetchYahoo! is a small program that retrieves mail from the Yahoo!
Xwebmail service.  It is similar to the popular fetchmail program for
XPOP3/IMAP servers.  FetchYahoo! will either deliver directly to a
Xlocal mailbox or forward the message to an SMTP server for delivery--
Xallowing remote delivery or procmail processing.
X
XWWW: http://web.mit.edu/ravir/fetchyahoo/
X
X- Andy Gerweck
Xa@gerweck.dyndns.org
END-of-fetchyahoo/pkg-descr
exit
--- fetchyahoo.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?200210150518.g9F5I74G045648>