summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2016-01-04 02:20:45 +0000
committermarkd <markd@pkgsrc.org>2016-01-04 02:20:45 +0000
commitef20f0d6fb33f0896c3357dd079014bacf58cd66 (patch)
tree06b111c9e5cdb208bf7b398c172904378a2684b0 /mail
parenta808ccd041b5c3f7efd9f43b9fc31afc0a4d983d (diff)
downloadpkgsrc-ef20f0d6fb33f0896c3357dd079014bacf58cd66.tar.gz
Update p5-Net-ManageSieve to 0.12
fix perl 5.22 warning 0.12 Thu Jan 12 16:22:42 CEST 2012 -fix: remove signature check causing too many failures of automatic checks 0.11 Fri Jul 8 15:45:42 CEST 2010 -fix: spelling CPAN bug #59225 Ansgar Burchardt -fix: META.yml CPAN bug #62606 ANDK
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Net-ManageSieve/Makefile8
-rw-r--r--mail/p5-Net-ManageSieve/distinfo11
-rw-r--r--mail/p5-Net-ManageSieve/patches/patch-lib_Net_ManageSieve.pm15
3 files changed, 26 insertions, 8 deletions
diff --git a/mail/p5-Net-ManageSieve/Makefile b/mail/p5-Net-ManageSieve/Makefile
index fa839b6f335..9d15fdb0d79 100644
--- a/mail/p5-Net-ManageSieve/Makefile
+++ b/mail/p5-Net-ManageSieve/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2015/06/12 10:50:25 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2016/01/04 02:20:45 markd Exp $
-DISTNAME= Net-ManageSieve-0.10
+DISTNAME= Net-ManageSieve-0.12
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 5
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
@@ -13,5 +12,8 @@ LICENSE= ${PERL5_LICENSE}
PERL5_PACKLIST= auto/Net/ManageSieve/.packlist
+post-patch:
+ rm ${WRKSRC}/lib/Net/ManageSieve.pm.orig
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Net-ManageSieve/distinfo b/mail/p5-Net-ManageSieve/distinfo
index f18f391b842..d23326248e0 100644
--- a/mail/p5-Net-ManageSieve/distinfo
+++ b/mail/p5-Net-ManageSieve/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 23:27:15 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/01/04 02:20:45 markd Exp $
-SHA1 (Net-ManageSieve-0.10.tar.gz) = e63f00cbcf2e9ade67db59c4043075ed4698a0a5
-RMD160 (Net-ManageSieve-0.10.tar.gz) = b53f6414332a215fa19600dc26425448a57ce04e
-SHA512 (Net-ManageSieve-0.10.tar.gz) = fa7b7ee545c3a59cd899f666ffeb88d4273ddf23a486d0bcbab4749d1cc42229e7cf40974a182e8795b877c443274e3d13dd9b8e9518fc3dfd1d3a8e7c1372b0
-Size (Net-ManageSieve-0.10.tar.gz) = 16012 bytes
+SHA1 (Net-ManageSieve-0.12.tar.gz) = a7f55627e8c2522467a82a26711124682b9b09e2
+RMD160 (Net-ManageSieve-0.12.tar.gz) = 3c85497ef5ed9b2bda23c1ff94ac0002f74495ed
+SHA512 (Net-ManageSieve-0.12.tar.gz) = ff64f1dfbd7c39a328b649ff1b6c7ada062a24f6f56ae82c1dd7df606b085d97a5b534b70e8f6d263ea62e629af32bf2bf60144680610cf1da271e3d696ec2fd
+Size (Net-ManageSieve-0.12.tar.gz) = 15820 bytes
+SHA1 (patch-lib_Net_ManageSieve.pm) = ac52006193f4bee22d3bab058fb52ebcbb54a040
diff --git a/mail/p5-Net-ManageSieve/patches/patch-lib_Net_ManageSieve.pm b/mail/p5-Net-ManageSieve/patches/patch-lib_Net_ManageSieve.pm
new file mode 100644
index 00000000000..62248a4eeec
--- /dev/null
+++ b/mail/p5-Net-ManageSieve/patches/patch-lib_Net_ManageSieve.pm
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_Net_ManageSieve.pm,v 1.1 2016/01/04 02:20:45 markd Exp $
+
+Unescaped braces in regexp are deprecated and issue a warning
+when used in Perl 5.22.
+--- lib/Net/ManageSieve.pm.orig 2012-01-12 15:35:27.000000000 +0000
++++ lib/Net/ManageSieve.pm
+@@ -1034,7 +1034,7 @@ sub _token {
+ $l =~ s/\A[[:blank:]]+//;
+ }
+
+- if($l =~ /\A{(\d+)\+?}\r*\Z/) { # The next $1 octets are the token
++ if($l =~ /\A\{(\d+)\+?\}\r*\Z/) { # The next $1 octets are the token
+ my $cnt = $1;
+ $l = '';
+ while($cnt > 0) { # Need some characters still