Hi, this is an update for the lowfat library which also contains security fixes beside of new features.
If anything is wrong with this diff, just tell me, I will fix it. bye, Jan Index: Makefile =================================================================== RCS file: /cvs/ports/devel/libowfat/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 31 Dec 2014 08:42:26 -0000 1.3 +++ Makefile 18 Sep 2015 22:57:20 -0000 @@ -3,15 +3,15 @@ COMMENT = library of general purpose APIs BROKEN-hppa= missing atomic ops -DISTNAME = libowfat-0.29 +DISTNAME = libowfat-0.30 REVISION = 0 CATEGORIES = devel MAINTAINER = Jan Klemkow <j.klem...@wemelug.de> HOMEPAGE = http://www.fefe.de/libowfat/ -MASTER_SITES = http://dl.fefe.de/ -EXTRACT_SUFX = .tar.bz2 +MASTER_SITES = http://www.fefe.de/libowfat/ +EXTRACT_SUFX = .tar.xz USE_GMAKE = Yes MAKE_FILE = GNUmakefile Index: distinfo =================================================================== RCS file: /cvs/ports/devel/libowfat/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo 9 Nov 2014 19:47:41 -0000 1.1.1.1 +++ distinfo 18 Sep 2015 22:57:20 -0000 @@ -1,2 +1,2 @@ -SHA256 (libowfat-0.29.tar.bz2) = S6297ta+9DN/Ht1rhvtxVMVZJQnCctzcCcaTFhy8ZCc= -SIZE (libowfat-0.29.tar.bz2) = 139489 +SHA256 (libowfat-0.30.tar.xz) = 20o6hTz7ueg7J/VltYD2/cUZR1sWLtwaZWBD4cEm6ZM= +SIZE (libowfat-0.30.tar.xz) = 177368 Index: patches/patch-GNUmakefile =================================================================== RCS file: /cvs/ports/devel/libowfat/patches/patch-GNUmakefile,v retrieving revision 1.2 diff -u -p -r1.2 patch-GNUmakefile --- patches/patch-GNUmakefile 17 Nov 2014 13:28:43 -0000 1.2 +++ patches/patch-GNUmakefile 18 Sep 2015 22:57:20 -0000 @@ -1,24 +1,22 @@ $OpenBSD: patch-GNUmakefile,v 1.2 2014/11/17 13:28:43 sthen Exp $ ---- GNUmakefile.orig Tue Apr 17 22:26:31 2012 -+++ GNUmakefile Mon Nov 17 13:27:11 2014 -@@ -18,8 +18,9 @@ all: $(LIBS) libowfat.a libsocket t +--- GNUmakefile.orig Sat Sep 19 00:13:11 2015 ++++ GNUmakefile Sat Sep 19 00:23:26 2015 +@@ -18,8 +18,9 @@ all: ent $(LIBS) libowfat.a libsocket t CROSS= #CROSS=i686-mingw- CC=$(CROSS)gcc --CFLAGS=-pipe -W -Wall -O2 -fomit-frame-pointer +-CFLAGS=-pipe -W -Wall -Wextra -O2 -fomit-frame-pointer +COPTFLAGS=-pipe -W -Wall -O2 -fomit-frame-pointer #CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall +CFLAGS=$(COPTFLAGS) - # CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2 - -@@ -297,8 +298,8 @@ dns_nd6.o fmt_xlong.o scan_xlong.o fmt_ip6_flat.o $(TE - + ent: ent.c haveuint128.h + gcc -g -o ent ent.c -I. +@@ -317,7 +318,7 @@ dns_nd6.o fmt_xlong.o scan_xlong.o fmt_ip6_flat.o $(TE iob_send.o scan_ip6if.o: havealloca.h --dep: haveip6.h haven2i.h havesl.h haveinline.h iopause.h select.h haveepoll.h havekqueue.h havedevpoll.h havescope.h havesigio.h havebsdsf.h havesendfile.h + dep: haveip6.h haven2i.h havesl.h haveinline.h iopause.h select.h haveepoll.h havekqueue.h havedevpoll.h havescope.h havesigio.h havebsdsf.h havesendfile.h havealloca.h haveuint128.h - gcc -I. -MM `ls */*.c | grep -v test` t.c | sed -e 's@ \./@ @g' > dep -+dep: haveip6.h haven2i.h havesl.h haveinline.h iopause.h select.h haveepoll.h havekqueue.h havedevpoll.h havescope.h havesigio.h havebsdsf.h havesendfile.h havealloca.h + $(CC) -I. -MM `ls */*.c | grep -v test` t.c | sed -e 's@ \./@ @g' > dep libdep: Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/libowfat/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 PLIST --- pkg/PLIST 9 Nov 2014 19:47:41 -0000 1.1.1.1 +++ pkg/PLIST 18 Sep 2015 22:57:20 -0000 @@ -6,6 +6,8 @@ include/lowfat/byte.h include/lowfat/case.h include/lowfat/cdb.h include/lowfat/cdb_make.h +include/lowfat/compiletimeassert.h +include/lowfat/critbit.h include/lowfat/dns.h include/lowfat/errmsg.h include/lowfat/fmt.h @@ -59,6 +61,8 @@ share/lowfat/man/buffer.3 share/lowfat/man/buffer_close.3 share/lowfat/man/buffer_feed.3 share/lowfat/man/buffer_flush.3 +share/lowfat/man/buffer_fromarray.3 +share/lowfat/man/buffer_frombuf.3 share/lowfat/man/buffer_fromsa.3 share/lowfat/man/buffer_get.3 share/lowfat/man/buffer_get_new_token_sa.3 @@ -120,6 +124,11 @@ share/lowfat/man/cdb_keypos.3 share/lowfat/man/cdb_nextkey.3 share/lowfat/man/cdb_read.3 share/lowfat/man/cdb_successor.3 +share/lowfat/man/critbit0_allprefixed.3 +share/lowfat/man/critbit0_clear.3 +share/lowfat/man/critbit0_contains.3 +share/lowfat/man/critbit0_delete.3 +share/lowfat/man/critbit0_insert.3 share/lowfat/man/dns_ip4.3 share/lowfat/man/dns_ip4_packet.3 share/lowfat/man/dns_ip4_qualify.3 @@ -185,6 +194,7 @@ share/lowfat/man/io_dontwantwrite.3 share/lowfat/man/io_eagain.3 share/lowfat/man/io_fd.3 share/lowfat/man/io_fd_canwrite.3 +share/lowfat/man/io_fd_flags.3 share/lowfat/man/io_finishandshutdown.3 share/lowfat/man/io_getcookie.3 share/lowfat/man/io_nonblock.3 @@ -248,6 +258,7 @@ share/lowfat/man/scan_8int.3 share/lowfat/man/scan_8long.3 share/lowfat/man/scan_8short.3 share/lowfat/man/scan_asn1derlength.3 +share/lowfat/man/scan_asn1derlengthvalue.3 share/lowfat/man/scan_asn1dertag.3 share/lowfat/man/scan_charsetnskip.3 share/lowfat/man/scan_double.3 @@ -283,6 +294,9 @@ share/lowfat/man/socket_broadcast.3 share/lowfat/man/socket_connect4.3 share/lowfat/man/socket_connect6.3 share/lowfat/man/socket_connected.3 +share/lowfat/man/socket_fastopen.3 +share/lowfat/man/socket_fastopen_connect4.3 +share/lowfat/man/socket_fastopen_connect6.3 share/lowfat/man/socket_getifidx.3 share/lowfat/man/socket_getifname.3 share/lowfat/man/socket_listen.3 @@ -296,6 +310,7 @@ share/lowfat/man/socket_mcleave6.3 share/lowfat/man/socket_mcloop4.3 share/lowfat/man/socket_mcloop6.3 share/lowfat/man/socket_mcttl4.3 +share/lowfat/man/socket_quickack.3 share/lowfat/man/socket_recv4.3 share/lowfat/man/socket_recv6.3 share/lowfat/man/socket_remote4.3