pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/ntl



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jun  8 13:42:38 UTC 2020

Modified Files:
        pkgsrc/math/ntl: Makefile PLIST buildlink3.mk distinfo
Added Files:
        pkgsrc/math/ntl/patches: patch-mfile
Removed Files:
        pkgsrc/math/ntl/patches: patch-aa patch-ab patch-ac

Log Message:
ntl: update to 11.4.3.

7 years of changes. For details see
https://www.shoup.net/ntl/doc/tour-changes.html

Remove libtool patch. This is too big to be maintained in
pkgsrc and should be upstreamed if deemed interesting enough.

Bump API requirements in bl3.mk because of this change, and
also because HElib (the only consumer of this library in pkgsrc)
needs the new version anyway and will be updated next.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/math/ntl/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/ntl/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/math/ntl/buildlink3.mk \
    pkgsrc/math/ntl/distinfo
cvs rdiff -u -r1.8 -r0 pkgsrc/math/ntl/patches/patch-aa
cvs rdiff -u -r1.2 -r0 pkgsrc/math/ntl/patches/patch-ab \
    pkgsrc/math/ntl/patches/patch-ac
cvs rdiff -u -r0 -r1.1 pkgsrc/math/ntl/patches/patch-mfile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/ntl/Makefile
diff -u pkgsrc/math/ntl/Makefile:1.35 pkgsrc/math/ntl/Makefile:1.36
--- pkgsrc/math/ntl/Makefile:1.35       Sun Jan 26 17:31:39 2020
+++ pkgsrc/math/ntl/Makefile    Mon Jun  8 13:42:38 2020
@@ -1,23 +1,21 @@
-# $NetBSD: Makefile,v 1.35 2020/01/26 17:31:39 rillig Exp $
+# $NetBSD: Makefile,v 1.36 2020/06/08 13:42:38 wiz Exp $
 
-DISTNAME=              ntl-6.0.0
-PKGREVISION=           6
+DISTNAME=              ntl-11.4.3
 CATEGORIES=            math devel
-MASTER_SITES=          http://www.shoup.net/ntl/
+MASTER_SITES=          https://www.shoup.net/ntl/
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              https://www.shoup.net/ntl/
 COMMENT=               C++ library for doing number theory
-
-MAKE_JOBS_SAFE=                no
+LICENSE=               gnu-lgpl-v2.1
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/src
-NO_CONFIGURE=          yes
+HAS_CONFIGURE=         yes
+CONFIGURE_ARGS+=       DEF_PREFIX=${PREFIX}
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            perl
-USE_LIBTOOL=           yes
 MAKE_FILE=             makefile
-INSTALLATION_DIRS=     lib
+TEST_TARGET=           check
 
 .include "../../devel/gmp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/ntl/PLIST
diff -u pkgsrc/math/ntl/PLIST:1.5 pkgsrc/math/ntl/PLIST:1.6
--- pkgsrc/math/ntl/PLIST:1.5   Mon Jan  2 23:42:28 2012
+++ pkgsrc/math/ntl/PLIST       Mon Jun  8 13:42:38 2020
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.5 2012/01/02 23:42:28 dholland Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/06/08 13:42:38 wiz Exp $
+include/NTL/ALL_FEATURES.h
+include/NTL/BasicThreadPool.h
+include/NTL/ConfigLog.h
 include/NTL/FFT.h
+include/NTL/FFT_impl.h
 include/NTL/FacVec.h
 include/NTL/GF2.h
 include/NTL/GF2E.h
@@ -8,27 +12,45 @@ include/NTL/GF2EXFactoring.h
 include/NTL/GF2X.h
 include/NTL/GF2XFactoring.h
 include/NTL/GF2XVec.h
+include/NTL/HAVE_ALIGNED_ARRAY.h
+include/NTL/HAVE_AVX.h
+include/NTL/HAVE_AVX2.h
+include/NTL/HAVE_AVX512F.h
+include/NTL/HAVE_BUILTIN_CLZL.h
+include/NTL/HAVE_CHRONO_TIME.h
+include/NTL/HAVE_COPY_TRAITS1.h
+include/NTL/HAVE_COPY_TRAITS2.h
+include/NTL/HAVE_FMA.h
+include/NTL/HAVE_LL_TYPE.h
+include/NTL/HAVE_MACOS_TIME.h
+include/NTL/HAVE_PCLMUL.h
+include/NTL/HAVE_POSIX_TIME.h
+include/NTL/HAVE_SSSE3.h
 include/NTL/HNF.h
 include/NTL/LLL.h
+include/NTL/Lazy.h
+include/NTL/LazyTable.h
+include/NTL/MatPrime.h
+include/NTL/PD.h
+include/NTL/PackageInfo.h
+include/NTL/REPORT_ALL_FEATURES.h
 include/NTL/RR.h
