Commit Graph

16 Commits

Author SHA1 Message Date
Daniel Golle 0d9af0e001 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-19 16:12:22 -08:00
Hauke Mehrtens 0c59c77c96 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-06 12:54:15 -08:00
Rosen Penev dbdfef081c libowfat: fix glibc compilation
Ported Fedora patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-23 01:14:24 +01:00
Rosen Penev bee8b923e7 libowfat: try to fix compilation under ARC
CFLAGS are not being passed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-20 18:20:04 -06:00
Sergey V. Lobanov c53b7ba449 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-01-31 15:06:20 +00:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 5a7148d112
treewide: add missing BUILDONLY
Fixes Makefile warnings:

WARNING: skipping X -- package has no install section

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 17:43:49 -07:00
Rosen Penev f0db39bf0e libowfat: fix compilation under GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-04 00:32:23 +01:00
Rosen Penev 2a4b6e4651 libowfat: Update to 0.32
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-15 19:09:43 -08:00
Daniel Golle 9c6bb52d2c libowfat: update to version 0.31
now requires host-build to provide the 'ent' build-tool which generates
entities.h for use in scan_html.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 01:33:32 +02:00
Daniel Golle b47fe96be4 libowfat: fix download URL
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-05-13 13:39:15 +02:00
Daniel Golle cb331a4170 libowfat: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-05-13 13:23:21 +02:00
Daniel Golle aa0ce3260b libowfat: bump version to 0.29
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-11-27 14:06:53 +01:00
Daniel Golle 96cec85081 libowfat: add PKG_LICENSE information
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-08-10 13:59:28 +02:00
Etienne CHAMPETIER 36551d4c41 libowfat: fix a build error (havescope.h)
this fixes #63

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
2014-06-30 13:28:56 +02:00
Daniel Golle 4a5b047c08 Import libowfat
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-06-13 17:04:53 +02:00