[521] | 1 | Summary: Tools to test taintedness |
---|
| 2 | Name: perl-Test-Taint |
---|
[9104] | 3 | Version: 1.5 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Test-Taint/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Taint-%{version}.tar.gz |
---|
| 9 | |
---|
[9104] | 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[521] | 11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 12 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
| 13 | BuildRequires: perl(Test::Pod::Coverage) >= 0.08 |
---|
[9104] | 14 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[521] | 15 | |
---|
[3699] | 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
| 18 | |
---|
[521] | 19 | %description |
---|
| 20 | Tainted data is data that comes from an unsafe source, such as the command |
---|
| 21 | line, or, in the case of web apps, any GET or POST transactions. Read the |
---|
| 22 | perlsec man page for details on why tainted data is bad, and how to untaint |
---|
| 23 | the data. |
---|
| 24 | |
---|
| 25 | When you're writing unit tests for code that deals with tainted data, you'll |
---|
| 26 | want to have a way to provide tainted data for your routines to handle, and |
---|
| 27 | easy ways to check and report on the taintedness of your data, in standard |
---|
| 28 | Test::More style. |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q -n Test-Taint-%{version} |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}" |
---|
| 35 | %{__make} %{?_smp_mflags} |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 39 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 40 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 41 | find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
| 42 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 43 | %{__chmod} -R u+w $RPM_BUILD_ROOT/* |
---|
| 44 | |
---|
| 45 | %clean |
---|
| 46 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | %check |
---|
| 49 | %{__make} test |
---|
| 50 | |
---|
| 51 | %files |
---|
| 52 | %defattr(-,root,root,-) |
---|
| 53 | %doc Changes |
---|
| 54 | %{perl_vendorarch}/Test |
---|
| 55 | %{perl_vendorarch}/auto/Test |
---|
| 56 | %{_mandir}/man3/* |
---|
| 57 | |
---|
| 58 | %changelog |
---|
[9104] | 59 | * Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.06-1 |
---|
| 60 | - updated to 1.06 |
---|
| 61 | - built with perl 5.16.3 |
---|
| 62 | |
---|
[3699] | 63 | * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.04-2 |
---|
| 64 | - build with perl 5.12.3 |
---|
| 65 | - add Vendor and Distribution tags |
---|
| 66 | |
---|
[521] | 67 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.04-1 |
---|
| 68 | - initial build for Vine Linux based on fedora development |
---|
| 69 | |
---|
| 70 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-9 |
---|
| 71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 72 | |
---|
| 73 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-8 |
---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 75 | |
---|
| 76 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-7 |
---|
| 77 | - Rebuild for perl 5.10 (again) |
---|
| 78 | |
---|
| 79 | * Sun Feb 10 2008 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-6 |
---|
| 80 | - Rebuild for gcc43. |
---|
| 81 | |
---|
| 82 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5 |
---|
| 83 | - rebuild for new perl |
---|
| 84 | |
---|
| 85 | * Fri Aug 17 2007 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-4 |
---|
| 86 | - Reflect perl-package split. |
---|
| 87 | - Update license tag. |
---|
| 88 | |
---|
| 89 | * Tue Sep 05 2006 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-3 |
---|
| 90 | - Mass rebuild. |
---|
| 91 | |
---|
| 92 | * Mon Feb 20 2006 Ralf Corsepius <rc040203@freenet.de> - 1.04-2 |
---|
| 93 | - Rebuild. |
---|
| 94 | |
---|
| 95 | * Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-1 |
---|
| 96 | - FE submission. |
---|
| 97 | |
---|
| 98 | * Sun Mar 20 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-0.pm.2 |
---|
| 99 | - Initial version. |
---|