From thomas@laurel.tmseck.homedns.org  Sat Feb 21 15:04:28 2004
Return-Path: <thomas@laurel.tmseck.homedns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E21B316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Feb 2004 15:04:28 -0800 (PST)
Received: from smtp1.netcologne.de (smtp1.netcologne.de [194.8.194.112])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8F04D43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Feb 2004 15:04:28 -0800 (PST)
	(envelope-from thomas@laurel.tmseck.homedns.org)
Received: from laurel.tmseck.homedns.org (xdsl-213-168-119-42.netcologne.de [213.168.119.42])
	by smtp1.netcologne.de (Postfix) with SMTP id 2140F38953
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Feb 2004 00:04:24 +0100 (MET)
Received: (qmail 6719 invoked by uid 1001); 21 Feb 2004 23:04:31 -0000
Message-Id: <20040221230431.6718.qmail@laurel.tmseck.homedns.org>
Date: 21 Feb 2004 23:04:31 -0000
From: Thomas-Martin Seck <tmseck@netcologne.de>
Reply-To: Thomas-Martin Seck <tmseck@netcologne.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [New port] devel/libowfat - a general purpose library
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63195
>Category:       ports
>Synopsis:       [New port] devel/libowfat - a general purpose library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 21 15:10:22 PST 2004
>Closed-Date:    Sun Feb 22 07:04:11 PST 2004
>Last-Modified:  Sun Feb 22 07:04:11 PST 2004
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
private site in Germany
>Environment:
FreeBSD ports repository as of Feb 21, 2004.

	
>Description:
libowfat is a general purpose library based on code by D. J. Bernstein.
It is being developed by Felix von Leitner and the base for his "gatling"
webserver and his accompanying scalability benchmarks.
The project's homepage is http://www.fefe.de/libowfat/
	
>How-To-Repeat:
	
>Fix:

	

