Commit Graph

21 Commits

Author SHA1 Message Date
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Michael Tremer
6cf219c427 Drop support for i586
This patch removes support for i586 according to the decision being
taken over a year ago.

It removes the architecture from the build system and removes all
required hacks and other quirks that have been necessary before.

There is no need to ship any changed files to the remaining
architectures as the removed code branches have not been used.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-04 23:27:26 +01:00
Arne Fitzenreiter
530688abf2 gmp: fix build on arm 32bit
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-08 10:10:33 +00:00
Adolf Belka
2dda3d5e5d gmp: Update to 6.2.1
- Update from 6.2.0 to 6.2.1
- Update of rootfiles
- Changelog
   2020-11-13 Marco Bodrato <bodrato@mail.dm.unipi.it>
	* Version 6.2.1 released.
	* gmp-h.in (__GNU_MP_VERSION_PATCHLEVEL): Bump version info.
	* Makefile.am (LIBGMP_LT_*, LIBGMPXX_LT_*): Bump revision info.
   2020-11-10 Marco Bodrato <bodrato@mail.dm.unipi.it>
	* configure.ac (fat_path): Add bd1, goldmont,silvermont for CPUVEC.
	* mpn/x86_64/fat/fat.c: Add more CPUs.
	* mpn/x86/fat/fat.c: Add more CPUs.
   2020-11-01 Marco Bodrato <bodrato@mail.dm.unipi.it>
	* configure.ac: X86_{,64_}PATTERN: GMP_ASM_COFF_TYPE for all ABIs;
	* mpn/x86_64/x86_64-defs.m4 (COFF_TYPE): Copy from mpn/x86/x86-defs.m4
	as suggested by Jeremy Drake.
	* tests/misc/t-locale.c (nl_langinfo): No redefine on __TERMUX__,
	spotted by Sanselme and Glisse.
	* configure.ac: Consider *-*-msys as *-*-mingw* (except on arm* |
	aarch64*), as suggested by Ralph Peterson.
	* Makefile.am (EXTRA_DIST): Add mini-gmp/ChangeLog.
   2020-10-30 Marco Bodrato <bodrato@mail.dm.unipi.it>
	* tests/mpf/t-get_d_2exp.c: Test also the case zero.
	* tests/mpz/t-get_d.c: Likewise.
	* tests/mpf/t-trunc.c: Use mpf_size.
	* tests/mpf/t-conv.c: Some more tests on zero.
   2020-10-25 Marco Bodrato <bodrato@mail.dm.unipi.it>
	* configfsf.guess: Updated to version 2020-10-22, from gnulib.
   2020-10-17 Marco Bodrato <bodrato@mail.dm.unipi.it>
	* tests/devel/Makefile.am: Remove redundancies.
	* tests/mpz/io.c: Test out-of-range bases for mpz_out_str.
   2020-10-15  Torbjörn Granlund  <tg@gmplib.org>
	* configure.ac: Recognise zen3.
	* config.guess: Recognise zen3.
   2020-10-14 Marco Bodrato <bodrato@mail.dm.unipi.it>
	* doc/gmp.texi (Number sequences): Remove redundancy. (spotted: TonyMcC)
	* configfsf.sub: Updated to version 2020-10-13, from gnulib.
	* configfsf.guess: Updated to version 2020-09-19, from gnulib.
   2020-10-06  Niels Möller  <nisse@lysator.liu.se>
	* Makefile.am: Better support for make check-mini-gmp on wine or cygwin.
   2020-09-22  Torbjörn Granlund  <tg@gmplib.org>
	* tests/mpz/t-mul.c: Print GMP_CHECK_FFT.
	* longlong.h (x86 umul_ppmm): Fix typo.
   2020-09-21  Torbjörn Granlund  <tg@gmplib.org>
	* mpz/n_pow_ui.c: Detect and report overflow.
   2020-07-04  Torbjörn Granlund  <tg@gmplib.org>
	* mpn/arm64/bdiv_q_1.asm: Use LEA_HI/LEA_LO
	* mpn/arm64/invert_limb.asm: Likewise.
	* mpn/arm64/arm64-defs.m4: New file.
	* mpn/arm64/darwin.m4: New file.
	* configure.ac: Use arm64/arm64-defs.m4 and arm64/darwin.m4.
   2020-06-20  Torbjörn Granlund  <tg@gmplib.org>
	* longlong.h (add_sssaaaa arm32/arm64): Generalise allowed operands
	when using adds for sub and subs for add, while disallowing 0.
	(sub_ddmmss ppc64): Disallow 0 when using addic.  Also disallow
	constants for register-only middle addic operand.
	(C add_sssaaaa and sub_ddmmss): Use more temps to make operation more
	well-defined.
   2020-06-18  Torbjörn Granlund  <tg@gmplib.org>
	* tests/devel/gen-test-longlong_h.c: New file.
	* tests/devel/Makefile.am: Compile and use gen-test-longlong_h.c.
   2020-06-10  Torbjörn Granlund  <tg@gmplib.org>
	* configure.ac: Recognise armcortexa55.
   2020-05-25  Torbjörn Granlund  <tg@gmplib.org>
	* tests/cxx/t-assign.cc: Use reference parameter for 'catch'.
	* tests/cxx/t-constr.cc: Likewise.
	* tests/cxx/t-ops2z.cc: Likewise.
	* tests/cxx/t-rand.cc: Likewise.
	* tests/cxx/t-do-exceptions-work-at-all-with-this-compiler.cc: Likewise.
	* tune/speed.c: Undo 2020-05-24 _POSIX_C_SOURCE change, it breaks on
	many broken systems.
	* tune/freq.c: Likewise.
	* tune/time.c: Likewise.
	* tune/tuneup.c: Likewise.
	* tests/devel/try.c: Revert 2020-05-24 changes.
   2020-05-21  Torbjörn Granlund  <tg@gmplib.org>
	* tune/freq.c (_POSIX_C_SOURCE): Define.
	* tune/tuneup.c (print_define_with_speedup): Fall back from snprintf to
	sprintf for C90.
	(_POSIX_C_SOURCE): Define.
	(max_opsize): Set by #define instead of const size_t to please C90.
	(n_measurements): Likewise.
	(speed_mpn_pre_set_str): Adhere to C90 declaration rules.
	* tune/tune-gcd-p.c: Back out 2020-01-10 change to comply to C90.
	* tune/time.c (speed_endtime): Cast printf args to right type.
	(_POSIX_C_SOURCE): Define.
	* tune/speed.h (CACHE_LINE_SIZE): Do #undef before defining.
	(SPEED_ROUTINE_MPN_GCD_1): Provide dummy first argument for standard
	compliance.
	(SPEED_ROUTINE_MPN_HGCD2): Adhere to C90 declaration rules.
	* tune/speed.c (main): Cast printf args to right type.
	(_POSIX_C_SOURCE): Define.
	* tests/mpz/reuse.c: Avoid using non-standard function fileno().
	* tests/spinner.c: Likewise.
	* tests/mpz/convert.c (str_casecmp): New function.
	(main): Use it instead of non-standard strcasecmp.
	* tests/misc.c (tests_start): Fall back from snprintf to sprintf for
	C90.
	* tests/devel/try.c: Avoid getpagesize and use POSIX sysconf instead.
	(_POSIX_C_SOURCE): Define.
	* mpn/generic/mod_1_1.c: Don't use C++ comments.
	* mpn/generic/get_d.c: Add clarifying parens.
   2020-05-18  Torbjörn Granlund  <tg@gmplib.org>
	* mpn/generic/toom_interpolate_12pts.c (DO_mpn_addlsh_n): Define only
	when needed.
	* mpn/generic/toom_interpolate_16pts.c: Likewise.
   2020-05-17 Marco Bodrato <bodrato@mail.dm.unipi.it>
	* mpz/cmp.c: Avoid overflow on int even for huge sizes.
	* mpq/cmp.c: Likewise.
	* mpn/generic/mul_fft.c (mpn_fft_mul_modF_K):
	Fully handle carry propagation in basecase multiplication.
   2020-05-16  Torbjörn Granlund  <tg@gmplib.org>
	* mpn/generic/hgcd2.c (tabp): Combine several undefined tabp
	variable definitions with a macro.
	* mpn/generic/gcd_22.c: Avoid C99 constructs.
   2020-05-12  Torbjörn Granlund  <tg@gmplib.org>
	* mpn/generic/compute_powtab.c: Avoid C99 constructs.
	* mpn/generic/get_str.c: Likewise.
	* mpn/generic/set_str.c: Likewise.
	* gmp-impl.h (memset): Move ASSERT to before decls.
	* tests/refmpn.c: Likewise.
	* mpn/generic/hgcd2.c (tabp): Combine several undefined tabp variable
	definitions with a macro.
	* mpn/generic/strongfibo.c: Avoid defining helper function when unused.
	* mpn/generic/dcpi1_bdiv_q.c (mpn_dcpi1_bdiv_q_n_itch): Disable unused
	static function.
	* mpz/mul.c: Add some {} to suppress warning.
	* tests/mpn/t-gcd_11.c: Exit main() properly.
	* tests/mpn/t-gcd_22.c: Likewise.
	* tests/mpn/t-gcdext_1.c: Likewise.
   2020-04-28  Torbjörn Granlund  <tg@gmplib.org>
	* tests/mpz/reuse.c (realloc_if_reducing): New function.
	(INVOKE_RRS, etc): Use realloc_if_reducing.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-07 13:13:18 +00:00
