git: 00c4ca4a7bec - main - math/secp256k1: update to 0.1.20220126 version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Jan 2022 12:22:56 UTC
The branch main has been updated by ale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=00c4ca4a7bec19fc54e061a4e7db9ec8e9a83e97
commit 00c4ca4a7bec19fc54e061a4e7db9ec8e9a83e97
Author: Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2022-01-31 09:08:41 +0000
Commit: Alex Dupre <ale@FreeBSD.org>
CommitDate: 2022-01-31 12:22:46 +0000
math/secp256k1: update to 0.1.20220126 version
---
math/secp256k1/Makefile | 27 ++++++---------------------
math/secp256k1/distinfo | 6 +++---
math/secp256k1/pkg-plist | 3 +++
3 files changed, 12 insertions(+), 24 deletions(-)
diff --git a/math/secp256k1/Makefile b/math/secp256k1/Makefile
index 5e79a91c9748..88f2e17712cb 100644
--- a/math/secp256k1/Makefile
+++ b/math/secp256k1/Makefile
@@ -1,7 +1,7 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
PORTNAME= secp256k1
-PORTVERSION= 0.1.20190225
+PORTVERSION= 0.1.20220126
CATEGORIES= math security java
MAINTAINER= ale@FreeBSD.org
@@ -10,33 +10,18 @@ COMMENT= Optimized C library for EC operations on curve secp256k1
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf libtool gmake
+USES= autoreconf libtool
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= bitcoin-core
-GH_TAGNAME= aa15154
-
-OPTIONS_DEFINE= GMP JAVA
-OPTIONS_DEFAULT=GMP JAVA
-
-GMP_DESC= Use GMP bignum implementation
-GMP_USES= localbase:ldflags
-GMP_LIB_DEPENDS=libgmp.so:math/gmp
-GMP_CONFIGURE_ON=--with-bignum=gmp
-GMP_CONFIGURE_OFF=--with-bignum=no
-
-JAVA_DESC= Build JNI bindings
-JAVA_CONFIGURE_ENABLE=jni
-JAVA_USE= JAVA=yes
-JAVA_CONFIGURE_ENV=JAVA_HOME="${JAVA_HOME}"
+GH_TAGNAME= d8a2463
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-experimental --enable-module-ecdh \
- --enable-endomorphism --enable-module-recovery
+ --enable-module-recovery --enable-module-extrakeys \
+ --enable-module-schnorrsig
INSTALL_TARGET= install-strip
-
-do-test:
- cd ${WRKSRC} && ./tests
+TEST_TARGET= check
.include <bsd.port.mk>
diff --git a/math/secp256k1/distinfo b/math/secp256k1/distinfo
index c07a7e19f57a..8c892f8ea1ae 100644
--- a/math/secp256k1/distinfo
+++ b/math/secp256k1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551689201
-SHA256 (bitcoin-core-secp256k1-0.1.20190225-aa15154_GH0.tar.gz) = c6f77ed8215ed5a2b07869f29b09b2817dc8a2c07da503a27971170ea17e68f0
-SIZE (bitcoin-core-secp256k1-0.1.20190225-aa15154_GH0.tar.gz) = 166606
+TIMESTAMP = 1643618680
+SHA256 (bitcoin-core-secp256k1-0.1.20220126-d8a2463_GH0.tar.gz) = ce882bebaf0b8f61181657f17d68a2a79ad82b68822571d2d09a9c7948492359
+SIZE (bitcoin-core-secp256k1-0.1.20220126-d8a2463_GH0.tar.gz) = 2436629
diff --git a/math/secp256k1/pkg-plist b/math/secp256k1/pkg-plist
index 119c74e1eab9..caaa7cd81eb9 100644
--- a/math/secp256k1/pkg-plist
+++ b/math/secp256k1/pkg-plist
@@ -1,6 +1,9 @@
include/secp256k1.h
include/secp256k1_ecdh.h
+include/secp256k1_extrakeys.h
+include/secp256k1_preallocated.h
include/secp256k1_recovery.h
+include/secp256k1_schnorrsig.h
lib/libsecp256k1.a
lib/libsecp256k1.so
lib/libsecp256k1.so.0