#!/bin/sh SRC_FETCH_PATH="http://1wt.eu/tools/httpterm/httpterm-${PKGVER}.tar.gz" SRC_FETCH_METHOD="http" MAKEDEPENDS= PATCH_LIST=" 0001-MINOR-remove-a-warning-about-an-unused-variable.patch 0002-MEDIUM-use-MSG_MORE-on-send.patch 0003-OPTIM-try-to-read-the-request-immediately.patch 0004-OPTIM-try-to-start-sending-the-response-before-polli.patch 0005-OPTIM-add-support-for-accept4.patch 0006-MINOR-add-support-for-option-S-0-1-in-the-request.patch 0007-MINOR-add-support-for-R-0-1-to-send-random-data.patch 0008-MINOR-add-support-for-draining-pending-POST-data.patch 0009-MEDIUM-add-support-for-sending-responses-in-pieces-p.patch 0010-BUG-chunks-chunked-encoding-requires-a-trailing-CRLF.patch 0011-MINOR-add-support-for-the-MIPS-architecture-on-Linux.patch 0012-BUILD-include-limits.h-for-INT_MAX.patch 0013-MEDIUM-support-objects-larger-than-2-31.patch 0014-MEDIUM-search-instead-of.patch 0015-MEDIUM-detect-keep-alive-vs-close.patch 0016-MEDIUM-enable-TCP_NODELAY.patch 0017-MAJOR-really-implement-keep-alive.patch 0018-BUG-MINOR-fix-condition-on-MSG_MORE-in-last-patch.patch " FILE_LIST= function do_compile_only { $FLXMAKE CC="$CC" LD="$CC" \ CPU_OPTS="$GCC_OPT_FAST" \ TARGET=linux26s } function do_prepack { mkdir -p $ROOTDIR/usr/sbin ; cp httpterm $ROOTDIR/usr/sbin mkdir -p $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/ cp $PKGDIR/addons/*.cfg $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/ cp examples/rc.highsock $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/ # mkdir -p $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/etc/httpterm/ # cp $PKGDIR/addons/*.cfg $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/etc/httpterm/ # cp examples/rc.highsock $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/etc/rc.highsock set_default_perm $ROOTDIR }