mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
www/fileserv: new port had been added (+)
Simple HTTP server for serving static files. Requested by: maintainer
This commit is contained in:
@@ -198,6 +198,7 @@
|
||||
SUBDIR += filebrowser
|
||||
SUBDIR += filebrowser-quantum
|
||||
SUBDIR += filepizza
|
||||
SUBDIR += fileserv
|
||||
SUBDIR += filtron
|
||||
SUBDIR += firedm
|
||||
SUBDIR += firefox
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
PORTNAME= fileserv
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= https://download.gnu.org.ua/release/fileserv/
|
||||
|
||||
MAINTAINER= zeus@gnu.org.ua
|
||||
COMMENT= Simple HTTP server for serving static files
|
||||
WWW= https://puszcza.gnu.org.ua/projects/fileserv
|
||||
|
||||
LICENSE= GPLv3+
|
||||
|
||||
LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd
|
||||
|
||||
USES= gmake localbase tar:xz
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
PLIST_FILES= @sample\ etc/${PORTNAME}.conf.sample \
|
||||
sbin/${PORTNAME} share/man/man8/${PORTNAME}.8.gz
|
||||
PORTDOCS= ChangeLog NEWS README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1776166530
|
||||
SHA256 (fileserv-1.1.tar.xz) = 7835b6d2d4d443818c381a5d81e1a54c9581beab7de94604e6dab0e094f0ec3f
|
||||
SIZE (fileserv-1.1.tar.xz) = 167636
|
||||
@@ -0,0 +1,8 @@
|
||||
This is a simple HTTP server for serving static files. It is suitable
|
||||
as a lightweight replacement for full-fledged HTTP servers on sites
|
||||
where only sporadic serving of static data is needed.
|
||||
|
||||
One of such use cases is deployment of Let's Encrypt certificates on a
|
||||
server that runs only proxy software, such as Pound or HAProxy. In this
|
||||
case using e.g. Apache or even Lighttpd just to serve Let's Encrypt
|
||||
challenge requests arriving once every 90 days is clearly an overkill.
|
||||
Reference in New Issue
Block a user