pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/anomy-sanitizer



Module Name:    pkgsrc
Committed By:   christos
Date:           Tue Jan 23 01:28:02 UTC 2018

Modified Files:
        pkgsrc/mail/anomy-sanitizer: Makefile distinfo
Added Files:
        pkgsrc/mail/anomy-sanitizer/patches:
            patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm

Log Message:
fix regex lint


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/mail/anomy-sanitizer/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/mail/anomy-sanitizer/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/anomy-sanitizer/patches/patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/anomy-sanitizer/Makefile
diff -u pkgsrc/mail/anomy-sanitizer/Makefile:1.34 pkgsrc/mail/anomy-sanitizer/Makefile:1.35
--- pkgsrc/mail/anomy-sanitizer/Makefile:1.34   Sat Jul  9 02:38:27 2016
+++ pkgsrc/mail/anomy-sanitizer/Makefile        Mon Jan 22 20:28:02 2018
@@ -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/
 

Index: pkgsrc/mail/anomy-sanitizer/distinfo
diff -u pkgsrc/mail/anomy-sanitizer/distinfo:1.11 pkgsrc/mail/anomy-sanitizer/distinfo:1.12
--- pkgsrc/mail/anomy-sanitizer/distinfo:1.11   Tue Nov  3 18:27:01 2015
+++ pkgsrc/mail/anomy-sanitizer/distinfo        Mon Jan 22 20:28:02 2018
@@ -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

Added files:

Index: pkgsrc/mail/anomy-sanitizer/patches/patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm
diff -u /dev/null pkgsrc/mail/anomy-sanitizer/patches/patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm:1.1
--- /dev/null   Mon Jan 22 20:28:02 2018
+++ pkgsrc/mail/anomy-sanitizer/patches/patch-anomy_bin_Anomy_Sanitizer_MacroScanner.pm Mon Jan 22 20:28:02 2018
@@ -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