Compare commits
9 Commits
master
...
botan-1_8_
Author | SHA1 | Date | |
---|---|---|---|
|
75bf248aad | ||
|
1e3719bc90 | ||
|
4863c54803 | ||
|
1d100e1218 | ||
|
18ed71f18e | ||
|
afb089573b | ||
|
ee87d67bec | ||
|
3d71e07c6e | ||
|
b838cc9b87 |
1
.cvsignore
Normal file
1
.cvsignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
Botan-1.8.8.tbz
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
/Botan-*.stripped.tar.gz
|
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: botan
|
||||||
|
# $Id$
|
||||||
|
NAME := botan
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
@ -1,11 +0,0 @@
|
|||||||
For legal reasons, the following modules have been completely removed
|
|
||||||
from the Botan package in Fedora:
|
|
||||||
|
|
||||||
* RC5 Block Cipher [src/block/rc5]
|
|
||||||
* RC6 Block Cipher [src/block/rc6]
|
|
||||||
* GF(p) Math [src/math/ec_gfp]
|
|
||||||
* ECC Domain Parameters [src/pubkey/ec_group]
|
|
||||||
* ECC Public Key [src/pubkey/ecc_key]
|
|
||||||
* ECDH [src/pubkey/ecdh]
|
|
||||||
* ECDSA [src/pubkey/ecdsa]
|
|
||||||
* GOST 34.10 [src/pubkey/gost_3410]
|
|
@ -1,9 +0,0 @@
|
|||||||
diff -up Botan-1.10.13/src/wrap/python/__init__.py.orig Botan-1.10.13/src/wrap/python/__init__.py
|
|
||||||
--- Botan-1.10.13/src/wrap/python/__init__.py.orig 2016-04-28 15:27:08.000000000 +0200
|
|
||||||
+++ Botan-1.10.13/src/wrap/python/__init__.py 2016-06-30 18:02:11.724997966 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-from _botan import *
|
|
||||||
+from botan._botan import *
|
|
||||||
|
|
||||||
# Initialize the library when the module is imported
|
|
||||||
init = LibraryInitializer()
|
|
@ -1,327 +0,0 @@
|
|||||||
diff -up Botan-1.10.5/checks/cvc_tests.cpp.eccfix Botan-1.10.5/checks/cvc_tests.cpp
|
|
||||||
--- Botan-1.10.5/checks/cvc_tests.cpp.eccfix 2013-10-22 01:24:04.150239344 +0100
|
|
||||||
+++ Botan-1.10.5/checks/cvc_tests.cpp 2013-10-22 01:24:28.166207414 +0100
|
|
||||||
@@ -582,7 +582,7 @@ u32bit do_cvc_tests(Botan::RandomNumberG
|
|
||||||
std::cout << "Testing CVC: " << std::flush;
|
|
||||||
|
|
||||||
test_enc_gen_selfsigned(rng);
|
|
||||||
- test_enc_gen_req(rng);
|
|
||||||
+ // test_enc_gen_req(rng);
|
|
||||||
test_cvc_req_ext(rng);
|
|
||||||
test_cvc_ado_ext(rng);
|
|
||||||
test_cvc_ado_creation(rng);
|
|
||||||
diff -up Botan-1.10.5/checks/ecdh.cpp.eccfix Botan-1.10.5/checks/ecdh.cpp
|
|
||||||
--- Botan-1.10.5/checks/ecdh.cpp.eccfix 2013-10-22 01:22:58.494326624 +0100
|
|
||||||
+++ Botan-1.10.5/checks/ecdh.cpp 2013-10-22 01:23:52.580254726 +0100
|
|
||||||
@@ -57,8 +57,8 @@ void test_ecdh_some_dp(RandomNumberGener
|
|
||||||
{
|
|
||||||
std::vector<std::string> oids;
|
|
||||||
oids.push_back("1.2.840.10045.3.1.7");
|
|
||||||
- oids.push_back("1.3.132.0.8");
|
|
||||||
- oids.push_back("1.2.840.10045.3.1.1");
|
|
||||||
+ // oids.push_back("1.3.132.0.8");
|
|
||||||
+ // oids.push_back("1.2.840.10045.3.1.1");
|
|
||||||
|
|
||||||
for(u32bit i = 0; i< oids.size(); i++)
|
|
||||||
{
|
|
||||||
@@ -85,8 +85,8 @@ void test_ecdh_der_derivation(RandomNumb
|
|
||||||
{
|
|
||||||
std::vector<std::string> oids;
|
|
||||||
oids.push_back("1.2.840.10045.3.1.7");
|
|
||||||
- oids.push_back("1.3.132.0.8");
|
|
||||||
- oids.push_back("1.2.840.10045.3.1.1");
|
|
||||||
+ // oids.push_back("1.3.132.0.8");
|
|
||||||
+ // oids.push_back("1.2.840.10045.3.1.1");
|
|
||||||
|
|
||||||
for(u32bit i = 0; i< oids.size(); i++)
|
|
||||||
{
|
|
||||||
@@ -116,7 +116,7 @@ u32bit do_ecdh_tests(RandomNumberGenerat
|
|
||||||
{
|
|
||||||
std::cout << "Testing ECDH (InSiTo unit tests): ";
|
|
||||||
|
|
||||||
- test_ecdh_normal_derivation(rng);
|
|
||||||
+ // test_ecdh_normal_derivation(rng);
|
|
||||||
test_ecdh_some_dp(rng);
|
|
||||||
test_ecdh_der_derivation(rng);
|
|
||||||
|
|
||||||
diff -up Botan-1.10.5/checks/ecdsa.cpp.eccfix Botan-1.10.5/checks/ecdsa.cpp
|
|
||||||
--- Botan-1.10.5/checks/ecdsa.cpp.eccfix 2013-03-02 21:19:35.000000000 +0000
|
|
||||||
+++ Botan-1.10.5/checks/ecdsa.cpp 2013-10-22 01:22:48.882339400 +0100
|
|
||||||
@@ -300,6 +300,7 @@ void test_create_and_verify(RandomNumber
|
|
||||||
void test_curve_registry(RandomNumberGenerator& rng)
|
|
||||||
{
|
|
||||||
std::vector<std::string> oids;
|
|
||||||
+ /* Disabled.
|
|
||||||
oids.push_back("1.3.132.0.8");
|
|
||||||
oids.push_back("1.2.840.10045.3.1.1");
|
|
||||||
oids.push_back("1.2.840.10045.3.1.2");
|
|
||||||
@@ -307,7 +308,9 @@ void test_curve_registry(RandomNumberGen
|
|
||||||
oids.push_back("1.2.840.10045.3.1.4");
|
|
||||||
oids.push_back("1.2.840.10045.3.1.5");
|
|
||||||
oids.push_back("1.2.840.10045.3.1.6");
|
|
||||||
+ */
|
|
||||||
oids.push_back("1.2.840.10045.3.1.7");
|
|
||||||
+ /* Disabled
|
|
||||||
oids.push_back("1.3.132.0.6");
|
|
||||||
oids.push_back("1.3.132.0.7");
|
|
||||||
oids.push_back("1.3.132.0.28");
|
|
||||||
@@ -318,7 +321,9 @@ void test_curve_registry(RandomNumberGen
|
|
||||||
oids.push_back("1.3.132.0.32");
|
|
||||||
oids.push_back("1.3.132.0.33");
|
|
||||||
oids.push_back("1.3.132.0.10");
|
|
||||||
+ */
|
|
||||||
oids.push_back("1.3.132.0.34");
|
|
||||||
+ /* Disabled.
|
|
||||||
oids.push_back("1.3.132.0.35");
|
|
||||||
oids.push_back("1.3.6.1.4.1.8301.3.1.2.9.0.38");
|
|
||||||
oids.push_back("1.3.36.3.3.2.8.1.1.1");
|
|
||||||
@@ -328,6 +333,7 @@ void test_curve_registry(RandomNumberGen
|
|
||||||
oids.push_back("1.3.36.3.3.2.8.1.1.9");
|
|
||||||
oids.push_back("1.3.36.3.3.2.8.1.1.11");
|
|
||||||
oids.push_back("1.3.36.3.3.2.8.1.1.13");
|
|
||||||
+ */
|
|
||||||
|
|
||||||
unsigned int i;
|
|
||||||
for (i = 0; i < oids.size(); i++)
|
|
||||||
@@ -419,16 +425,16 @@ u32bit do_ecdsa_tests(Botan::RandomNumbe
|
|
||||||
{
|
|
||||||
std::cout << "Testing ECDSA (InSiTo unit tests): ";
|
|
||||||
|
|
||||||
- test_hash_larger_than_n(rng);
|
|
||||||
- test_decode_ecdsa_X509();
|
|
||||||
+ // test_hash_larger_than_n(rng);
|
|
||||||
+ // test_decode_ecdsa_X509();
|
|
||||||
test_decode_ver_link_SHA256();
|
|
||||||
test_decode_ver_link_SHA1();
|
|
||||||
- test_sign_then_ver(rng);
|
|
||||||
- test_ec_sign(rng);
|
|
||||||
- test_create_pkcs8(rng);
|
|
||||||
- test_create_and_verify(rng);
|
|
||||||
+ // test_sign_then_ver(rng);
|
|
||||||
+ // test_ec_sign(rng);
|
|
||||||
+ // test_create_pkcs8(rng);
|
|
||||||
+ // test_create_and_verify(rng);
|
|
||||||
test_curve_registry(rng);
|
|
||||||
- test_read_pkcs8(rng);
|
|
||||||
+ // test_read_pkcs8(rng);
|
|
||||||
|
|
||||||
std::cout << std::endl;
|
|
||||||
|
|
||||||
diff -up Botan-1.10.5/checks/pk.cpp.eccfix Botan-1.10.5/checks/pk.cpp
|
|
||||||
--- Botan-1.10.5/checks/pk.cpp.eccfix 2013-03-02 21:19:36.000000000 +0000
|
|
||||||
+++ Botan-1.10.5/checks/pk.cpp 2013-10-22 01:20:13.225546244 +0100
|
|
||||||
@@ -760,14 +760,14 @@ void do_pk_keygen_tests(RandomNumberGene
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(BOTAN_HAS_ECDSA)
|
|
||||||
- EC_KEY(ECDSA_PrivateKey, "secp112r1");
|
|
||||||
- EC_KEY(ECDSA_PrivateKey, "secp128r1");
|
|
||||||
- EC_KEY(ECDSA_PrivateKey, "secp160r1");
|
|
||||||
- EC_KEY(ECDSA_PrivateKey, "secp192r1");
|
|
||||||
- EC_KEY(ECDSA_PrivateKey, "secp224r1");
|
|
||||||
+// EC_KEY(ECDSA_PrivateKey, "secp112r1");
|
|
||||||
+// EC_KEY(ECDSA_PrivateKey, "secp128r1");
|
|
||||||
+// EC_KEY(ECDSA_PrivateKey, "secp160r1");
|
|
||||||
+// EC_KEY(ECDSA_PrivateKey, "secp192r1");
|
|
||||||
+// EC_KEY(ECDSA_PrivateKey, "secp224r1");
|
|
||||||
EC_KEY(ECDSA_PrivateKey, "secp256r1");
|
|
||||||
EC_KEY(ECDSA_PrivateKey, "secp384r1");
|
|
||||||
- EC_KEY(ECDSA_PrivateKey, "secp521r1");
|
|
||||||
+// EC_KEY(ECDSA_PrivateKey, "secp521r1");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(BOTAN_HAS_GOST_34_10_2001)
|
|
||||||
@@ -919,7 +919,7 @@ u32bit do_pk_validation_tests(const std:
|
|
||||||
|
|
||||||
std::cout << std::endl;
|
|
||||||
|
|
||||||
- do_ec_tests(rng);
|
|
||||||
+ // do_ec_tests(rng);
|
|
||||||
errors += do_ecdsa_tests(rng);
|
|
||||||
errors += do_ecdh_tests(rng);
|
|
||||||
do_pk_keygen_tests(rng);
|
|
||||||
diff -up Botan-1.10.5/checks/pk_bench.cpp.eccfix Botan-1.10.5/checks/pk_bench.cpp
|
|
||||||
--- Botan-1.10.5/checks/pk_bench.cpp.eccfix 2013-03-02 21:19:36.000000000 +0000
|
|
||||||
+++ Botan-1.10.5/checks/pk_bench.cpp 2013-10-22 01:20:13.225546244 +0100
|
|
||||||
@@ -77,12 +77,12 @@ using namespace Botan;
|
|
||||||
namespace {
|
|
||||||
|
|
||||||
const char* ec_domains[] = {
|
|
||||||
- "secp160r2",
|
|
||||||
- "secp192r1",
|
|
||||||
- "secp224r1",
|
|
||||||
+// "secp160r2",
|
|
||||||
+// "secp192r1",
|
|
||||||
+// "secp224r1",
|
|
||||||
"secp256r1",
|
|
||||||
"secp384r1",
|
|
||||||
- "secp521r1",
|
|
||||||
+// "secp521r1",
|
|
||||||
0
|
|
||||||
};
|
|
||||||
|
|
||||||
diff -up Botan-1.10.5/checks/pk_valid.dat.eccfix Botan-1.10.5/checks/pk_valid.dat
|
|
||||||
--- Botan-1.10.5/checks/pk_valid.dat.eccfix 2013-03-02 21:19:36.000000000 +0000
|
|
||||||
+++ Botan-1.10.5/checks/pk_valid.dat 2013-10-22 01:20:13.226546243 +0100
|
|
||||||
@@ -4232,45 +4232,6 @@ MIG6AgEAMIGhBgcqhkjOOAQBMIGVAkAA8HR2W1fH
|
|
||||||
14593FBF63EAC64976987524044D8B11AB9A95B4B75A760FE22C45A3EFD6:
|
|
||||||
|
|
||||||
# ECDSA format is group name:private key:message:nonce:signature
|
|
||||||
-[ECDSA/EMSA1(SHA-1)]
|
|
||||||
-
|
|
||||||
-# From ANSI X9.62
|
|
||||||
-secp192r1:\
|
|
||||||
-1A8D598FC15BF0FD89030B5CB1111AEB92AE8BAF5EA475FB:\
|
|
||||||
-616263:\
|
|
||||||
-FA6DE29746BBEB7F8BB1E761F85F7DFB2983169D82FA2F4E:\
|
|
||||||
-885052380FF147B734C330C43D39B2C4A89F29B0F749FEAD\
|
|
||||||
-E9ECC78106DEF82BF1070CF1D4D804C3CB390046951DF686
|
|
||||||
-
|
|
||||||
-x962_p239v1:\
|
|
||||||
-7EF7C6FABEFFFDEA864206E80B0B08A9331ED93E698561B64CA0F7777F3D:\
|
|
||||||
-616263:\
|
|
||||||
-656C7196BF87DCC5D1F1020906DF2782360D36B2DE7A17ECE37D503784AF:\
|
|
||||||
-2CB7F36803EBB9C427C58D8265F11FC5084747133078FC279DE874FBECB0\
|
|
||||||
-2EEAE988104E9C2234A3C2BEB1F53BFA5DC11FF36A875D1E3CCB1F7E45CF
|
|
||||||
-
|
|
||||||
-brainpool160r1:\
|
|
||||||
-1CA8A0ACE60292D2813D992C4EC7A4BCDF611C0:\
|
|
||||||
-43727970746F2B2B20352E362E312045434453412074657374206D7367:\
|
|
||||||
-9CB692B33F02179D1A6F2A0669FD8DAAF17E4FC4:\
|
|
||||||
-672EAFD043D30BAE7CA826828333FA70F10A14C7\
|
|
||||||
-0F49C076BB26178277D8E490D0C77F7A9649DE31
|
|
||||||
-
|
|
||||||
-[ECDSA/EMSA1(SHA-224)]
|
|
||||||
-secp224r1:\
|
|
||||||
-42D126D0E51F3D6AA9B4D60BD1290853AA964A9C8698D5D5BDBAADEB:\
|
|
||||||
-45434453412074657374206D657373616765203230313130323135:\
|
|
||||||
-E1F6B207B4FC896879A51F65E85DB94CEB633FEC765739E689847D64:\
|
|
||||||
-A4C80AAF3D7B61200E66D6F41EC66D3D65E9E38DC06A88FE3B7F6C4C\
|
|
||||||
-8A5CEE4E04FE240464EA2DBB52489D3FAC1CDE6DA24A0E4C6598BCD2
|
|
||||||
-
|
|
||||||
-brainpool224r1:\
|
|
||||||
-47B5CCE9EED463CED28666DA57DA9D0A8BDD3F000CCFC0AE6054F1AD:\
|
|
||||||
-43727970746F2B2B20352E362E312045434453412074657374206D7367:\
|
|
||||||
-9E9D0C9E67FF5785C3AD89195567CD3990D54C628788F26DB926F5B6:\
|
|
||||||
-40369F41BD0D15C92DFB855779DBF439376FB6EDC4153E9B99019B79\
|
|
||||||
-40FEF076FC8D610EC12AFC9CC43A150BD0190E507622E6623906D6B8
|
|
||||||
-
|
|
||||||
[ECDSA/EMSA1(SHA-256)]
|
|
||||||
secp256r1:\
|
|
||||||
368E89CC30AE7A3B4B4903C30C238C010257FE97DB85AF35982A7960A0DBD2F3:\
|
|
||||||
@@ -4286,20 +4247,6 @@ C1DDAA59A4E0B5D95EB873C33BC465C6782EBF7B
|
|
||||||
A8369164EF54A67303760B77AA62C4DE8122396908EA5B06DBCC2BC48264C832\
|
|
||||||
ADB3A8855019D5AFF789EC1F276AD38A03AAF41F88593B74E5CB9DF7E4BD4922
|
|
||||||
|
|
||||||
-brainpool256r1:\
|
|
||||||
-4EC702404A8047A08206721DE33F02E1F06B14E09A5582171EA9BB8AB3C9BC14:\
|
|
||||||
-43727970746F2B2B20352E362E312045434453412074657374206D7367:\
|
|
||||||
-A9952A1B896FB2C2AEA88EA578E2A5323114978A765E03E397969DC0F282708C:\
|
|
||||||
-54F843E89B084EEE1CFFED09F222DF041CD46DB0C48833667BA0790ECD603089\
|
|
||||||
-5304039A927714E79E5FCDB1D043E093FD85C8DD98B835CD6C7BB492C05357E5
|
|
||||||
-
|
|
||||||
-brainpool256r1:\
|
|
||||||
-416D7FCEB966DF966CAE7BE2608C5C4D8939A7B5B3CF6D3E441A64886AC5FAD7:\
|
|
||||||
-43727970746F2B2B20352E362E312045434453412074657374206D7367:\
|
|
||||||
-A07978494C1B301C1E44467853CD367624549E0E9F5092C0100A53F877AD2EF6:\
|
|
||||||
-93935B733CCC6A8702191664346135D1D6320D86A2346DFCA41AEDFBC4260435\
|
|
||||||
-A4A9C66485C02BC2DCC858364173FAE00EA02529BA21B56BBBB2EAA4B811416D
|
|
||||||
-
|
|
||||||
[ECDSA/EMSA1(SHA-384)]
|
|
||||||
secp384r1:\
|
|
||||||
100CC52F0263DCB12FDB9E50D44A4C84831A98756265DF0CBFD092D27A739821\
|
|
||||||
@@ -4321,54 +4268,6 @@ FF83C10E8D84777D17B724957B83E1500F578F10
|
|
||||||
A34F66CA2AF31241FAF85AEE2528438DA6BED934D75ACCF2E41176D8B661AB58\
|
|
||||||
B7B867D802C38B39E8227F9CF0865072D381948FFFF637D8FB9B37BEC6AE0772
|
|
||||||
|
|
||||||
-brainpool384r1:\
|
|
||||||
-19AD48ECFB30F115AEF41CAFD29B265A586399C0F95166017AA7DB894413A2AE\
|
|
||||||
-821B7BE4F4E7B6BBC22A4E2EB1CC0865:\
|
|
||||||
-43727970746F2B2B20352E362E312045434453412074657374206D7367:\
|
|
||||||
-83928FD1219F1C6D5B128C0ECD2E39A83399CE609382D41890D43FD476318E0C\
|
|
||||||
-26264E98E0D5A0DBCC28A8C01C2D63D7:\
|
|
||||||
-4B800A206ED7807C0F15798509164709E94ED73B5E02B10D65F45B6C2B7FD694\
|
|
||||||
-37F3B5D1342DAF0988CA100B8875C739\
|
|
||||||
-2CFA819E10B76CFE12B2C6485D8326B66E6256CD2F4A6DFEB9B2B7BDD732EA9E\
|
|
||||||
-9D5398DDECCBEAAF3FD53D554AA1FADD
|
|
||||||
-
|
|
||||||
-[ECDSA/EMSA1(SHA-512)]
|
|
||||||
-
|
|
||||||
-secp521r1:\
|
|
||||||
-1511908E830069DAD59E8BA8F1BD4045612A4844805F61F7ECD92A1DEE1877B7\
|
|
||||||
-E62A57860314820C97FFC972732E3C4C0AE837103692E85B3A11B49EB3E20EF1599:\
|
|
||||||
-45434453412F53484128353132292074657374206D6573736167652032303131\
|
|
||||||
-30323135:\
|
|
||||||
-01C352020AAA6D14B6FC2B78FD46209A9EEF6A357CD8B5D53738E3D655FE7A80\
|
|
||||||
-8396E1DC5742058D05F2D76C8CBF4832BE0580A6FD7B4C7426656D17680DEAAEEEC2:\
|
|
||||||
-0138A515C79EECAAB50139FB5D9EF5A771CC1C0999F2E54B5A1A9370EA8ADCFD\
|
|
||||||
-DDD6E9933A39EDA0862F3ECAEBD49EA5ED58D93DA8F72B1CFB11E52A1528AEC8\
|
|
||||||
-63870060D717B29AD6D36DE953A4753FAC58629429EF4DD8F98B5A4F5504C5B2\
|
|
||||||
-29C23C609905632CD8D839DC472693698D7A149E8F3F17462F86BA0A7A895D80\
|
|
||||||
-583A46E9
|
|
||||||
-
|
|
||||||
-brainpool512r1:\
|
|
||||||
-1433AE89858BE7DD9346AF015FEC69F0556982FFEB9CCEF7FB1CE71155F7620C\
|
|
||||||
-ED4A6ACD0F35461A17C8370C4E600BECBACC0F7C1D2D1A2C00203A0E6626C21C:\
|
|
||||||
-43727970746F2B2B20352E362E312045434453412074657374206D7367:\
|
|
||||||
-AA72BC70ABD9E078DDE47F5440E75A93F136F6EAA5267F591E0D3F562DE48BD8\
|
|
||||||
-FED21B9E3F6F5560250566A00C7AAE7E57770BFC7D18A3E7750DC6C7083CC5B0:\
|
|
||||||
-A058CD406C7F2D87FBBDDDD1870C67D1ACBD222D45A929565101842EDFAEFB89\
|
|
||||||
-3CF07AD22CAC0F3350A7D1300741AB5ECE38498F196690CBCEDBF8C866995E5C\
|
|
||||||
-17F48EA66EB70ADE68F6C16103BE54DD004230270E1F8CAC2D6BD47F717C0D1B\
|
|
||||||
-1E335FA4AAA5212321EE93E55FED129D781912A0D87B78A5B569DA272B3C9469
|
|
||||||
-
|
|
||||||
-brainpool512r1:\
|
|
||||||
-83DBEFECAF8CFF78C575BE9659C1A104767979497AD9B589B1B13705C71F1DEF\
|
|
||||||
-AF5CA76C8700236CE2392268E0133CAADE358E3D4F2E64CB4AB8517079E3EFA0:\
|
|
||||||
-43727970746F2B2B20352E362E312045434453412074657374206D7367:\
|
|
||||||
-A110CC7BEF64F5C0349344025B97B151C735408BD2BC0D0CC4E54642EA0DF33E\
|
|
||||||
-829E85916086B51624B830BB2CDF53DAD9003A6D194115051139DBC3E81DF197:\
|
|
||||||
-3254388208915E0EEB99DA89AA198C6FDB1A31B21D3B69EF8EFE4848AE78C32A\
|
|
||||||
-4C489347510A9DD04125BBE95F847E14A2DF3267A0A6D1B5EC442B130C9B5DD1\
|
|
||||||
-924FCD9F365897570329BFEC41FBAF42961210F3FF850DE5736FFBAAB09C5C03\
|
|
||||||
-E0058BD51C8A8EF0FF221F31CF93FE59572ADA3CFEC7016085258A45D1E8544C
|
|
||||||
-
|
|
||||||
# ECC verification format is group name:public key:message:signature
|
|
||||||
[GOST_3410_VA/EMSA1(GOST-34.11)]
|
|
||||||
gost_256A:\
|
|
||||||
diff -up Botan-1.10.5/src/libstate/policy.cpp.eccfix Botan-1.10.5/src/libstate/policy.cpp
|
|
||||||
--- Botan-1.10.5/src/libstate/policy.cpp.eccfix 2013-03-02 21:19:37.000000000 +0000
|
|
||||||
+++ Botan-1.10.5/src/libstate/policy.cpp 2013-10-22 01:20:13.226546243 +0100
|
|
||||||
@@ -210,6 +210,7 @@ void set_default_oids(Library_State& con
|
|
||||||
|
|
||||||
/* ECC domain parameters */
|
|
||||||
|
|
||||||
+ /* Disabled.
|
|
||||||
add_oid(config, "1.3.132.0.6", "secp112r1");
|
|
||||||
add_oid(config, "1.3.132.0.7", "secp112r2");
|
|
||||||
add_oid(config, "1.3.132.0.8", "secp160r1");
|
|
||||||
@@ -221,7 +222,9 @@ void set_default_oids(Library_State& con
|
|
||||||
add_oid(config, "1.3.132.0.31", "secp192k1");
|
|
||||||
add_oid(config, "1.3.132.0.32", "secp224k1");
|
|
||||||
add_oid(config, "1.3.132.0.33", "secp224r1");
|
|
||||||
+ */
|
|
||||||
add_oid(config, "1.3.132.0.34", "secp384r1");
|
|
||||||
+ /* Disabled.
|
|
||||||
add_oid(config, "1.3.132.0.35", "secp521r1");
|
|
||||||
|
|
||||||
add_oid(config, "1.2.840.10045.3.1.1", "secp192r1");
|
|
||||||
@@ -230,8 +233,10 @@ void set_default_oids(Library_State& con
|
|
||||||
add_oid(config, "1.2.840.10045.3.1.4", "x962_p239v1");
|
|
||||||
add_oid(config, "1.2.840.10045.3.1.5", "x962_p239v2");
|
|
||||||
add_oid(config, "1.2.840.10045.3.1.6", "x962_p239v3");
|
|
||||||
+ */
|
|
||||||
add_oid(config, "1.2.840.10045.3.1.7", "secp256r1");
|
|
||||||
|
|
||||||
+ /* Disabled.
|
|
||||||
add_oid(config, "1.3.36.3.3.2.8.1.1.1", "brainpool160r1");
|
|
||||||
add_oid(config, "1.3.36.3.3.2.8.1.1.3", "brainpool192r1");
|
|
||||||
add_oid(config, "1.3.36.3.3.2.8.1.1.5", "brainpool224r1");
|
|
||||||
@@ -242,6 +247,7 @@ void set_default_oids(Library_State& con
|
|
||||||
|
|
||||||
add_oid(config, "1.2.643.2.2.35.1", "gost_256A");
|
|
||||||
add_oid(config, "1.2.643.2.2.36.0", "gost_256A");
|
|
||||||
+ */
|
|
||||||
|
|
||||||
/* CVC */
|
|
||||||
add_oid(config, "0.4.0.127.0.7.3.1.2.1",
|
|
28
botan-1.8.8-binutils_lea_offset.patch
Normal file
28
botan-1.8.8-binutils_lea_offset.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
# patch "src/hash/sha1_amd64/sha1_amd64_imp.S"
|
||||||
|
# from [dd263db10309950dec501dd9257a8df43cf6c6aa]
|
||||||
|
# to [ab1db7a394b41a1d3b9a63a6e8e1571e4671b962]
|
||||||
|
#
|
||||||
|
============================================================
|
||||||
|
--- src/hash/sha1_amd64/sha1_amd64_imp.S dd263db10309950dec501dd9257a8df43cf6c6aa
|
||||||
|
+++ src/hash/sha1_amd64/sha1_amd64_imp.S ab1db7a394b41a1d3b9a63a6e8e1571e4671b962
|
||||||
|
@@ -103,10 +103,16 @@ ALIGN;
|
||||||
|
|
||||||
|
subq $320, W
|
||||||
|
|
||||||
|
+/*
|
||||||
|
+* Using negative values for SHA-1 constants > 2^31 to work around
|
||||||
|
+* a bug in binutils not accepting large lea displacements.
|
||||||
|
+* -0x70E44324 == 0x8F1BBCDC
|
||||||
|
+* -0x359D3E2A == 0xCA62C1D6
|
||||||
|
+*/
|
||||||
|
#define MAGIC1 0x5A827999
|
||||||
|
#define MAGIC2 0x6ED9EBA1
|
||||||
|
-#define MAGIC3 0x8F1BBCDC
|
||||||
|
-#define MAGIC4 0xCA62C1D6
|
||||||
|
+#define MAGIC3 -0x70E44324
|
||||||
|
+#define MAGIC4 -0x359D3E2A
|
||||||
|
|
||||||
|
#define T %esi
|
||||||
|
#define T2 %eax
|
@ -1,20 +0,0 @@
|
|||||||
diff -up Botan-1.10.13/src/build-data/makefile/python.in.orig Botan-1.10.13/src/build-data/makefile/python.in
|
|
||||||
--- Botan-1.10.13/src/build-data/makefile/python.in.orig 2016-04-28 15:27:08.000000000 +0200
|
|
||||||
+++ Botan-1.10.13/src/build-data/makefile/python.in 2016-06-30 16:12:04.001859858 +0200
|
|
||||||
@@ -15,13 +15,15 @@ BOTAN_PYTHON_MODDIR = %{python_obj_dir}
|
|
||||||
|
|
||||||
PYTHON_OBJS = %{python_objs}
|
|
||||||
|
|
||||||
+BOOST_PYTHON = boost_python
|
|
||||||
+
|
|
||||||
all: $(BOTAN_PYTHON_MODDIR)/_botan.so
|
|
||||||
|
|
||||||
%{python_build_cmds}
|
|
||||||
|
|
||||||
$(BOTAN_PYTHON_MODDIR)/_botan.so: $(PYTHON_OBJS)
|
|
||||||
cp %{python_dir}/*.py $(BOTAN_PYTHON_MODDIR)
|
|
||||||
- $(CXX) -shared -Wl,-soname,$@ $(PYTHON_OBJS) -L. -L$(PYTHON_ROOT) $(LDFLAGS) -lbotan-$(SERIES) -lboost_python -o $@
|
|
||||||
+ $(CXX) -shared -Wl,-soname,$@ $(PYTHON_OBJS) -L. -L$(PYTHON_ROOT) $(LDFLAGS) -lbotan-$(SERIES) -l$(BOOST_PYTHON) -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf $(BOTAN_PYTHON_MODDIR)/*
|
|
384
botan.spec
384
botan.spec
@ -1,35 +1,23 @@
|
|||||||
%global major_version 1.10
|
|
||||||
|
|
||||||
Name: botan
|
Name: botan
|
||||||
Version: %{major_version}.17
|
Version: 1.8.8
|
||||||
Release: 15%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Crypto library written in C++
|
Summary: Crypto library written in C++
|
||||||
|
|
||||||
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://botan.randombit.net/
|
URL: http://botan.randombit.net/
|
||||||
# tarfile is stripped using repack.sh. original tarfile to be found
|
Source0: http://files.randombit.net/botan/Botan-%{version}.tbz
|
||||||
# here: http://botan.randombit.net/releases/Botan-%%{version}.tgz
|
Patch0: botan-1.8.8-binutils_lea_offset.patch
|
||||||
Source0: Botan-%{version}.stripped.tar.gz
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Source1: README.fedora
|
|
||||||
# Enable only cleared ECC algorithms
|
|
||||||
Patch0: botan-1.10.5-ecc-fix.patch
|
|
||||||
# Make boost_python selectable
|
|
||||||
Patch1: botan-boost_python.patch
|
|
||||||
# Fix wrong path
|
|
||||||
Patch2: botan-1.10.13-python-init.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python3
|
BuildRequires: python
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-sphinx
|
|
||||||
BuildRequires: boost-python3-devel
|
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: gmp-devel
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
|
||||||
# do not check .so files in the python_sitelib directories
|
|
||||||
%global __provides_exclude_from ^(%{python3_sitearch}/.*\\.so)$
|
|
||||||
|
|
||||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Botan is a BSD-licensed crypto library written in C++. It provides a
|
Botan is a BSD-licensed crypto library written in C++. It provides a
|
||||||
@ -42,380 +30,88 @@ flavor of the library.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: bzip2-devel
|
Requires: bzip2-devel
|
||||||
Requires: zlib-devel
|
Requires: zlib-devel
|
||||||
|
Requires: gmp-devel
|
||||||
|
Requires: openssl-devel
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: Documentation for %{name}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
%{summary}
|
|
||||||
|
|
||||||
This package contains HTML documentation for %{name}.
|
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{name}
|
|
||||||
Summary: Python3 bindings for %{name}
|
|
||||||
%{?python_provide:%python_provide python3-%{name}}
|
|
||||||
|
|
||||||
%description -n python3-%{name}
|
|
||||||
%{summary}
|
|
||||||
|
|
||||||
This package contains the Python3 binding for %{name}.
|
|
||||||
|
|
||||||
Note: The Python binding should be considered alpha software, and the
|
|
||||||
interfaces may change in the future.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Botan-%{version}
|
%setup -q -n Botan-%{version}
|
||||||
%patch0 -p1 -b .eccfix
|
%patch0 -p0
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
# These tests will fail.
|
|
||||||
rm -rf checks/ec_tests.cpp
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# we have the necessary prerequisites, so enable optional modules
|
# we have the necessary prerequisites, so enable optional modules
|
||||||
%global enable_modules bzip2,zlib
|
%define enable_modules gnump,bzip2,zlib,openssl
|
||||||
|
|
||||||
# fixme: maybe disable unix_procs, very slow.
|
# fixme: maybe disable unix_procs, very slow.
|
||||||
%global disable_modules gnump
|
%define disable_modules %{nil}
|
||||||
|
|
||||||
%{__python3} ./configure.py \
|
./configure.py \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_lib} \
|
--libdir=%{_lib} \
|
||||||
--cc=gcc \
|
--cc=gcc \
|
||||||
--os=linux \
|
--os=linux \
|
||||||
--cpu=%{_arch} \
|
--cpu=%{_arch} \
|
||||||
--enable-modules=%{enable_modules} \
|
--enable-modules=%{enable_modules} \
|
||||||
--disable-modules=%{disable_modules} \
|
--disable-modules=%{disable_modules}
|
||||||
--with-boost-python \
|
|
||||||
--with-python-version=dummy.dummy \
|
|
||||||
--with-sphinx
|
|
||||||
|
|
||||||
# (ab)using CXX as an easy way to inject our CXXFLAGS
|
# (ab)using CXX as an easy way to inject our CXXFLAGS
|
||||||
make CXX="g++ -std=c++11 ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags}
|
make CXX="g++ ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags}
|
||||||
|
|
||||||
make -f Makefile.python \
|
|
||||||
CXX="g++ -std=c++11 ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags} \
|
|
||||||
PYTHON_INC="$(python3-config --includes)" \
|
|
||||||
PYTHON_ROOT=. \
|
|
||||||
BOOST_PYTHON=boost_python%{python3_version_nodots}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
make install \
|
make install \
|
||||||
DESTDIR=%{buildroot}%{_prefix} \
|
DESTDIR=%{buildroot}%{_prefix} \
|
||||||
DOCDIR=%{buildroot}%{_pkgdocdir} \
|
DOCDIR=_doc \
|
||||||
INSTALL_CMD_EXEC="install -p -m 755" \
|
INSTALL_CMD_EXEC="install -p -m 755" \
|
||||||
INSTALL_CMD_DATA="install -p -m 644"
|
INSTALL_CMD_DATA="install -p -m 644" \
|
||||||
|
|
||||||
make -f Makefile.python install \
|
|
||||||
PYTHON_SITE_PACKAGE_DIR=%{buildroot}%{python3_sitearch}
|
|
||||||
|
|
||||||
|
|
||||||
# fixups
|
%clean
|
||||||
find doc/examples -type f -exec chmod -x {} \;
|
rm -rf %{buildroot}
|
||||||
mv doc/examples/python doc/python2-examples
|
|
||||||
cp -a doc/{examples,python2-examples,license.txt} \
|
|
||||||
%{buildroot}%{_pkgdocdir}
|
|
||||||
cp -a %{SOURCE1} %{buildroot}%{_pkgdocdir}
|
|
||||||
rm -r %{buildroot}%{_pkgdocdir}/manual/{.doctrees,.buildinfo}
|
|
||||||
|
|
||||||
|
|
||||||
%ldconfig_post
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%ldconfig_postun
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{_pkgdocdir}
|
%defattr(-,root,root,-)
|
||||||
%{_pkgdocdir}/readme.txt
|
%{_libdir}/libbotan*-*.so
|
||||||
%{_pkgdocdir}/README.fedora
|
%doc _doc/readme.txt _doc/log.txt _doc/thanks.txt _doc/credits.txt
|
||||||
%if 0%{?_licensedir:1}
|
%doc _doc/license.txt _doc/fips140.tex _doc/pgpkeys.asc
|
||||||
%exclude %{_pkgdocdir}/license.txt
|
|
||||||
%license doc/license.txt
|
|
||||||
%else
|
|
||||||
%{_pkgdocdir}/license.txt
|
|
||||||
%endif # licensedir
|
|
||||||
%{_libdir}/libbotan-%{major_version}.so.*
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_pkgdocdir}/examples
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/botan-config-%{major_version}
|
%doc doc/examples
|
||||||
|
%doc _doc/api* _doc/tutorial*
|
||||||
|
%{_bindir}/botan-config
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%exclude %{_libdir}/libbotan-%{major_version}.a
|
%exclude %{_libdir}/libbotan.a
|
||||||
%{_libdir}/libbotan-%{major_version}.so
|
%{_libdir}/libbotan.so
|
||||||
%{_libdir}/pkgconfig/botan-%{major_version}.pc
|
%{_libdir}/pkgconfig/botan-1.8.pc
|
||||||
|
|
||||||
|
|
||||||
%files doc
|
|
||||||
%dir %{_pkgdocdir}
|
|
||||||
%{_pkgdocdir}/manual
|
|
||||||
# next files duplicated on purpose, because -doc doesn't depend on the
|
|
||||||
# main package
|
|
||||||
%{_pkgdocdir}/readme.txt
|
|
||||||
%{_pkgdocdir}/README.fedora
|
|
||||||
%if 0%{?_licensedir:1}
|
|
||||||
%exclude %{_pkgdocdir}/license.txt
|
|
||||||
%license doc/license.txt
|
|
||||||
%else
|
|
||||||
%{_pkgdocdir}/license.txt
|
|
||||||
%endif # licensedir
|
|
||||||
%{_pkgdocdir}/python2-examples
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{name}
|
|
||||||
%{python3_sitearch}/%{name}
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make CXX="g++ -std=c++11 ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags} check
|
make CXX="g++ ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags} check
|
||||||
|
|
||||||
# these checks would fail
|
|
||||||
mv checks/validate.dat{,.orig}
|
|
||||||
awk '/\[.*\]/{f=0} /\[(RC5.*|RC6)\]/{f=1} (f && !/^#/){sub(/^/,"#")} {print}' \
|
|
||||||
checks/validate.dat.orig > checks/validate.dat
|
|
||||||
LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
|
LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10.17-15
|
|
||||||
- Rebuilt for Python 3.8
|
|
||||||
|
|
||||||
* Wed Aug 14 2019 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-14
|
|
||||||
- Remove dependency on OpenSSL (for F31+).
|
|
||||||
|
|
||||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-12
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 30 2019 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-11
|
|
||||||
- Use %%{python3_version_nodots} for Boost.Python library name
|
|
||||||
|
|
||||||
* Tue Jan 29 2019 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-11
|
|
||||||
- Use boost_python37 for library name
|
|
||||||
|
|
||||||
* Thu Jan 24 2019 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-11
|
|
||||||
- Rebuilt for Boost 1.69
|
|
||||||
|
|
||||||
* Tue Sep 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10.17-10
|
|
||||||
- Remove Python 2 subpackage (#1627321)
|
|
||||||
|
|
||||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10.17-8
|
|
||||||
- Rebuilt for Python 3.7
|
|
||||||
|
|
||||||
* Fri Jun 29 2018 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-7
|
|
||||||
- Use ldconfig scriptlet macros.
|
|
||||||
|
|
||||||
* Fri Jun 29 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10.17-6
|
|
||||||
- Rebuilt for Python 3.7
|
|
||||||
|
|
||||||
* Thu Jun 28 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1.10.17-5
|
|
||||||
- Switch BR boost-python-devel to boost-python2-devel
|
|
||||||
|
|
||||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10.17-4
|
|
||||||
- Rebuilt for Python 3.7
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-2
|
|
||||||
- Rebuilt for Boost 1.66
|
|
||||||
|
|
||||||
* Mon Oct 2 2017 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-1
|
|
||||||
- Update to 1.10.17.
|
|
||||||
- Remove obsolete patches.
|
|
||||||
|
|
||||||
* Fri Sep 08 2017 Troy Dawson <tdawson@redhat.com> - 1.10.16-2
|
|
||||||
- Cleanup spec file conditionals
|
|
||||||
|
|
||||||
* Sun Aug 13 2017 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.16-1
|
|
||||||
- Update to 1.10.16.
|
|
||||||
|
|
||||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.14-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.14-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 1.10.14-8
|
|
||||||
- Rebuilt for Boost 1.64
|
|
||||||
|
|
||||||
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.14-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.14-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 1.10.14-5
|
|
||||||
- Rebuilt for Boost 1.63
|
|
||||||
|
|
||||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.10.14-4
|
|
||||||
- Rebuild for Python 3.6
|
|
||||||
|
|
||||||
* Sat Dec 10 2016 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.14-3
|
|
||||||
- Add -std=c++11 to the compilerflags (needed on EPEL7).
|
|
||||||
|
|
||||||
* Fri Dec 9 2016 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.14-2
|
|
||||||
- Update to 1.10.14.
|
|
||||||
- Depend on OpenSSL 1.0 compat package for F26+.
|
|
||||||
|
|
||||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.13-4
|
|
||||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
||||||
|
|
||||||
* Sun Jul 3 2016 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.13-3
|
|
||||||
- Fix typo.
|
|
||||||
|
|
||||||
* Sun Jul 3 2016 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.13-2
|
|
||||||
- Provide python2- and python3- subpackages (rhbz#1313786).
|
|
||||||
- Move python examples to -doc subpackage.
|
|
||||||
|
|
||||||
* Fri Apr 29 2016 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.13-1
|
|
||||||
- Update to 1.10.13.
|
|
||||||
|
|
||||||
* Mon Feb 8 2016 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.12-1
|
|
||||||
- Update to 1.10.12.
|
|
||||||
- Mark license.txt with %%license.
|
|
||||||
- Change %%define -> %%global.
|
|
||||||
|
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.9-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1.10.9-9
|
|
||||||
- Rebuilt for Boost 1.60
|
|
||||||
|
|
||||||
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1.10.9-8
|
|
||||||
- Rebuilt for Boost 1.59
|
|
||||||
|
|
||||||
* Fri Jul 24 2015 David Tardon <dtardon@redhat.com> - 1.10.9-7
|
|
||||||
- rebuild for Boost 1.58
|
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.9-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Apr 23 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.9-5
|
|
||||||
- Rebuild for gcc5.
|
|
||||||
|
|
||||||
* Fri Feb 6 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.9-4
|
|
||||||
- Re-enable cleared ECC. Patch by Tom Callaway <spot@fedoraproject.org>.
|
|
||||||
|
|
||||||
* Thu Feb 5 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.9-3
|
|
||||||
- Disable gmp engine (see bug 1116406).
|
|
||||||
- Use _pkgdocdir.
|
|
||||||
|
|
||||||
* Thu Feb 5 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.9-2
|
|
||||||
- Remove workaround for bug 1186014.
|
|
||||||
|
|
||||||
* Sat Jan 31 2015 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.9-1
|
|
||||||
- Update to 1.10.9.
|
|
||||||
|
|
||||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.8-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.8-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat May 31 2014 Björn Esser <bjoern.esser@gmail.com> - 1.10.8-5
|
|
||||||
- rebuild for boost 1.55.0 (libboost_python.so.1.55.0)
|
|
||||||
|
|
||||||
* Sun May 25 2014 Brent Baude <baude@us.ibm.com> - 1.10.8-4
|
|
||||||
- Added ppc64le arch support
|
|
||||||
|
|
||||||
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 1.10.8-3
|
|
||||||
- rebuild for boost 1.55.0
|
|
||||||
|
|
||||||
* Mon May 12 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.10.8-2
|
|
||||||
- Added AArch64 architecture support
|
|
||||||
|
|
||||||
* Sat May 10 2014 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.8-1
|
|
||||||
- Update to 1.10.8.
|
|
||||||
|
|
||||||
* Tue Sep 3 2013 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.5-4
|
|
||||||
- Re-enable IDEA (rhbz#1003052) and SRP-6.
|
|
||||||
|
|
||||||
* Sat Jul 27 2013 Petr Machata <pmachata@redhat.com> - 1.10.5-3
|
|
||||||
- Rebuild for boost 1.54.0
|
|
||||||
|
|
||||||
* Fri Jul 26 2013 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.5-2
|
|
||||||
- Rename the subpackage for the Python binding.
|
|
||||||
|
|
||||||
* Fri Jul 26 2013 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.5-1
|
|
||||||
- Update to 1.10.5.
|
|
||||||
- Modernize spec file.
|
|
||||||
- New -doc subpackage containing HTML documentation.
|
|
||||||
- Package Python binding.
|
|
||||||
|
|
||||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.14-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Aug 25 2012 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.14-1
|
|
||||||
- Update to 1.8.14.
|
|
||||||
|
|
||||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.13-5.2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.13-4.2
|
|
||||||
- Rebuilt for c++ ABI breakage
|
|
||||||
|
|
||||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.13-3.2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.8.13-2.2
|
|
||||||
- rebuild with new gmp without compat lib
|
|
||||||
|
|
||||||
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 1.8.13-2.1
|
|
||||||
- rebuild with new gmp
|
|
||||||
|
|
||||||
* Thu Jul 21 2011 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.13-2
|
|
||||||
- Patch to revert the soname change.
|
|
||||||
|
|
||||||
* Wed Jul 20 2011 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.13-1
|
|
||||||
- Update to 1.8.13.
|
|
||||||
|
|
||||||
* Sat Jul 2 2011 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.12-1
|
|
||||||
- Update to 1.8.12.
|
|
||||||
|
|
||||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.11-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Nov 6 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.11-1
|
|
||||||
- Update to 1.8.11.
|
|
||||||
|
|
||||||
* Sat Sep 4 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.10-1
|
|
||||||
- Update to 1.8.10.
|
|
||||||
|
|
||||||
* Sun Aug 29 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.9-4
|
|
||||||
- Update README.fedora.
|
|
||||||
|
|
||||||
* 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.
|
|
||||||
|
|
||||||
* Wed Jun 16 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.9-1
|
|
||||||
- Update to 1.8.9.
|
|
||||||
- Drop patch applied upstream.
|
|
||||||
|
|
||||||
* Thu Nov 19 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.8-2
|
* Thu Nov 19 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.8-2
|
||||||
- Add patch from upstream to build with binutils-2.20.51.0.2.
|
- Add patch from upstream to build with binutils-2.20.51.0.2.
|
||||||
Fixes bz 538949 (ftbfs).
|
Fixes bz 538949 (ftbfs).
|
||||||
|
8
import.log
Normal file
8
import.log
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
botan-1_8_0-2_fc10:F-10:botan-1.8.0-2.fc10.src.rpm:1232355547
|
||||||
|
botan-1_8_1-1_fc10:F-10:botan-1.8.1-1.fc10.src.rpm:1232634423
|
||||||
|
botan-1_8_1-4_fc10:F-10:botan-1.8.1-4.fc10.src.rpm:1237195879
|
||||||
|
botan-1_8_2-1_fc12:F-10:botan-1.8.2-1.fc12.src.rpm:1242459647
|
||||||
|
botan-1_8_5-2_fc11:F-10:botan-1.8.5-2.fc11.src.rpm:1250101840
|
||||||
|
botan-1_8_6-1_fc11:F-10:botan-1.8.6-1.fc11.src.rpm:1250179466
|
||||||
|
botan-1_8_7-1_fc11:F-10:botan-1.8.7-1.fc11.src.rpm:1252624897
|
||||||
|
botan-1_8_8-2_fc12:F-10:botan-1.8.8-2.fc12.src.rpm:1258665861
|
20
repack.sh
20
repack.sh
@ -1,20 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
name=Botan-1.10.17
|
|
||||||
src=${name}.tgz
|
|
||||||
dst=${name}.stripped.tar.gz
|
|
||||||
|
|
||||||
rm -f ${dst} ${dst%.gz}
|
|
||||||
cp -av ${src} ${dst}
|
|
||||||
|
|
||||||
gzip -d ${dst}
|
|
||||||
|
|
||||||
tar --delete --file=${dst%.gz} \
|
|
||||||
${name}/src/block/rc6 \
|
|
||||||
${name}/src/block/rc5 \
|
|
||||||
${name}/src/pubkey/gost_3410
|
|
||||||
|
|
||||||
touch -m -r ${src} ${dst%.gz}
|
|
||||||
|
|
||||||
gzip ${dst%.gz}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user