libaio.git
6 years agoMerge libaio (0.3.112-3) import into refs/heads/workingbranch
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Merge libaio (0.3.112-3) import into refs/heads/workingbranch

6 years ago[PATCH 15/15] Use ctx consistently for io_context_t instead of ctx_id
Guillem Jover [Fri, 8 Feb 2019 22:37:58 +0000 (23:37 +0100)]
[PATCH 15/15] Use ctx consistently for io_context_t instead of ctx_id

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0015-Use-ctx-consistently-for-io_context_t-instead-of-ctx.patch

6 years ago[PATCH 14/15] man: Escape verbatim \n in order to make it through roff
Stephan Springl [Fri, 8 Feb 2019 23:03:54 +0000 (00:03 +0100)]
[PATCH 14/15] man: Escape verbatim \n in order to make it through roff

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0014-man-Escape-verbatim-n-in-order-to-make-it-through-ro.patch

6 years ago[PATCH 13/15] man: Fold short lines
Guillem Jover [Fri, 8 Feb 2019 21:45:18 +0000 (22:45 +0100)]
[PATCH 13/15] man: Fold short lines

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0013-man-Fold-short-lines.patch

6 years ago[PATCH 12/15] man: Fix markup
Guillem Jover [Sun, 10 Dec 2017 19:22:11 +0000 (20:22 +0100)]
[PATCH 12/15] man: Fix markup

- Remove unnecessary macro argument quoting.
- Variables, pathnames in italics.
- Keywords in bold.
- Man page references in bold, followed by the man page number.
- Fix TP/TQ macro usage.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0012-man-Fix-markup.patch

6 years ago[PATCH 11/15] man: Fix title header
Guillem Jover [Sun, 10 Dec 2017 19:20:04 +0000 (20:20 +0100)]
[PATCH 11/15] man: Fix title header

- Update year.
- Balance double quotes.
- Remove version from source argument as recommended in man-pages(7).
- Fix all sections numbers to 3.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0011-man-Fix-title-header.patch

6 years ago[PATCH 10/15] man: Fix typos
Guillem Jover [Sun, 13 Aug 2017 18:36:23 +0000 (20:36 +0200)]
[PATCH 10/15] man: Fix typos

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0010-man-Fix-typos.patch

6 years ago[PATCH 09/15] man: Add "None" to empty sections
Guillem Jover [Sun, 13 Aug 2017 18:36:23 +0000 (20:36 +0200)]
[PATCH 09/15] man: Add "None" to empty sections

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0009-man-Add-None-to-empty-sections.patch

6 years ago[PATCH 08/15] man: Remove spurious text
Guillem Jover [Fri, 8 Feb 2019 21:31:15 +0000 (22:31 +0100)]
[PATCH 08/15] man: Remove spurious text

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0008-man-Remove-spurious-text.patch

6 years ago[PATCH 07/15] man: Remove spurious spaces
Guillem Jover [Sun, 13 Aug 2017 18:36:23 +0000 (20:36 +0200)]
[PATCH 07/15] man: Remove spurious spaces

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0007-man-Remove-spurious-spaces.patch

6 years ago[PATCH 06/15] man: Fix period formatting
Guillem Jover [Sun, 13 Aug 2017 18:36:23 +0000 (20:36 +0200)]
[PATCH 06/15] man: Fix period formatting

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0006-man-Fix-period-formatting.patch

6 years ago[PATCH 05/15] man: Fix casing
Guillem Jover [Sun, 13 Aug 2017 18:36:23 +0000 (20:36 +0200)]
[PATCH 05/15] man: Fix casing

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0005-man-Fix-casing.patch

6 years ago[PATCH 04/15] man: End sentences with a period
Guillem Jover [Sun, 13 Aug 2017 18:36:23 +0000 (20:36 +0200)]
[PATCH 04/15] man: End sentences with a period

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0004-man-End-sentences-with-a-period.patch

