rpms/perl-Test-Taint/devel perl-Test-Taint.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ralf Corsépius (corsepiu) fedora-extras-commits at redhat.com
Wed Aug 10 18:11:23 UTC 2005


Author: corsepiu

Update of /cvs/extras/rpms/perl-Test-Taint/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6120/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Test-Taint.spec 
Log Message:
auto-import perl-Test-Taint-1.04-1 on branch devel from perl-Test-Taint-1.04-1.src.rpm


--- NEW FILE perl-Test-Taint.spec ---
Summary: 	Tools to test taintedness
Name: 		perl-Test-Taint
Version: 	1.04
Release: 	1%{?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
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	perl
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 0.08

%description
Tainted data is data that comes 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 is 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
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$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 {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

%clean
rm -rf $RPM_BUILD_ROOT

%check
make test

%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorarch}/Test
%{perl_vendorarch}/auto/Test
%{_mandir}/man3/*

%changelog
* Wed Aug 10 2005 Ralf Corsepius <ralf at links2linux.de> - 1.04-1
- FE submission.

* Sun Mar 20 2005 Ralf Corsepius <ralf at links2linux.de> - 1.04-0.pm.2
- Initial version.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-Taint/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Aug 2005 18:10:17 -0000	1.1
+++ .cvsignore	10 Aug 2005 18:11:21 -0000	1.2
@@ -0,0 +1 @@
+Test-Taint-1.04.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-Taint/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Aug 2005 18:10:17 -0000	1.1
+++ sources	10 Aug 2005 18:11:21 -0000	1.2
@@ -0,0 +1 @@
+a005ab5a2e22ab462b4f3661d1d1d5e0  Test-Taint-1.04.tar.gz




More information about the scm-commits mailing list