pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/ltm Updated ltm to 1.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f2afa368b1eb
branches: trunk
changeset: 353387:f2afa368b1eb
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Oct 04 09:29:46 2016 +0000
description:
Updated ltm to 1.0.
Feb 5th, 2016
v1.0
-- Bump to 1.0
-- Dirkjan Bussink provided a faster version of mp_expt_d()
-- Moritz Lenz contributed a fix to mp_mod()
and provided mp_get_long() and mp_set_long()
-- Fixed bugs in mp_read_radix(), mp_radix_size
Thanks to shameister, Gerhard R,
-- Christopher Brown provided mp_export() and mp_import()
-- Improvements in the code of mp_init_copy()
Thanks to ramkumarkoppu,
-- lomereiter provided mp_balance_mul()
-- Alexander Bostr?m from the heimdal project contributed patches to
mp_prime_next_prime() and mp_invmod() and added a mp_isneg() macro
-- Fix build issues for Linux x32 ABI
-- Added mp_get_long_long() and mp_set_long_long()
-- Carlin provided a patch to use arc4random() instead of rand()
on platforms where it is supported
-- Karel Miko provided mp_sqrtmod_prime()
diffstat:
math/ltm/Makefile | 14 +++++++-------
math/ltm/distinfo | 11 +++++------
math/ltm/patches/patch-aa | 39 ---------------------------------------
3 files changed, 12 insertions(+), 52 deletions(-)
diffs (88 lines):
diff -r 7d87cb70e205 -r f2afa368b1eb math/ltm/Makefile
--- a/math/ltm/Makefile Tue Oct 04 08:16:13 2016 +0000
+++ b/math/ltm/Makefile Tue Oct 04 09:29:46 2016 +0000
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.18 2014/12/27 00:00:26 mef Exp $
-#
+# $NetBSD: Makefile,v 1.19 2016/10/04 09:29:46 wiz Exp $
-DISTNAME= ltm-0.42.0
-PKGREVISION= 1
+DISTNAME= ltm-1.0
CATEGORIES= math
-MASTER_SITES= http://libtom.net/files/
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libtom/}
+GITHUB_PROJECT= libtommath
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://libtom.net/
COMMENT= Number theoretic multiple-precision integer library
LICENSE= public-domain
-WRKSRC= ${WRKDIR}/libtommath-0.42.0
+WRKSRC= ${WRKDIR}/libtommath-1.0
USE_LIBTOOL= yes
MAKE_FILE= makefile.shared
BUILD_TARGET= default
diff -r 7d87cb70e205 -r f2afa368b1eb math/ltm/distinfo
--- a/math/ltm/distinfo Tue Oct 04 08:16:13 2016 +0000
+++ b/math/ltm/distinfo Tue Oct 04 09:29:46 2016 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 23:33:36 agc Exp $
+$NetBSD: distinfo,v 1.7 2016/10/04 09:29:46 wiz Exp $
-SHA1 (ltm-0.42.0.tar.bz2) = 9b192701cf62b85e9bd65fbb4d622d04cfa5ee0d
-RMD160 (ltm-0.42.0.tar.bz2) = 9994d60d7e847a066715d8c644ce9b125932bf92
-SHA512 (ltm-0.42.0.tar.bz2) = c5bb26a260477de4e9abee9f65735754efa69c39c89caa3a06dd8ad3eda9d27fff687a432e91e3410b2bcc6a9e3d59921b6cdf6ca7f1ca6c69ed199a002e5790
-Size (ltm-0.42.0.tar.bz2) = 1968961 bytes
-SHA1 (patch-aa) = 97729991d4c6541d726c0fb1b565794388816ba1
+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
diff -r 7d87cb70e205 -r f2afa368b1eb math/ltm/patches/patch-aa
--- a/math/ltm/patches/patch-aa Tue Oct 04 08:16:13 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2011/03/10 09:52:25 drochner Exp $
-
---- makefile.shared.orig 2010-07-23 14:27:20.000000000 +0000
-+++ makefile.shared
-@@ -3,7 +3,7 @@
- #Tom St Denis
- VERSION=0:41
-
--CC = libtool --mode=compile --tag=CC gcc
-+#CC = libtool --mode=compile --tag=CC gcc
-
- CFLAGS += -I./ -Wall -W -Wshadow -Wsign-compare
-
-@@ -48,8 +48,8 @@ HEADERS=tommath.h tommath_class.h tommat
- #INCPATH-The directory to install the header files for libtommath.
- #DATAPATH-The directory to install the pdf docs.
- DESTDIR=
--LIBPATH=/usr/lib
--INCPATH=/usr/include
-+LIBPATH=${PREFIX}/lib
-+INCPATH=${PREFIX}/include
- DATAPATH=/usr/share/doc/libtommath/pdf
-
- OBJECTS=bncore.o bn_mp_init.o bn_mp_clear.o bn_mp_exch.o bn_mp_grow.o bn_mp_shrink.o \
-@@ -82,8 +82,12 @@ bn_mp_to_signed_bin_n.o bn_mp_to_unsigne
-
- objs: $(OBJECTS)
-
--$(LIBNAME): $(OBJECTS)
-- libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
-+.SUFFIXES: .lo
-+.c.lo:
-+ ${LIBTOOL} --mode=compile ${CC} -c ${CFLAGS} $< -o $@
-+
-+$(LIBNAME): $(OBJECTS:.o=.lo)
-+ libtool --mode=link ${CC} *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
-
- install: $(LIBNAME)
- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
Home |
Main Index |
Thread Index |
Old Index