6 years ago[PATCH 03/15] man: Refer to libaio.h instead of libio.h
Guillem Jover [Sun, 13 Aug 2017 18:47:46 +0000 (20:47 +0200)]
[PATCH 03/15] man: Refer to libaio.h instead of libio.h

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0003-man-Refer-to-libaio.h-instead-of-libio.h.patch

6 years ago[PATCH 02/15] man: Use the correct troff macro for comments
Guillem Jover [Sun, 13 Aug 2017 18:46:13 +0000 (20:46 +0200)]
[PATCH 02/15] man: Use the correct troff macro for comments

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0002-man-Use-the-correct-troff-macro-for-comments.patch

6 years ago[PATCH 01/15] man: Add missing space in man page references
Guillem Jover [Sun, 13 Aug 2017 18:40:01 +0000 (20:40 +0200)]
[PATCH 01/15] man: Add missing space in man page references

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0001-man-Add-missing-space-in-man-page-references.patch

6 years ago[PATCH 6/7] harness: The WRITE call does not change across different arches anymore
Guillem Jover [Tue, 26 Feb 2019 01:09:22 +0000 (02:09 +0100)]
[PATCH 6/7] harness: The WRITE call does not change across different arches anymore

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0006-harness-The-WRITE-call-does-not-change-across-differ.patch

6 years ago[PATCH 5/7] harness: Handle -ENOTSUP from io_submit() with RWF_NOWAIT
Guillem Jover [Tue, 26 Feb 2019 01:57:05 +0000 (02:57 +0100)]
[PATCH 5/7] harness: Handle -ENOTSUP from io_submit() with RWF_NOWAIT

On filesystems such as tmpfs the syscall might return -ENOTSUP instead
of EINVAL when it does not support the RWF_NOWAIT flag.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0005-harness-Handle-ENOTSUP-from-io_submit-with-RWF_NOWAI.patch

6 years ago[PATCH 4/7] harness: Add fallback code for filesystems not supporting O_DIRECT
Guillem Jover [Tue, 26 Feb 2019 01:55:40 +0000 (02:55 +0100)]
[PATCH 4/7] harness: Add fallback code for filesystems not supporting O_DIRECT

When running the harness on a filesystem such as a tmpfs, which do not
support O_DIRECT, fallback to calls without the flag.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0004-harness-Add-fallback-code-for-filesystems-not-suppor.patch

6 years ago[PATCH 3/7] harness: Make RISC-V use SYS_eventfd2 instead of SYS_eventfd
Guillem Jover [Tue, 26 Feb 2019 00:45:15 +0000 (01:45 +0100)]
[PATCH 3/7] harness: Make RISC-V use SYS_eventfd2 instead of SYS_eventfd

This is a recent architecture and as such does not provide legacy
support for SYS_eventfd. Declare that we need to use the new syscall.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0003-harness-Make-RISC-V-use-SYS_eventfd2-instead-of-SYS_.patch

6 years ago[PATCH 2/7] harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE
Guillem Jover [Fri, 8 Feb 2019 23:28:53 +0000 (00:28 +0100)]
[PATCH 2/7] harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE

The getconf(1) command is inherently not cross-compilation friendly.
In addition PAGESIZE depends on the specific system, even within a
specific arch, so using a hard-coded value is never safe.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0002-harness-Use-run-time-_SC_PAGE_SIZE-instead-of-build-.patch

6 years ago[PATCH 1/7] harness: Use destination strncpy() expression for sizeof() argument
Guillem Jover [Fri, 8 Feb 2019 23:25:38 +0000 (00:25 +0100)]
[PATCH 1/7] harness: Use destination strncpy() expression for sizeof() argument

Even though this is the same size, as the sizeof() is derived from the
source expression, recent gcc versions will emit a warning, which is
turned into an error by -Werror:

  error: argument to ‘sizeof’ in ‘strncpy’ call is the same expression
    as the source; did you mean to use the size of the destination?
    [-Werror=sizeof-pointer-memaccess]

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0001-harness-Use-destination-strncpy-expression-for-sizeo.patch

