From 9900f9f5729625eb09df0d911c81bffa0c9bd33f Mon Sep 17 00:00:00 2001 From: xtraeme Date: Tue, 22 Jun 2004 12:11:01 +0000 Subject: Update www/screws to 0.54. Changes: 0.54 - * - Separated IO code from Accept - Add HSML comment tag: - Add launcher from cmdline (path|port) using HsmlExec module. - Allow stdin to read the configuration file (-c -) - Disable exectimeout by default to allow large file processing. - Disable keep-alive (not all scripts print Content-Length) - Solve IExplorer 'bug' that forces screws to segfault - Add initial support for Range-bytes in Headers and HsmlExec. - Drop nonblocking sockets, and use IOpoll/IOselect by default. - Solved longfiles buffering problems. - Solve XSS bug on HsmlExec - Initial screws_* API - Allow logs using syslog (LOG_ERR) and piped logs (|...) - Create macros for modules. - Add CleanLog module - Move hsml_lua_init into HsmlExec_init (3x faster) - Exterminate zombies using setsid() - Change bool env from TRUE/"" to 1/0 - patch unicode bug that wraps the ARGV env. - Implement headers support for hsml and .x's (redirect, mimetype, 404...) - do not overwrite user config file - initial alloc drop process. 0.53 - 2004/05/10 - Initial code for file uploading - Solve Dead children ripper bug. - Cleaner Makefiles - add portable getpath(Utils/whereis) - Add nonblocking sockets for child ripping. - Add multi-part support for fileuploading - Solve argument parsing bug. - Add some filechecks in HsmlExec.so - Add csharp support. - Patch an hsml parsing bug. - Hashbang support on hsml (to separate hsml1 and hsml2 code) - Solve http request bug. - Write all manpages. --- www/screws/Makefile | 7 ++++--- www/screws/PLIST | 12 +++++++++++- www/screws/distinfo | 7 +++---- www/screws/patches/patch-aa | 14 -------------- 4 files changed, 18 insertions(+), 22 deletions(-) delete mode 100644 www/screws/patches/patch-aa (limited to 'www') diff --git a/www/screws/Makefile b/www/screws/Makefile index 9eddf9b86cb..a785f4b4d83 100644 --- a/www/screws/Makefile +++ b/www/screws/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/04/23 16:09:20 xtraeme Exp $ +# $NetBSD: Makefile,v 1.2 2004/06/22 12:11:01 xtraeme Exp $ # -DISTNAME= screws-0.52 +DISTNAME= screws-0.54 CATEGORIES= www MASTER_SITES= ftp://ftp.nopcode.org/prj/screws/ @@ -17,10 +17,11 @@ PKG_USERS= screws PKG_GROUPS= www EGDIR= ${PREFIX}/share/examples -CONF_FILES= ${EGDIR}/screws.conf ${PKG_SYSCONFDIR}/screws.conf +CONF_FILES= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/screws.conf FILESDIR= ${WRKSRC}/src/Utils/files RCD_SCRIPTS= screws +.include "../../lang/lua/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/screws/PLIST b/www/screws/PLIST index e06be54a0ec..c969b5160ca 100644 --- a/www/screws/PLIST +++ b/www/screws/PLIST @@ -1,16 +1,19 @@ -@comment $NetBSD: PLIST,v 1.2 2004/04/23 22:08:00 reed Exp $ +@comment $NetBSD: PLIST,v 1.3 2004/06/22 12:11:01 xtraeme Exp $ bin/hsml lib/screws/BasicExec.so +lib/screws/CleanLog.so lib/screws/Hello.so lib/screws/HsmlExec.so lib/screws/LoadBalancing.so lib/screws/Mime.so +lib/screws/MyReq.so lib/screws/noupdir.so lib/screws/unicode.so libexec/screws/README libexec/screws/c/Makefile libexec/screws/c/index.html libexec/screws/c/linksys.c +libexec/screws/htdocs/env.hsml libexec/screws/htdocs/index.html libexec/screws/htdocs/index2.html libexec/screws/htdocs/logo.png @@ -24,6 +27,8 @@ libexec/screws/perl/defpages/404.html libexec/screws/perl/error.pl libexec/screws/perl/get.pl libexec/screws/perl/htdocs/.hidden +libexec/screws/perl/htdocs/dmesg.x +libexec/screws/perl/htdocs/env.hsml libexec/screws/perl/htdocs/example.c libexec/screws/perl/htdocs/example.dir/OtherDir/nullfile libexec/screws/perl/htdocs/example.dir/onefile @@ -42,7 +47,9 @@ libexec/screws/perl/htdocs/hsml2.pl.html libexec/screws/perl/htdocs/index.html libexec/screws/perl/htdocs/logo-old.png libexec/screws/perl/htdocs/logo.png +libexec/screws/perl/htdocs/pop.hsml libexec/screws/perl/htdocs/post.hsml +libexec/screws/perl/htdocs/redirect.hsml libexec/screws/perl/http1.pl libexec/screws/perl/listdir.pl libexec/screws/perl/main.pl @@ -52,6 +59,8 @@ libexec/screws/perl/mime.types libexec/screws/sh/basic.sh libexec/screws/sh/basic.sh.old libexec/screws/sh/index.html +man/man1/screwsctl.1 +man/man5/screws.conf.5 man/man8/screwsd.8 sbin/screwsctl sbin/screwsd @@ -70,6 +79,7 @@ share/doc/screws/tcpwin share/doc/screws/verbose share/doc/screws/virtual-hosts share/doc/screws/wrt54g.txt +share/examples/screws/default.conf share/examples/screws/screws.conf share/screws/hsml-inc/include.pl.html share/screws/mime.types diff --git a/www/screws/distinfo b/www/screws/distinfo index f327ccf3068..3f54ea47e97 100644 --- a/www/screws/distinfo +++ b/www/screws/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.2 2004/05/10 02:35:28 kristerw Exp $ +$NetBSD: distinfo,v 1.3 2004/06/22 12:11:01 xtraeme Exp $ -SHA1 (screws-0.52.tar.gz) = 795e1657d2eee7f97a96eb2de1f3f9ca9b231bd7 -Size (screws-0.52.tar.gz) = 199856 bytes -SHA1 (patch-aa) = a139255926eb718f74c55b0ccae771378699a3ae +SHA1 (screws-0.54.tar.gz) = 87114e17d14f092e943a3a29345a532cfa7e3ca5 +Size (screws-0.54.tar.gz) = 828711 bytes diff --git a/www/screws/patches/patch-aa b/www/screws/patches/patch-aa deleted file mode 100644 index 3858fc96a4c..00000000000 --- a/www/screws/patches/patch-aa +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2004/05/10 02:35:28 kristerw Exp $ - ---- src/Hsml/SubLang.c.orig Mon May 10 04:27:45 2004 -+++ src/Hsml/SubLang.c Mon May 10 04:28:14 2004 -@@ -89,8 +89,8 @@ - - void showBinPath() - { -- getPathFromEnv(); - int i=0; -+ getPathFromEnv(); - printf("=[ PATH ]=\n"); - while(sublang[i].file) - { -- cgit v1.2.3