Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (14e2d9861db30d3272e9a53f6417247bde41ac42)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (14e2d9861db30d3272e9a53f6417247bde41ac42)
  • Date: Fri, 8 Jan 2021 20:19:33 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 2 ++
crypto/secp256k1/BUILD | 2 ++
crypto/secp256k1/DEPENDS | 2 ++
crypto/secp256k1/DETAILS | 34 ++++++++++++++++++++++++++++++++++
crypto/secp256k1/HISTORY | 2 ++
crypto/secp256k1/PRE_BUILD | 3 +++
net/bitcoin/BUILD | 10 +++-------
net/bitcoin/DEPENDS | 2 +-
net/bitcoin/HISTORY | 4 ++++
9 files changed, 53 insertions(+), 8 deletions(-)

New commits:
commit 14e2d9861db30d3272e9a53f6417247bde41ac42
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

bitcoin: disable tests

commit c0c4cb7811483a9b5e06338d7a182efaac1959d9
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

bitcoin: Remove QT4 support

commit cc3242cb12a44d56cab66df90b1ff508c94d377b
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

secp256k1: new spell, Optimized C library for EC operations on curve
secp256k1

diff --git a/ChangeLog b/ChangeLog
index 421bc80..a7d13ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2021-01-08 Ismael Luceno <ismael AT sourcemage.org>
* libs/univalue: new spell, C++ universal value object and JSON
library
+ * crypto/secp256k1: new spell, Optimized C library for EC operations
+ on curve secp256k1

2021-01-07 Ismael Luceno <ismael AT sourcemage.org>
* devel/ocaml-ppx-tools-versioned: new spell, Tools for authors
diff --git a/crypto/secp256k1/BUILD b/crypto/secp256k1/BUILD
new file mode 100755
index 0000000..448e746
--- /dev/null
+++ b/crypto/secp256k1/BUILD
@@ -0,0 +1,2 @@
+OPTS+=' --disable-static' &&
+default_build
diff --git a/crypto/secp256k1/DEPENDS b/crypto/secp256k1/DEPENDS
new file mode 100755
index 0000000..9e4b57a
--- /dev/null
+++ b/crypto/secp256k1/DEPENDS
@@ -0,0 +1,2 @@
+depends autoconf &&
+depends automake
diff --git a/crypto/secp256k1/DETAILS b/crypto/secp256k1/DETAILS
new file mode 100755
index 0000000..7fdfb21
--- /dev/null
+++ b/crypto/secp256k1/DETAILS
@@ -0,0 +1,34 @@
+ SPELL=secp256k1
+ VERSION=git-20170810
+ REV_ID=f532bdc9f77f7bbf7e93faabfbe9c483f0a9f75f
+ SOURCE="$SPELL-$REV_ID.tar.gz"
+ WEB_SITE="https://github.com/bitcoin/secp256k1";
+ SOURCE_URL=("$WEB_SITE/archive/$REV_ID.tar.gz")
+
SOURCE_HASH=sha512:efcf727dff366a436cb85593a3b743e156f0b770b770a31c90f134791ab25fa2c67341e4aafa24bcbacf6e8e5b19f6a7f2a47673516183a14387a872b75cbad1
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$REV_ID"
+ LICENSE[0]="MIT"
+ ENTERED=20210108
+ KEYWORDS=""
+ SHORT="Optimized C library for EC operations on curve secp256k1"
+cat << EOF
+Optimized C library for ECDSA signatures and secret/public key operations
+on curve secp256k1.
+
+This library is intended to be the highest quality publicly available library
+for cryptography on the secp256k1 curve. However, the primary focus of
+its development has been for usage in the Bitcoin system and usage unlike
+Bitcoin's may be less well tested, verified, or suffer from a less well
+thought out interface. Correct usage requires some care and consideration
+that the library is fit for your application's purpose.
+
+Features:
+* secp256k1 ECDSA signing/verification and key generation.
+* Additive and multiplicative tweaking of secret/public keys.
+* Serialization/parsing of secret keys, public keys, signatures.
+* Constant time, constant memory access signing and public key generation.
+* Derandomized ECDSA (via RFC6979 or with a caller provided function.)
+* Very efficient implementation.
+* Suitable for embedded systems.
+* Optional module for public key recovery.
+* Optional module for ECDH key exchange.
+EOF
diff --git a/crypto/secp256k1/HISTORY b/crypto/secp256k1/HISTORY
new file mode 100644
index 0000000..b58f5f2
--- /dev/null
+++ b/crypto/secp256k1/HISTORY
@@ -0,0 +1,2 @@
+2021-01-08 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, PRE_BUILD: spell created
diff --git a/crypto/secp256k1/PRE_BUILD b/crypto/secp256k1/PRE_BUILD
new file mode 100755
index 0000000..1b8efcf
--- /dev/null
+++ b/crypto/secp256k1/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+autoreconf -fis
diff --git a/net/bitcoin/BUILD b/net/bitcoin/BUILD
index c33eb4f..5de6e48 100755
--- a/net/bitcoin/BUILD
+++ b/net/bitcoin/BUILD
@@ -1,10 +1,6 @@
-if is_depends_enabled $SPELL qt4; then
- QTDIR="$QT4DIR"
-else
- QTDIR="$QT5DIR"
-fi &&
-PATH="$QTDIR/bin:$PATH" &&
-export PKG_CONFIG_PATH="$QTDIR/lib/pkgconfig" &&
+# Disable tests for faster build
+OPTS+=' --disable-tests --disable-gui-tests --disable-bench' &&
+
db48="$INSTALL_ROOT/opt/db48" &&
CPPFLAGS="$CPPFLAGS -I$db48/include" &&
LDFLAGS="$LDFLAGS -L$db48/lib" &&
diff --git a/net/bitcoin/DEPENDS b/net/bitcoin/DEPENDS
index 05b491e..f1221fc 100755
--- a/net/bitcoin/DEPENDS
+++ b/net/bitcoin/DEPENDS
@@ -1,5 +1,5 @@
depends -sub CXX gcc &&
-depends QT &&
+depends qtbase &&
depends boost &&
depends db48 &&
depends SSL &&
diff --git a/net/bitcoin/HISTORY b/net/bitcoin/HISTORY
index 52b6a01..ba28777 100644
--- a/net/bitcoin/HISTORY
+++ b/net/bitcoin/HISTORY
@@ -1,3 +1,7 @@
+2021-01-08 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS: removed qt4 support
+ * BUILD: Disabled tests
+
2019-01-21 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 0.17.1




  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (14e2d9861db30d3272e9a53f6417247bde41ac42), Ismael Luceno, 01/08/2021

Archive powered by MHonArc 2.6.24.

Top of Page