6 years agoHonour user build flags
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Honour user build flags

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

CPPFLAGS, CFLAGS and LDFLAGS are user flags, which we need to preserve, any
required flag that the build system needs, has to be set in some other flag
so that the build will succeed even of the user flags are passed.

Gbp-Pq: Name 05_build-flags.patch

6 years agoFix FTBFS with newer gcc 4.6
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Fix FTBFS with newer gcc 4.6

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

Using -Werror on a released project is in general not a good idea, as changes
in the toolchain and environment can trigger unexpected build failures.

Gbp-Pq: Name 04_no_Werror.patch

6 years agoFix installation of shared vs static libraries
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Fix installation of shared vs static libraries

Origin: vendor
Forwarded: no
Last-Update: 2007-09-11

Gbp-Pq: Name 02_libdevdir.patch

6 years agoLink against libgcc and libc to avoid unresolved symbols
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Link against libgcc and libc to avoid unresolved symbols

Origin: vendor
Bug-Debian: 764509
Forwarded: no
Last-Update: 2014-10-09

We need to link agaisnt -lgcc, on at least hppa. We also need to link
against -lc, because we are now always using the syscall() libc function.
So let's stop passing -nostdlib and -nostartfiles.

Note: we used to use -Wl,--as-needed, this way we made sure we pulled the
required fortified functions from the internal libc_nonshared.a, but did
not link against the shared library because we did not use any of its
symbols.

Gbp-Pq: Name 01_link_libs.patch

6 years agoFix structure padding for mips64
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Fix structure padding for mips64

Forwarded: no
Last-Update: 2014-07-23

Gbp-Pq: Name 00_arches_mips_fix_padding.patch

