pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libowfat
Module Name: pkgsrc
Committed By: schmonz
Date: Mon Jun 26 04:52:34 UTC 2017
Modified Files:
pkgsrc/devel/libowfat: Makefile PLIST distinfo
pkgsrc/devel/libowfat/patches: patch-aa
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/libowfat/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/libowfat/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/libowfat/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libowfat/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libowfat/Makefile
diff -u pkgsrc/devel/libowfat/Makefile:1.5 pkgsrc/devel/libowfat/Makefile:1.6
--- pkgsrc/devel/libowfat/Makefile:1.5 Wed Oct 31 11:17:19 2012
+++ pkgsrc/devel/libowfat/Makefile Mon Jun 26 04:52:34 2017
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2012/10/31 11:17:19 asau Exp $
+# $NetBSD: Makefile,v 1.6 2017/06/26 04:52:34 schmonz Exp $
#
-DISTNAME= libowfat-0.28
-PKGREVISION= 1
+DISTNAME= libowfat-0.31
CATEGORIES= devel
-MASTER_SITES= http://dl.fefe.de/
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= ${HOMEPAGE}
+EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.fefe.de/libowfat/
@@ -17,6 +16,4 @@ CONFLICTS= libtai-[0-9]*
MAKE_FILE= GNUmakefile
USE_TOOLS+= gmake
-INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX}
-
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/libowfat/PLIST
diff -u pkgsrc/devel/libowfat/PLIST:1.3 pkgsrc/devel/libowfat/PLIST:1.4
--- pkgsrc/devel/libowfat/PLIST:1.3 Sun Jun 14 17:48:55 2009
+++ pkgsrc/devel/libowfat/PLIST Mon Jun 26 04:52:34 2017
@@ -1,19 +1,23 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:48:55 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/06/26 04:52:34 schmonz Exp $
include/libowfat/array.h
include/libowfat/buffer.h
include/libowfat/byte.h
include/libowfat/case.h
include/libowfat/cdb.h
include/libowfat/cdb_make.h
+include/libowfat/compiletimeassert.h
+include/libowfat/critbit.h
include/libowfat/dns.h
include/libowfat/errmsg.h
include/libowfat/fmt.h
include/libowfat/havealloca.h
+include/libowfat/iarray.h
include/libowfat/io.h
include/libowfat/iob.h
include/libowfat/iopause.h
include/libowfat/ip4.h
include/libowfat/ip6.h
+include/libowfat/isset.h
include/libowfat/mmap.h
include/libowfat/ndelay.h
include/libowfat/open.h
@@ -31,7 +35,9 @@ include/libowfat/textcode.h
include/libowfat/uint16.h
include/libowfat/uint32.h
include/libowfat/uint64.h
+include/libowfat/va_narg.h
lib/libowfat.a
+man/man3/add_of.3
man/man3/array.3
man/man3/array_allocate.3
man/man3/array_bytes.3
@@ -49,10 +55,13 @@ man/man3/array_reset.3
man/man3/array_start.3
man/man3/array_trunc.3
man/man3/array_truncate.3
+man/man3/assign.3
man/man3/buffer.3
man/man3/buffer_close.3
man/man3/buffer_feed.3
man/man3/buffer_flush.3
+man/man3/buffer_fromarray.3
+man/man3/buffer_frombuf.3
man/man3/buffer_fromsa.3
man/man3/buffer_get.3
man/man3/buffer_get_new_token_sa.3
@@ -90,6 +99,7 @@ man/man3/buffer_putulong.3
man/man3/buffer_putulonglong.3
man/man3/buffer_putxlong.3
man/man3/buffer_seek.3
+man/man3/buffer_tosa.3
man/man3/byte_chr.3
man/man3/byte_copy.3
man/man3/byte_copyr.3
@@ -113,6 +123,11 @@ man/man3/cdb_keypos.3
man/man3/cdb_nextkey.3
man/man3/cdb_read.3
man/man3/cdb_successor.3
+man/man3/critbit0_allprefixed.3
+man/man3/critbit0_clear.3
+man/man3/critbit0_contains.3
+man/man3/critbit0_delete.3
+man/man3/critbit0_insert.3
man/man3/dns_ip4.3
man/man3/dns_ip4_packet.3
man/man3/dns_ip4_qualify.3
@@ -129,6 +144,8 @@ man/man3/dns_name_packet.3
man/man3/dns_txt.3
man/man3/dns_txt_packet.3
man/man3/fmt_8long.3
+man/man3/fmt_asn1derlength.3
+man/man3/fmt_asn1dertag.3
man/man3/fmt_double.3
man/man3/fmt_fill.3
man/man3/fmt_httpdate.3
@@ -140,20 +157,28 @@ man/man3/fmt_ip6_flat.3
man/man3/fmt_ip6c.3
man/man3/fmt_ip6if.3
man/man3/fmt_ip6ifc.3
+man/man3/fmt_iso8601.3
man/man3/fmt_long.3
man/man3/fmt_longlong.3
man/man3/fmt_minus.3
+man/man3/fmt_netstring.3
man/man3/fmt_pad.3
man/man3/fmt_plusminus.3
man/man3/fmt_str.3
+man/man3/fmt_strm.3
man/man3/fmt_strn.3
man/man3/fmt_uint.3
man/man3/fmt_uint0.3
man/man3/fmt_ulong.3
man/man3/fmt_ulong0.3
man/man3/fmt_ulonglong.3
+man/man3/fmt_utf8.3
man/man3/fmt_xlong.3
man/man3/fmt_xlonglong.3
+man/man3/iarray_allocate.3
+man/man3/iarray_free.3
+man/man3/iarray_get.3
+man/man3/iarray_init.3
man/man3/imult16.3
man/man3/imult32.3
man/man3/imult64.3
@@ -169,6 +194,8 @@ man/man3/io_dontwantread.3
man/man3/io_dontwantwrite.3
man/man3/io_eagain.3
man/man3/io_fd.3
+man/man3/io_fd_canwrite.3
+man/man3/io_fd_flags.3
man/man3/io_finishandshutdown.3
man/man3/io_getcookie.3
man/man3/io_nonblock.3
@@ -207,7 +234,9 @@ man/man3/iob_write.3
man/man3/iopause.3
man/man3/mmap_private.3
man/man3/mmap_read.3
+man/man3/mmap_readat.3
man/man3/mmap_shared.3
+man/man3/mmap_unmap.3
man/man3/ndelay_off.3
man/man3/ndelay_on.3
man/man3/open_append.3
@@ -230,6 +259,9 @@ man/man3/readclose_append.3
man/man3/scan_8int.3
man/man3/scan_8long.3
man/man3/scan_8short.3
+man/man3/scan_asn1derlength.3
+man/man3/scan_asn1derlengthvalue.3
+man/man3/scan_asn1dertag.3
man/man3/scan_charsetnskip.3
man/man3/scan_double.3
man/man3/scan_httpdate.3
@@ -238,8 +270,10 @@ man/man3/scan_ip4.3
man/man3/scan_ip6.3
man/man3/scan_ip6_flat.3
man/man3/scan_ip6if.3
+man/man3/scan_iso8601.3
man/man3/scan_long.3
man/man3/scan_longlong.3
+man/man3/scan_netstring.3
man/man3/scan_noncharsetnskip.3
man/man3/scan_nonwhitenskip.3
man/man3/scan_plusminus.3
@@ -248,6 +282,7 @@ man/man3/scan_uint.3
man/man3/scan_ulong.3
man/man3/scan_ulonglong.3
man/man3/scan_ushort.3
+man/man3/scan_utf8.3
man/man3/scan_whitenskip.3
man/man3/scan_xint.3
man/man3/scan_xlong.3
@@ -263,6 +298,9 @@ man/man3/socket_broadcast.3
man/man3/socket_connect4.3
man/man3/socket_connect6.3
man/man3/socket_connected.3
+man/man3/socket_fastopen.3
+man/man3/socket_fastopen_connect4.3
+man/man3/socket_fastopen_connect6.3
man/man3/socket_getifidx.3
man/man3/socket_getifname.3
man/man3/socket_listen.3
@@ -276,10 +314,15 @@ man/man3/socket_mcleave6.3
man/man3/socket_mcloop4.3
man/man3/socket_mcloop6.3
man/man3/socket_mcttl4.3
+man/man3/socket_quickack.3
man/man3/socket_recv4.3
man/man3/socket_recv6.3
man/man3/socket_remote4.3
man/man3/socket_remote6.3
+man/man3/socket_sctp4.3
+man/man3/socket_sctp4b.3
+man/man3/socket_sctp6.3
+man/man3/socket_sctp6b.3
man/man3/socket_send4.3
man/man3/socket_send6.3
man/man3/socket_tcp4.3
@@ -318,6 +361,7 @@ man/man3/stralloc_ready.3
man/man3/stralloc_readyplus.3
man/man3/stralloc_starts.3
man/man3/stralloc_zero.3
+man/man3/sub_of.3
man/man3/tai_add.3
man/man3/tai_approx.3
man/man3/tai_less.3
Index: pkgsrc/devel/libowfat/distinfo
diff -u pkgsrc/devel/libowfat/distinfo:1.4 pkgsrc/devel/libowfat/distinfo:1.5
--- pkgsrc/devel/libowfat/distinfo:1.4 Tue Nov 3 03:27:44 2015
+++ pkgsrc/devel/libowfat/distinfo Mon Jun 26 04:52:34 2017
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:27:44 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/06/26 04:52:34 schmonz Exp $
-SHA1 (libowfat-0.28.tar.bz2) = 6bbe997ae1bbe94b784ab50a3d44b63a2e08d857
-RMD160 (libowfat-0.28.tar.bz2) = 3e8826e10a3f46520bdfa9602edb2741728aa370
-SHA512 (libowfat-0.28.tar.bz2) = 789b722cdde18c82132c28e356dfcf825754a74bd15b43c084ff2763160564bee457f18352d0009c108d513f90e50fa155f6ecc3f80d597b2f26b2800c65576d
-Size (libowfat-0.28.tar.bz2) = 129622 bytes
-SHA1 (patch-aa) = 7542a1fd6b2f4f3f1dd430be547075e98488d7d0
+SHA1 (libowfat-0.31.tar.xz) = 67431a1e66153d7dee1a08060c95edd341766291
+RMD160 (libowfat-0.31.tar.xz) = 38817d1d68a7d86f5eaa479b1e72e8b28d9b4099
+SHA512 (libowfat-0.31.tar.xz) = b3ce973d6edc501ddaa6caa84dc3b74e3e31ced92e4f707038858cd36c977863251a7eaeababdad34ffe6b8ad13c9702118464f6f9fd827e05f6fbc5004408b5
+Size (libowfat-0.31.tar.xz) = 183684 bytes
+SHA1 (patch-aa) = 5184fd8f0008af421791cc9768c2e5204341f989
Index: pkgsrc/devel/libowfat/patches/patch-aa
diff -u pkgsrc/devel/libowfat/patches/patch-aa:1.2 pkgsrc/devel/libowfat/patches/patch-aa:1.3
--- pkgsrc/devel/libowfat/patches/patch-aa:1.2 Sun Feb 3 15:54:27 2008
+++ pkgsrc/devel/libowfat/patches/patch-aa Mon Jun 26 04:52:34 2017
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2008/02/03 15:54:27 tnn Exp $
+$NetBSD: patch-aa,v 1.3 2017/06/26 04:52:34 schmonz Exp $
+
+Follow hier(7).
--- GNUmakefile.orig 2006-07-16 01:17:01.000000000 +0200
+++ GNUmakefile
Home |
Main Index |
Thread Index |
Old Index