WPScan: Initial import
This commit is contained in:
parent
06d33fb3d0
commit
3c63923851
18 changed files with 725 additions and 0 deletions
BIN
wpscan/cms_scanner-0.13.4.gem
Normal file
BIN
wpscan/cms_scanner-0.13.4.gem
Normal file
Binary file not shown.
BIN
wpscan/ethon-0.14.0.gem
Normal file
BIN
wpscan/ethon-0.14.0.gem
Normal file
Binary file not shown.
BIN
wpscan/ffi-1.15.1.gem
Normal file
BIN
wpscan/ffi-1.15.1.gem
Normal file
Binary file not shown.
BIN
wpscan/get_process_mem-0.2.7.gem
Normal file
BIN
wpscan/get_process_mem-0.2.7.gem
Normal file
Binary file not shown.
BIN
wpscan/opt_parse_validator-1.9.4.gem
Normal file
BIN
wpscan/opt_parse_validator-1.9.4.gem
Normal file
Binary file not shown.
79
wpscan/rubygem-cms_scanner.spec
Normal file
79
wpscan/rubygem-cms_scanner.spec
Normal file
|
@ -0,0 +1,79 @@
|
|||
# Generated from cms_scanner-0.13.4.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name cms_scanner
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.13.4
|
||||
Release: 1%{?dist}
|
||||
Summary: CMS Scanner Framework (experimental)
|
||||
License: MIT
|
||||
URL: https://github.com/wpscanteam/CMSScanner
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 2.5
|
||||
# BuildRequires: rubygem(rspec) >= 3.10.0
|
||||
# BuildRequires: rubygem(rspec) < 3.11
|
||||
# BuildRequires: rubygem(rspec-its) >= 1.3.0
|
||||
# BuildRequires: rubygem(rspec-its) < 1.4
|
||||
# BuildRequires: rubygem(rubocop) >= 1.13.0
|
||||
# BuildRequires: rubygem(rubocop) < 1.14
|
||||
# BuildRequires: rubygem(rubocop-performance) >= 1.11.0
|
||||
# BuildRequires: rubygem(rubocop-performance) < 1.12
|
||||
# BuildRequires: rubygem(simplecov) >= 0.21.0
|
||||
# BuildRequires: rubygem(simplecov) < 0.22
|
||||
# BuildRequires: rubygem(simplecov-lcov) >= 0.8.0
|
||||
# BuildRequires: rubygem(simplecov-lcov) < 0.9
|
||||
# BuildRequires: rubygem(webmock) >= 3.12.0
|
||||
# BuildRequires: rubygem(webmock) < 3.13
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Framework to provide an easy way to implement CMS Scanners.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_instdir}/app
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 0.13.4-1
|
||||
- Initial package
|
74
wpscan/rubygem-ethon.spec
Normal file
74
wpscan/rubygem-ethon.spec
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Generated from ethon-0.14.0.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name ethon
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.14.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Libcurl wrapper
|
||||
License: MIT
|
||||
URL: https://github.com/typhoeus/ethon
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel >= 1.3.6
|
||||
BuildRequires: ruby
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Very lightweight libcurl wrapper.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# Run the test suite.
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{gem_instdir}/.github
|
||||
%exclude %{gem_instdir}/.gitignore
|
||||
%{gem_instdir}/Guardfile
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_libdir}
|
||||
%{gem_instdir}/profile
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%exclude %{gem_instdir}/.rspec
|
||||
%doc %{gem_instdir}/CHANGELOG.md
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/ethon.gemspec
|
||||
%{gem_instdir}/spec
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 0.14.0-1
|
||||
- Initial package
|
88
wpscan/rubygem-ffi.spec
Normal file
88
wpscan/rubygem-ffi.spec
Normal file
|
@ -0,0 +1,88 @@
|
|||
# Generated from ffi-1.15.1.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name ffi
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.15.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Ruby FFI
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/ffi/ffi/wiki
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby-devel >= 2.3
|
||||
# Compiler is required for build of gem binary extension.
|
||||
# https://fedoraproject.org/wiki/Packaging:C_and_C++#BuildRequires_and_Requires
|
||||
BuildRequires: gcc
|
||||
# BuildRequires: rubygem(rake-compiler) >= 1.0
|
||||
# BuildRequires: rubygem(rake-compiler) < 2
|
||||
# BuildRequires: rubygem(rake-compiler-dock) >= 1.0
|
||||
# BuildRequires: rubygem(rake-compiler-dock) < 2
|
||||
# BuildRequires: rubygem(rspec) >= 2.14.1
|
||||
# BuildRequires: rubygem(rspec) < 2.15
|
||||
# BuildRequires: rubygem(rubygems-tasks) >= 0.2.4
|
||||
# BuildRequires: rubygem(rubygems-tasks) < 0.3
|
||||
|
||||
%description
|
||||
Ruby FFI library.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}
|
||||
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
|
||||
|
||||
# Prevent dangling symlink in -debuginfo (rhbz#878863).
|
||||
rm -rf %{buildroot}%{gem_instdir}/ext/
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{gem_extdir_mri}
|
||||
%license %{gem_instdir}/COPYING
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%license %{gem_instdir}/LICENSE.SPECS
|
||||
%{gem_libdir}
|
||||
%{gem_instdir}/rakelib
|
||||
%{gem_instdir}/samples
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/CHANGELOG.md
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/ffi.gemspec
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 1.15.1-1
|
||||
- Initial package
|
76
wpscan/rubygem-get_process_mem.spec
Normal file
76
wpscan/rubygem-get_process_mem.spec
Normal file
|
@ -0,0 +1,76 @@
|
|||
# Generated from get_process_mem-0.2.7.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name get_process_mem
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.2.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Use GetProcessMem to find out the amount of RAM used by any process
|
||||
License: MIT
|
||||
URL: https://github.com/schneems/get_process_mem
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby
|
||||
# BuildRequires: rubygem(sys-proctable) >= 1.2
|
||||
# BuildRequires: rubygem(sys-proctable) < 2
|
||||
# BuildRequires: rubygem(test-unit) >= 3
|
||||
# BuildRequires: rubygem(test-unit) < 4
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Get memory usage of a process in Ruby .
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{gem_instdir}/.github
|
||||
%exclude %{gem_instdir}/.gitignore
|
||||
%exclude %{gem_instdir}/.travis.yml
|
||||
%{gem_instdir}/appveyor.yml
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/CHANGELOG.md
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/get_process_mem.gemspec
|
||||
%{gem_instdir}/test
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 0.2.7-1
|
||||
- Initial package
|
77
wpscan/rubygem-opt_parse_validator.spec
Normal file
77
wpscan/rubygem-opt_parse_validator.spec
Normal file
|
@ -0,0 +1,77 @@
|
|||
# Generated from opt_parse_validator-1.9.4.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name opt_parse_validator
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.9.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Ruby OptionParser Validators
|
||||
License: MIT
|
||||
URL: https://github.com/wpscanteam/OptParseValidator
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 2.5
|
||||
# BuildRequires: rubygem(rspec) >= 3.10.0
|
||||
# BuildRequires: rubygem(rspec) < 3.11
|
||||
# BuildRequires: rubygem(rspec-its) >= 1.3.0
|
||||
# BuildRequires: rubygem(rspec-its) < 1.4
|
||||
# BuildRequires: rubygem(rubocop) >= 1.11.0
|
||||
# BuildRequires: rubygem(rubocop) < 1.12
|
||||
# BuildRequires: rubygem(rubocop-performance) >= 1.10.0
|
||||
# BuildRequires: rubygem(rubocop-performance) < 1.11
|
||||
# BuildRequires: rubygem(simplecov) >= 0.21.0
|
||||
# BuildRequires: rubygem(simplecov) < 0.22
|
||||
# BuildRequires: rubygem(simplecov-lcov) >= 0.8.0
|
||||
# BuildRequires: rubygem(simplecov-lcov) < 0.9
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Implementation of validators for the ruby OptionParser lib. Mainly used in the
|
||||
CMSScanner gem to define the cli options available.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 1.9.4-1
|
||||
- Initial package
|
76
wpscan/rubygem-sys-proctable.spec
Normal file
76
wpscan/rubygem-sys-proctable.spec
Normal file
|
@ -0,0 +1,76 @@
|
|||
# Generated from sys-proctable-1.2.6.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name sys-proctable
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.2.6
|
||||
Release: 1%{?dist}
|
||||
Summary: An interface for providing process table information
|
||||
License: Apache-2.0
|
||||
URL: http://github.com/djberg96/sys-proctable
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby
|
||||
# BuildRequires: rubygem(rspec)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
The sys-proctable library provides an interface for gathering information
|
||||
about processes on your system, i.e. the process table. Most major
|
||||
platforms are supported and, while different platforms may return
|
||||
different information, the external interface is identical across
|
||||
platforms.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_instdir}/benchmarks
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/CHANGES.rdoc
|
||||
%doc %{gem_instdir}/MANIFEST.rdoc
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/examples
|
||||
%{gem_instdir}/spec
|
||||
%{gem_instdir}/sys-proctable.gemspec
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 1.2.6-1
|
||||
- Initial package
|
91
wpscan/rubygem-wpscan.spec
Normal file
91
wpscan/rubygem-wpscan.spec
Normal file
|
@ -0,0 +1,91 @@
|
|||
# Generated from wpscan-3.8.17.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name wpscan
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 3.8.17
|
||||
Release: 1%{?dist}
|
||||
Summary: WPScan - WordPress Vulnerability Scanner
|
||||
License: Dual
|
||||
URL: https://wpscan.com/wordpress-security-scanner
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 2.5
|
||||
# BuildRequires: rubygem(memory_profiler) >= 1.0.0
|
||||
# BuildRequires: rubygem(memory_profiler) < 1.1
|
||||
# BuildRequires: rubygem(rspec) >= 3.10.0
|
||||
# BuildRequires: rubygem(rspec) < 3.11
|
||||
# BuildRequires: rubygem(rspec-its) >= 1.3.0
|
||||
# BuildRequires: rubygem(rspec-its) < 1.4
|
||||
# BuildRequires: rubygem(rubocop) >= 1.11.0
|
||||
# BuildRequires: rubygem(rubocop) < 1.12
|
||||
# BuildRequires: rubygem(rubocop-performance) >= 1.10.0
|
||||
# BuildRequires: rubygem(rubocop-performance) < 1.11
|
||||
# BuildRequires: rubygem(simplecov) >= 0.21.0
|
||||
# BuildRequires: rubygem(simplecov) < 0.22
|
||||
# BuildRequires: rubygem(simplecov-lcov) >= 0.8.0
|
||||
# BuildRequires: rubygem(simplecov-lcov) < 0.9
|
||||
# BuildRequires: rubygem(stackprof) >= 0.2.12
|
||||
# BuildRequires: rubygem(stackprof) < 0.3
|
||||
# BuildRequires: rubygem(webmock) >= 3.12.0
|
||||
# BuildRequires: rubygem(webmock) < 3.13
|
||||
BuildArch: noarch
|
||||
Provides: %{gem_name} = %{version}
|
||||
|
||||
%description
|
||||
WPScan is a black box WordPress vulnerability scanner.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a .%{_bindir}/* \
|
||||
%{buildroot}%{_bindir}/
|
||||
|
||||
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{_bindir}/wpscan
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_instdir}/app
|
||||
%{gem_instdir}/bin
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 3.8.17-1
|
||||
- Initial package
|
73
wpscan/rubygem-xmlrpc.spec
Normal file
73
wpscan/rubygem-xmlrpc.spec
Normal file
|
@ -0,0 +1,73 @@
|
|||
# Generated from xmlrpc-0.3.2.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name xmlrpc
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.3.2
|
||||
Release: 1%{?dist}
|
||||
Summary: XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP
|
||||
License: Ruby and BSD-2-Clause
|
||||
URL: https://github.com/ruby/xmlrpc
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 2.3
|
||||
# BuildRequires: rubygem(test-unit)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
XMLRPC is a lightweight protocol that enables remote procedure calls over
|
||||
HTTP.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{gem_instdir}/.github
|
||||
%exclude %{gem_instdir}/.gitignore
|
||||
%license %{gem_instdir}/LICENSE.txt
|
||||
%{gem_instdir}/NEWS.md
|
||||
%{gem_instdir}/bin
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/xmlrpc.gemspec
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 0.3.2-1
|
||||
- Initial package
|
91
wpscan/rubygem-yajl-ruby.spec
Normal file
91
wpscan/rubygem-yajl-ruby.spec
Normal file
|
@ -0,0 +1,91 @@
|
|||
# Generated from yajl-ruby-1.4.1.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name yajl-ruby
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Ruby C bindings to the excellent Yajl JSON stream-based parser library
|
||||
License: MIT
|
||||
URL: http://github.com/brianmario/yajl-ruby
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby-devel >= 1.8.6
|
||||
# Compiler is required for build of gem binary extension.
|
||||
# https://fedoraproject.org/wiki/Packaging:C_and_C++#BuildRequires_and_Requires
|
||||
BuildRequires: gcc
|
||||
# BuildRequires: rubygem(rake-compiler)
|
||||
# BuildRequires: rubygem(rspec)
|
||||
# BuildRequires: rubygem(activesupport)
|
||||
# BuildRequires: rubygem(json)
|
||||
# BuildRequires: rubygem(benchmark-memory)
|
||||
|
||||
%description
|
||||
Ruby C bindings to the excellent Yajl JSON stream-based parser library.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}/yajl
|
||||
cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/
|
||||
cp -a .%{gem_extdir_mri}/yajl/yajl.so %{buildroot}%{gem_extdir_mri}/yajl/
|
||||
|
||||
# Prevent dangling symlink in -debuginfo (rhbz#878863).
|
||||
rm -rf %{buildroot}%{gem_instdir}/ext/
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{gem_extdir_mri}
|
||||
%{gem_instdir}/.codeclimate.yml
|
||||
%exclude %{gem_instdir}/.gitignore
|
||||
%exclude %{gem_instdir}/.travis.yml
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_instdir}/benchmark
|
||||
%{gem_libdir}
|
||||
%{gem_instdir}/script
|
||||
%{gem_instdir}/tasks
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%exclude %{gem_instdir}/.rspec
|
||||
%doc %{gem_instdir}/CHANGELOG.md
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/examples
|
||||
%{gem_instdir}/spec
|
||||
%{gem_instdir}/yajl-ruby.gemspec
|
||||
|
||||
%changelog
|
||||
* Mon May 24 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 1.4.1-1
|
||||
- Initial package
|
BIN
wpscan/sys-proctable-1.2.6.gem
Normal file
BIN
wpscan/sys-proctable-1.2.6.gem
Normal file
Binary file not shown.
BIN
wpscan/wpscan-3.8.17.gem
Normal file
BIN
wpscan/wpscan-3.8.17.gem
Normal file
Binary file not shown.
BIN
wpscan/xmlrpc-0.3.2.gem
Normal file
BIN
wpscan/xmlrpc-0.3.2.gem
Normal file
Binary file not shown.
BIN
wpscan/yajl-ruby-1.4.1.gem
Normal file
BIN
wpscan/yajl-ruby-1.4.1.gem
Normal file
Binary file not shown.
Loading…
Reference in a new issue