diff options
author | mspo <mspo@pkgsrc.org> | 2017-09-26 14:34:23 +0000 |
---|---|---|
committer | mspo <mspo@pkgsrc.org> | 2017-09-26 14:34:23 +0000 |
commit | f3c3ebfc07ea9038b61f98c977e3eb4abb38d298 (patch) | |
tree | 18a33e714b59bb973ef6849868d12579a3c34fb7 /math/ltm | |
parent | a13a809cc294d3ba076cd609b8ed22d1c53fff44 (diff) | |
download | pkgsrc-f3c3ebfc07ea9038b61f98c977e3eb4abb38d298.tar.gz |
Update ltm (libtommath) to 1.0.1 to get MP_GEN_RANDOM_MAX etc
v1.0.1
-- Dmitry Kovalenko provided fixes to mp_add_d() and mp_init_copy()
-- Matt Johnston contributed some improvements to mp_div_2d(),
mp_exptmod_fast(), mp_mod() and mp_mulmod()
-- Julien Nabet provided a fix to the error handling in mp_init_multi()
-- Ben Gardner provided a fix regarding usage of reserved keywords
-- Fixed mp_rand() to fill the correct number of bits
-- Fixed mp_invmod()
-- Use the same 64-bit detection code as in libtomcrypt
-- Correct usage of DESTDIR, PREFIX, etc. when installing the library
-- Francois Perrad updated all the perl scripts to an actual perl version
Diffstat (limited to 'math/ltm')
-rw-r--r-- | math/ltm/Makefile | 12 | ||||
-rw-r--r-- | math/ltm/distinfo | 11 | ||||
-rw-r--r-- | math/ltm/patches/patch-makefile.include | 15 |
3 files changed, 11 insertions, 27 deletions
diff --git a/math/ltm/Makefile b/math/ltm/Makefile index c2fa897b5cc..81551ae26f1 100644 --- a/math/ltm/Makefile +++ b/math/ltm/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.21 2017/02/05 12:28:14 bsiegert Exp $ +# $NetBSD: Makefile,v 1.22 2017/09/26 14:34:23 mspo Exp $ -DISTNAME= ltm-1.0 +DISTNAME= ltm-1.0.1 PKGREVISION= 1 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GITHUB:=libtom/} @@ -13,7 +13,7 @@ HOMEPAGE= http://libtom.net/ COMMENT= Number theoretic multiple-precision integer library LICENSE= public-domain -WRKSRC= ${WRKDIR}/libtommath-1.0 +WRKSRC= ${WRKDIR}/libtommath-1.0.1 USE_LIBTOOL= yes MAKE_FILE= makefile.shared MAKE_ENV+= LIBPATH=${PREFIX}/lib @@ -28,8 +28,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/tommath_superclass.h ${DESTDIR}${PREFIX}/include ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libtommath.la \ ${DESTDIR}${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/bn.pdf ${DESTDIR}${PREFIX}/share/doc/ltm - ${INSTALL_DATA} ${WRKSRC}/poster.pdf ${DESTDIR}${PREFIX}/share/doc/ltm - ${INSTALL_DATA} ${WRKSRC}/tommath.pdf ${DESTDIR}${PREFIX}/share/doc/ltm + ${INSTALL_DATA} ${WRKSRC}/doc/bn.pdf ${DESTDIR}${PREFIX}/share/doc/ltm + ${INSTALL_DATA} ${WRKSRC}/doc/poster.pdf ${DESTDIR}${PREFIX}/share/doc/ltm + ${INSTALL_DATA} ${WRKSRC}/doc/tommath.pdf ${DESTDIR}${PREFIX}/share/doc/ltm .include "../../mk/bsd.pkg.mk" diff --git a/math/ltm/distinfo b/math/ltm/distinfo index c3c97eb30ea..202f5dd8927 100644 --- a/math/ltm/distinfo +++ b/math/ltm/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.8 2017/08/14 15:24:11 jlam Exp $ +$NetBSD: distinfo,v 1.9 2017/09/26 14:34:23 mspo Exp $ -SHA1 (ltm-1.0.tar.xz) = 6293cf8bbc2051c6756f682ee3a4f50a0bdb7f80 -RMD160 (ltm-1.0.tar.xz) = c132d12690de64d532fa04e627bceb44cac40fb6 -SHA512 (ltm-1.0.tar.xz) = da2ced516106fb056373d97f9ac443805c57ebeb0a33982c14703d6dd8c3925e49aeb690b790ba91768ed5d41f5875dc50a3d3435dbb4088cfa3fddee9162082 -Size (ltm-1.0.tar.xz) = 2191540 bytes -SHA1 (patch-makefile.include) = fb48375698cffe7c22d1a5044595a147b70dbaf9 +SHA1 (ltm-1.0.1.tar.xz) = f24ee181d0edd5383afa39728f138354632e2cf3 +RMD160 (ltm-1.0.1.tar.xz) = 34cc4e294f1593a03ec959e386260cf1c459a151 +SHA512 (ltm-1.0.1.tar.xz) = f98f7b0f91268e898803478fd52f578f476d378d096a25e48fa2e291159dc89bd1a6dc7d8c5c2254df840c731e5d009ec9728b72190318b6d1ba2916f5c66fb6 +Size (ltm-1.0.1.tar.xz) = 2210120 bytes diff --git a/math/ltm/patches/patch-makefile.include b/math/ltm/patches/patch-makefile.include deleted file mode 100644 index e7a29d704de..00000000000 --- a/math/ltm/patches/patch-makefile.include +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-makefile.include,v 1.1 2017/08/14 15:24:11 jlam Exp $ - ---- makefile.include.orig 2016-02-03 13:07:27.000000000 -0500 -+++ makefile.include 2017-08-12 17:08:23.000000000 -0400 -@@ -10,9 +10,7 @@ - default: ${LIBNAME} - - # Compiler and Linker Names --ifndef PREFIX -- PREFIX= --endif -+PREFIX= - - ifeq ($(CC),cc) - CC = $(PREFIX)gcc |