diff options
Diffstat (limited to 'www/tinytinyhttpd')
-rw-r--r-- | www/tinytinyhttpd/Makefile | 35 | ||||
-rw-r--r-- | www/tinytinyhttpd/distinfo | 2 | ||||
-rw-r--r-- | www/tinytinyhttpd/files/example.conf.in | 10 | ||||
-rw-r--r-- | www/tinytinyhttpd/files/patch-httpd.cxx | 33 | ||||
-rw-r--r-- | www/tinytinyhttpd/pkg-descr | 14 |
5 files changed, 0 insertions, 94 deletions
diff --git a/www/tinytinyhttpd/Makefile b/www/tinytinyhttpd/Makefile deleted file mode 100644 index 8a881624019a..000000000000 --- a/www/tinytinyhttpd/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# Created by: Shinsuke Matsui <smatsui@karashi.org> -# $FreeBSD$ - -PORTNAME= tinytinyhttpd -PORTVERSION= 0.0.11 -CATEGORIES= www -MASTER_SITES= GHC - -MAINTAINER= smatsui@karashi.org -COMMENT= Tiny tiny httpd - -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2020-05-05 - -USE_GITHUB= yes -GH_ACCOUNT= mattn - -HAS_CONFIGURE= yes - -PLIST_FILES= bin/tthttpd -SUB_FILES= example.conf -PORTDOCS= README example.conf ChangeLog -OPTIONS_DEFINE= DOCS - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tthttpd ${STAGEDIR}${PREFIX}/bin - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/example.conf ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/www/tinytinyhttpd/distinfo b/www/tinytinyhttpd/distinfo deleted file mode 100644 index fec5577645c7..000000000000 --- a/www/tinytinyhttpd/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (tinytinyhttpd-0.0.11.tar.gz) = 844150ef4f88b3d198273937861e3e9a3854b412f29b8be64ea01e9de7c71e9a -SIZE (tinytinyhttpd-0.0.11.tar.gz) = 154501 diff --git a/www/tinytinyhttpd/files/example.conf.in b/www/tinytinyhttpd/files/example.conf.in deleted file mode 100644 index 15e1a318d3df..000000000000 --- a/www/tinytinyhttpd/files/example.conf.in +++ /dev/null @@ -1,10 +0,0 @@ -[global] -port=8080 -root=/path/to/contents -indexpages=index.html,index.php -charset=utf-8 -spawnexec=on - -[mime/types] -cgi=@%%LOCALBASE%%/bin/perl -php=@%%LOCALBASE%%/bin/php diff --git a/www/tinytinyhttpd/files/patch-httpd.cxx b/www/tinytinyhttpd/files/patch-httpd.cxx deleted file mode 100644 index 52eeeba706ea..000000000000 --- a/www/tinytinyhttpd/files/patch-httpd.cxx +++ /dev/null @@ -1,33 +0,0 @@ -httpd.cxx:1019:21: error: assigning to 'int' from incompatible type 'nullptr_t' - res_info->write = NULL; - ^~~~ -/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL' -#define NULL nullptr - ^~~~~~~ -httpd.cxx:1734:8: error: no matching function for call to 'sendfile' - if (sendfile(msgsock, res_info->read, NULL, total, NULL, NULL, 0) == 0) sent = total; - ^~~~~~~~ -/usr/include/sys/socket.h:684:5: note: candidate function not viable: no known conversion from 'nullptr_t' to 'off_t' (aka 'long long') for 3rd argument -int sendfile(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int); - ^ - ---- httpd.cxx.orig 2018-08-25 14:11:36 UTC -+++ httpd.cxx -@@ -1016,7 +1016,7 @@ static RES_INFO* res_popen(std::vector<std::string>& a - static void res_closewriter(RES_INFO* res_info) { - if (res_info && res_info->write) { - close(res_info->write); -- res_info->write = NULL; -+ res_info->write = 0; - } - } - -@@ -1731,7 +1731,7 @@ request_done: - #if defined LINUX_SENDFILE_API - sent = sendfile(msgsock, res_info->read, NULL, total); - #elif defined FREEBSD_SENDFILE_API -- if (sendfile(msgsock, res_info->read, NULL, total, NULL, NULL, 0) == 0) sent = total; -+ if (sendfile(msgsock, res_info->read, 0, total, NULL, NULL, 0) == 0) sent = total; - #elif defined _WIN32 - if (!res_info->process && lpfnTransmitFile && lpfnTransmitFile( - msgsock, diff --git a/www/tinytinyhttpd/pkg-descr b/www/tinytinyhttpd/pkg-descr deleted file mode 100644 index b03600c15d55..000000000000 --- a/www/tinytinyhttpd/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -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: https://github.com/mattn/tinytinyhttpd/tree/master |