Update to 0.57. This allows GetLive to work again.

Use ${SUBST_CMD}.

"go ahead" @jasper
This commit is contained in:
merdely 2008-07-10 14:37:31 +00:00
parent fc2e837db4
commit c0324c2453
4 changed files with 13 additions and 14 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2007/12/05 23:00:56 merdely Exp $
# $OpenBSD: Makefile,v 1.4 2008/07/10 14:37:31 merdely Exp $
COMMENT= automatically fetch hotmail.com email
DISTNAME= GetLive_0_56
PKGNAME= p5-GetLive-0.56
DISTNAME= GetLive_0_57
PKGNAME= p5-GetLive-0.57
CATEGORIES= mail perl5
EXTRACT_SUFX= .tgz
@ -27,8 +27,7 @@ NO_BUILD= Yes
NO_REGRESS= Yes
post-patch:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},' \
${WRKSRC}/{GetLive.pl,Manual}
@${SUBST_CMD} ${WRKSRC}/{GetLive.pl,Manual}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/GetLive.pl ${PREFIX}/bin/GetLive

View File

@ -1,5 +1,5 @@
MD5 (GetLive_0_56.tgz) = dUsjrXrk2xszBH30MVJuBQ==
RMD160 (GetLive_0_56.tgz) = fYuo3zE1J25BYZgHgX3C5yUEJkA=
SHA1 (GetLive_0_56.tgz) = Fw3vnqiXcG0kGG6wnsJ1v9eyP7k=
SHA256 (GetLive_0_56.tgz) = EJ62WlwmgSoLjYiRDeGT9wimdl+Rh1GskDcCPNpkpOs=
SIZE (GetLive_0_56.tgz) = 25626
MD5 (GetLive_0_57.tgz) = 3gITkCX3AZzC3ys/Ma25wQ==
RMD160 (GetLive_0_57.tgz) = zHRUg96RdhANXjObaQnLF3Ir1fE=
SHA1 (GetLive_0_57.tgz) = t/N3ttgWxb06xGHDPIlayMIMLmY=
SHA256 (GetLive_0_57.tgz) = kDHYOrHtGVGWt0bcQI2qjXsWLVxCawLZlw2Qgf+nJ70=
SIZE (GetLive_0_57.tgz) = 26696

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-GetLive_pl,v 1.1.1.1 2007/10/10 15:17:49 merdely Exp $
$OpenBSD: patch-GetLive_pl,v 1.2 2008/07/10 14:37:31 merdely Exp $
--- GetLive.pl.orig Sat Sep 8 14:23:33 2007
+++ GetLive.pl Wed Oct 10 07:59:06 2007
@@ -53,7 +53,7 @@ my $Password = "";
@ -6,7 +6,7 @@ $OpenBSD: patch-GetLive_pl,v 1.1.1.1 2007/10/10 15:17:49 merdely Exp $
my $CurlCommand = 'curl -k';
my $Verbosity = 1; # 0:Silent; 1:Normal; 2:Verbose; 10:debug; 100:heavy debug
-my $MailProcessor = '/usr/bin/procmail'; # Any program taking mbox formatted at stdin will do.
+my $MailProcessor = '!!LOCALBASE!!/bin/procmail'; # Any program taking mbox formatted at stdin will do.
+my $MailProcessor = '${LOCALBASE}/bin/procmail'; # Any program taking mbox formatted at stdin will do.
my $DownloadedIdsFile = ""; # Local file with Ids of already downloaded messages.
my $RetryLimit = 2;
my $MarkRead = "No"; # No,Yes : But never when downloaded before !

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-Manual,v 1.2 2007/12/05 23:00:56 merdely Exp $
$OpenBSD: patch-Manual,v 1.3 2008/07/10 14:37:31 merdely Exp $
--- Manual.orig Sun Dec 2 10:24:44 2007
+++ Manual Wed Dec 5 17:45:21 2007
@@ -47,7 +47,7 @@ Following are the possible options :
@ -6,7 +6,7 @@ $OpenBSD: patch-Manual,v 1.2 2007/12/05 23:00:56 merdely Exp $
scenes)
CurlBin = CommandForCurl ('curl -k' by default).
- Processor = FilterCommand ('/usr/bin/procmail' by default). Any
+ Processor = FilterCommand ('!!LOCALBASE!!/bin/procmail' by default). Any
+ Processor = FilterCommand ('${LOCALBASE}/bin/procmail' by default). Any
filtercommand taking the message in mbox format on its
stdin and doing something with it.