diff --git a/README.md b/README.md index d9cd0e9..822cddd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # perl-Taint-Runtime +This module enables runtime taint checking, for cases where the -T +switch on the commandline is not appropriate or viable. There are +a somewhat limited number of legitimate use cases where you should +use this module instead of the -T switch. Unless you have a specific and +good reason for not using the -T option, you should use the -T option. + diff --git a/perl-Taint-Runtime.spec b/perl-Taint-Runtime.spec new file mode 100644 index 0000000..a0ba455 --- /dev/null +++ b/perl-Taint-Runtime.spec @@ -0,0 +1,63 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Taint-Runtime +Version: 0.03 +Release: 2mamba +Summary: Taint::Runtime - Runtime enable taint checking +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Taint-Runtime-%{version}.tar.gz +License: GPL, Artistic +BuildRequires: perl(Test::More) +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module enables runtime taint checking, for cases where the -T +switch on the commandline is not appropriate or viable. There are +a somewhat limited number of legitimate use cases where you should +use this module instead of the -T switch. Unless you have a specific and +good reason for not using the -T option, you should use the -T option. + +%prep +%setup -q -n Taint-Runtime-%{version} + +chmod +x is_taint_bench.pl + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorarch}/Taint/ +%{perl_vendorarch}/auto/Taint/ +%{_mandir}/man3/*.3pm.gz +%doc Changes README + +%changelog +* Mon Nov 12 2012 Silvan Calarco 0.03-2mamba +- perl 5.16 mass rebuild + +* Thu Feb 17 2011 gil 0.03-1mamba +- package created by autospec