Date: Mon, 26 Sep 2005 18:44:22 +0400 (MSD) From: Alexander Novitsky <alecn2002@yandex.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: alecn2002@yandex.ru Subject: ports/86601: [NEW PORT] www/thttpd-st: Tiny/turbo/throttling HTTP server Message-ID: <200509261444.j8QEiMFG011236@server.v42of.icc-vvd.ru> Resent-Message-ID: <200509261450.j8QEoHgF063389@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86601 >Category: ports >Synopsis: [NEW PORT] www/thttpd-st: Tiny/turbo/throttling HTTP server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 26 14:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alexander Novitsky >Release: FreeBSD 5.4-RELEASE i386 >Organization: Inzhcomcentre VVD >Environment: System: FreeBSD server.v42of.icc-vvd.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Fri May 13 16:59:19 MSD 2005 >Description: Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- thttpd-st-2.25b_1.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: # # thttpd-st # thttpd-st/Makefile # thttpd-st/distinfo # thttpd-st/files # thttpd-st/files/st-patch-thttpd.c # thttpd-st/files/st-patch-fdwatch.c # thttpd-st/files/st-patch-Makefile.in # echo c - thttpd-st mkdir -p thttpd-st > /dev/null 2>&1 echo x - thttpd-st/Makefile sed 's/^X//' >thttpd-st/Makefile << 'END-of-thttpd-st/Makefile' X# New ports collection makefile for: thttpd-st X# Date created: 2005-09-21 X# Whom: Alexander Novitsky <alecn2002@yandex.ru> X# X# $FreeBSD$ X# X XPKGNAMESUFFIX=-st X XMAINTAINER= alecn2002@yandex.ru XCOMMENT= Tiny/turbo/throttling HTTP server with State Threads X XBUILD_DEPENDS= ${LOCALBASE}/lib/libst.so.1:${PORTSDIR}/devel/st XLIB_DEPENDS= st.1:${PORTSDIR}/devel/st X XPATCH_SITES= file://${.CURDIR}/files/ XPATCHFILES+= st-patch-fdwatch.c st-patch-thttpd.c st-patch-Makefile.in X XMD5_FILE= ${.CURDIR}/distinfo X XMASTERDIR= ${.CURDIR}/../thttpd X.include "${MASTERDIR}/Makefile" END-of-thttpd-st/Makefile echo x - thttpd-st/distinfo sed 's/^X//' >thttpd-st/distinfo << 'END-of-thttpd-st/distinfo' XMD5 (thttpd/thttpd-2.25b.tar.gz) = a0e9cd87455d3a0ea11e5ea7e947adf6 XSIZE (thttpd/thttpd-2.25b.tar.gz) = 132363 XMD5 (thttpd/st-patch-fdwatch.c) = b8b8732d7779046bc15437e83a048666 XSIZE (thttpd/st-patch-fdwatch.c) = 529 XMD5 (thttpd/st-patch-thttpd.c) = ab419b476a59ffc44239c80e36df0165 XSIZE (thttpd/st-patch-thttpd.c) = 245 XMD5 (thttpd/st-patch-Makefile.in) = e401e1b524704a77654073c308a0ac32 XSIZE (thttpd/st-patch-Makefile.in) = 315 XMD5 (thttpd/notes.html) = IGNORE END-of-thttpd-st/distinfo echo c - thttpd-st/files mkdir -p thttpd-st/files > /dev/null 2>&1 echo x - thttpd-st/files/st-patch-thttpd.c sed 's/^X//' >thttpd-st/files/st-patch-thttpd.c << 'END-of-thttpd-st/files/st-patch-thttpd.c' X--- thttpd.c.orig Thu Dec 25 22:06:52 2003 X+++ thttpd.c Wed Sep 21 22:30:25 2005 X@@ -631,6 +631,7 @@ X watchdog_flag = 0; X (void) alarm( OCCASIONAL_TIME * 3 ); X X+ st_init(); X /* Initialize the timer package. */ X tmr_init(); X END-of-thttpd-st/files/st-patch-thttpd.c echo x - thttpd-st/files/st-patch-fdwatch.c sed 's/^X//' >thttpd-st/files/st-patch-fdwatch.c << 'END-of-thttpd-st/files/st-patch-fdwatch.c' X--- fdwatch.c.orig Thu Dec 25 22:05:04 2003 X+++ fdwatch.c Wed Sep 21 22:49:32 2005 X@@ -59,6 +59,11 @@ X X #include "fdwatch.h" X X+#undef HAVE_KQUEUE X+#undef HAVE_SELECT X+#undef HAVE_POLL X+#define HAVE_POLL X+ X #ifdef HAVE_SELECT X #ifndef FD_SET X #define NFDBITS 32 X@@ -613,7 +618,7 @@ X { X int r, ridx, i; X X- r = poll( pollfds, npoll_fds, (int) timeout_msecs ); X+ r = st_poll( pollfds, npoll_fds, (unsigned long long) (timeout_msecs * (timeout_msecs == INFTIM ? 1 : 1000)) ); X if ( r <= 0 ) X return r; X END-of-thttpd-st/files/st-patch-fdwatch.c echo x - thttpd-st/files/st-patch-Makefile.in sed 's/^X//' >thttpd-st/files/st-patch-Makefile.in << 'END-of-thttpd-st/files/st-patch-Makefile.in' X--- Makefile.in.orig0 Wed Sep 21 23:05:29 2005 X+++ Makefile.in Wed Sep 21 23:05:44 2005 X@@ -52,7 +52,7 @@ X INCLS = -I. X CFLAGS = $(CCOPT) $(DEFS) $(INCLS) X-LDFLAGS = @LDFLAGS@ X+LDFLAGS = @LDFLAGS@ -L${prefix}/lib -L /usr/local/lib X-LIBS = @LIBS@ X+LIBS = @LIBS@ -lst X NETLIBS = @V_NETLIBS@ X INSTALL = @INSTALL@ X END-of-thttpd-st/files/st-patch-Makefile.in exit --- thttpd-st-2.25b_1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509261444.j8QEiMFG011236>