summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-10-04 09:29:46 +0000
committerwiz <wiz@pkgsrc.org>2016-10-04 09:29:46 +0000
commit3bc622f3a7e514642dfa6826d1e2fb377cab1218 (patch)
tree28b5cbb2c5823cdffd7ea30c95869b7a912174fb /math
parentfae53368c054f30d35c9b758c738a81a48fb9c93 (diff)
downloadpkgsrc-3bc622f3a7e514642dfa6826d1e2fb377cab1218.tar.gz
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 (limited to 'math')
-rw-r--r--math/ltm/Makefile14
-rw-r--r--math/ltm/distinfo11
-rw-r--r--math/ltm/patches/patch-aa39
3 files changed, 12 insertions, 52 deletions
diff --git a/math/ltm/Makefile b/math/ltm/Makefile
index fc726b7529a..97a568daf15 100644
--- a/math/ltm/Makefile
+++ b/math/ltm/Makefile
@@ -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
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 --git a/math/ltm/distinfo b/math/ltm/distinfo
index 2f791776033..3e939e79ec6 100644
--- a/math/ltm/distinfo
+++ b/math/ltm/distinfo
@@ -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 --git a/math/ltm/patches/patch-aa b/math/ltm/patches/patch-aa
deleted file mode 100644
index ed40d49d287..00000000000
--- a/math/ltm/patches/patch-aa
+++ /dev/null
@@ -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)