pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sieve-connect mail/sieve-connect: Update to 0.90



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f324943bf58
branches:  trunk
changeset: 768293:1f324943bf58
user:      tm <tm%pkgsrc.org@localhost>
date:      Mon Oct 18 06:51:42 2021 +0000

description:
mail/sieve-connect: Update to 0.90

0.90: minor cleanups
- Update various regular expressions to not break under a future
  Perl 5.30 release
- Use a .sieve filename extension for temporary files, to assist
  text-editors with mode selection.

diffstat:

 mail/sieve-connect/Makefile                       |   5 +--
 mail/sieve-connect/distinfo                       |   9 ++---
 mail/sieve-connect/patches/patch-sieve-connect.pl |  33 -----------------------
 3 files changed, 6 insertions(+), 41 deletions(-)

diffs (64 lines):

diff -r 45a27141d2e7 -r 1f324943bf58 mail/sieve-connect/Makefile
--- a/mail/sieve-connect/Makefile       Sun Oct 17 22:01:16 2021 +0000
+++ b/mail/sieve-connect/Makefile       Mon Oct 18 06:51:42 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2021/05/24 19:52:53 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2021/10/18 06:51:42 tm Exp $
 
-DISTNAME=              sieve-connect-0.89
-PKGREVISION=           6
+DISTNAME=              sieve-connect-0.90
 CATEGORIES=            mail
 MASTER_SITES=          https://people.spodhuis.org/phil.pennock/software/
 EXTRACT_SUFX=          .tar.bz2
diff -r 45a27141d2e7 -r 1f324943bf58 mail/sieve-connect/distinfo
--- a/mail/sieve-connect/distinfo       Sun Oct 17 22:01:16 2021 +0000
+++ b/mail/sieve-connect/distinfo       Mon Oct 18 06:51:42 2021 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2021/10/07 14:25:47 nia Exp $
+$NetBSD: distinfo,v 1.3 2021/10/18 06:51:42 tm Exp $
 
-RMD160 (sieve-connect-0.89.tar.bz2) = a3756bf3818804586883d32c759266366d82132f
-SHA512 (sieve-connect-0.89.tar.bz2) = ddcc315f78c3dc127405ecbf9cd4f1bfa02eae018a5413f594e018d23043c856e2a1d09a7df0ed1712af821b207fd781085091afda1d18cf25e9b938563f67aa
-Size (sieve-connect-0.89.tar.bz2) = 45683 bytes
-SHA1 (patch-sieve-connect.pl) = 15742aedcdbdbe8d7484b2d1f30ccb0ae609c45b
+RMD160 (sieve-connect-0.90.tar.bz2) = 4134aafeecd4b16af55faea78a5c088638f4ac4d
+SHA512 (sieve-connect-0.90.tar.bz2) = 3b4d4a6a7eb7d48f8b2dbc4c302c3de1a2a193282c7b2d25581e1131d6c7598cc2a47edabf8b108e94e0fd1a9cc50e48a103c133dba233f180f12d36c0da0718
+Size (sieve-connect-0.90.tar.bz2) = 46481 bytes
diff -r 45a27141d2e7 -r 1f324943bf58 mail/sieve-connect/patches/patch-sieve-connect.pl
--- a/mail/sieve-connect/patches/patch-sieve-connect.pl Sun Oct 17 22:01:16 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-sieve-connect.pl,v 1.1 2019/01/22 06:14:32 plunky Exp $
-
-Fix RE errors (will be fatal in perl 5.30)
-
---- sieve-connect.pl.orig      2017-02-15 00:13:15.000000000 +0000
-+++ sieve-connect.pl
-@@ -927,7 +927,7 @@ if (defined $realm) {
-               if (/^"(.*)"\r?\n?$/) {
-                       $challenge = $1;
-               } else {
--                      unless (/^{(\d+)\+?}\r?$/m) {
-+                      unless (/^\{(\d+)\+?}\r?$/m) {
-                               sfinish $sock, "*";
-                               closedie($sock, "Failure to parse server SASL response.\n");
-                       }
-@@ -1510,7 +1510,7 @@ sub sieve_download
-               warn qq{Empty script "$remotefn"?  Not saved.\n};
-               return;
-       }
--      unless (/^{(\d+)\+?}\r?$/m) {
-+      unless (/^\{(\d+)\+?}\r?$/m) {
-               die "QUIT:Failed to parse server response to GETSCRIPT";
-       }
-       my $contentdata = $_;
-@@ -1526,7 +1526,7 @@ sub sieve_download
-                       or die "write-open($localfn) failed: $!\n";
-               $oldouthandle = select $fh;
-       }
--      $contentdata =~ s/^{\d+\+?}\r?\n?//m;
-+      $contentdata =~ s/^\{\d+\+?}\r?\n?//m;
-       print $contentdata;
-       select $oldouthandle if defined $oldouthandle;
-       if (defined $fh) {



Home | Main Index | Thread Index | Old Index