Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Golle
d809273591 libowfat: update to version 0.33
Remove no longer needed downstream patches.

Changes since 0.32:

  add byte_start, byte_starts

  add a man page for byte_equal_notimingattack

  buffer_seek is no longer limited to the current buffer contents

  add automated way to run unit test: make check

  add parse.h

  add bytestream abstraction for parsing data from a buffer or a file

  add compiler.h to abstract gcc attributes

  add fmt_strm_malloc

  add cross references to open_* and mmap_* man pages

  add fmt_strm_alloca and fmt_strm_malloc man pages

  add buffer_init_allocbuf, buffer_init_read, buffer_init_write,
  buffer_init_read_allocbuf, buffer_init_write_allocbuf

  fix buffer overread for len=0 in scan_longn (Martin Castillo)

  add iob_write2 with sendfile callback so caller can use OpenSSL's
  SSL_sendfile

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-23 13:54:40 +08:00
Hauke Mehrtens
53023d0d45 libowfat: Fix compile with glibc 2.36
This fixes the following error message seen when compiling against
glibc 2.36:
                 from scan/scan_httpdate.c:3:
include/sys/cdefs.h:338:65: error: macro "__has_attribute" requires an identifier
  338 | #if __GNUC_PREREQ (3,2) || __glibc_has_attribute (__deprecated__)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-11-08 14:58:49 +08:00
Rosen Penev
44ac79ba6c libowfat: fix glibc compilation
Ported Fedora patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:49 +08:00
Rosen Penev
c277dcb222 libowfat: try to fix compilation under ARC
CFLAGS are not being passed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:49 +08:00
Sergey V. Lobanov
ddcebbab35 libowfat: fix build on macos
libowfat target-build fails on macos due to using system `ar` and
`ranlib` tools not compatible with the objects generated by
OpenWrt GCC toolchain.

This patch specifies CROSS= make flag that is used as a prefix for
`ar` and `ranlib` tools.

This patch also specifies CCC= make flag due to CCC= has invalid
value after specifying CROSS= make flag (CCC=$(CROSS)$(CC))

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-11-08 14:58:49 +08:00
lean
49b7495639 packages: merge upstream 2021-06-15 17:47:11 +08:00
coolsnowwolf
c36ad692b4 packages: sync to new packages 2020-07-08 14:18:52 +08:00
coolsnowwolf
d17588da1a first commit 2018-10-18 16:56:47 +08:00