summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2017-06-28 09:38:14 +0200
committerKristian Fiskerstrand <k_f@gentoo.org>2017-06-28 09:38:43 +0200
commitbb3ae6a78af0f3ebae09a3120696e0b1a2240520 (patch)
tree49ae067170b897497276fd9c052ec9afa26e9122 /net-misc/sks/files
parentnet-misc/sks-1.1.6-r1: Stable for amd64 (diff)
downloadgentoo-bb3ae6a78af0f3ebae09a3120696e0b1a2240520.tar.gz
gentoo-bb3ae6a78af0f3ebae09a3120696e0b1a2240520.tar.bz2
gentoo-bb3ae6a78af0f3ebae09a3120696e0b1a2240520.zip
net-misc/sks: Clean up old version
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-misc/sks/files')
-rw-r--r--net-misc/sks/files/sks-1.1.5-curve25519.patch11
-rw-r--r--net-misc/sks/files/sks-1.1.5-disable-warn-error-a.patch29
-rw-r--r--net-misc/sks/files/sks-1.1.5-eddsa.patch84
3 files changed, 0 insertions, 124 deletions
diff --git a/net-misc/sks/files/sks-1.1.5-curve25519.patch b/net-misc/sks/files/sks-1.1.5-curve25519.patch
deleted file mode 100644
index ccf484f45523..000000000000
--- a/net-misc/sks/files/sks-1.1.5-curve25519.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -r 1a1b0b48e642 parsePGP.ml
---- a/parsePGP.ml Tue May 26 12:21:29 2015 -0400
-+++ b/parsePGP.ml Tue Oct 13 14:46:03 2015 +0900
-@@ -151,6 +151,7 @@
- | "\x2b\x24\x03\x03\x02\x08\x01\x01\x0d" -> 512 (* brainpoolP512r1 *)
- | "\x2b\x81\x04\x00\x0a" -> 256 (* secp256k1 *)
- | "\x2b\x06\x01\x04\x01\xda\x47\x0f\x01" -> 256 (* Ed25519 *)
-+ | "\x2b\x06\x01\x04\x01\x97\x55\x01\x05\x01" -> 256 (* cv25519 *)
- | _ -> failwith "Unknown OID"
- in
- psize
diff --git a/net-misc/sks/files/sks-1.1.5-disable-warn-error-a.patch b/net-misc/sks/files/sks-1.1.5-disable-warn-error-a.patch
deleted file mode 100644
index 18af6c524a22..000000000000
--- a/net-misc/sks/files/sks-1.1.5-disable-warn-error-a.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 5142992b465e87181a4674ac614bf7d2fd7110c4 Mon Sep 17 00:00:00 2001
-From: Kristian Fiskerstrand <kristian.fiskerstrand@sumptuouscapital.com>
-Date: Sun, 26 Jul 2015 21:25:53 +0200
-Subject: [PATCH] (Makefile) Disable warn-error A
-
-warn-error A is set for development versions (tagged with +) upstream,
-however it is not intended to actually be fatal errors for released
-versions. We want to keep EdDSA support, i.e it is actually one
-commit past 1.1.5, so just disabling making warnings fatal.
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 543c531..d4a1222 100644
---- a/Makefile
-+++ b/Makefile
-@@ -49,7 +49,7 @@ SKSVS=$(shell grep 'version_suffix = "+"' common.ml)
- ifeq ($(strip $(SKSVS)),)
- WARNERR=
- else
--WARNERR=-warn-error A
-+WARNERR=
- endif
-
- CAMLP4=-pp $(CAMLP4O)
---
-2.3.6
-
diff --git a/net-misc/sks/files/sks-1.1.5-eddsa.patch b/net-misc/sks/files/sks-1.1.5-eddsa.patch
deleted file mode 100644
index 36359f233c49..000000000000
--- a/net-misc/sks/files/sks-1.1.5-eddsa.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-diff -r 4d5e4fd7c1c2 CHANGELOG
---- a/CHANGELOG Mon Aug 11 20:56:45 2014 -0500
-+++ b/CHANGELOG Tue Feb 03 00:01:20 2015 +0100
-@@ -1,3 +1,7 @@
-+Development:
-+ - Add support for EdDSA key using Ed25519 signature scheme
-+ (http://www.ietf.org/id/draft-koch-eddsa-for-openpgp-00.txt)
-+
- 1.1.5
- - Fixes for machine-readable indices. Key expiration times are now read
- from self-signatures on the key's UIDs. In addition, instead of 8-digit
-diff -r 4d5e4fd7c1c2 common.ml
---- a/common.ml Mon Aug 11 20:56:45 2014 -0500
-+++ b/common.ml Tue Feb 03 00:01:20 2015 +0100
-@@ -47,7 +47,7 @@
- (* for Release versions, COMMONCAMLFLAGS in Makefile should include *)
- (* '-warn-error a'. Development work should use '-warn-error A' for stricter *)
- (* language checking. This affects the Ocaml compiler beginning with v4.01.0 *)
--let version_suffix = "" (* + for development branch *)
-+let version_suffix = "+" (* + for development branch *)
- let compatible_version_tuple = (0,1,5)
- let version =
- let (maj_version,min_version,release) = version_tuple in
-diff -r 4d5e4fd7c1c2 packet.ml
---- a/packet.ml Mon Aug 11 20:56:45 2014 -0500
-+++ b/packet.ml Tue Feb 03 00:01:20 2015 +0100
-@@ -163,6 +163,7 @@
- | 19 -> "ECDSA (ECC)" (* RFC 6637 *)
- | 20 -> "Elgamal (Encrypt or Sign)"
- | 21 -> "Reserved for Diffie-Hellman (X9.42) as defined for IETF-S/MIME"
-+ | 22 -> "EdDSA"
- | x when x >= 100 && x <= 110 -> "Private/Experimental algorithm."
- | _ -> "Unknown Public Key Algorithm"
-
-@@ -252,10 +253,11 @@
- | 2 -> "r" (* RSA encrypt *)
- | 3 -> "s" (* RSA sign *)
- | 16 -> "g" (* ElGamal encrypt *)
-- | 20 -> "G" (* ElGamal sign and encrypt *)
- | 17 -> "D" (* DSA *)
- | 18 -> "e" (* ECDH *)
- | 19 -> "E" (* ECDSA *)
-+ | 20 -> "G" (* ElGamal sign and encrypt *)
-+ | 22 -> "E" (* EdDSA *)
- | _ -> "?" (* NoClue *)
-
- (** writes out packet, using old-style packets when possible *)
-diff -r 4d5e4fd7c1c2 parsePGP.ml
---- a/parsePGP.ml Mon Aug 11 20:56:45 2014 -0500
-+++ b/parsePGP.ml Tue Feb 03 00:01:20 2015 +0100
-@@ -150,6 +150,7 @@
- | "\x2b\x24\x03\x03\x02\x08\x01\x01\x0b" -> 384 (* brainpoolP384r1 *)
- | "\x2b\x24\x03\x03\x02\x08\x01\x01\x0d" -> 512 (* brainpoolP512r1 *)
- | "\x2b\x81\x04\x00\x0a" -> 256 (* secp256k1 *)
-+ | "\x2b\x06\x01\x04\x01\xda\x47\x0f\x01" -> 256 (* Ed25519 *)
- | _ -> failwith "Unknown OID"
- in
- psize
-@@ -168,6 +169,7 @@
- in
- (mpi, psize)
-
-+ (* Algorithm specific fields for ECDSA and EdDSA *)
- let parse_ecdsa_pubkey cin =
- let length = cin#read_int_size 1 in
- let oid = cin#read_string length in
-@@ -185,7 +187,7 @@
- let algorithm = cin#read_byte in
- let (tmpmpi, tmpsize) = match algorithm with
- | 18 -> parse_ecdh_pubkey cin
-- | 19 -> ( {mpi_bits = 0; mpi_data = ""}, (parse_ecdsa_pubkey cin))
-+ | 19 | 22 -> ( {mpi_bits = 0; mpi_data = ""}, (parse_ecdsa_pubkey cin))
- | _ -> ( {mpi_bits = 0; mpi_data = ""} , -1 )
- in
- let mpis = match algorithm with
-@@ -205,7 +207,7 @@
- pk_ctime = creation_time;
- pk_expiration = (match expiration with Some 0 -> None | x -> x);
- pk_alg = algorithm;
-- pk_keylen = (match algorithm with |18|19 -> psize | _ -> mpi.mpi_bits);
-+ pk_keylen = (match algorithm with |18|19|22 -> psize | _ -> mpi.mpi_bits);
- }
-
- (********************************************************)