-include/NTL/SPMM_ASM.h
+include/NTL/SmartPtr.h
 include/NTL/WordVector.h
 include/NTL/ZZ.h
 include/NTL/ZZVec.h
 include/NTL/ZZX.h
 include/NTL/ZZXFactoring.h
+include/NTL/ZZ_limbs.h
 include/NTL/ZZ_p.h
 include/NTL/ZZ_pE.h
 include/NTL/ZZ_pEX.h
 include/NTL/ZZ_pEXFactoring.h
 include/NTL/ZZ_pX.h
 include/NTL/ZZ_pXFactoring.h
-include/NTL/c_lip.h
 include/NTL/config.h
 include/NTL/ctools.h
-include/NTL/def_config.h
 include/NTL/fileio.h
-include/NTL/g_lip.h
 include/NTL/gmp_aux.h
 include/NTL/lip.h
 include/NTL/lzz_p.h
@@ -59,7 +81,10 @@ include/NTL/pair_ZZ_pEX_long.h
 include/NTL/pair_ZZ_pX_long.h
 include/NTL/pair_lzz_pEX_long.h
 include/NTL/pair_lzz_pX_long.h
+include/NTL/pd_FFT.h
 include/NTL/quad_float.h
+include/NTL/sp_arith.h
+include/NTL/thread.h
 include/NTL/tools.h
 include/NTL/vec_GF2.h
 include/NTL/vec_GF2E.h
@@ -89,26 +114,56 @@ include/NTL/vec_xdouble.h
 include/NTL/vector.h
 include/NTL/version.h
 include/NTL/xdouble.h
-lib/libntl.la
+lib/libntl.a
+share/doc/NTL/BasicThreadPool.cpp.html
+share/doc/NTL/BasicThreadPool.txt
+share/doc/NTL/GF2.cpp.html
 share/doc/NTL/GF2.txt
+share/doc/NTL/GF2E.cpp.html
 share/doc/NTL/GF2E.txt
+share/doc/NTL/GF2EX.cpp.html
 share/doc/NTL/GF2EX.txt
+share/doc/NTL/GF2EXFactoring.cpp.html
 share/doc/NTL/GF2EXFactoring.txt
+share/doc/NTL/GF2X.cpp.html
 share/doc/NTL/GF2X.txt
+share/doc/NTL/GF2XFactoring.cpp.html
 share/doc/NTL/GF2XFactoring.txt
+share/doc/NTL/GF2XVec.cpp.html
 share/doc/NTL/GF2XVec.txt
+share/doc/NTL/HNF.cpp.html
 share/doc/NTL/HNF.txt
+share/doc/NTL/LLL.cpp.html
 share/doc/NTL/LLL.txt
+share/doc/NTL/Lazy.cpp.html
+share/doc/NTL/Lazy.txt
+share/doc/NTL/LazyTable.cpp.html
+share/doc/NTL/LazyTable.txt
+share/doc/NTL/RR.cpp.html
 share/doc/NTL/RR.txt
+share/doc/NTL/SmartPtr.cpp.html
+share/doc/NTL/SmartPtr.txt
+share/doc/NTL/ZZ.cpp.html
 share/doc/NTL/ZZ.txt
+share/doc/NTL/ZZVec.cpp.html
 share/doc/NTL/ZZVec.txt
+share/doc/NTL/ZZX.cpp.html
 share/doc/NTL/ZZX.txt
+share/doc/NTL/ZZXFactoring.cpp.html
 share/doc/NTL/ZZXFactoring.txt
+share/doc/NTL/ZZ_limbs.cpp.html
+share/doc/NTL/ZZ_limbs.txt
+share/doc/NTL/ZZ_p.cpp.html
 share/doc/NTL/ZZ_p.txt
+share/doc/NTL/ZZ_pE.cpp.html
 share/doc/NTL/ZZ_pE.txt
+share/doc/NTL/ZZ_pEX.cpp.html
 share/doc/NTL/ZZ_pEX.txt
+share/doc/NTL/ZZ_pEXFactoring.cpp.html
 share/doc/NTL/ZZ_pEXFactoring.txt
+share/doc/NTL/ZZ_pX.cpp.html
 share/doc/NTL/ZZ_pX.txt
+share/doc/NTL/ZZ_pXFactoring.cpp.html
 share/doc/NTL/ZZ_pXFactoring.txt
 share/doc/NTL/arrow1.gif
 share/doc/NTL/arrow2.gif
@@ -117,28 +172,49 @@ share/doc/NTL/config.txt
 share/doc/NTL/conversions.txt
 share/doc/NTL/copying.txt
 share/doc/NTL/flags.txt
