Compare commits
90 Commits
F-11-split
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
46ccc08f8c | ||
|
cc1b8f35c0 | ||
|
b35f6bad68 | ||
|
baa8a3e188 | ||
|
c7ffcf21ee | ||
|
3fb576c80f | ||
|
c9b3eca933 | ||
|
0a6cf8a915 | ||
|
2eef2ced3b | ||
|
eba0fb3b88 | ||
|
c6cdb8528b | ||
|
2114577286 | ||
|
7529ac1b87 | ||
|
d039f46f21 | ||
0e68f46907 | |||
|
a2cdd3f458 | ||
|
af760f724b | ||
|
a0e1285117 | ||
|
26ada87302 | ||
|
d2d8099106 | ||
|
c5907002c3 | ||
|
1b5794187d | ||
|
fd263d946c | ||
|
ac6f1cb70a | ||
|
5b3d5c814c | ||
|
22ea44d6b1 | ||
|
e9cbd68f6b | ||
|
16f0c72060 | ||
|
bf8adb66c8 | ||
|
8f890a6325 | ||
|
a596d4e935 | ||
|
50c5d7062d | ||
|
84dde5b3f2 | ||
|
5b87a3fc47 | ||
|
e5b29be542 | ||
|
e95f726d0b | ||
|
7aaaba071e | ||
|
810b42d307 | ||
|
99d10d6ee6 | ||
|
2aff43e8af | ||
|
a5ec2066fc | ||
|
159d3cc78c | ||
|
e1d94114b5 | ||
|
953c48ed29 | ||
|
4083bc6743 | ||
|
41ed55682f | ||
|
1ab004f2d7 | ||
|
a67d57e0c0 | ||
|
80c63f463e | ||
|
c0cba64d16 | ||
|
4ed026fc92 | ||
|
8d68e9c74f | ||
|
53bda05aa5 | ||
|
36e8a6c98a | ||
|
c20c965381 | ||
|
a7ae4770eb | ||
|
f78580826c | ||
|
89956fd8c9 | ||
|
f2a104bfae | ||
|
49e022358c | ||
|
a180054edb | ||
|
59e089da3e | ||
|
08b0f4d006 | ||
|
cbcbfa158c | ||
|
e44ced7a32 | ||
|
63e9da1770 | ||
|
818681f75a | ||
|
a8d87bd924 | ||
|
bf3746dfa3 | ||
|
d8792c2daa | ||
|
38525cdc74 | ||
|
be07d8a425 | ||
|
b34d8ff9b2 | ||
|
8ed4744b09 | ||
|
64a9a24473 | ||
|
078189366a | ||
|
057bdc15b1 | ||
|
fa570d3dd5 | ||
|
2f755a69c6 | ||
|
549c94b9da | ||
|
c556e89cce | ||
|
1c2a64ac39 | ||
|
45d5c59a6d | ||
|
cec1145354 | ||
|
855818772e | ||
|
f04ff1f98e | ||
|
96190c38cb | ||
|
e75b99d8c1 | ||
|
be080e3afb | ||
|
d0acb9b7e8 |
@ -1 +0,0 @@
|
||||
Botan-1.8.1.tgz
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/Botan-*.stripped.tar.gz
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
||||
# 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)
|
11
README.fedora
Normal file
11
README.fedora
Normal file
@ -0,0 +1,11 @@
|
||||
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]
|
9
botan-1.10.13-python-init.patch
Normal file
9
botan-1.10.13-python-init.patch
Normal file
@ -0,0 +1,9 @@
|
||||
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()
|
327
botan-1.10.5-ecc-fix.patch
Normal file
327
botan-1.10.5-ecc-fix.patch
Normal file
@ -0,0 +1,327 @@
|
||||
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",
|
20
botan-boost_python.patch
Normal file
20
botan-boost_python.patch
Normal file
@ -0,0 +1,20 @@
|
||||
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)/*
|
413
botan.spec
413
botan.spec
@ -1,22 +1,35 @@
|
||||
%global major_version 1.10
|
||||
|
||||
Name: botan
|
||||
Version: 1.8.1
|
||||
Release: 4%{?dist}
|
||||
Version: %{major_version}.17
|
||||
Release: 15%{?dist}
|
||||
Summary: Crypto library written in C++
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://botan.randombit.net/
|
||||
Source0: http://files.randombit.net/botan/Botan-%{version}.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# tarfile is stripped using repack.sh. original tarfile to be found
|
||||
# here: http://botan.randombit.net/releases/Botan-%%{version}.tgz
|
||||
Source0: Botan-%{version}.stripped.tar.gz
|
||||
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: perl
|
||||
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: boost-python3-devel
|
||||
BuildRequires: bzip2-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
|
||||
Botan is a BSD-licensed crypto library written in C++. It provides a
|
||||
@ -29,87 +42,411 @@ flavor of the library.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: bzip2-devel
|
||||
Requires: zlib-devel
|
||||
Requires: gmp-devel
|
||||
Requires: openssl-devel
|
||||
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
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
|
||||
%setup -q -n Botan-%{version}
|
||||
%patch0 -p1 -b .eccfix
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
# These tests will fail.
|
||||
rm -rf checks/ec_tests.cpp
|
||||
|
||||
%build
|
||||
# we have the necessary prerequisites, so enable optional modules
|
||||
%define enable_modules gnump,bzip2,zlib,openssl
|
||||
%global enable_modules bzip2,zlib
|
||||
|
||||
# fixme: maybe disable unix_procs, very slow.
|
||||
%define disable_modules %{nil}
|
||||
%global disable_modules gnump
|
||||
|
||||
./configure.pl \
|
||||
%{__python3} ./configure.py \
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_lib} \
|
||||
--cc=gcc \
|
||||
--os=linux \
|
||||
--cpu=%{_arch} \
|
||||
--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
|
||||
make CXX="g++ ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags}
|
||||
make CXX="g++ -std=c++11 ${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
|
||||
rm -rf %{buildroot}
|
||||
make install \
|
||||
DESTDIR=%{buildroot}%{_prefix} \
|
||||
DOCDIR=_doc \
|
||||
DOCDIR=%{buildroot}%{_pkgdocdir} \
|
||||
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}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
# fixups
|
||||
find doc/examples -type f -exec chmod -x {} \;
|
||||
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}
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%ldconfig_post
|
||||
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_postun
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libbotan*-*.so
|
||||
%doc _doc/readme.txt _doc/log.txt _doc/thanks.txt _doc/credits.txt
|
||||
%doc _doc/license.txt _doc/fips140.tex _doc/pgpkeys.asc
|
||||
%dir %{_pkgdocdir}
|
||||
%{_pkgdocdir}/readme.txt
|
||||
%{_pkgdocdir}/README.fedora
|
||||
%if 0%{?_licensedir:1}
|
||||
%exclude %{_pkgdocdir}/license.txt
|
||||
%license doc/license.txt
|
||||
%else
|
||||
%{_pkgdocdir}/license.txt
|
||||
%endif # licensedir
|
||||
%{_libdir}/libbotan-%{major_version}.so.*
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/examples
|
||||
%doc _doc/api* _doc/tutorial*
|
||||
%{_bindir}/botan-config
|
||||
%{_pkgdocdir}/examples
|
||||
%{_bindir}/botan-config-%{major_version}
|
||||
%{_includedir}/*
|
||||
%exclude %{_libdir}/libbotan.a
|
||||
%{_libdir}/libbotan.so
|
||||
%{_libdir}/pkgconfig/botan-1.8.pc
|
||||
%exclude %{_libdir}/libbotan-%{major_version}.a
|
||||
%{_libdir}/libbotan-%{major_version}.so
|
||||
%{_libdir}/pkgconfig/botan-%{major_version}.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
|
||||
make CXX="g++ ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags} check
|
||||
make CXX="g++ -std=c++11 ${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
|
||||
|
||||
|
||||
%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
|
||||
- Add patch from upstream to build with binutils-2.20.51.0.2.
|
||||
Fixes bz 538949 (ftbfs).
|
||||
|
||||
* Thu Nov 5 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.8-1
|
||||
- Update to 1.8.8, a bugfix release.
|
||||
|
||||
* Thu Sep 10 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.7-1
|
||||
- Update to 1.8.7. This is mainly a bugfix release.
|
||||
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.8.6-2
|
||||
- rebuilt with new openssl
|
||||
|
||||
* Thu Aug 13 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.6-1
|
||||
- Update to 1.8.6, which contains new features as well as bugfixes,
|
||||
e.g. concerning the /proc-walking entropy source.
|
||||
|
||||
* Wed Aug 12 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.5-2
|
||||
- Fix changelog.
|
||||
|
||||
* Wed Aug 12 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.5-1
|
||||
- Update to 1.8.5.
|
||||
- Use .tbz source file.
|
||||
- Configuration script uses python now.
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Sat Apr 25 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.2-1
|
||||
- Update to 1.8.2.
|
||||
|
||||
* Mon Mar 16 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.1-4
|
||||
- Add missing requirements to -devel package.
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
botan-1_8_0-2_fc10:HEAD:botan-1.8.0-2.fc10.src.rpm:1232354502
|
||||
botan-1_8_1-1_fc10:HEAD:botan-1.8.1-1.fc10.src.rpm:1232633562
|
||||
botan-1_8_1-4_fc10:HEAD:botan-1.8.1-4.fc10.src.rpm:1237195036
|
20
repack.sh
Executable file
20
repack.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#! /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