forked from pool/sqlmap
Accepting request 915151 from home:StevenK:branches:security
- Update fix_shebang.patch to switch Python scripts to calling /usr/bin/python3. - Add Requires on python3 for full interpreter. OBS-URL: https://build.opensuse.org/request/show/915151 OBS-URL: https://build.opensuse.org/package/show/security/sqlmap?expand=0&rev=4
This commit is contained in:
parent
4ab12327d6
commit
1f6f0a2b38
@ -8,48 +8,53 @@ Only in sqlmap-1.5.ori/extra/runcmd/src/runcmd: stdafx.cpp
|
||||
Only in sqlmap-1.5/extra/runcmd/src/runcmd: stdafx.cpp.txt
|
||||
Only in sqlmap-1.5.ori/extra/runcmd/src/runcmd: stdafx.h
|
||||
Only in sqlmap-1.5/extra/runcmd/src/runcmd: stdafx.h.txt
|
||||
diff --color -rub sqlmap-1.5.ori/extra/shutils/autocompletion.sh sqlmap-1.5/extra/shutils/autocompletion.sh
|
||||
--- sqlmap-1.5.ori/extra/shutils/autocompletion.sh 2021-01-03 15:23:40.000000000 +0100
|
||||
+++ sqlmap-1.5/extra/shutils/autocompletion.sh 2021-07-01 17:19:46.749860716 +0200
|
||||
Index: sqlmap-1.5.7/extra/shutils/autocompletion.sh
|
||||
===================================================================
|
||||
--- sqlmap-1.5.7.orig/extra/shutils/autocompletion.sh
|
||||
+++ sqlmap-1.5.7/extra/shutils/autocompletion.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#/usr/bin/env bash
|
||||
+#!/usr/bin/bash
|
||||
|
||||
# source ./extra/shutils/autocompletion.sh
|
||||
|
||||
diff --color -rub sqlmap-1.5.ori/extra/shutils/duplicates.py sqlmap-1.5/extra/shutils/duplicates.py
|
||||
--- sqlmap-1.5.ori/extra/shutils/duplicates.py 2021-01-03 15:23:40.000000000 +0100
|
||||
+++ sqlmap-1.5/extra/shutils/duplicates.py 2021-07-01 17:20:26.786475153 +0200
|
||||
Index: sqlmap-1.5.7/extra/shutils/duplicates.py
|
||||
===================================================================
|
||||
--- sqlmap-1.5.7.orig/extra/shutils/duplicates.py
|
||||
+++ sqlmap-1.5.7/extra/shutils/duplicates.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python
|
||||
+#!/usr/bin/python3
|
||||
|
||||
# Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/)
|
||||
# See the file 'LICENSE' for copying permission
|
||||
diff --color -rub sqlmap-1.5.ori/sqlmapapi.py sqlmap-1.5/sqlmapapi.py
|
||||
--- sqlmap-1.5.ori/sqlmapapi.py 2021-01-03 15:23:40.000000000 +0100
|
||||
+++ sqlmap-1.5/sqlmapapi.py 2021-07-01 17:23:26.465232679 +0200
|
||||
Index: sqlmap-1.5.7/sqlmapapi.py
|
||||
===================================================================
|
||||
--- sqlmap-1.5.7.orig/sqlmapapi.py
|
||||
+++ sqlmap-1.5.7/sqlmapapi.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python
|
||||
+#!/usr/bin/python3
|
||||
|
||||
"""
|
||||
Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/)
|
||||
diff --color -rub sqlmap-1.5.ori/sqlmap.py sqlmap-1.5/sqlmap.py
|
||||
--- sqlmap-1.5.ori/sqlmap.py 2021-01-03 15:23:40.000000000 +0100
|
||||
+++ sqlmap-1.5/sqlmap.py 2021-07-01 17:23:41.313460555 +0200
|
||||
Index: sqlmap-1.5.7/sqlmap.py
|
||||
===================================================================
|
||||
--- sqlmap-1.5.7.orig/sqlmap.py
|
||||
+++ sqlmap-1.5.7/sqlmap.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python
|
||||
+#!/usr/bin/python3
|
||||
|
||||
"""
|
||||
Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/)
|
||||
diff --color -rub sqlmap-1.5.ori/thirdparty/identywaf/identYwaf.py sqlmap-1.5/thirdparty/identywaf/identYwaf.py
|
||||
--- sqlmap-1.5.ori/thirdparty/identywaf/identYwaf.py 2021-01-03 15:23:40.000000000 +0100
|
||||
+++ sqlmap-1.5/thirdparty/identywaf/identYwaf.py 2021-07-01 17:20:49.558824640 +0200
|
||||
Index: sqlmap-1.5.7/thirdparty/identywaf/identYwaf.py
|
||||
===================================================================
|
||||
--- sqlmap-1.5.7.orig/thirdparty/identywaf/identYwaf.py
|
||||
+++ sqlmap-1.5.7/thirdparty/identywaf/identYwaf.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python
|
||||
+#!/usr/bin/python3
|
||||
|
||||
"""
|
||||
Copyright (c) 2019-2021 Miroslav Stampar (@stamparm), MIT
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 31 05:16:54 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update fix_shebang.patch to switch Python scripts to calling
|
||||
/usr/bin/python3.
|
||||
- Add Requires on python3 for full interpreter.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 15 07:21:22 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
|
@ -28,6 +28,7 @@ Patch0: fix_shebang.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python3
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
Loading…
x
Reference in New Issue
Block a user