diff --git a/sqlmap-1.5.7.tar.gz b/sqlmap-1.5.7.tar.gz new file mode 100644 index 0000000..f166627 --- /dev/null +++ b/sqlmap-1.5.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5d7bd6bfee2fcce2f84b332a9c337d45c37343c53b5793cc4141db77789db70 +size 6765798 diff --git a/sqlmap-1.5.tar.gz b/sqlmap-1.5.tar.gz deleted file mode 100644 index 4758deb..0000000 --- a/sqlmap-1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:18c38c4ccf04e81e540527abc63130eced72b157da1d705e3af26b1d4768671d -size 6794876 diff --git a/sqlmap.changes b/sqlmap.changes index 34e9617..9304ea6 100644 --- a/sqlmap.changes +++ b/sqlmap.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Jul 15 07:21:22 UTC 2021 - Paolo Stivanin + +- Update to 1.5.7: + * Fixed #4728 (https://github.com/sqlmapproject/sqlmap/issues/4728) + * Fixed #4664 (https://github.com/sqlmapproject/sqlmap/issues/4664) + * Fixed #4625 (https://github.com/sqlmapproject/sqlmap/issues/4625) + * Speedup of caching for char encoding (non-Unicode chars in page) + * Fixing HTTP chunking for Python2.6 + ------------------------------------------------------------------- Thu Jul 1 15:38:57 UTC 2021 - Paolo Perego diff --git a/sqlmap.spec b/sqlmap.spec index 42e203e..3f3917c 100644 --- a/sqlmap.spec +++ b/sqlmap.spec @@ -18,16 +18,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: sqlmap -Version: 1.5 +Version: 1.5.7 Release: 0 Summary: Automatic SQL injection and database takeover tool License: GPL-2.0-or-later URL: https://github.com/sqlmapproject/sqlmap -Source: sqlmap-1.5.tar.gz +Source: https://github.com/sqlmapproject/sqlmap/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: fix_shebang.patch -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %description @@ -40,7 +40,6 @@ fingerprinting, over data fetching from the database, accessing the underlying file system, and executing commands on the operating system via out-of-band connections. - %prep %setup -q -n sqlmap-%{version} %patch0 -p1 @@ -57,14 +56,14 @@ chmod ugo-x thirdparty/identywaf/identYwaf.py %build %install -mkdir -p %{buildroot}/usr/share/sqlmap -cp -a * %{buildroot}/usr/share/sqlmap +mkdir -p %{buildroot}%{_datadir}/sqlmap +cp -a * %{buildroot}%{_datadir}/sqlmap -%python_expand %fdupes %{buildroot}/usr/share/sqlmap +%python_expand %fdupes %{buildroot}%{_datadir}/sqlmap %post -%{__ln_s} -f /usr/share/sqlmap/sqlmap.py %{_bindir} -%{__ln_s} -f /usr/share/sqlmap/sqlmapapi.py %{_bindir} +ln -s -f %{_datadir}/sqlmap/sqlmap.py %{_bindir} +ln -s -f %{_datadir}/sqlmap/sqlmapapi.py %{_bindir} %postun case "$1" in @@ -75,9 +74,9 @@ case "$1" in esac %files -/usr/share/sqlmap +%{_datadir}/sqlmap -%license /usr/share/sqlmap/LICENSE -%doc /usr/share/sqlmap/README.md +%license %{_datadir}/sqlmap/LICENSE +%doc %{_datadir}/sqlmap/README.md %changelog