diff options
author | miwi <miwi@FreeBSD.org> | 2009-08-05 20:23:57 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-08-05 20:23:57 +0800 |
commit | 6ba8ea89b2e2d7b265bd21aae9e05f052acf6584 (patch) | |
tree | cca9d49db33498349e1dfde357522dbf12abe639 /www | |
parent | 596e8a6cc8c86fcc04d7817f06f36582c0f74dd1 (diff) | |
download | freebsd-ports-gnome-6ba8ea89b2e2d7b265bd21aae9e05f052acf6584.tar.gz freebsd-ports-gnome-6ba8ea89b2e2d7b265bd21aae9e05f052acf6584.tar.zst freebsd-ports-gnome-6ba8ea89b2e2d7b265bd21aae9e05f052acf6584.zip |
tinytinyhttpd is a very lightweight HTTP server written in C.
It supports multi threads, customization, directory listing and CGI.
It is confirmed to run the following software under tinytinyhttpd
with no hassle:
* MTOS(Movable Type Open Source) (perl)
* WordPress (php)
* blogn Plus (php)
* tDiary (ruby)
* PukiWiki (php)
* NucreusCMS (php)
* blosxom (perl)
WWW: http://github.com/mattn/tinytinyhttpd/tree/master
PR: ports/137354
Submitted by: Shinsuke Matsui <smatsui at karashi.org>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/tinytinyhttpd/Makefile | 32 | ||||
-rw-r--r-- | www/tinytinyhttpd/distinfo | 3 | ||||
-rw-r--r-- | www/tinytinyhttpd/files/example.conf | 10 | ||||
-rw-r--r-- | www/tinytinyhttpd/pkg-descr | 15 |
5 files changed, 61 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 8c1064b9c7e7..9bc886316ea9 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1478,6 +1478,7 @@ SUBDIR += tinymce SUBDIR += tinymce3 SUBDIR += tinyproxy + SUBDIR += tinytinyhttpd SUBDIR += tomcat-native SUBDIR += tomcat41 SUBDIR += tomcat55 diff --git a/www/tinytinyhttpd/Makefile b/www/tinytinyhttpd/Makefile new file mode 100644 index 000000000000..5096d3845f35 --- /dev/null +++ b/www/tinytinyhttpd/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: tinytinyhttpd +# Date created: 01 Aug 2009 +# Whom: Shinsuke Matsui <smatsui@karashi.org> +# +# $FreeBSD$ +# + +PORTNAME= tinytinyhttpd +PORTVERSION= 0.0.2 +CATEGORIES= www +MASTER_SITES= http://cloud.github.com/downloads/mattn/tinytinyhttpd/ \ + ${MASTER_SITE_LOCAL} + +MAINTAINER= smatsui@karashi.org +COMMENT= Tiny tiny httpd + +PLIST_FILES= bin/tthttpd +PORTDOCS= README.mkd example.conf ChangeLog + +.include <bsd.port.pre.mk> + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tthttpd ${PREFIX}/bin + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/example.conf ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.mkd ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/www/tinytinyhttpd/distinfo b/www/tinytinyhttpd/distinfo new file mode 100644 index 000000000000..1a9859bd3d64 --- /dev/null +++ b/www/tinytinyhttpd/distinfo @@ -0,0 +1,3 @@ +MD5 (tinytinyhttpd-0.0.2.tar.gz) = 45c818dcc98ea943753a02d2c6d01bae +SHA256 (tinytinyhttpd-0.0.2.tar.gz) = 1b6bdd7ea798e714c2259048de95daa79487aea6e09cdc76ea08eb1b6a82db73 +SIZE (tinytinyhttpd-0.0.2.tar.gz) = 21560 diff --git a/www/tinytinyhttpd/files/example.conf b/www/tinytinyhttpd/files/example.conf new file mode 100644 index 000000000000..c77a7d50dbe4 --- /dev/null +++ b/www/tinytinyhttpd/files/example.conf @@ -0,0 +1,10 @@ +[global] +port=8080 +root=/path/to/contents +indexpages=index.html,index.php +charset=utf-8 +spawnexec=on + +[mime/types] +cgi=@/usr/local/bin/perl +php=@/usr/local/bin/php diff --git a/www/tinytinyhttpd/pkg-descr b/www/tinytinyhttpd/pkg-descr new file mode 100644 index 000000000000..3bcb0e46ad39 --- /dev/null +++ b/www/tinytinyhttpd/pkg-descr @@ -0,0 +1,15 @@ +tinytinyhttpd is a very lightweight HTTP server written in C. +It supports multi threads, customization, directory listing and CGI. +It is confirmed to run the following software under tinytinyhttpd +with no hassle: + +* MTOS(Movable Type Open Source) (perl) +* WordPress (php) +* blogn Plus (php) +* tDiary (ruby) +* PukiWiki (php) +* NucreusCMS (php) +* blosxom (perl) + +AUTHOR: mattn the ossan +WWW: http://github.com/mattn/tinytinyhttpd/tree/master |