head 1.12; access; symbols pkgsrc-2023Q4:1.12.0.2 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.10.0.30 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.28 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.26 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.24 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.22 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.20 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.18 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.16 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.14 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.12 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.10 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.8 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.6 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.4 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.2 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.9.0.4 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.8.0.2 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.7.0.6 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.4 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.2 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.6.0.14 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.12 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.10 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.8 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.6 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.2 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.5.0.36 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.34 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.32 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.30 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.28 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.26 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.24 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.22 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.20 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.18 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.16 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.14 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.12 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.10 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.8 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.6 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.4 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.2 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.3.0.28 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.26 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.24 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.22 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.20 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.18 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.16 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.14 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.12 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.10 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.8 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.2.0.2 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.1.1.1.0.12 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.10 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.8 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.6 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.4 pkgsrc-2008Q1:1.1.1.1.0.2 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-20080107:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.12 date 2023.11.09.19.26.00; author schmonz; state Exp; branches; next 1.11; commitid jalr5DSgHjNFbYLE; 1.11 date 2023.10.14.16.52.54; author schmonz; state Exp; branches; next 1.10; commitid g7qcJm5ROWgAaCIE; 1.10 date 2020.01.26.17.30.59; author rillig; state Exp; branches; next 1.9; commitid 4fBBvoSLJaGd0eUB; 1.9 date 2019.12.22.22.23.00; author joerg; state Exp; branches; next 1.8; commitid BNPUf03dZUbhKKPB; 1.8 date 2019.07.16.21.39.11; author schmonz; state Exp; branches; next 1.7; commitid fZro6691alh1CjvB; 1.7 date 2018.10.07.12.13.46; author schmonz; state Exp; branches; next 1.6; commitid SZy0e7rklBBby1VA; 1.6 date 2017.06.26.04.52.34; author schmonz; state Exp; branches; next 1.5; commitid To3gAPWiqDKv9QWz; 1.5 date 2012.10.31.11.17.19; author asau; state Exp; branches; next 1.4; 1.4 date 2012.10.21.11.28.25; author cheusov; state Exp; branches; next 1.3; 1.3 date 2009.05.19.08.59.10; author wiz; state Exp; branches; next 1.2; 1.2 date 2009.02.21.16.53.33; author wiz; state Exp; branches; next 1.1; 1.1 date 2008.01.06.23.48.49; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.01.06.23.48.49; author wiz; state Exp; branches; next ; desc @@ 1.12 log @libowfat: update to 0.33. Changes: - 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 @ text @# $NetBSD: Makefile,v 1.11 2023/10/14 16:52:54 schmonz Exp $ DISTNAME= libowfat-0.33 CATEGORIES= devel MASTER_SITES= ${HOMEPAGE} EXTRACT_SUFX= .tar.xz MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= https://www.fefe.de/libowfat/ COMMENT= Library of general purpose APIs LICENSE= gnu-gpl-v2 MAKE_FILE= GNUmakefile USE_TOOLS+= gmake post-extract: cd ${WRKSRC}; \ ${MV} tai/tai_now.3 tai/tai_now_libowfat.3; \ ${MV} tai/tai_pack.3 tai/tai_pack_libowfat.3; \ ${MV} taia/taia_now.3 taia/taia_now_libowfat.3; \ ${MV} taia/taia_pack.3 taia/taia_pack_libowfat.3 # work around missing dependency for parallel builds pre-build: cd ${WRKSRC}; \ ${BUILD_MAKE_CMD} headers; \ ${BUILD_MAKE_CMD} ent .include "../../mk/bsd.pkg.mk" @ 1.11 log @libowfat, nacl, qlogtools, service-config: take MAINTAINER. (In the event they're ever updated upstream, this will help me notice.) @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.10 2020/01/26 17:30:59 rillig Exp $ # d3 1 a3 2 DISTNAME= libowfat-0.32 PKGREVISION= 2 d23 6 @ 1.10 log @all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/12/22 22:23:00 joerg Exp $ d10 1 a10 1 MAINTAINER= pkgsrc-users@@NetBSD.org @ 1.9 log @Fix kqueue support. Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/07/16 21:39:11 schmonz Exp $ d11 1 a11 1 HOMEPAGE= http://www.fefe.de/libowfat/ @ 1.8 log @Install a few manpages to alternate names to avoid conflicting with libtai. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2018/10/07 12:13:46 schmonz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.7 log @Update to 0.32. From the changelog: - remove OpenBSD #warning (obsd maintainer says no longer needed) - fix fmt_ip6 (Erwin Hoffmann) - add MSG_ZEROCOPY support (only used for buffers >8k) - use writev in buffer_put for a slight perf improvement - add experimental iom API for multithreaded I/O multiplexing (in io.h) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2017/06/26 04:52:34 schmonz Exp $ d5 1 a14 2 CONFLICTS= libtai-[0-9]* d18 7 @ 1.6 log @Update to 0.31. From the changelog: 0.31: special case buffer_get_token with token length 1 through memccpy (almost 4x speedup) test for pread and use it instead of lseek+read in cdb and io_mmapwritefile add mmap_readat (like mmap_read but open by fd, not by name) add fmt_iso8601 and scan_iso8601 (time_t -> "2014-05-27T19:22:16Z") add fmt_netstring and scan_netstring (http://cr.yp.to/proto/netstrings.txt) add (fmt|scan)_varint and (fmt|scan)_pb_* (binary marshaling ala protocol buffers) 0.30: add compiletimeassert.h add haveuint128.h byte.h now defines UNALIGNED_ACCESS_OK on x86 add scan_ulongn, scan_8longn, scan_xlongn, scan_longn, scan_netstring change buffer to have a destructor function pointer SECURITY: fmt_strn would write one byte too many (returned right length though, so usually not a problem as that byte would be overwritten with \0 by the caller anyway) fmt_pad and fmt_fill fail more gracefully when srclen > maxlen You can now say $ make WERROR=-Werror (compiling t.c may fail but that's strictly speaking not part of the library) scan_html now decodes HTML entities based on the actual w3c list (from entities.json, say gmake update to fetch the current version) added fmt_escapechar* to fmt.h (implement various escaping mechanisms also found in textcode but for a single char not a whole string, and they always escape, not just when they think it's needed) scan_ushort was supposed to abort early and return 5 when attempting to parse "65536", because the result does not fit. It did not. Now it does. scan_*long, scan_*int, scan_*short now properly abort if the number would not fit SECURITY: check for integer overflow in stralloc_ready switch io_fds from array to newly implemented (hopefully thread-safe) iarray switch epoll from level triggering to edge triggering introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz) fix buffer_get add fmt_html_tagarg, fmt_xml, scan_html_tagarg add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack on Linux, in iob_send, if MSG_MORE is defined, and the request type lends itself to it, used sendto/sendmsg with MSG_MORE instead of TCP_CORK (saves two syscalls) add io_fd_flags so the caller can tell io_fd whether the socket is blocking (saves one fcntl syscall) more constness for stralloc and buffer mmap_read/mmap_shared on zero length files no longer fail but return a zero length buffer if SOCK_NONBLOCK is defined, use it instead of socket+fcntl ... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney) SECURITY: fix botched integer overflow handling logic in stralloc_ready (Giorgio) add critbit 0.29: save 8 bytes in taia.h for 64-bit systems add buffer_tosa (buffer writing to auto-growing stralloc) add iarray support SCTP in addition to TCP fix io_receivefd so the incoming buffer is only 1 byte; io_passfd sends only one byte, so we might receive (and discard) other data if we try to read more (Stefan Bühler, from the lightttpd project) add io_fd_canwrite (like io_fd but assume the fd is writable) save a few syscalls here and there add awesome hack in isset.h (comex, Linus Torvalds) add byte_equal_notimingattack @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2012/10/31 11:17:19 asau Exp $ d4 1 a4 1 DISTNAME= libowfat-0.31 @ 1.5 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2012/10/21 11:28:25 cheusov Exp $ d4 1 a4 2 DISTNAME= libowfat-0.28 PKGREVISION= 1 d6 2 a7 2 MASTER_SITES= http://dl.fefe.de/ EXTRACT_SUFX= .tar.bz2 a18 2 INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX} @ 1.4 log @CONFLICTS between libtai and libowfat @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2009/05/19 08:59:10 wiz Exp $ a16 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.3 log @Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT block). Uncomment some commented out LICENSE lines while here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2009/02/21 16:53:33 wiz Exp $ d5 1 d15 2 @ 1.2 log @Update to 0.28, convert to user-destdir: 0.28: add uint64 pack and unpack routines fix subtle typo in sub_of (David Sirovsky) work around gcc bugs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2008/01/06 23:48:49 wiz Exp $ d12 1 a17 1 #LICENSE= gnu-gplv2 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 DISTNAME= libowfat-0.27 d13 2 d19 2 @ 1.1.1.1 log @Initial import of libowfat-0.27: Reimplementation of libdjb under the GNU GPL. @ text @@