pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/anomy-sanitizer fix regex lint
details: https://anonhg.NetBSD.org/pkgsrc/rev/9793f88ee70a
branches: trunk
changeset: 374439:9793f88ee70a
user: christos <christos%pkgsrc.org@localhost>
date: Tue Jan 23 01:28:02 2018 +0000
description:
fix regex lint
diffstat:
mail/anomy-sanitizer/Makefile | 4 +-
mail/anomy-sanitizer/distinfo | 3 +-
mail/anomy-sanitizer/patches/patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm | 23 ++++++++++
3 files changed, 27 insertions(+), 3 deletions(-)
diffs (53 lines):
diff -r 7f9345b22411 -r 9793f88ee70a mail/anomy-sanitizer/Makefile
--- a/mail/anomy-sanitizer/Makefile Mon Jan 22 19:55:04 2018 +0000
+++ b/mail/anomy-sanitizer/Makefile Tue Jan 23 01:28:02 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.34 2016/07/09 06:38:27 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2018/01/23 01:28:02 christos Exp $
#
DISTNAME= anomy-sanitizer-1.76
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= mail
MASTER_SITES= http://mailtools.anomy.net/dist/
diff -r 7f9345b22411 -r 9793f88ee70a mail/anomy-sanitizer/distinfo
--- a/mail/anomy-sanitizer/distinfo Mon Jan 22 19:55:04 2018 +0000
+++ b/mail/anomy-sanitizer/distinfo Tue Jan 23 01:28:02 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 23:27:01 agc Exp $
+$NetBSD: distinfo,v 1.12 2018/01/23 01:28:02 christos Exp $
SHA1 (anomy-sanitizer-1.76.tar.gz) = 621f7ce20876d8d5f8c3d756f8756a66dcbf7950
RMD160 (anomy-sanitizer-1.76.tar.gz) = 30c005dd475442e655aaaf7c0021cf1d54107d1b
SHA512 (anomy-sanitizer-1.76.tar.gz) = 4ba805f733f291af71f6ec514274f27bedd132c8613ea5a96eb6bffce9ee6fed15eaf73562f69c77327174bb91e101ce36f2e24917af61efa1b88a8acb721b41
Size (anomy-sanitizer-1.76.tar.gz) = 172722 bytes
+SHA1 (patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm) = 92eaa4ed67b6a44712be5d34ced03a087d2ac499
diff -r 7f9345b22411 -r 9793f88ee70a mail/anomy-sanitizer/patches/patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/anomy-sanitizer/patches/patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm Tue Jan 23 01:28:02 2018 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm,v 1.1 2018/01/23 01:28:02 christos Exp $
+
+New version of perl wants escaped braces
+
+--- bin/Anomy/Sanitizer/MacroScanner.pm.orig 2001-12-21 21:47:58.000000000 -0500
++++ bin/Anomy/Sanitizer/MacroScanner.pm 2018-01-22 20:19:51.344624389 -0500
+@@ -117,14 +117,14 @@
+ $score += 99 while ($buff =~ s/\000(VirusProtection)/x$1/i);
+ $score += 99 while ($buff =~ s/\000(select\s[^\000]*shell\s*\()/x$1/i);
+ $score += 9 while ($buff =~ s/\000(regedit|SaveNormalPrompt|Outlook.Application\000)/x$1/i);
+- $score += 4 while ($buff =~ s/\000(ID="{[-0-9A-F]+)$/x$1/i);
++ $score += 4 while ($buff =~ s/\000(ID="\{[-0-9A-F]+)$/x$1/i);
+ $score += 4 while ($buff =~ s/\000(CreateObject)/x$1/i);
+ $score += 4 while ($buff =~ s/(?:\000|\004)(([a-z0-9_]\.)*(Autoexec|Workbook_(Open|BeforeClose)|Document_(Open|New|Close)))/x$1/i);
+ $score += 4 while ($buff =~ s/(?:\000|\004)(Logon|AddressLists|AddressEntries|Recipients|Subject|Body|Attachments|Logoff)/x$1/i);
+ $score += 2 while ($buff =~ s/\000(Shell|Options|CodeModule)/x$1/i);
+ $score += 2 while ($buff =~ s/\000(([a-z]+\.)?Application\000)/x$1/i);
+ $score += 2 while ($buff =~ s/(?:\000|\004)(stdole|NormalTemplate)/x$1/i);
+- $score += 1 while ($buff =~ s/\000(ID="{[-0-9A-F]+}"|ThisWorkbook\000|PrivateProfileString)/x$1/i);
++ $score += 1 while ($buff =~ s/\000(ID="\{[-0-9A-F]+}"|ThisWorkbook\000|PrivateProfileString)/x$1/i);
+ $score += 1 while ($buff =~ s/(?:\000|\004)(ActiveDocument|ThisDocument)/x$1/i);
+ $score += 1 while ($buff =~ s/\000(\[?HKEY_(CLASSES_ROOT|CURRENT_USER|LOCAL_MACHINE))/x$1/);
+
Home |
Main Index |
Thread Index |
Old Index