Update to 0.7.1

PR:		38428
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-05-22 22:07:57 +00:00
parent 2a32ac274a
commit d8954b61be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59734
4 changed files with 15 additions and 35 deletions

View File

@ -6,32 +6,36 @@
#
PORTNAME= gotmail
PORTVERSION= 0.6.6
PORTREVISION= 1
PORTVERSION= 0.7.1
CATEGORIES= mail perl5
MASTER_SITES= http://www.hawkins.emu.id.au/gotmail/
MASTER_SITES= http://ssl.usu.edu/paul/gotmail/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@geeksrus.net
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/libnet.cfg:${PORTSDIR}/net/p5-Net
USE_PERL5= yes
MAN1= ${PORTNAME}.1
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PERL5= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
pre-patch:
${PERL} -pi -e 's|\r$$||' ${WRKSRC}/${PORTNAME}.pl
${PERL} -pi -e 's|\r$$||' ${WRKSRC}/${PORTNAME}
${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
.for i in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
.for i in COPYING ChangeLog README TODO sample.gotmailrc
.for i in ChangeLog README sample.gotmailrc
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}
.endfor
.endif

View File

@ -1 +1 @@
MD5 (gotmail_0.6.6.tar.gz) = fd529e6b5d7258ad6fb6dbf05c0fa694
MD5 (gotmail_0.7.1.tar.gz) = 46fd92313a3d8f4c9145bf7a5750bbd3

View File

@ -1,22 +0,0 @@
--- gotmail.pl.orig Mon Jul 23 20:04:47 2001
+++ gotmail.pl Sun Mar 31 19:47:52 2002
@@ -462,6 +462,8 @@
if ($page =~ m/<meta(.*)content=\"(.*)url=(\S+)\">/i) {
$redirect_location = $3;
+ } elsif ($page =~ m/\w+\.location\.replace\s*\(\"([^\"]+)\"/i) {
+ $redirect_location = $1;
}
if ($redirect_location eq "")
@@ -577,6 +579,10 @@
if ($stripmboxheader)
{
s/^From (.*)\n//;
+ }
+ else
+ {
+ s/^From\s+(\S+)\s+(\w+),\s+(\d+)\s+(\w+)\s+(\d+)\s+(\d+:\d+:\d+)/From $1 $2 $4 $3 $6 $5/;
}
# Strip any HTML artifacts from the message body.

View File

@ -1,7 +1,5 @@
bin/gotmail
%%PORTDOCS%%share/doc/gotmail/COPYING
%%PORTDOCS%%share/doc/gotmail/ChangeLog
%%PORTDOCS%%share/doc/gotmail/README
%%PORTDOCS%%share/doc/gotmail/TODO
%%PORTDOCS%%share/doc/gotmail/sample.gotmailrc
%%PORTDOCS%%@dirrm share/doc/gotmail