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