+share/doc/NTL/lzz_p.cpp.html
 share/doc/NTL/lzz_p.txt
+share/doc/NTL/lzz_pE.cpp.html
 share/doc/NTL/lzz_pE.txt
+share/doc/NTL/lzz_pEX.cpp.html
 share/doc/NTL/lzz_pEX.txt
+share/doc/NTL/lzz_pEXFactoring.cpp.html
 share/doc/NTL/lzz_pEXFactoring.txt
+share/doc/NTL/lzz_pX.cpp.html
 share/doc/NTL/lzz_pX.txt
+share/doc/NTL/lzz_pXFactoring.cpp.html
 share/doc/NTL/lzz_pXFactoring.txt
+share/doc/NTL/mat_GF2.cpp.html
 share/doc/NTL/mat_GF2.txt
+share/doc/NTL/mat_GF2E.cpp.html
 share/doc/NTL/mat_GF2E.txt
+share/doc/NTL/mat_RR.cpp.html
 share/doc/NTL/mat_RR.txt
+share/doc/NTL/mat_ZZ.cpp.html
 share/doc/NTL/mat_ZZ.txt
+share/doc/NTL/mat_ZZ_p.cpp.html
 share/doc/NTL/mat_ZZ_p.txt
+share/doc/NTL/mat_ZZ_pE.cpp.html
 share/doc/NTL/mat_ZZ_pE.txt
+share/doc/NTL/mat_lzz_p.cpp.html
 share/doc/NTL/mat_lzz_p.txt
+share/doc/NTL/mat_lzz_pE.cpp.html
 share/doc/NTL/mat_lzz_pE.txt
+share/doc/NTL/mat_poly_ZZ.cpp.html
 share/doc/NTL/mat_poly_ZZ.txt
+share/doc/NTL/mat_poly_ZZ_p.cpp.html
 share/doc/NTL/mat_poly_ZZ_p.txt
+share/doc/NTL/mat_poly_lzz_p.cpp.html
 share/doc/NTL/mat_poly_lzz_p.txt
+share/doc/NTL/matrix.cpp.html
 share/doc/NTL/matrix.txt
 share/doc/NTL/names.txt
+share/doc/NTL/pair.cpp.html
 share/doc/NTL/pair.txt
+share/doc/NTL/quad_float.cpp.html
 share/doc/NTL/quad_float.txt
 share/doc/NTL/sedscript.txt
+share/doc/NTL/tools.cpp.html
 share/doc/NTL/tools.txt
 share/doc/NTL/tour-ack.html
 share/doc/NTL/tour-changes.html
@@ -148,6 +224,7 @@ share/doc/NTL/tour-ex3.html
 share/doc/NTL/tour-ex4.html
 share/doc/NTL/tour-ex5.html
 share/doc/NTL/tour-ex6.html
+share/doc/NTL/tour-ex7.html
 share/doc/NTL/tour-examples.html
 share/doc/NTL/tour-gf2x.html
 share/doc/NTL/tour-gmp.html
@@ -155,21 +232,31 @@ share/doc/NTL/tour-impl.html
 share/doc/NTL/tour-intro.html
 share/doc/NTL/tour-modules.html
 share/doc/NTL/tour-roadmap.html
-share/doc/NTL/tour-stdcxx.html
 share/doc/NTL/tour-struct.html
 share/doc/NTL/tour-time.html
 share/doc/NTL/tour-tips.html
 share/doc/NTL/tour-unix.html
 share/doc/NTL/tour-win.html
 share/doc/NTL/tour.html
+share/doc/NTL/vec_GF2.cpp.html
 share/doc/NTL/vec_GF2.txt
+share/doc/NTL/vec_GF2E.cpp.html
 share/doc/NTL/vec_GF2E.txt
+share/doc/NTL/vec_RR.cpp.html
 share/doc/NTL/vec_RR.txt
+share/doc/NTL/vec_ZZ.cpp.html
 share/doc/NTL/vec_ZZ.txt
+share/doc/NTL/vec_ZZ_p.cpp.html
 share/doc/NTL/vec_ZZ_p.txt
+share/doc/NTL/vec_ZZ_pE.cpp.html
 share/doc/NTL/vec_ZZ_pE.txt
+share/doc/NTL/vec_lzz_p.cpp.html
 share/doc/NTL/vec_lzz_p.txt
+share/doc/NTL/vec_lzz_pE.cpp.html
 share/doc/NTL/vec_lzz_pE.txt
+share/doc/NTL/vector.cpp.html
 share/doc/NTL/vector.txt
+share/doc/NTL/version.cpp.html
 share/doc/NTL/version.txt
+share/doc/NTL/xdouble.cpp.html
 share/doc/NTL/xdouble.txt

