head 1.40; access; symbols pkgsrc-2023Q4:1.40.0.12 pkgsrc-2023Q4-base:1.40 pkgsrc-2023Q3:1.40.0.10 pkgsrc-2023Q3-base:1.40 pkgsrc-2023Q2:1.40.0.8 pkgsrc-2023Q2-base:1.40 pkgsrc-2023Q1:1.40.0.6 pkgsrc-2023Q1-base:1.40 pkgsrc-2022Q4:1.40.0.4 pkgsrc-2022Q4-base:1.40 pkgsrc-2022Q3:1.40.0.2 pkgsrc-2022Q3-base:1.40 pkgsrc-2022Q2:1.39.0.6 pkgsrc-2022Q2-base:1.39 pkgsrc-2022Q1:1.39.0.4 pkgsrc-2022Q1-base:1.39 pkgsrc-2021Q4:1.39.0.2 pkgsrc-2021Q4-base:1.39 pkgsrc-2021Q3:1.38.0.4 pkgsrc-2021Q3-base:1.38 pkgsrc-2021Q2:1.38.0.2 pkgsrc-2021Q2-base:1.38 pkgsrc-2021Q1:1.37.0.6 pkgsrc-2021Q1-base:1.37 pkgsrc-2020Q4:1.37.0.4 pkgsrc-2020Q4-base:1.37 pkgsrc-2020Q3:1.37.0.2 pkgsrc-2020Q3-base:1.37 pkgsrc-2020Q2:1.36.0.2 pkgsrc-2020Q2-base:1.36 pkgsrc-2020Q1:1.35.0.2 pkgsrc-2020Q1-base:1.35 pkgsrc-2019Q4:1.34.0.6 pkgsrc-2019Q4-base:1.34 pkgsrc-2019Q3:1.34.0.2 pkgsrc-2019Q3-base:1.34 pkgsrc-2019Q2:1.33.0.8 pkgsrc-2019Q2-base:1.33 pkgsrc-2019Q1:1.33.0.6 pkgsrc-2019Q1-base:1.33 pkgsrc-2018Q4:1.33.0.4 pkgsrc-2018Q4-base:1.33 pkgsrc-2018Q3:1.33.0.2 pkgsrc-2018Q3-base:1.33 pkgsrc-2018Q2:1.32.0.18 pkgsrc-2018Q2-base:1.32 pkgsrc-2018Q1:1.32.0.16 pkgsrc-2018Q1-base:1.32 pkgsrc-2017Q4:1.32.0.14 pkgsrc-2017Q4-base:1.32 pkgsrc-2017Q3:1.32.0.12 pkgsrc-2017Q3-base:1.32 pkgsrc-2017Q2:1.32.0.8 pkgsrc-2017Q2-base:1.32 pkgsrc-2017Q1:1.32.0.6 pkgsrc-2017Q1-base:1.32 pkgsrc-2016Q4:1.32.0.4 pkgsrc-2016Q4-base:1.32 pkgsrc-2016Q3:1.32.0.2 pkgsrc-2016Q3-base:1.32 pkgsrc-2016Q2:1.31.0.10 pkgsrc-2016Q2-base:1.31 pkgsrc-2016Q1:1.31.0.8 pkgsrc-2016Q1-base:1.31 pkgsrc-2015Q4:1.31.0.6 pkgsrc-2015Q4-base:1.31 pkgsrc-2015Q3:1.31.0.4 pkgsrc-2015Q3-base:1.31 pkgsrc-2015Q2:1.31.0.2 pkgsrc-2015Q2-base:1.31 pkgsrc-2015Q1:1.30.0.8 pkgsrc-2015Q1-base:1.30 pkgsrc-2014Q4:1.30.0.6 pkgsrc-2014Q4-base:1.30 pkgsrc-2014Q3:1.30.0.4 pkgsrc-2014Q3-base:1.30 pkgsrc-2014Q2:1.30.0.2 pkgsrc-2014Q2-base:1.30 pkgsrc-2014Q1:1.29.0.8 pkgsrc-2014Q1-base:1.29 pkgsrc-2013Q4:1.29.0.6 pkgsrc-2013Q4-base:1.29 pkgsrc-2013Q3:1.29.0.4 pkgsrc-2013Q3-base:1.29 pkgsrc-2013Q2:1.29.0.2 pkgsrc-2013Q2-base:1.29 pkgsrc-2013Q1:1.27.0.4 pkgsrc-2013Q1-base:1.27 pkgsrc-2012Q4:1.27.0.2 pkgsrc-2012Q4-base:1.27 pkgsrc-2012Q3:1.26.0.2 pkgsrc-2012Q3-base:1.26 pkgsrc-2012Q2:1.25.0.6 pkgsrc-2012Q2-base:1.25 pkgsrc-2012Q1:1.25.0.4 pkgsrc-2012Q1-base:1.25 pkgsrc-2011Q4:1.25.0.2 pkgsrc-2011Q4-base:1.25 pkgsrc-2011Q3:1.23.0.14 pkgsrc-2011Q3-base:1.23 pkgsrc-2011Q2:1.23.0.12 pkgsrc-2011Q2-base:1.23 TNF:1.1.1 pkgsrc-2011Q1:1.23.0.10 pkgsrc-2011Q1-base:1.23 pkgsrc-2010Q4:1.23.0.8 pkgsrc-2010Q4-base:1.23 pkgsrc-2010Q3:1.23.0.6 pkgsrc-2010Q3-base:1.23 pkgsrc-2010Q2:1.23.0.4 pkgsrc-2010Q2-base:1.23 pkgsrc-2010Q1:1.23.0.2 pkgsrc-2010Q1-base:1.23 pkgsrc-2009Q4:1.22.0.2 pkgsrc-2009Q4-base:1.22 pkgsrc-2009Q3:1.21.0.30 pkgsrc-2009Q3-base:1.21 pkgsrc-2009Q2:1.21.0.28 pkgsrc-2009Q2-base:1.21 pkgsrc-2009Q1:1.21.0.26 pkgsrc-2009Q1-base:1.21 pkgsrc-2008Q4:1.21.0.24 pkgsrc-2008Q4-base:1.21 pkgsrc-2008Q3:1.21.0.22 pkgsrc-2008Q3-base:1.21 cube-native-xorg:1.21.0.20 cube-native-xorg-base:1.21 pkgsrc-2008Q2:1.21.0.18 pkgsrc-2008Q2-base:1.21 cwrapper:1.21.0.16 pkgsrc-2008Q1:1.21.0.14 pkgsrc-2008Q1-base:1.21 pkgsrc-2007Q4:1.21.0.12 pkgsrc-2007Q4-base:1.21 pkgsrc-2007Q3:1.21.0.10 pkgsrc-2007Q3-base:1.21 pkgsrc-2007Q2:1.21.0.8 pkgsrc-2007Q2-base:1.21 pkgsrc-2007Q1:1.21.0.6 pkgsrc-2007Q1-base:1.21 pkgsrc-2006Q4:1.21.0.4 pkgsrc-2006Q4-base:1.21 pkgsrc-2006Q3:1.21.0.2 pkgsrc-2006Q3-base:1.21 pkgsrc-2006Q2:1.20.0.2 pkgsrc-2006Q2-base:1.20 pkgsrc-2006Q1:1.19.0.2 pkgsrc-2006Q1-base:1.19 pkgsrc-2005Q4:1.18.0.2 pkgsrc-2005Q4-base:1.18 pkgsrc-2005Q3:1.17.0.4 pkgsrc-2005Q3-base:1.17 pkgsrc-2005Q2:1.17.0.2 pkgsrc-2005Q2-base:1.17 pkgsrc-2005Q1:1.16.0.4 pkgsrc-2005Q1-base:1.16 pkgsrc-2004Q4:1.16.0.2 pkgsrc-2004Q4-base:1.16 pkgsrc-2004Q3:1.15.0.4 pkgsrc-2004Q3-base:1.15 pkgsrc-2004Q2:1.15.0.2 pkgsrc-2004Q2-base:1.15 pkgsrc-2004Q1:1.14.0.2 pkgsrc-2004Q1-base:1.14 pkgsrc-2003Q4:1.13.0.2 pkgsrc-2003Q4-base:1.13 netbsd-1-6-1:1.7.0.6 netbsd-1-6-1-base:1.7 netbsd-1-6:1.7.0.8 netbsd-1-6-RELEASE-base:1.7 pkgviews:1.7.0.4 pkgviews-base:1.7 buildlink2:1.7.0.2 buildlink2-base:1.7 netbsd-1-5-PATCH003:1.7 netbsd-1-5-PATCH001:1.6 pkgsrc-base:1.1.1.1; locks; strict; comment @# @; 1.40 date 2022.06.28.11.34.37; author wiz; state Exp; branches; next 1.39; commitid D2UoJrTHpoHEANJD; 1.39 date 2021.10.24.07.56.31; author wen; state Exp; branches; next 1.38; commitid t51k4rN4hUnrl2eD; 1.38 date 2021.05.24.19.52.56; author wiz; state Exp; branches; next 1.37; commitid qokaiStTApGMcrUC; 1.37 date 2020.08.31.18.10.11; author wiz; state Exp; branches; next 1.36; commitid 7zxRbfOkDOoxbfmC; 1.36 date 2020.06.08.13.42.38; author wiz; state Exp; branches; next 1.35; commitid qriyQDvBC8UnqqbC; 1.35 date 2020.01.26.17.31.39; author rillig; state Exp; branches; next 1.34; commitid 4fBBvoSLJaGd0eUB; 1.34 date 2019.08.11.13.21.44; author wiz; state Exp; branches; next 1.33; commitid Ifet9Pg6Qt99ZByB; 1.33 date 2018.08.22.09.45.36; author wiz; state Exp; branches; next 1.32; commitid YLub8g3ofvFGb6PA; 1.32 date 2016.07.09.06.38.33; author wiz; state Exp; branches; next 1.31; commitid dlqnocGpOoXV2Cdz; 1.31 date 2015.06.12.10.50.28; author wiz; state Exp; branches; next 1.30; commitid B4JmCfaVUbiY38py; 1.30 date 2014.05.29.23.36.53; author wiz; state Exp; branches; next 1.29; commitid laryHfkCalgYtuCx; 1.29 date 2013.05.31.12.41.22; author wiz; state Exp; branches; next 1.28; commitid hIeXGcx6VfKHwMRw; 1.28 date 2013.05.18.18.32.19; author agc; state Exp; branches; next 1.27; commitid kXXmlX7FUqzMT8Qw; 1.27 date 2012.10.03.21.56.36; author wiz; state Exp; branches; next 1.26; 1.26 date 2012.09.11.23.04.25; author asau; state Exp; branches; next 1.25; 1.25 date 2012.01.02.23.42.27; author dholland; state Exp; branches; next 1.24; 1.24 date 2011.12.09.01.21.15; author dholland; state Exp; branches; next 1.23; 1.23 date 2010.03.24.19.43.27; author asau; state Exp; branches; next 1.22; 1.22 date 2009.12.03.17.48.58; author joerg; state Exp; branches; next 1.21; 1.21 date 2006.09.09.02.43.10; author obache; state Exp; branches; next 1.20; 1.20 date 2006.06.04.11.27.44; author joerg; state Exp; branches; next 1.19; 1.19 date 2006.03.04.21.30.04; author jlam; state Exp; branches; next 1.18; 1.18 date 2005.09.28.20.52.24; author rillig; state Exp; branches; next 1.17; 1.17 date 2005.04.11.21.46.30; author tv; state Exp; branches; next 1.16; 1.16 date 2004.10.03.00.12.57; author tv; state Exp; branches; next 1.15; 1.15 date 2004.04.14.00.00.19; author snj; state Exp; branches; next 1.14; 1.14 date 2004.01.20.12.20.05; author agc; state Exp; branches; next 1.13; 1.13 date 2003.07.17.21.47.50; author grant; state Exp; branches; next 1.12; 1.12 date 2003.06.02.01.18.29; author jschauma; state Exp; branches; next 1.11; 1.11 date 2003.05.11.22.16.10; author jmc; state Exp; branches; next 1.10; 1.10 date 2003.04.30.00.14.00; author jtb; state Exp; branches; next 1.9; 1.9 date 2003.03.29.12.41.43; author jmmv; state Exp; branches; next 1.8; 1.8 date 2003.03.02.09.04.03; author jtb; state Exp; branches; next 1.7; 1.7 date 2001.06.20.10.19.27; author jtb; state Exp; branches; next 1.6; 1.6 date 2001.05.03.22.16.51; author jtb; state Exp; branches; next 1.5; 1.5 date 2001.04.14.21.43.53; author jtb; state Exp; branches; next 1.4; 1.4 date 2001.04.13.00.45.04; author jtb; state Exp; branches; next 1.3; 1.3 date 2001.02.17.18.22.31; author wiz; state Exp; branches; next 1.2; 1.2 date 2001.01.29.21.45.43; author jtb; state Exp; branches; next 1.1; 1.1 date 2001.01.26.23.46.21; author jtb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.01.26.23.46.21; author jtb; state Exp; branches; next ; desc @@ 1.40 log @*: recursive bump for perl 5.36 @ text @# $NetBSD: Makefile,v 1.39 2021/10/24 07:56:31 wen Exp $ DISTNAME= ntl-11.5.1 PKGREVISION= 1 CATEGORIES= math devel MASTER_SITES= https://www.shoup.net/ntl/ MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://www.shoup.net/ntl/ COMMENT= C++ library for doing number theory LICENSE= gnu-lgpl-v2.1 WRKSRC= ${WRKDIR}/${DISTNAME}/src HAS_CONFIGURE= yes CONFIGURE_ARGS+= DEF_PREFIX=${PREFIX} USE_LANGUAGES= c c++ USE_TOOLS+= perl MAKE_FILE= makefile TEST_TARGET= check .include "../../devel/gmp/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.39 log @Update to 11.5.1 Upstream changes: 2021.06.23: Changes between NTL 11.5.0 and 11.5.1 Fixed bug that prevented compilation on IBM Z. 2021.06.20: Changes between NTL 11.4.4 and 11.5.0 Added a new configuration option NTL_RANDOM_AES256CTR. The default is off. Configure with NTL_RANDOM_AES256CTR=on to replace the default ChaCha20 Pseudo-Random Number Generator (PRNG) with 256-bit AES counter mode. On certain plaforms (modern x86 and IBM System/390x), special instructions are exploited to improve performance. Using AES in place of ChaCha may break inter-operability of applications that depend on the behavior of the PRNG. Using AES in place of ChaCha may affect the performance positively or negatively. On IBM System/390x, there is a marked performance improvement. On x86 there may be a moderate performance improvement or degredation. On any other platforms, where there is no hardware support for AES (or none that is exploited by NTL), there will likely be a marked performance degredation. Thanks to Patrick Steuer for contributing this code. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2021/05/24 19:52:56 wiz Exp $ d4 1 @ 1.38 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2020/08/31 18:10:11 wiz Exp $ d3 1 a3 2 DISTNAME= ntl-11.4.3 PKGREVISION= 2 @ 1.37 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2020/06/08 13:42:38 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.36 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2020/01/26 17:31:39 rillig Exp $ d4 1 @ 1.35 log @all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2019/08/11 13:21:44 wiz Exp $ d3 1 a3 2 DISTNAME= ntl-6.0.0 PKGREVISION= 6 d5 1 a5 1 MASTER_SITES= http://www.shoup.net/ntl/ d10 1 a10 2 MAKE_JOBS_SAFE= no d13 2 a14 1 NO_CONFIGURE= yes a16 1 USE_LIBTOOL= yes d18 1 a18 1 INSTALLATION_DIRS= lib @ 1.34 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2018/08/22 09:45:36 wiz Exp $ d9 1 a9 1 HOMEPAGE= http://www.shoup.net/ntl/ @ 1.33 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2016/07/09 06:38:33 wiz Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.32 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2015/06/12 10:50:28 wiz Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.31 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2014/05/29 23:36:53 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.30 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2013/05/31 12:41:22 wiz Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.29 log @Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2013/05/18 18:32:19 agc Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.28 log @Update math/ntl to version 6.0.0 Differences from previous version (5.5.2): 2013.02.15: Changes between NTL 5.5.2 and 6.0 Replaced the old template-like macros for vectors, matrices, and pairs with true template classes: Vec, Mat, and Pair. For backwards compatibilty, all the names that were used in previous versions (e.g., vec_ZZ_p, mat_ZZ_p) have been replaced with appropriate typedefs. For many years, I resisted the temptation of using templates, because compiler support was very inconsistent. But that no longer seems to be the case. This change, while rather sweeping, should create very few, if any, incompatibilities with existing software. The biggest issue would be for software that uses the old template-like macros: such macro invocations can simply be replaced with appropriate typedefs. Made the conversion interface more complete and uniform. Also, using template notation, one can and should now write conv(a) instead of to_ZZ(a) (for backward compatibility, all the old names to_XXX are still there, but many new conversions are not available under these old names). There are many new conversions provided. Moreover, whenever there is a conversion from a ring R to a ring S, there is a corresponding, coefficiet-wise conversion from the polynomial ring R[X] to the polynomial ring R[X]. In addition, using the template mechanism, there are generic conversions for vectors and matrices. For example, if there is a conversion from S to T, then there is automatically a corresponding component-wise conversion from Vec to Vec. Introduced a more general mechanism for accessing GF2's in packed structures via indexing (see the class ref_GF2 in the GF2 module). Employed ideas from David Harvey to make the single-precision FFT faster (about twice as fast in many cases). This speeds up many higher-level operations. Fixed all known bugs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2012/10/03 21:56:36 wiz Exp $ d4 1 @ 1.27 log @Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2012/09/11 23:04:25 asau Exp $ d3 1 a3 2 DISTNAME= ntl-5.5.2 PKGREVISION= 1 @ 1.26 log @"user-destdir" is default these days @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2012/01/02 23:42:27 dholland Exp $ d4 1 @ 1.25 log @Update from 5.3.1 to 5.5.2 to improve the chances of building. (Leaf package, so ok during freeze.) Upstream changelog: 2009.08.14: Changes between NTL 5.5.1 and 5.5.2 New routines MulAddTo and MulSubFrom for computing x += a*b and x -= a*b, where x and a are ZZ's and b is a ZZ or a long. In the case where b is a long, this may be much faster than writing mul(t, a, b); add(x, x, t). See ZZ.txt for details. These new routines are used in a number of places in NTL to get faster algorithms (for example, the LLL routine). Fixed a relatively benign indexing bug in GF2EX discovered by Berend-Benjamin Tams using the valgrind tool. 2009.05.05: Changes between NTL 5.5 and 5.5.1 If using GMP (via either NTL_GMP_LIP or NTL_GMP_HACK), then the new version (4.3.0) of GMP implements the XGCD functionality differently, so that the coefficients do not always agree with those returned by the classical extended Euclidean algorithm. This version of NTL corrects the coefficients, so that the "classical" coefficients are always produced, regardless of GMP's implementation. This version of NTL also works around a bug in GMP 4.3.0's XGCD code (although that bug should be fixed in GMP 4.3.1). The configure script has been slightly modified: there is a new configuration variable DEF_PREFIX, whose value can be used to set PREFIX, GMP_PREFIX, and GF2X_PREFIX in one stroke. Also, the (somewhat esoteric) configure variables GMP_LIBDIR, GMP_INCDIR, GF2X_LIBDIR, and GF2X_INCDIR have slightly different meanings now. 2009.04.08: Changes between NTL 5.4.2 and 5.5 Added the ability to generate a shared library (with help from Tim Abbott). Details. Fixed some standardization issues (with help from Tim Abbot): default location of installed documentation files now conforms to standards; use of EOF now conforms to standards. Added a callback mechanism to NTL's error reporting function. See ErrorCallback in tools.txt. Added support for the gf2x library for speeding up arithmetic in GF2X (with help from Emmanuel Thom?). Details. In conjuction with the above, I also changed the GF2X so that it works better with very large polynomials: large blocks of memory are released, recursive HalfGCD algorithms are used for large polynomials. Fixed a bug in void TraceMod(zz_p& x, const zz_pX& a, const zz_pXModulus& F) (reported by Luca De Feo). Fixed a performance issue in various versions of SetCoeff (reported by Luca De Feo). Fixed the declaration of mat_zz_p transpose(const mat_zz_p& a) (reported by Benoit Lacelle). 2008.03.05: Changes between NTL 5.4.1 and 5.4.2 Fixed a bug in the sub(ZZ_pEX, ZZ_pE, ZZ_pEX) and sub(zz_pEX, zz_pE, zz_pEX) routines (reported by Charanjit Jutla). Under certain circumstances, these could outout wrong answers. 2007.05.09: Changes between NTL 5.4 and 5.4.1 Fixed rounding bug in expm1 (reported by Paul Zimmermann). Fixed memory leak in several LLL routines (reported by Friedrich Bahr). Fixed infinite loop in several LLL routines (this only occurred on machines, like x86, with double rounding). Improved GF2X timing tests (suggested by Paul Zimmermann). 2005.03.24: Changes between NTL 5.3.2 and 5.4 By default, NTL now compiles in ISO mode (using namespaces, etc.). You can always revert to traditional mode by unsetting the flag NTL_STD_CXX (either pass NTL_STD_CXX=off to the configure script, or manually edit the config.h file). Some bug fixes: The sqrt and log1p routines for the RR class would produce incorrectly rounded results in certain circumstances (although this only affected the relative error of the result very marginally). The SqrRootPrec routine for the RR class could not be called, because it was defined incorrectly. Thanks to Paul Zimmermann for finding (and fixing) these bugs! Paul has also validated NTL's RR class by cross-checking it with the MPFR library. Some performance enhancements: Added a new MulModPrecon inline function for computing (a * b) % n for single precision numbers, when b and n are fixed for several computations. On some platforms this can be twice as fast or more than the old MulMod2 routine. This indirectly affects a lot of computations that are done via homomorphic imaging (polynomial multiplication over zz_p, ZZ_p, and ZZ, matrix computations over zz_p and ZZ). Rewrote the small prime FFT to take advantage of the new MulModPrecon, and to be more cache friendly. Improved the performance of the GF2X multiplication routine. On some platforms, it can be twice as fast as the old one. Thanks (again) to Paul Zimmermann for suggesting some of these improvements and supplying some of the code. Miscellany: Rewrote several of the installation scripts in Perl (the old shell scripts were getting too messy to maintain). However, the syntax for all of the command-line interfaces remains identical. 2004.05.21: Changes between NTL 5.3.1 and 5.3.2 Some bug fixes. Re-wrote SqrRootMod to make it run faster. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2011/12/09 01:21:15 dholland Exp $ a10 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.24 log @Not MAKE_JOBS_SAFE. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2010/03/24 19:43:27 asau Exp $ d3 1 a3 2 DISTNAME= ntl-5.3.1 PKGREVISION= 2 d18 1 @ 1.23 log @Recursive revision bump for GMP update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2009/12/03 17:48:58 joerg Exp $ d14 2 @ 1.22 log @Always call libtool with the right --mode option. DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2006/09/09 02:43:10 obache Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.21 log @Rename variable MAKEFILE to MAKE_FILE. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2006/06/04 11:27:44 joerg Exp $ d12 2 d19 1 @ 1.20 log @Uses C++. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2006/03/04 21:30:04 jlam Exp $ d16 1 a16 1 MAKEFILE= makefile @ 1.19 log @Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2005/09/28 20:52:24 rillig Exp $ d14 1 @ 1.18 log @Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE, NO_BUILD, USE_LIBTOOL. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2005/04/11 21:46:30 tv Exp $ d8 1 a8 1 MAINTAINER= tech-pkg@@NetBSD.org @ 1.17 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2004/10/03 00:12:57 tv Exp $ d13 1 a13 1 NO_CONFIGURE= # defined @ 1.16 log @Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2004/04/14 00:00:19 snj Exp $ a15 1 USE_BUILDLINK3= yes @ 1.15 log @Convert to buildlink3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2004/01/20 12:20:05 agc Exp $ d4 1 @ 1.14 log @Move WRKSRC definition away from the first paragraph in a Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2003/07/17 21:47:50 grant Exp $ d15 1 a15 1 USE_BUILDLINK2= yes d17 1 a17 1 .include "../../devel/gmp/buildlink2.mk" @ 1.13 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2003/06/02 01:18:29 jschauma Exp $ a3 1 WRKSRC= ${WRKDIR}/${DISTNAME}/src d11 1 @ 1.12 log @Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages. Should anybody feel like they could be the maintainer for any of thewe packages, please adjust. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2003/05/11 22:16:10 jmc Exp $ d8 1 a8 1 MAINTAINER= tech-pkg@@netbsd.org @ 1.11 log @Including gmp's buildlink2.mk won't do much without USE_BUILDLINK2 enabled... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2003/04/30 00:14:00 jtb Exp $ d8 1 a8 1 MAINTAINER= packages@@netbsd.org @ 1.10 log @Remove superfluous DEPENDS line - inclusion of gmp/buildlink2.mk takes care of that. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2003/03/29 12:41:43 jmmv Exp $ d15 1 @ 1.9 log @Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2003/03/02 09:04:03 jtb Exp $ a10 2 DEPENDS+= gmp>=3.1.1:../../devel/gmp @ 1.8 log @Update to version 5.3.1. Changes between NTL 5.3 and 5.3.1 * Fixed a bug affecting the BuildIrred routines for ZZ_pEX and zz_pEX. Changes between NTL 5.2 and 5.3 * Minimized and isolated constructs that do not adhere to C/C++ standards, and added flags NTL_CLEAN_INT and NTL_CLEAN_PTR which force stricter compliance with these standards. * Added functions IsWhiteSpace, CharToIntVal, and IntValToChar to the tools module. * Added methods allocated, position1 to generic vector classes. * Added method allocated to the class vec_GF2. * Added conversion routines from unsigned int/long to int, long, float, and double. * Added routines AddPrec, SubPrec, etc., to the RR module, and declared the practice of directly assigning to the variable RR::prec obsolete. * Fixed a number of minor bugs. Changes between NTL 5.1a and 5.2 * Implemented Mark van Hoeij's new algorithm for factorining polynomials with rational coefficients. This new algorithm is much more efficient than the previous algorithm used by NTL, and is the default (one can switch back to the old algorithm with a run-time switch). * Added routines LLL_plus that are just like the all-integer LLL routines, except that they return the exact values of the squared lengths of the Gramm-Schmidt basis vectors. This is useful in implementing van Hoeij's algorithm. * Made a small change to quad_float.c to make it compile under gcc version 3.0 without errors. This is the one place in NTL where I resort to just a little assmebly code (but only on x86/Linux platforms), and wouldn't you know it, this is the one place where gcc 3.0 had problems. * Made a small change to the procedure for generating a distribution, so that now all files in the "tar" file comprising the distribution come without any annoyingly excessive access control restrictions. * Changed the version numbering scheme so that it is now closer to "standard practice". This is version "5.2". Any small bug fixes to this version will be named "5.2.1", "5.2.2", etc. Also, macros are now defined so that the numerical components of the version number are available to the programmer. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2001/06/20 10:19:27 jtb Exp $ d4 1 a12 2 WRKSRC= ${WRKDIR}/${DISTNAME}/src @ 1.7 log @Update of ntl to 5.1a. Change build system to use libtool for shared libraries. Changes between NTL 5.0c and 5.1a Some minor fixes and additions. Completely backward compatible. * Added a routine LatticeSolve() for finding integer solutions to linear systems of integer equations. * Modified the stragey used by the LLL() and image() routines in the LLL package to deal with linear dependencies. The new strategy guarantees better worst-case bounds on the sizes of intermediate values. I'm not sure if it will have any serious practical impact, though. * Added some "partial ISO modes" so that one can use some of the features of Standard C++, even if ones compiler does not yet support all of the features. * Bug fix: routine determnant() in mat_GF2.h was not visible to the linker because of a typo in mat_GF2.c. * Made a "smarter" script for selecting the GetTime() function. This fixes an installation problem on Cygwin/Windows 95 platforms. I hope it doesn't create more problems than it solves, though. * Added some extra documentation for installation under Windows/MS Visual C++. * Changed some names like c_lip.c to c_lip_impl.h. This should avoid some potential installation problems. * Throw away first 256-bytes of arc4 streams to improve quality of the pseudo-random number generator. This may change the precise behavior of some programs. * Other minor, internal modifications. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2001/05/03 22:16:51 jtb Exp $ d3 1 a3 1 DISTNAME= ntl-5.1a d19 1 a19 3 GMP_PREFIX_DEFAULT= ${LOCALBASE} EVAL_PREFIX+= GMP_PREFIX=gmp a20 1 @ 1.6 log @Add defaults for all instances of EVAL_PREFIX. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2001/04/14 21:43:53 jtb Exp $ d3 1 a3 1 DISTNAME= ntl-5.0c d15 2 a16 2 NO_CONFIGURE= #defined @ 1.5 log @Change MAINTAINER section to packages@@netbsd.org @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2001/04/13 00:45:04 jtb Exp $ d19 1 @ 1.4 log @Use BSD_INSTALL_* in preference to passing INSTALL_* through MAKE_ENV. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2001/02/17 18:22:31 wiz Exp $ d7 1 a7 1 MAINTAINER= jtb@@netbsd.org @ 1.3 log @Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2001/01/29 21:45:43 jtb Exp $ d14 3 a16 1 NO_CONFIGURE= YES d18 1 a19 2 MAKE_ENV+= "INSTALL_DATA=${INSTALL_DATA}" MAKE_ENV+= "INSTALL_DATA_DIR=${INSTALL_DATA_DIR}" @ 1.2 log @Needs gmp>=3.1.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2001/01/26 23:46:21 jtb Exp $ d9 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d10 1 a10 1 DEPENDS+= gmp-[0-9]*:../../devel/gmp @ 1.1.1.1 log @Initial import of new "ntl" package: C++ library for doing number theory NTL is a high-performance, portable C++ library providing data structures and algorithms for arbitrary length integers; for vectors, matrices, and polynomials over the integers and over finite fields; and for arbitrary precision floating point arithmetic. NTL provides high quality implementations of state-of-the-art algorithms for: o arbitrary length integer arithmetic and arbitrary precision floating point arithmetic; o polynomial arithmetic over the integers and finite fields including basic arithmetic, polynomial factorization, irreducibility testing, computation of minimal polynomials, traces, norms, and more; o lattice basis reduction, including very robust and fast implementations of Schnorr-Euchner, block Korkin-Zolotarev reduction, and the new Schnorr-Horner pruning heuristic for block Korkin-Zolotarev; o basic linear algebra over the integers, finite fields, and arbitrary precision floating point numbers. NTL is free software, and may be used according to the terms of the GNU General Public License. @ text @@