6 Commits

Author SHA1 Message Date
Adolf Belka
efa6f1e2dc libaio: Update to version 0.3.113
- Update from version 0.3.112 to 0.3.113
- Update of rootfile
- Changelog
   0.3.113
	harness: add test for aio poll missed events
	Verify structure padding is correct at build time
	Fix struct io_iocb_sockaddr padding for 32bit architectures
	Fix struct io_iocb_vector padding for 32bit architectures
	Use generic syscall number schema for loongarch
	Add endian detection and bit width detection for loongarch
	Add loongarch to supported architectures in libaio.spec
	cases/16.t: loongarch only supports eventfd2
	Fix test issue with gcc-11
	harness: Skip the test if io_pgetevents() is not implemented
	harness: Print better error messages on error conditions in 22.t
	harness: Fix PROT_WRITE mmap check
	harness: fix read into PROT_WRITE mmap test
	harness: skip 22.p if async_poll isn't supported
	harness: Handle -ENOTSUP from io_submit() with RWF_NOWAIT
	harness: Add fallback code for filesystems not supporting O_DIRECT
	harness: add support for skipping tests
	harness: Make the test exit with a code matching the pass/fail state
	harness: Make RISC-V use SYS_eventfd2 instead of unavailable SYS_eventfd
	harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE
	harness: Use destination strncpy() expression for sizeof() argument
	Use ctx consistently for io_context_t instead of ctx_id
	man: Escape verbatim \n in order to make it through roff
	man: Fold short lines
	man: Fix markup
	man: Fix title header
	man: Fix typos
	man: Add "None" to empty sections
	man: Remove spurious text
	man: Remove spurious spaces
	man: Fix period formatting
	man: Fix casing
	man: End sentences with a period
	man: Refer to libaio.h instead of libio.h
	man: Use the correct troff macro for comments
	man: Add missing space in man page references
	harness: allow running tests against the installed library

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-30 08:56:30 +00:00
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
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Adolf Belka
cb5f4a5416 libaio: Update to 0.3.112
- Update from 0.3.111 to 0.3.112
- Update of rootfile not required
- Changelog
    The ChangeLog file in the source tarball has the last entry
     for version 0.3.107
    The AIO website has no change history
   The following commits were found on the Fedora git repository for libaio
    Makefile: add missing DESTDIR variable use
      Thomas Petazzoni • 2 years ago
    src/Makefile: add ENABLE_SHARED boolean to allow static-only build
      Thomas Petazzoni • 2 years ago
    Add README.md
      Jeff Moyer • 2 years ago
    Merge #7 `Link against libgcc to avoid unresolved symbols`
      Jeffrey E. Moyer • 2 years ago
    harness: fix POLLIN test case
      Jeff Moyer • 2 years ago
    Merge branch 'aio-poll'
      Jeff Moyer • 2 years ago
    Link against libgcc to avoid unresolved symbols
      Guillem Jover • 2 years ago

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-27 08:02:00 +00:00
Michael Tremer
b9e02ee6b3 libaio: Link against standard libraries
This patch fixes a build error when stack smashing protecion
is being enabled and __stack_chk_fail_local needs to be pulled
from libc.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-26 11:31:40 +01:00
Michael Tremer
de18b4de65 libaio: New package
This library is required by newer version of LVM2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-21 22:17:54 +01:00