diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ffc5faf --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/xcat-0.7.1.zip +/xcat-1.0.4.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..ceb6dac --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xcat-1.0.4.tar.gz) = 01b6301557053bc7dff301189daeb20fde9f641d609e9e74ace1b3f79ba618a49862dcecbe6e63e94b44df89cdc3c8ad475cb44b91f88f2e912dc0b7f9358fb3 diff --git a/xcat.spec b/xcat.spec new file mode 100644 index 0000000..e48bfa3 --- /dev/null +++ b/xcat.spec @@ -0,0 +1,149 @@ +Name: xcat +Version: 1.0.4 +Release: 16%{?dist} +Summary: A command line tool to explore blind XPath injection vulnerabilities + +License: MIT +URL: https://github.com/orf/xcat +Source0: %{pypi_source %{name}} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +XCat is a command line program that aides in the exploitation of blind XPath +injection vulnerabilities. It can be used to retrieve the whole XML document +being processed by a vulnerable XPath query, read arbitrary files on the +hosts filesystem and utilize out of bound HTTP requests to make the server +send data directly to xcat. + +%prep +%autosetup +# Fix dep for generator +sed -i -e "s/'xpath-expressions~=1.0'/'xpath-expressions'/g" setup.py +sed -i -e "s/aiohttp~=3.0/aiohttp<4.0/g" setup.py +# drop cchardet dep, it does not really use it and our package is FTI +# https://bugzilla.redhat.com/show_bug.cgi?id=2099189 +# https://bugzilla.redhat.com/show_bug.cgi?id=2021804 +sed -i -e "/cchardet/d" setup.py + +%build +%py3_build + +%install +%py3_install + +%files +%doc README.md +# License file was removed: https://github.com/orf/xcat/pull/35 +#%%license LICENSE +%{_bindir}/%{name} +%{python3_sitelib}/%{name}/ +%{python3_sitelib}/%{name}-*.egg-info/ + +%changelog +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.4-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.0.4-15 +- Rebuilt for Python 3.13 + +* Sat Jan 27 2024 Fedora Release Engineering - 1.0.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 1.0.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 1.0.4-12 +- Rebuilt for Python 3.12 + +* Sat Jan 21 2023 Fedora Release Engineering - 1.0.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jul 18 2022 Adam Williamson - 1.0.4-9 +- Drop cchardet requirement, not really needed (#2099189) + +* Mon Jun 13 2022 Python Maint - 1.0.4-8 +- Rebuilt for Python 3.11 + +* Sat Jan 22 2022 Fedora Release Engineering - 1.0.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1.0.4-5 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 1.0.4-2 +- Rebuilt for Python 3.9 + +* Tue Mar 24 2020 Fabian Affolter - 1.0.4-8 +- Update to latest upstream release 1.0.4 + +* Fri Jan 31 2020 Fedora Release Engineering - 0.7.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.7.1-18 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.7.1-17 +- Rebuilt for Python 3.8 + +* Sat Jul 27 2019 Fedora Release Engineering - 0.7.1-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 0.7.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.7.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.7.1-13 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.7.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.7.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.7.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.7.1-9 +- Rebuild for Python 3.6 + +* Fri Nov 25 2016 Fabian Affolter - 0.7.1-8 +- Cleanup + +* Tue Jul 19 2016 Fedora Release Engineering - 0.7.1-7 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri Feb 05 2016 Fedora Release Engineering - 0.7.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 0.7.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Tue Oct 06 2015 Fabian Affolter - 0.7.1-4 +- Rebuilt + +* Wed Jul 22 2015 Fabian Affolter - 0.7.1-3 +- Rebuilt + +* Fri Jun 19 2015 Fedora Release Engineering - 0.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Feb 26 2014 Fabian Affolter - 0.7.1-1 +- Initial package for Fedora