Michael Tremer
a810c2ae8f gmp: Drop SSE2-optimized version on i586
The next version of glibc has removed support for this and this patch
removes it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-16 17:43:12 +00:00
Matthias Fischer
32e4819b77 gmp 6.2.0: Fixed lfs for i586
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:58 +00:00
Matthias Fischer
63eacedabc gmp: Update to 6.2.0
Needed for gnutls 3.6.14

For details see:
https://gmplib.org/gmp6.2

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:58 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Matthias Fischer
8f6e4eaff7 Update for numerous lfs-files: removed deprecated configure options
Also includes some reformatting, but no changes to configuration.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-05 17:02:24 +00:00
Michael Tremer
dc7d6b204d make.sh: Cleanup of polluted environment
The build environment is using a number of variables which
occasionally conflicted with some other build systems.

This patch cleans that up by renaming some variables and
later unexporting them in the lfs files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:03 +01:00
Marcel Lorenz
fcab4e5f18 gmp: update to 6.1.2
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-04-06 10:15:29 +01:00
Marcel Lorenz
de4d892ba7 gmp: update to 6.0.1
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-03-21 21:52:42 +00:00
Michael Tremer
45cd74d708 gmp: Update to 6.0.0. 2014-07-26 22:09:20 +02:00
Michael Tremer
89066697c4 gmp: Ship MMX/SSE/SSE2 enabled version. 2014-07-18 15:21:34 +02:00
Arne Fitzenreiter
b8cee3bb81 gmp: fix build on Intel buildmachines.
on newer Intel buildsystems the gmp configure script enables some
sse2 optimizations that not work on old cpu's (ALIX, K6 ...)
2014-07-18 12:52:20 +02:00
Michael Tremer
e2ab947925 gmp: Update to 5.0.5. 2012-08-12 16:49:13 -04:00
Michael Tremer
1b9ffcccde gmp: Fix build on ARM. 2011-09-03 18:49:38 +00:00
Michael Tremer
8b55665f73 gmp: Update to 4.2.4.
Needed this update to fix building php without an executable stack
that was caused by gmp.
2011-05-15 09:12:27 +02:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
6b8cff4166 Zwischencommit fuer LFS.
EXPERIMENTELLE KERNEL-KONFIGURATION.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@317 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-12 20:44:44 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00