* wine is kept at -Np0
```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
for p in ${template%/template}/patches/*; do
sed -i '
\,^[+-][+-][+-] /dev/null,b
/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
s,^[*][*][*] ,&a/,
/^--- /{
s,\(^--- \)\(./\)*,\1a/,
s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1,
s/[.-][Oo][Rr][Ii][Gg]$//
s/[.]patched[.]\([^.]\)/.\1/
h
}
/^+++ -/{
g
s/^--- a/+++ b/
b
}
s,\(^+++ \)\(./\)*,\1b/,
' "$p"
done
sed -i '/^patch_args=/d' $template
done
```
17 lines
751 B
Diff
17 lines
751 B
Diff
diff --git src/wfuzz/__init__.py src/wfuzz/__init__.py
|
|
index 05f04af..7e8a4a8 100644
|
|
--- a/src/wfuzz/__init__.py
|
|
+++ b/src/wfuzz/__init__.py
|
|
@@ -30,9 +30,9 @@ warnings.formatwarning = warning_on_one_line
|
|
try:
|
|
import pycurl
|
|
|
|
- if "openssl".lower() not in pycurl.version.lower():
|
|
+ if "ssl".lower() not in pycurl.version.lower():
|
|
warnings.warn(
|
|
- "Pycurl is not compiled against Openssl. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information."
|
|
+ "Pycurl is not compiled against Open- or LibreSSL. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information."
|
|
)
|
|
|
|
if not hasattr(pycurl, "CONNECT_TO"):
|