summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrich Hartzer <henrichhartzer@tuta.io>2022-03-01 14:15:29 +0100
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-03-02 10:20:31 +0100
commit76aee1b05b961872993f4a1967e3fbc748ff9a63 (patch)
tree1e2dc2df6ed39a778f8f35d216270c08610a3e16
parentnet/pjsip: Update to 2.12 (diff)
www/darkhttpd: Add new port
Simple static http web server. When you need a web server in a hurry. PR: 262234 Reported by: henrichhartzer@tuta.io Reviewed by: diizzy@
-rw-r--r--www/Makefile1
-rw-r--r--www/darkhttpd/Makefile21
-rw-r--r--www/darkhttpd/distinfo3
-rw-r--r--www/darkhttpd/pkg-descr3
4 files changed, 28 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c88826e2c74f..b8c639aa36b4 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -96,6 +96,7 @@
SUBDIR += csstidy
SUBDIR += ctemplate
SUBDIR += cutelyst
+ SUBDIR += darkhttpd
SUBDIR += davical
SUBDIR += davix
SUBDIR += dddbl
diff --git a/www/darkhttpd/Makefile b/www/darkhttpd/Makefile
new file mode 100644
index 000000000000..8f71a91792aa
--- /dev/null
+++ b/www/darkhttpd/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= darkhttpd
+DISTVERSION= 1.13
+DISTVERSIONPREFIX= v
+CATEGORIES= www
+
+MAINTAINER= henrichartzer@tuta.io
+COMMENT= Simple, static web server
+
+LICENSE= ISCL
+
+USE_GITHUB= yes
+GH_ACCOUNT= emikulic
+
+NO_INSTALL= yes
+
+PLIST_FILES= bin/darkhttpd
+
+do-install:
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${LOCALBASE}/bin
+
+.include <bsd.port.mk>
diff --git a/www/darkhttpd/distinfo b/www/darkhttpd/distinfo
new file mode 100644
index 000000000000..4b3146c56d99
--- /dev/null
+++ b/www/darkhttpd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646208775
+SHA256 (emikulic-darkhttpd-v1.13_GH0.tar.gz) = 1d88c395ac79ca9365aa5af71afe4ad136a4ed45099ca398168d4a2014dc0fc2
+SIZE (emikulic-darkhttpd-v1.13_GH0.tar.gz) = 37708
diff --git a/www/darkhttpd/pkg-descr b/www/darkhttpd/pkg-descr
new file mode 100644
index 000000000000..f2dd7f69a62b
--- /dev/null
+++ b/www/darkhttpd/pkg-descr
@@ -0,0 +1,3 @@
+darkhttpd is a simple, static web server. No configuration file, no CGI.
+
+WWW: https://unix4lyfe.org/darkhttpd/