- Also remove RC5 from the tarfile.

- Comment out RC5, RC6 and IDEA validation tests.
This commit is contained in:
Thomas Moschny 2010-08-28 22:59:59 +02:00
parent 057bdc15b1
commit 078189366a
4 changed files with 14 additions and 4 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
Botan-1.8.9.tbz
Botan-1.8.9.stripped.tbz
/Botan-1.8.9.tbz
/Botan-1.8.9.stripped.tbz

View File

@ -1,6 +1,6 @@
Name: botan
Version: 1.8.9
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Crypto library written in C++
Group: System Environment/Libraries
@ -110,10 +110,19 @@ rm -rf %{buildroot}
%check
make CXX="g++ ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags} check
# these checks would fail
mv checks/validate.dat{,.orig}
awk '/\[.*\]/{f=0} /\[(RC5.*|RC6|IDEA)\]/{f=1} (f && !/^#/){sub(/^/,"#")} {print}' \
checks/validate.dat.orig > checks/validate.dat
LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
%changelog
* Fri Aug 27 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.9-3
- Also remove RC5 from the tarfile.
- Comment out RC5, RC6 and IDEA validation tests.
* Wed Aug 4 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.9-2
- Remove IDEA, RC6, and ECC-related modules from the tarfile,
see bz 615372.

View File

@ -13,6 +13,7 @@ ${compr} -cd ${name}${suffix} > ${tmpfile}
tar --delete --file=${tmpfile} Botan-${version}/src/block/idea
tar --delete --file=${tmpfile} Botan-${version}/src/block/rc6
tar --delete --file=${tmpfile} Botan-${version}/src/block/rc5
tar --delete --file=${tmpfile} Botan-${version}/src/math/gfpmath
tar --delete --file=${tmpfile} Botan-${version}/src/pubkey/ec_dompar
tar --delete --file=${tmpfile} Botan-${version}/src/pubkey/ecc_key

View File

@ -1 +1 @@
dcf136c4e84c406809f1ffe2beba01c4 Botan-1.8.9.stripped.tbz
6854af078d7e751bd76ffafe7a60e447 Botan-1.8.9.stripped.tbz