--- libowfat.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libowfat
#	libowfat/files
#	libowfat/files/patch-GNUmakefile
#	libowfat/files/manpages
#	libowfat/files/patch-io_iob_prefetch.c
#	libowfat/Makefile
#	libowfat/distinfo
#	libowfat/pkg-descr
#
echo c - libowfat
mkdir -p libowfat > /dev/null 2>&1
echo c - libowfat/files
mkdir -p libowfat/files > /dev/null 2>&1
echo x - libowfat/files/patch-GNUmakefile
sed 's/^X//' >libowfat/files/patch-GNUmakefile << 'END-of-libowfat/files/patch-GNUmakefile'
X--- GNUmakefile.orig	Sat Feb 21 23:01:27 2004
X+++ GNUmakefile	Sat Feb 21 23:06:27 2004
X@@ -4,20 +4,16 @@
X # in /opt/diet, where they are in the default search path for my diet libc
X # work but don't conflict with anything there.  YMMV.
X 
X-prefix=/opt/diet
X+prefix=${PREFIX}
X LIBDIR=${prefix}/lib
X-INCLUDEDIR=${prefix}/include
X-MAN3DIR=${prefix}/man/man3
X+INCLUDEDIR=${prefix}/include/libowfat
X+MAN3DIR=${MAN3PREFIX}/man/man3
X 
X LIBS=byte.a fmt.a scan.a str.a uint.a open.a stralloc.a unix.a socket.a \
X buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a textcode.a
X 
X all: t $(LIBS) libowfat.a libsocket
X 
X-CC=gcc
X-CFLAGS=-pipe -Wall -O2 -fomit-frame-pointer
X-#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
X-
X # startrip
X ifneq ($(DEBUG),)
X CFLAGS=-pipe -Wall -g
X@@ -147,9 +143,9 @@
X 
X install: libowfat.a
X 	install -d $(INCLUDEDIR) $(MAN3DIR) $(LIBDIR)
X-	install -m 644 $(INCLUDES) $(INCLUDEDIR)
X-	install -m 644 $(wildcard */*.3) $(MAN3DIR)
X-	install -m 644 libowfat.a $(LIBDIR)
X+	install -m 444 $(INCLUDES) $(INCLUDEDIR)
X+	install -m 444 $(wildcard */*.3) $(MAN3DIR)
X+	install -m 444 libowfat.a $(LIBDIR)
X 
X uninstall:
X 	rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
END-of-libowfat/files/patch-GNUmakefile
echo x - libowfat/files/manpages
sed 's/^X//' >libowfat/files/manpages << 'END-of-libowfat/files/manpages'
XMAN3=\
Xarray.3 array_allocate.3 array_bytes.3 array_cat.3 array_cat0.3 \
Xarray_catb.3 array_cate.3 array_cats.3 array_cats0.3 array_equal.3 \
Xarray_fail.3 array_get.3 array_length.3 array_reset.3 array_start.3 \
Xarray_trunc.3 array_truncate.3 buffer.3 buffer_feed.3 buffer_flush.3 \
Xbuffer_fromsa.3 buffer_get.3 buffer_get_token.3 buffer_get_token_pred.3 \
Xbuffer_get_token_sa.3 buffer_get_token_sa_pred.3 buffer_getc.3 \
Xbuffer_getline_sa.3 buffer_getn.3 buffer_init.3 buffer_peek.3 \
Xbuffer_put.3 buffer_put8long.3 buffer_putalign.3 buffer_puterror.3 \
Xbuffer_puterror2.3 buffer_putflush.3 buffer_putlong.3 buffer_putlonglong.3 \
Xbuffer_putnlflush.3 buffer_puts.3 buffer_putsa.3 buffer_putsalign.3 \
Xbuffer_putsflush.3 buffer_putspace.3 buffer_putulong.3 \
Xbuffer_putulonglong.3 buffer_putxlong.3 buffer_seek.3 byte_chr.3 \
Xbyte_copy.3 byte_copyr.3 byte_diff.3 byte_equal.3 byte_rchr.3 \
Xbyte_zero.3 case_diffb.3 case_diffs.3 case_lowerb.3 case_lowers.3 \
Xcase_starts.3 dns_ip4.3 dns_ip4_packet.3 dns_ip4_qualify.3 dns_ip6.3 \
Xdns_ip6_packet.3 dns_ip6_qualify.3 dns_mx.3 dns_mx_packet.3 dns_name4.3 \
Xdns_name4_domain.3 dns_name6.3 dns_name6_domain.3 dns_name_packet.3 \
Xdns_txt.3 dns_txt_packet.3 fmt_8long.3 fmt_double.3 fmt_fill.3 \
Xfmt_httpdate.3 fmt_human.3 fmt_humank.3 fmt_ip4.3 fmt_ip6.3 \
Xfmt_ip6_flat.3 fmt_ip6c.3 fmt_ip6if.3 fmt_ip6ifc.3 fmt_long.3 \
Xfmt_longlong.3 fmt_minus.3 fmt_pad.3 fmt_plusminus.3 fmt_str.3 \
Xfmt_strn.3 fmt_uint.3 fmt_uint0.3 fmt_ulong.3 fmt_ulong0.3 \
Xfmt_ulonglong.3 fmt_xlong.3 fmt_xlonglong.3 iopause.3 mmap_private.3 \
Xmmap_read.3 mmap_shared.3 ndelay_off.3 ndelay_on.3 open_append.3 \
Xopen_excl.3 open_read.3 open_rw.3 open_trunc.3 open_write.3 \
Xopenreadclose.3 readclose.3 readclose_append.3 scan_8int.3 scan_8long.3 \
Xscan_8short.3 scan_charsetnskip.3 scan_double.3 scan_httpdate.3 \
Xscan_int.3 scan_ip4.3 scan_ip6.3 scan_ip6_flat.3 scan_ip6if.3 \
Xscan_long.3 scan_longlong.3 scan_noncharsetnskip.3 scan_nonwhitenskip.3 \
Xscan_plusminus.3 scan_short.3 scan_uint.3 scan_ulong.3 scan_ulonglong.3 \
Xscan_ushort.3 scan_whitenskip.3 scan_xint.3 scan_xlong.3 scan_xlonglong.3 \
Xscan_xshort.3 socket_accept4.3 socket_accept6.3 socket_bind4.3 \
Xsocket_bind4_reuse.3 socket_bind6.3 socket_bind6_reuse.3 \
Xsocket_broadcast.3 socket_connect4.3 socket_connect6.3 socket_connected.3 \
Xsocket_getifidx.3 socket_getifname.3 socket_listen.3 socket_local4.3 \
Xsocket_local6.3 socket_mchopcount6.3 socket_mcjoin4.3 socket_mcjoin6.3 \
Xsocket_mcleave4.3 socket_mcleave6.3 socket_mcloop4.3 socket_mcloop6.3 \
Xsocket_mcttl4.3 socket_recv4.3 socket_recv6.3 socket_remote4.3 \
Xsocket_remote6.3 socket_send4.3 socket_send6.3 socket_tcp4.3 \
Xsocket_tcp6.3 socket_udp4.3 socket_udp6.3 str_chr.3 str_copy.3 \
Xstr_diff.3 str_diffn.3 str_equal.3 str_len.3 str_rchr.3 str_start.3 \
Xstralloc_0.3 stralloc_append.3 stralloc_cat.3 stralloc_catb.3 \
Xstralloc_catlong0.3 stralloc_cats.3 stralloc_catulong0.3 stralloc_chomp.3 \
Xstralloc_chop.3 stralloc_copy.3 stralloc_copyb.3 stralloc_copys.3 \
Xstralloc_diff.3 stralloc_diffs.3 stralloc_free.3 stralloc_init.3 \
Xstralloc_ready.3 stralloc_readyplus.3 stralloc_starts.3 tai_add.3 \
Xtai_approx.3 tai_less.3 tai_now.3 tai_pack.3 tai_sub.3 tai_unpack.3 \
Xtaia_add.3 taia_addsec.3 taia_approx.3 taia_frac.3 taia_less.3 \
Xtaia_now.3 taia_pack.3 taia_sub.3 taia_tai.3 taia_uint.3 taia_unpack.3 \
Xuint16_pack.3 uint16_pack_big.3 uint16_read.3 uint16_read_big.3 \
Xuint16_unpack.3 uint16_unpack_big.3 uint32_pack.3 uint32_pack_big.3 \
Xuint32_read.3 uint32_read_big.3 uint32_unpack.3 uint32_unpack_big.3
END-of-libowfat/files/manpages
echo x - libowfat/files/patch-io_iob_prefetch.c
sed 's/^X//' >libowfat/files/patch-io_iob_prefetch.c << 'END-of-libowfat/files/patch-io_iob_prefetch.c'
X--- io/iob_prefetch.c.orig	Sat Feb 21 17:56:29 2004
X+++ io/iob_prefetch.c	Sat Feb 21 17:56:49 2004
X@@ -1,5 +1,6 @@
X #include "iob_internal.h"
X #include <stdio.h>
X+#include <sys/types.h>
X #include <sys/mman.h>
X 
X void iob_prefetch(io_batch* b,uint64 bytes) {
END-of-libowfat/files/patch-io_iob_prefetch.c
echo x - libowfat/Makefile
sed 's/^X//' >libowfat/Makefile << 'END-of-libowfat/Makefile'
X# Ports collection Makefile for: libowfat
X# Date created:			Feb 21, 2004
X# Whom:				Thomas-Martin Seck <tmseck@netcologne.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libowfat
XPORTVERSION=	0.17
XCATEGORIES=	devel
XMASTER_SITES=	http://dl.fefe.de/
X
XMAINTAINER=	tmseck@netcologne.de
XCOMMENT=	A general purpose library based on code by D. J. Bernstein
X
XUSE_BZIP2=	YES
XUSE_GMAKE=	YES
X
XMAKEFILE=	GNUmakefile
XMAKE_ENV+=	MAN3PREFIX=${MAN3PREFIX}
X
XOPTIONS=	LIBOWFAT_OPTIMIZED_CFLAGS "Use optimized CFLAGS" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_LIBOWFAT_OPTIMIZED_CFLAGS)
XCFLAGS+=	-O2 -fomit-frame-pointer
X.endif
X
X.include "${FILESDIR}/manpages"
X
XPLIST_FILES=	lib/libowfat.a
X.if!defined(NOPORTDOCS)
XPORTDOCS=	README
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X# add installed header files to packaging list:
X	@cd ${PREFIX} && \
X	    ${FIND} include/libowfat -type f -o -type l | ${SORT} >>${TMPPLIST}
X	@${ECHO_CMD} "@dirrm include/libowfat" >>${TMPPLIST}
X
X.include <bsd.port.post.mk>
END-of-libowfat/Makefile
echo x - libowfat/distinfo
sed 's/^X//' >libowfat/distinfo << 'END-of-libowfat/distinfo'
XMD5 (libowfat-0.17.tar.bz2) = a8da3ebe361004b0dbec26d330e1c155
XSIZE (libowfat-0.17.tar.bz2) = 121919
END-of-libowfat/distinfo
echo x - libowfat/pkg-descr
sed 's/^X//' >libowfat/pkg-descr << 'END-of-libowfat/pkg-descr'
XFrom the README:
X
Xlibowfat is a library of general purpose APIs extracted from Dan
XBernstein's software, reimplemented and covered by the GNU General
XPublic License Version 2 (no later versions).
X
XWWW: http://www.fefe.de/libowfat/
END-of-libowfat/pkg-descr
exit
--- libowfat.shar ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: ale 
Responsible-Changed-When: Sun Feb 22 06:19:39 PST 2004 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63195 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Sun Feb 22 07:03:56 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63195 
>Unformatted:
