You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
146 lines
4.7 KiB
146 lines
4.7 KiB
Summary: Tools to test taintedness |
|
Name: perl-Test-Taint |
|
Version: 1.06 |
|
Release: 5%{?dist} |
|
License: GPL+ or Artistic |
|
Group: Development/Libraries |
|
URL: http://search.cpan.org/dist/Test-Taint/ |
|
Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Taint-%{version}.tar.gz |
|
|
|
BuildRequires: perl |
|
BuildRequires: perl(base) |
|
BuildRequires: perl(constant) |
|
BuildRequires: perl(overload) |
|
BuildRequires: perl(strict) |
|
BuildRequires: perl(vars) |
|
BuildRequires: perl(warnings) |
|
BuildRequires: perl(DynaLoader) |
|
BuildRequires: perl(ExtUtils::MakeMaker) |
|
BuildRequires: perl(Scalar::Util) |
|
BuildRequires: perl(Test::Builder) |
|
BuildRequires: perl(Test::More) |
|
BuildRequires: perl(Test::Pod) >= 1.14 |
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04 |
|
BuildRequires: perl(Tie::Array) |
|
BuildRequires: perl(Tie::Hash) |
|
BuildRequires: perl(Tie::Scalar) |
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|
|
|
%{?perl_default_filter} |
|
|
|
%description |
|
Tainted data are data that come from an unsafe source, such as the command |
|
line, or, in the case of web apps, any GET or POST transactions. Read the |
|
perlsec man page for details on why tainted data are bad, and how to untaint |
|
the data. |
|
|
|
When you're writing unit tests for code that deals with tainted data, you'll |
|
want to have a way to provide tainted data for your routines to handle, and |
|
easy ways to check and report on the taintedness of your data, in standard |
|
Test::More style. |
|
|
|
%prep |
|
%setup -q -n Test-Taint-%{version} |
|
|
|
%build |
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}" |
|
make %{?_smp_mflags} |
|
|
|
%install |
|
make pure_install DESTDIR=$RPM_BUILD_ROOT |
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
|
chmod -R u+w $RPM_BUILD_ROOT/* |
|
|
|
%check |
|
make test |
|
|
|
%files |
|
%doc Changes |
|
%{perl_vendorarch}/Test |
|
%{perl_vendorarch}/auto/Test |
|
%{_mandir}/man3/* |
|
|
|
%changelog |
|
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.06-5 |
|
- Mass rebuild 2014-01-24 |
|
|
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.06-4 |
|
- Mass rebuild 2013-12-27 |
|
|
|
* Thu Jul 11 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-3 |
|
- Add BR perl(constant) |
|
|
|
* Wed Jul 10 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-2 |
|
- Replace PERL_INSTALL_ROOT by DESTDIR |
|
- Update description |
|
- Update dependencies |
|
|
|
* Thu Nov 08 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1 |
|
- Upstream update. |
|
- Add missing deps. |
|
|
|
* Thu Oct 25 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-19 |
|
- Specify all dependencies |
|
- Drop %%defattr, redundant since rpm 4.4 |
|
- Fix mixed use of spaces and tabs |
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-18 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
|
|
|
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.04-17 |
|
- Perl 5.16 rebuild |
|
|
|
* Sun Jan 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-16 |
|
- Modernize spec. |
|
- Add %%{perl_default_filter}. |
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-15 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.04-14 |
|
- Perl mass rebuild |
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-13 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|
|
|
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-12 |
|
- 661697 rebuild for fixing problems with vendorach/lib |
|
|
|
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-11 |
|
- Mass rebuild with perl-5.12.0 |
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.04-10 |
|
- rebuild against perl 5.10.1 |
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-9 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-8 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-7 |
|
- Rebuild for perl 5.10 (again) |
|
|
|
* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.04-6 |
|
- Rebuild for gcc43. |
|
|
|
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5 |
|
- rebuild for new perl |
|
|
|
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.04-4 |
|
- Reflect perl-package split. |
|
- Update license tag. |
|
|
|
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.04-3 |
|
- Mass rebuild. |
|
|
|
* Mon Feb 20 2006 Ralf Corsepius <rc040203@freenet.de> - 1.04-2 |
|
- Rebuild. |
|
|
|
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-1 |
|
- FE submission. |
|
|
|
* Sun Mar 20 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-0.pm.2 |
|
- Initial version.
|
|
|