6 years agoAdd support for x32 (from the Yocto project)
Daniel Schepler [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Add support for x32 (from the Yocto project)

Origin: vendor
Forwarded: no
Bug-Debian: 702183
Last-Update: 2013-05-06

Gbp-Pq: Name 00_arches_x32.patch

6 years agoAdd SH supprt
Nobuhiro Iwamatsu [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Add SH supprt

The test-suite logs can be found at:

<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535288>

Gbp-Pq: Name 00_arches_sh.patch

6 years agoAdd/fix support for m68k, mips, paris, sparc
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Add/fix support for m68k, mips, paris, sparc

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

Gbp-Pq: Name 00_arches.patch

6 years agolibaio (0.3.112-3) unstable; urgency=medium
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
libaio (0.3.112-3) unstable; urgency=medium

  * Test suite fixes:
    - Fix logic inversion in EINVAL check.
    - Revert making the test suite fatal on failures, as the Debian buildd
      setup is peculiar enough to make at least two tests fail. This will
      need further work.

[dgit import unpatched libaio 0.3.112-3]

6 years agoImport libaio_0.3.112-3.debian.tar.xz
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Import libaio_0.3.112-3.debian.tar.xz

[dgit import tarball libaio 0.3.112-3 libaio_0.3.112-3.debian.tar.xz]

6 years agoImport libaio_0.3.112.orig.tar.xz
Guillem Jover [Mon, 25 Feb 2019 01:56:55 +0000 (01:56 +0000)]
Import libaio_0.3.112.orig.tar.xz

[dgit import orig libaio_0.3.112.orig.tar.xz]

9 years agoHonour user build flags
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Honour user build flags

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

CPPFLAGS, CFLAGS and LDFLAGS are user flags, which we need to preserve, any
required flag that the build system needs, has to be set in some other flag
so that the build will succeed even of the user flags are passed.

Gbp-Pq: Name 05_build-flags.patch

9 years agoFix FTBFS with newer gcc 4.6
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Fix FTBFS with newer gcc 4.6

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

Using -Werror on a released project is in general not a good idea, as changes
in the toolchain and environment can trigger unexpected build failures.

Gbp-Pq: Name 04_no_Werror.patch

9 years agoFix man page typos
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Fix man page typos

Origin: vendor
Forwarded: no
Last-Update: 2016-05-31

Gbp-Pq: Name 03_man_typos.patch

9 years agoVerbatim \n should be escaped in order to make it through roff
Stephan Springl [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Verbatim \n should be escaped in order to make it through roff

Origin: vendor
Forwarded: no
Bug-Debian: 651833
Last-Update: 2011-12-12

Gbp-Pq: Name 03_man_escape_backslash.patch

9 years agoFix man page errors
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Fix man page errors

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

Gbp-Pq: Name 03_man_errors.patch

9 years agoFix installation of shared vs static libraries
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Fix installation of shared vs static libraries

Origin: vendor
Forwarded: no
Last-Update: 2007-09-11

Gbp-Pq: Name 02_libdevdir.patch

9 years agoLink against libgcc and libc to avoid unresolved symbols
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Link against libgcc and libc to avoid unresolved symbols

Origin: vendor
Bug-Debian: 764509
Forwarded: no
Last-Update: 2014-10-09

We need to link agaisnt -lgcc, on at least hppa.

We also link against -lc and -Wl,--as-needed, this way we pull the
required fortified functions from the internal libc_nonshared.a, but
do not link against the shared library because we do not use any of
its symbols.

Gbp-Pq: Name 01_link_libs.patch

9 years agoFix structure padding for mips64
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Fix structure padding for mips64

Forwarded: no
Last-Update: 2014-07-23

Gbp-Pq: Name 00_arches_mips_fix_padding.patch

9 years agoFix mips/mipsel syscall wrappers to return correct error values.
Jurica Stanojkovic [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Fix mips/mipsel syscall wrappers to return correct error values.

Forwarded: no
Last-Update: 2012-09-24

Gbp-Pq: Name 00_arches_mips.patch

9 years agoAdd support for x32 (from the Yocto project)
Daniel Schepler [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Add support for x32 (from the Yocto project)

Origin: vendor
Forwarded: no
Bug-Debian: 702183
Last-Update: 2013-05-06

Gbp-Pq: Name 00_arches_x32.patch

9 years agoAdd sparc64 support
David S. Miller [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Add sparc64 support

Forwarded: no
Bug-Debian: 588112
Last-Update: 2010-07-05

Gbp-Pq: Name 00_arches_sparc64.patch

9 years agoAdd SH supprt
Nobuhiro Iwamatsu [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Add SH supprt

The test-suite logs can be found at:

<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535288>

Gbp-Pq: Name 00_arches_sh.patch

9 years agoAdd/fix support for m68k, mips, paris, sparc
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Add/fix support for m68k, mips, paris, sparc

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

Gbp-Pq: Name 00_arches.patch

9 years agolibaio (0.3.110-3) unstable; urgency=medium
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
libaio (0.3.110-3) unstable; urgency=medium

  * Use https for hadrons.org and debian.org URLs.
  * Switch debug package to a ddeb.
  * Switch to the dpkg makefile fragments in debian/rules.
  * Enable hardening bindnow feature.
  * Update URL in debian/watch.
  * Fix typos in man pages, reported by lintian.
  * Now using Standards-Version 3.9.8 (no changes needed).

[dgit import unpatched libaio 0.3.110-3]

9 years agoImport libaio_0.3.110-3.debian.tar.xz
Guillem Jover [Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)]
Import libaio_0.3.110-3.debian.tar.xz

[dgit import tarball libaio 0.3.110-3 libaio_0.3.110-3.debian.tar.xz]

11 years agoImport libaio_0.3.110.orig.tar.gz
Guillem Jover [Thu, 9 Oct 2014 03:44:48 +0000 (04:44 +0100)]
Import libaio_0.3.110.orig.tar.gz

[dgit import orig libaio_0.3.110.orig.tar.gz]