10 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
Adolf Belka
ceedba20de gdbm: Update to version 1.23
- Update from 1.20 to 1.23
- Update of rootfile not required
- Changelog
   Version 1.23, 2022-02-04
	* Bucket cache switched from balanced tree to hash table
	 Change suggested by Terence Kelly.
	* Speed up flushing the changed buckets on disk
	* New option codes for gdbm_setopt
	** GDBM_GETDBFORMAT
	 Return the database format.
	** GDBM_GETDIRDEPTH
	 Return the directory depth, i.e. the number of initial (most significant)
	  bits in hash value that are interpreted as index to the directory.
	** GDBM_GETBUCKETSIZE
	 Return maximum number of keys per bucket.
	** GDBM_GETCACHEAUTO
	 Return the status of the automatic cache adjustment.
	** GDBM_SETCACHEAUTO
	 Enable or disable automatic cache adjustment.
   Version 1.22, 2021-10-19
	* Fix file header validation
	* Fix key verification in sequential access
	* Fix testing with DejaGNU 1.6.3
	* Fix stack overflow in print_usage
	* Fix a leak of avail entry on pushing a new avail block
	 The leak would occur if the original avail table had odd number of entries.
	* New gdbmtool variables: errorexit, errormask, trace, timing
	 "Errorexit" and "errormask" control which GDBM errors would cause the
	  program termination and emitting a diagnostic message,
	  correspondingly.  Both variables are comma-delimited lists of error
	  codes.
	 The "trace" variable enables tracing of the gdbmtool commands.
	 The "timing" variable, when set, instructs gdbmtool to print time
	  spent in each command it runs.
	* New gdbmtool options: -t (--trace), and -T (--timing)
   Version 1.21, 2021-09-02
	* Crash tolerance
	 By default it is possible for an abrupt crash (e.g., power failure,
	  OS kernel panic, or application process crash) to corrupt the gdbm
	  database file.  A new Linux-only mechanism enables applications to
	  recover the database state corresponding to the most recent
	  successful gdbm_sync() call before the crash.  See the chapter 17
	  "Crash Tolerance" in the GDBM manual.
	* New database file format: numsync
	 The new "numsync" database format is designed to better support
	  crash tolerance.  To create a database in numsync format, the gdbm_open
	  (or gdbm_fd_open) function must be given the GDBM_NEWDB|GDBM_NUMSYNC
	  flags.  The GDBM_NUMSYNC flag also takes effect when used together
	  with GDBM_WRCREAT, provided that the new file is created.
	 New function gdbm_convert() is provided for converting the databases
	  from standard GDBM format to numsync and vice versa.
	 The gdbmtool tool can also be used for converting databases between
	  these two formats.
	* Changes in gdbmtool
	** Fix string output in non-ASCII encodings
	 Printable multi-byte sequences are correctly represented on output.
	 This also fixes octal representation of unprintable characters.
	** The filename variable
	 This variable supplies the name of database file for use in "open"
	 command, if the latter is called without arguments.  If "open" is
	 called with the file name argument, the "filename" variable is
	 initialized to this value.
	** The fd variable
	 If set, its value must be an open file descriptor referring to a
	 GDBM database file.  The "open" command will use gdbm_fd_open
	 function to use this file.   Upon closing the database, this
	 descriptor will be closed and the variable will be unset.
	 The file descriptor to use can also be supplied using the
	 -d (--db-descriptor) command line option.
	** The format variable
	 Defines the format in which new databases will be created.  Allowed
	 values are: "standard" (default) and "numsync".
	** New commands: upgrade and downgrade
	 The "upgrade" command converts current database to the numsync
	 (extended) format.  The "downgrade" command converts current database
	 to the standard format.
	** New command: snapshot
	 The "snapshot" command is part of the new crash tolerance support.
	 Given the names of two snapshot files, it analyzes them and selects
	 the one to be used for database recovery.  See the GDBM manual,
	 section 17.5 "Manual crash recovery" for a detailed discussion of its
	 use.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-15 18:04:37 +00:00
Adolf Belka
8bf6f0e88c gdbm: Update to version 1.20
- Update from 1.8.3 (2002) to 1.20 (2021)
- Update rootfile
- There is no longer a make process for make install-compat
   To have the compat libraries you have to add --enable-libgdbm-compat to the configure
   command but then you don't get the non compat libraries.
   So the full configure, make, make install has to be run twice with
   --enable-libgdbm-compat added to the second instance.
- Both static and shared libs are built by default so added --disable-static to both
   build instances
- Nothing flagged from find-dependencies run against the old library versions
- Changelog is too large to include here but full details can be found from the
   ChangeLog file in the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-01-14 13:46:00 +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
Michael Tremer
72665fb0da gdbm: FTBFS on aarch64
Needed automake update

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-31 12:00:05 +01:00
Matthias Fischer
4d37698216 Revert "gdbm: update to 1.13"
This reverts commit dc539daf88.

With "gdbm-Update to 1.13", 'php 5.3.27' failed to build.

Best,
Matthias

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-04-19 18:38:09 +01:00
Marcel Lorenz
dc539daf88 gdbm: update to 1.13
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-04-17 12:31:20 +01: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