|
|
9c8da8 |
Summary: Tools to test taintedness
|
|
|
9c8da8 |
Name: perl-Test-Taint
|
|
|
9c8da8 |
Version: 1.06
|
|
|
9c8da8 |
Release: 19%{?dist}
|
|
|
9c8da8 |
License: GPL+ or Artistic
|
|
|
9c8da8 |
URL: http://search.cpan.org/dist/Test-Taint/
|
|
|
9c8da8 |
Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Taint-%{version}.tar.gz
|
|
|
9c8da8 |
|
|
|
9c8da8 |
# RHBZ#1413022, CPAN#119897
|
|
|
9c8da8 |
Patch0: Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
|
|
|
9c8da8 |
|
|
|
9c8da8 |
BuildRequires: %{__perl}
|
|
|
9c8da8 |
BuildRequires: %{__make}
|
|
|
9c8da8 |
|
|
|
9c8da8 |
BuildRequires: perl-devel
|
|
|
9c8da8 |
BuildRequires: perl-generators
|
|
|
9c8da8 |
BuildRequires: perl(base)
|
|
|
9c8da8 |
BuildRequires: perl(constant)
|
|
|
9c8da8 |
BuildRequires: perl(overload)
|
|
|
9c8da8 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
9c8da8 |
BuildRequires: perl(Scalar::Util)
|
|
|
9c8da8 |
BuildRequires: perl(Test::Builder)
|
|
|
9c8da8 |
BuildRequires: perl(Test::More)
|
|
|
9c8da8 |
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
9c8da8 |
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
9c8da8 |
BuildRequires: perl(Tie::Array)
|
|
|
9c8da8 |
BuildRequires: perl(Tie::Hash)
|
|
|
9c8da8 |
BuildRequires: perl(Tie::Scalar)
|
|
|
9c8da8 |
|
|
|
9c8da8 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
9c8da8 |
|
|
|
9c8da8 |
%{?perl_default_filter}
|
|
|
9c8da8 |
|
|
|
9c8da8 |
%description
|
|
|
9c8da8 |
Tainted data is data that comes from an unsafe source, such as the command
|
|
|
9c8da8 |
line, or, in the case of web apps, any GET or POST transactions. Read the
|
|
|
9c8da8 |
perlsec man page for details on why tainted data is bad, and how to untaint
|
|
|
9c8da8 |
the data.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
When you're writing unit tests for code that deals with tainted data, you'll
|
|
|
9c8da8 |
want to have a way to provide tainted data for your routines to handle, and
|
|
|
9c8da8 |
easy ways to check and report on the taintedness of your data, in standard
|
|
|
9c8da8 |
Test::More style.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
%prep
|
|
|
9c8da8 |
%setup -q -n Test-Taint-%{version}
|
|
|
9c8da8 |
%patch0 -p1
|
|
|
9c8da8 |
|
|
|
9c8da8 |
%build
|
|
|
9c8da8 |
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}" NO_PACKLIST=1
|
|
|
9c8da8 |
%{__make} %{?_smp_mflags}
|
|
|
9c8da8 |
|
|
|
9c8da8 |
%install
|
|
|
9c8da8 |
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
9c8da8 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
9c8da8 |
|
|
|
9c8da8 |
%check
|
|
|
9c8da8 |
%{__make} test
|
|
|
9c8da8 |
|
|
|
9c8da8 |
%files
|
|
|
9c8da8 |
%doc Changes
|
|
|
9c8da8 |
%{perl_vendorarch}/Test
|
|
|
9c8da8 |
%{perl_vendorarch}/auto/Test
|
|
|
9c8da8 |
%{_mandir}/man3/*
|
|
|
9c8da8 |
|
|
|
9c8da8 |
%changelog
|
|
|
9c8da8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-19
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-18
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-17
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-16
|
|
|
9c8da8 |
- Perl 5.26 rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Wed Feb 15 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-15
|
|
|
9c8da8 |
- Add Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch.
|
|
|
9c8da8 |
(Address RHBZ#1413022, F26FTBFS)
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-14
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-13
|
|
|
9c8da8 |
- Perl 5.24 rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-12
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sat Jan 30 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-11
|
|
|
9c8da8 |
- Modernize spec.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-10
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-9
|
|
|
9c8da8 |
- Perl 5.22 rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-8
|
|
|
9c8da8 |
- Perl 5.20 rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-7
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-6
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Tue Feb 18 2014 Petr Pisar <ppisar@redhat.com> - 1.06-5
|
|
|
9c8da8 |
- Build-require constant module and correct Test::Pod modules version
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-4
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 1.06-3
|
|
|
9c8da8 |
- Perl 5.18 rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-2
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Thu Nov 08 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
|
|
|
9c8da8 |
- Upstream update.
|
|
|
9c8da8 |
- Add missing deps.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Thu Oct 25 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-19
|
|
|
9c8da8 |
- Specify all dependencies
|
|
|
9c8da8 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
9c8da8 |
- Fix mixed use of spaces and tabs
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-18
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.04-17
|
|
|
9c8da8 |
- Perl 5.16 rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sun Jan 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-16
|
|
|
9c8da8 |
- Modernize spec.
|
|
|
9c8da8 |
- Add %%{perl_default_filter}.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-15
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.04-14
|
|
|
9c8da8 |
- Perl mass rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-13
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-12
|
|
|
9c8da8 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-11
|
|
|
9c8da8 |
- Mass rebuild with perl-5.12.0
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.04-10
|
|
|
9c8da8 |
- rebuild against perl 5.10.1
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-9
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-8
|
|
|
9c8da8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-7
|
|
|
9c8da8 |
- Rebuild for perl 5.10 (again)
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.04-6
|
|
|
9c8da8 |
- Rebuild for gcc43.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5
|
|
|
9c8da8 |
- rebuild for new perl
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.04-4
|
|
|
9c8da8 |
- Reflect perl-package split.
|
|
|
9c8da8 |
- Update license tag.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.04-3
|
|
|
9c8da8 |
- Mass rebuild.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Mon Feb 20 2006 Ralf Corsepius <rc040203@freenet.de> - 1.04-2
|
|
|
9c8da8 |
- Rebuild.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-1
|
|
|
9c8da8 |
- FE submission.
|
|
|
9c8da8 |
|
|
|
9c8da8 |
* Sun Mar 20 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-0.pm.2
|
|
|
9c8da8 |
- Initial version.
|