aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2018-11-26 16:20:12 +0800
committerale <ale@FreeBSD.org>2018-11-26 16:20:12 +0800
commit4789112897f839b7eac4374121786a6661c76924 (patch)
treea9118f703b54cc37780474a2f85982f0e5ed1ddf /math
parentf3efde03cd421d027b15ccd448e392884b72f630 (diff)
downloadfreebsd-ports-gnome-4789112897f839b7eac4374121786a6661c76924.tar.gz
freebsd-ports-gnome-4789112897f839b7eac4374121786a6661c76924.tar.zst
freebsd-ports-gnome-4789112897f839b7eac4374121786a6661c76924.zip
Update to latest snapshot and include module "recovery".
PR: 233456 Submitted by: robert.ayrapetyan@gmail.com
Diffstat (limited to 'math')
-rw-r--r--math/secp256k1/Makefile11
-rw-r--r--math/secp256k1/distinfo6
-rw-r--r--math/secp256k1/pkg-plist1
3 files changed, 12 insertions, 6 deletions
diff --git a/math/secp256k1/Makefile b/math/secp256k1/Makefile
index ce1663752565..2bd823260e5a 100644
--- a/math/secp256k1/Makefile
+++ b/math/secp256k1/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= secp256k1
-PORTVERSION= 0.1.20180531
+PORTVERSION= 0.1.20181106
CATEGORIES= math security java
MAINTAINER= ale@FreeBSD.org
@@ -12,10 +12,11 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf libtool gmake
+
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= bitcoin-core
-GH_TAGNAME= 1e6f1f5
+GH_TAGNAME= 314a61d
OPTIONS_DEFINE= GMP JAVA
OPTIONS_DEFAULT=GMP JAVA
@@ -29,7 +30,8 @@ JAVA_DESC= Build JNI bindings
JAVA_CONFIGURE_ENABLE=jni
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-experimental --enable-module-ecdh
+CONFIGURE_ARGS= --enable-experimental --enable-module-ecdh \
+ --enable-endomorphism --enable-module-recovery
INSTALL_TARGET= install-strip
.include <bsd.port.options.mk>
@@ -44,4 +46,7 @@ USE_JAVA= yes
CONFIGURE_ENV+= JAVA_HOME="${JAVA_HOME}"
.endif
+check regression-test test: build
+ cd ${WRKSRC} && ./tests
+
.include <bsd.port.mk>
diff --git a/math/secp256k1/distinfo b/math/secp256k1/distinfo
index 47650f0818f0..4b59d8f725cb 100644
--- a/math/secp256k1/distinfo
+++ b/math/secp256k1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1539245561
-SHA256 (bitcoin-core-secp256k1-0.1.20180531-1e6f1f5_GH0.tar.gz) = de3e0aa69b3d0c9bdad609a77df1a7b9d5b00c1213f15af3378ddd3bd603365e
-SIZE (bitcoin-core-secp256k1-0.1.20180531-1e6f1f5_GH0.tar.gz) = 163173
+TIMESTAMP = 1543141762
+SHA256 (bitcoin-core-secp256k1-0.1.20181106-314a61d_GH0.tar.gz) = 047468d374f644d7bcdb6448405c7c9696b8997e31e7fb03a51fb26585371add
+SIZE (bitcoin-core-secp256k1-0.1.20181106-314a61d_GH0.tar.gz) = 163734
diff --git a/math/secp256k1/pkg-plist b/math/secp256k1/pkg-plist
index c2677f3d2bef..119c74e1eab9 100644
--- a/math/secp256k1/pkg-plist
+++ b/math/secp256k1/pkg-plist
@@ -1,5 +1,6 @@
include/secp256k1.h
include/secp256k1_ecdh.h
+include/secp256k1_recovery.h
lib/libsecp256k1.a
lib/libsecp256k1.so
lib/libsecp256k1.so.0