aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-03-30 19:12:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-03-30 19:12:04 +0000
commitfa10c34878fcdb0d1b3a46ef5f1ec15287071ff5 (patch)
tree8041d5b5f2b88e07755d7c461b756669827f04a8
parentda815c61263866fd4a4669f9ec527bd156595a62 (diff)
downloadports-fa10c34878fcdb0d1b3a46ef5f1ec15287071ff5.tar.gz
ports-fa10c34878fcdb0d1b3a46ef5f1ec15287071ff5.zip
Update to 3.7.2
Notes
Notes: svn path=/head/; revision=569572
-rw-r--r--security/nettle/Makefile14
-rw-r--r--security/nettle/distinfo6
-rw-r--r--security/nettle/pkg-plist29
3 files changed, 37 insertions, 12 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 7ae7ed67bd29..10764107b1d3 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nettle
-PORTVERSION= 3.6
+PORTVERSION= 3.7.2
CATEGORIES= security
MASTER_SITES= GNU \
https://www.lysator.liu.se/~nisse/archive/
@@ -23,11 +23,10 @@ USES= compiler:c11 gmake localbase makeinfo pathfix
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= M4="/usr/bin/m4 -g"
GNU_CONFIGURE= yes
+TEST_TARGET= check
USE_LDCONFIG= yes
INFO= nettle
-PORTDOCS= NEWS README nettle.html nettle.pdf
-PORTEXAMPLES= *.c *.h
OPTIONS_DEFINE= DOCS EXAMPLES
@@ -38,6 +37,7 @@ CONFIGURE_ENV+= CCPIC=-fPIC
.endif
post-patch:
+ @${REINPLACE_CMD} -e '/SUBDIRS = / s| examples||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/libdir=/ s|lib32|lib|' ${WRKSRC}/configure
.if ${ARCH} == "mips64"
@${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
@@ -47,11 +47,11 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} NEWS README nettle.html nettle.pdf ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/security/nettle/distinfo b/security/nettle/distinfo
index e222dc8ac294..5d9308e5c04d 100644
--- a/security/nettle/distinfo
+++ b/security/nettle/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588256838
-SHA256 (nettle-3.6.tar.gz) = d24c0d0f2abffbc8f4f34dcf114b0f131ec3774895f3555922fe2f40f3d5e3f1
-SIZE (nettle-3.6.tar.gz) = 2288173
+TIMESTAMP = 1616863436
+SHA256 (nettle-3.7.2.tar.gz) = 8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162
+SIZE (nettle-3.7.2.tar.gz) = 2382309
diff --git a/security/nettle/pkg-plist b/security/nettle/pkg-plist
index 38b707ce259e..1c870090c412 100644
--- a/security/nettle/pkg-plist
+++ b/security/nettle/pkg-plist
@@ -63,6 +63,7 @@ include/nettle/sha1.h
include/nettle/sha2.h
include/nettle/sha3.h
include/nettle/siv-cmac.h
+include/nettle/streebog.h
include/nettle/twofish.h
include/nettle/umac.h
include/nettle/version.h
@@ -71,10 +72,34 @@ include/nettle/yarrow.h
lib/libhogweed.a
lib/libhogweed.so
lib/libhogweed.so.6
-lib/libhogweed.so.6.0
+lib/libhogweed.so.6.3
lib/libnettle.a
lib/libnettle.so
lib/libnettle.so.8
-lib/libnettle.so.8.0
+lib/libnettle.so.8.3
libdata/pkgconfig/hogweed.pc
libdata/pkgconfig/nettle.pc
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/nettle.html
+%%PORTDOCS%%%%DOCSDIR%%/nettle.pdf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/base16dec.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/base16enc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/base64dec.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/base64enc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ecc-benchmark.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hogweed-benchmark.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/io.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/io.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nettle-benchmark.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nettle-openssl.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/random-prime.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read_rsa_key.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsa-decrypt.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsa-encrypt.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsa-keygen.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsa-session.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsa-sign.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsa-verify.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timing.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timing.h