Index: pkgsrc/math/ntl/buildlink3.mk
diff -u pkgsrc/math/ntl/buildlink3.mk:1.9 pkgsrc/math/ntl/buildlink3.mk:1.10
--- pkgsrc/math/ntl/buildlink3.mk:1.9   Sat May 18 18:32:19 2013
+++ pkgsrc/math/ntl/buildlink3.mk       Mon Jun  8 13:42:38 2020
@@ -1,14 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.9 2013/05/18 18:32:19 agc Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2020/06/08 13:42:38 wiz Exp $
 
 BUILDLINK_TREE+=       ntl
 
 .if !defined(NTL_BUILDLINK3_MK)
 NTL_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.ntl+=    ntl>=6.0.0
-BUILDLINK_ABI_DEPENDS.ntl+=    ntl>=6.0.0
+BUILDLINK_API_DEPENDS.ntl+=    ntl>=11.4.3
 BUILDLINK_PKGSRCDIR.ntl?=      ../../math/ntl
 
+BUILDLINK_DEPMETHOD.ntl?=      build
+
 .include "../../devel/gmp/buildlink3.mk"
 .endif # NTL_BUILDLINK3_MK
 
Index: pkgsrc/math/ntl/distinfo
diff -u pkgsrc/math/ntl/distinfo:1.9 pkgsrc/math/ntl/distinfo:1.10
--- pkgsrc/math/ntl/distinfo:1.9        Tue Nov  3 23:33:37 2015
+++ pkgsrc/math/ntl/distinfo    Mon Jun  8 13:42:38 2020
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 23:33:37 agc Exp $
+$NetBSD: distinfo,v 1.10 2020/06/08 13:42:38 wiz Exp $
 
-SHA1 (ntl-6.0.0.tar.gz) = ee71b1c6a94f34b8a3c226502a0a0c6c2d1bc3f9
-RMD160 (ntl-6.0.0.tar.gz) = 2be966b4f2ecb7cd957ca42b41836459b9a29bd9
-SHA512 (ntl-6.0.0.tar.gz) = fa1f1745e75c7588ca5af437648ab0844281f5c6e6a22a3bcaf0409792f3d4c70f0b8050823d90d19673ebcecae18ce6d39e6c9b1fec9f2d79f87b788b58d261
-Size (ntl-6.0.0.tar.gz) = 714741 bytes
-SHA1 (patch-aa) = 4f07d991930fa8bac5cf586693cce0b3e8679527
-SHA1 (patch-ab) = b91b052c88ea49a4138723259a312c43148737cc
-SHA1 (patch-ac) = 99c32692cd27ea63e966c3fe1df0b8a6373f5018
+SHA1 (ntl-11.4.3.tar.gz) = f4c7dc1fd448b499ef98549e8702b320ba6a7830
+RMD160 (ntl-11.4.3.tar.gz) = 362e62354c160daeda3af7395df79385b0c582f5
+SHA512 (ntl-11.4.3.tar.gz) = 26515ed73c8e74d0ff8bc161101f1b815f2c23e4bd633cc426f6da2741c6d8f43ad4f8df2cb7ad915475933599e0ee01cc360e75569f6f5d49cb5e5eae37b3f5
+Size (ntl-11.4.3.tar.gz) = 2274421 bytes
+SHA1 (patch-mfile) = c40f7c85a6a5719ab30c4423f296d121b25018db

Added files:

Index: pkgsrc/math/ntl/patches/patch-mfile
diff -u /dev/null pkgsrc/math/ntl/patches/patch-mfile:1.1
--- /dev/null   Mon Jun  8 13:42:38 2020
+++ pkgsrc/math/ntl/patches/patch-mfile Mon Jun  8 13:42:38 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-mfile,v 1.1 2020/06/08 13:42:38 wiz Exp $
+
+Add missing rpath.
+
+--- mfile.orig 2020-01-04 18:49:16.000000000 +0000
++++ mfile
+@@ -88,7 +88,7 @@ GMP_LIBDIR=@{GMP_LIBDIR}
+ # directory containing libgmp.a if using GMP 
+ 
+ GMP_OPT_INCDIR=@{GMPI}-I$(GMP_INCDIR) # GMPI
+-GMP_OPT_LIBDIR=@{GMPL}-L$(GMP_LIBDIR) # GMPL
++GMP_OPT_LIBDIR=@{GMPL}$(COMPILER_RPATH_FLAG)$(GMP_LIBDIR) -L$(GMP_LIBDIR) # GMPL
+ GMP_OPT_LIB=@{GMP}-lgmp # GMP
+ # uncomment these if using GMP
+ 



Home | Main Index | Thread Index | Old Index