Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 22:23:51 -0700 (PDT)
From:      Andy Gerweck <andy@gerweck.dyndns.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/50888: Updated fetchyahoo port, like fetchmail for Yahoo! mail
Message-ID:  <200304130523.h3D5NpFH056327@gerweck.dyndns.org>
Resent-Message-ID: <200304130530.h3D5UGtL040727@freefall.freebsd.org>

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

>Number:         50888
>Category:       ports
>Synopsis:       Updated fetchyahoo port, like fetchmail for Yahoo! mail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 22:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andy Gerweck
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD gerweck.dyndns.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #6: Mon Mar 31 01:47:22 PST 2003 root@gerweck.dyndns.org:/usr/obj/usr/src/sys/ENRIQUE i386


	
>Description:
Updated version fixes bugs and works with new Yahoo layouts.

	
>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/Makefile
#	fetchyahoo/pkg-plist
#	fetchyahoo/pkg-descr
#	fetchyahoo/distinfo
#
echo c - fetchyahoo
mkdir -p fetchyahoo > /dev/null 2>&1
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.5
XCATEGORIES=	mail
XMASTER_SITES=	http://fetchyahoo.twizzler.org/
X
XMAINTAINER=	a@tacnode.com
XCOMMENT=	"Retrieves mail from the free Yahoo! webmail service"
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-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
echo x - fetchyahoo/distinfo
sed 's/^X//' >fetchyahoo/distinfo << 'END-of-fetchyahoo/distinfo'
XMD5 (fetchyahoo-2.5.tar.gz) = 0b84b4ce9fef1d0081e9e0f7499e1cdd
END-of-fetchyahoo/distinfo
exit
--- fetchyahoo.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304130523.h3D5NpFH056327>