diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-18 18:36:34 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-18 18:36:34 +0000 |
| commit | f661792935a66291d89e9bdf001fb8fc7a9ed815 (patch) | |
| tree | 4a72074be7171ddb44227210d4783a936911dda8 /dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch | |
| parent | 8186801834f408cadc46c6a3c0de44faf8bc1cb0 (diff) | |
| download | baldeagleos-repo-f661792935a66291d89e9bdf001fb8fc7a9ed815.tar.gz baldeagleos-repo-f661792935a66291d89e9bdf001fb8fc7a9ed815.tar.xz baldeagleos-repo-f661792935a66291d89e9bdf001fb8fc7a9ed815.zip | |
Adding metadata
Diffstat (limited to 'dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch')
| -rw-r--r-- | dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch b/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch new file mode 100644 index 000000000000..36bf1d60f686 --- /dev/null +++ b/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch @@ -0,0 +1,17 @@ +Upstream: https://github.com/VirusTotal/yara-python/pull/244 +From c00fd68cfb2f00c4bfe4ea6465a93af2d1d1a68f Mon Sep 17 00:00:00 2001 +From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> +Date: Sat, 16 Sep 2023 17:35:36 +0200 +Subject: [PATCH] Fix unknown escape sequence + +--- a/tests.py ++++ b/tests.py +@@ -719,7 +719,7 @@ def testRE(self): + 'rule test { strings: $a = /[M-N]iss/ nocase condition: $a }', + 'rule test { strings: $a = /(Mi|ssi)ssippi/ nocase condition: $a }', + r'rule test { strings: $a = /ppi\tmi/ condition: $a }', +- 'rule test { strings: $a = /ppi\.mi/ condition: $a }', ++ r'rule test { strings: $a = /ppi\.mi/ condition: $a }', + 'rule test { strings: $a = /^mississippi/ fullword condition: $a }', + 'rule test { strings: $a = /mississippi.*mississippi$/s condition: $a }', + ], 'mississippi\tmississippi.mississippi\nmississippi') |
