pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/thy Initial import of thy-0.8.10 from pkgsrc-wip.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0fdf830bdd50
branches: trunk
changeset: 471858:0fdf830bdd50
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Thu Apr 01 05:19:02 2004 +0000
description:
Initial import of thy-0.8.10 from pkgsrc-wip.
Thy was designed to be as fast and lightweight as possible. For
speed, she uses sendfile(), and does not fork.
Among the features are name-based virtual hosts, userdir and
directory index support; Range, If-Modified-Since, keep-alive,
on-the-fly compression and of course, CGI, IPv6 and TLS support.
Thy does not require (but can use) a configuration file to run.
diffstat:
www/thy/DESCR | 8 ++++++++
www/thy/MESSAGE | 8 ++++++++
www/thy/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
www/thy/PLIST | 23 +++++++++++++++++++++++
www/thy/distinfo | 4 ++++
www/thy/files/thy.sh | 29 +++++++++++++++++++++++++++++
6 files changed, 124 insertions(+), 0 deletions(-)
diffs (148 lines):
diff -r 8492191bc993 -r 0fdf830bdd50 www/thy/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/thy/DESCR Thu Apr 01 05:19:02 2004 +0000
@@ -0,0 +1,8 @@
+Thy was designed to be as fast and lightweight as possible. For
+speed, she uses sendfile(), and does not fork.
+
+Among the features are name-based virtual hosts, userdir and
+directory index support; Range, If-Modified-Since, keep-alive,
+on-the-fly compression and of course, CGI, IPv6 and TLS support.
+
+Thy does not require (but can use) a configuration file to run.
diff -r 8492191bc993 -r 0fdf830bdd50 www/thy/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/thy/MESSAGE Thu Apr 01 05:19:02 2004 +0000
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/04/01 05:19:02 xtraeme Exp $
+
+In order to use Thy, you will need to set up a directory to serve documents
+from. By default, Thy looks in `/var/www', you might consider using that,
+or `/var/httpd', as installed by apache.
+
+===========================================================================
diff -r 8492191bc993 -r 0fdf830bdd50 www/thy/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/thy/Makefile Thu Apr 01 05:19:02 2004 +0000
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/01 05:19:03 xtraeme Exp $
+#
+
+DISTNAME= thy-0.8.10
+CATEGORIES= www
+MASTER_SITES= ftp://bonehunter.rulez.org/pub/thy/devel/
+
+MAINTAINER= algernon%bonehunter.rulez.org@localhost
+HOMEPAGE= http://bonehunter.rulez.org/Thy.phtml
+COMMENT= Tiny and fast HTTP daemon
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= USE_INET6
+GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= make lex yacc
+USE_BUILDLINK3= yes
+USE_PKGINSTALL= yes
+
+PKG_SYSCONFSUBDIR= thy
+CONF_FILES= ${EGDIR}/thyrc ${PKG_SYSCONFDIR}/thyrc \
+ ${EGDIR}/http301.html ${PKG_SYSCONFDIR}/http301.html \
+ ${EGDIR}/http302.html ${PKG_SYSCONFDIR}/http302.html \
+ ${EGDIR}/http400.html ${PKG_SYSCONFDIR}/http400.html \
+ ${EGDIR}/http401.html ${PKG_SYSCONFDIR}/http401.html \
+ ${EGDIR}/http403.html ${PKG_SYSCONFDIR}/http403.html \
+ ${EGDIR}/http404.html ${PKG_SYSCONFDIR}/http404.html \
+ ${EGDIR}/http405.html ${PKG_SYSCONFDIR}/http405.html \
+ ${EGDIR}/http411.html ${PKG_SYSCONFDIR}/http411.html \
+ ${EGDIR}/http412.html ${PKG_SYSCONFDIR}/http412.html \
+ ${EGDIR}/http413.html ${PKG_SYSCONFDIR}/http413.html \
+ ${EGDIR}/http416.html ${PKG_SYSCONFDIR}/http416.html \
+ ${EGDIR}/http417.html ${PKG_SYSCONFDIR}/http417.html \
+ ${EGDIR}/http500.html ${PKG_SYSCONFDIR}/http500.html \
+ ${EGDIR}/http501.html ${PKG_SYSCONFDIR}/http501.html \
+ ${EGDIR}/http503.html ${PKG_SYSCONFDIR}/http503.html \
+ ${EGDIR}/http505.html ${PKG_SYSCONFDIR}/http505.html
+RCD_SCRIPTS= thy
+INFO_FILES= thy.info
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+MAKE_FLAGS+= pkgconfdir=${EGDIR}
+
+EGDIR= ${PREFIX}/share/examples/thy
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/etc/thyrc ${EGDIR}
+
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8492191bc993 -r 0fdf830bdd50 www/thy/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/thy/PLIST Thu Apr 01 05:19:02 2004 +0000
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/01 05:19:03 xtraeme Exp $
+etc/rc.d/thy
+man/man7/thy-auth.7
+man/man8/thy.8
+sbin/thy
+share/examples/thy/http301.html
+share/examples/thy/http302.html
+share/examples/thy/http400.html
+share/examples/thy/http401.html
+share/examples/thy/http403.html
+share/examples/thy/http404.html
+share/examples/thy/http405.html
+share/examples/thy/http411.html
+share/examples/thy/http412.html
+share/examples/thy/http413.html
+share/examples/thy/http416.html
+share/examples/thy/http417.html
+share/examples/thy/http500.html
+share/examples/thy/http501.html
+share/examples/thy/http503.html
+share/examples/thy/http505.html
+share/examples/thy/thyrc
+@dirrm share/examples/thy
diff -r 8492191bc993 -r 0fdf830bdd50 www/thy/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/thy/distinfo Thu Apr 01 05:19:02 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/01 05:19:03 xtraeme Exp $
+
+SHA1 (thy-0.8.10.tar.gz) = 6d7ebb79eec26fa45c719dc0e7f6c8ce222ad920
+Size (thy-0.8.10.tar.gz) = 486014 bytes
diff -r 8492191bc993 -r 0fdf830bdd50 www/thy/files/thy.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/thy/files/thy.sh Thu Apr 01 05:19:02 2004 +0000
@@ -0,0 +1,29 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: thy.sh,v 1.1.1.1 2004/04/01 05:19:03 xtraeme Exp $
+#
+# PROVIDE: thy
+# REQUIRE: DAEMON
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+if [ -f @PKG_SYSCONFDIR@/thyrc ]; then
+ . @PKG_SYSCONFDIR@/thyrc
+fi
+
+name="thy"
+rcvar=${name}
+command="@PREFIX@/sbin/${name}"
+command_args=${THY_OPTIONS}
+pidfile=${THY_PIDFILE:-/var/run/thy.pid}
+stop_postcmd="rm -f ${pidfile}"
+
+if [ -f /etc/rc.subr ]; then
+ load_rc_config ${name}
+ run_rc_command "$1"
+else
+ @ECHO@ -n " ${name}"
+ eval ${command} ${command_args}
+fi
Home |
Main Index |
Thread Index |
Old Index