pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Nostromo aka nhttpd is a simple, fast and secure HTTP ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e84ad653f40c
branches:  trunk
changeset: 375390:e84ad653f40c
user:      ast <ast%pkgsrc.org@localhost>
date:      Sun Feb 11 13:56:21 2018 +0000

description:
Nostromo aka nhttpd is a simple, fast and secure HTTP server.

diffstat:

 doc/CHANGES-2018               |   3 +-
 www/Makefile                   |   3 +-
 www/nostromo/DESCR             |   6 +++++
 www/nostromo/Makefile          |  43 ++++++++++++++++++++++++++++++++++++++++++
 www/nostromo/PLIST             |  12 +++++++++++
 www/nostromo/distinfo          |   6 +++++
 www/nostromo/files/nostromo.sh |  17 ++++++++++++++++
 7 files changed, 88 insertions(+), 2 deletions(-)

diffs (135 lines):

diff -r 0a1f805bfff1 -r e84ad653f40c doc/CHANGES-2018
--- a/doc/CHANGES-2018  Sun Feb 11 12:24:40 2018 +0000
+++ b/doc/CHANGES-2018  Sun Feb 11 13:56:21 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2018,v 1.598 2018/02/11 12:24:40 leot Exp $
+$NetBSD: CHANGES-2018,v 1.599 2018/02/11 14:14:48 ast Exp $
 
 Changes to the packages collection and infrastructure in 2018:
 
@@ -897,3 +897,4 @@
        Updated devel/openocd to 0.10.0 [ryoon 2018-02-11]
        Updated multimedia/mpv to 0.27.1 [leot 2018-02-11]
        Updated net/youtube-dl to 20180208 [leot 2018-02-11]
+       Added www/nostromo version 1.9.6 [ast 2018-02-11]
diff -r 0a1f805bfff1 -r e84ad653f40c www/Makefile
--- a/www/Makefile      Sun Feb 11 12:24:40 2018 +0000
+++ b/www/Makefile      Sun Feb 11 13:56:21 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1307 2018/02/05 16:38:56 adam Exp $
+# $NetBSD: Makefile,v 1.1308 2018/02/11 13:59:18 ast Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -197,6 +197,7 @@
 SUBDIR+=       nghttp2
 SUBDIR+=       nginx
 SUBDIR+=       nginx-devel
+SUBDIR+=       nostromo
 SUBDIR+=       ns-plugger-common
 SUBDIR+=       ns-remote
 SUBDIR+=       nspluginwrapper
diff -r 0a1f805bfff1 -r e84ad653f40c www/nostromo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nostromo/DESCR        Sun Feb 11 13:56:21 2018 +0000
@@ -0,0 +1,6 @@
+Nostromo aka nhttpd is a simple, fast and secure HTTP server. It
+runs as a single process, handling connections with select(2). For
+CGIs and directory listing it does fork(2). The minimum of HTTP/1.1
+and CGI/1.1 are implemented. Also supported are: chroot, setuid,
+basic authentication, SSL, IPv6, custom responses, aliases, and
+virtual hosts. The access log is written in standard CLF format.
diff -r 0a1f805bfff1 -r e84ad653f40c www/nostromo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nostromo/Makefile     Sun Feb 11 13:56:21 2018 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2018/02/11 13:56:21 ast Exp $
+
+DISTNAME=      nostromo-1.9.6
+PKGREVISION=   1
+CATEGORIES=    www
+MASTER_SITES=  http://www.nazgul.ch/dev/
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER=    ast%NetBSD.org@localhost
+HOMEPAGE=      http://www.nazgul.ch/dev_nostromo.html
+COMMENT=       Fast, secure HTTP/1.1 CGI/1.1 SSL IPv4/IPv6 webserver
+LICENSE=       isc
+
+USE_TOOLS+=    sed
+MAKE_FILE=     GNUmakefile
+
+RCD_SCRIPTS=   nostromo
+EGDIR=         share/examples/nostromo
+
+INSTALLATION_DIRS=     sbin share/examples/rc.d ${PKGMANDIR}/man8
+INSTALLATION_DIRS+=    ${EGDIR}
+INSTALLATION_DIRS+=    ${EGDIR}/conf
+INSTALLATION_DIRS+=    ${EGDIR}/icons
+INSTALLATION_DIRS+=    ${EGDIR}/htdocs ${EGDIR}/htdocs/cgi-bin
+
+SUBST_CLASSES+=                nostromo
+SUBST_MESSAGE.nostromo=        Fixing GNUmakefile src/nhttpd/GNUmakefile
+SUBST_STAGE.nostromo=  pre-patch
+SUBST_FILES.nostromo=  GNUmakefile \
+                       src/nhttpd/GNUmakefile \
+                       src/tools/GNUmakefile \
+                       src/libbsd/GNUmakefile \
+                       src/libmy/GNUmakefile
+SUBST_SED.nostromo+=   -e '/install -d -o root -g daemon -m 755/d'
+SUBST_SED.nostromo+=   -e 's,cc ${CCFLAGS},${CC} ${CCFLAGS},g'
+SUBST_SED.nostromo+=   -e 's,install -c -o root -g bin -m 555,${INSTALL},g'
+SUBST_SED.nostromo+=   -e 's,install -c -o root -g bin -m 444,${INSTALL_MAN},g'
+SUBST_SED.nostromo+=   -e 's,install -c -o root -g bin -m 644,${INSTALL_DATA},g'
+SUBST_SED.nostromo+=   -e 's,/usr/local,${DESTDIR}${PREFIX},g'
+SUBST_SED.nostromo+=   -e 's,/usr/share/man,${DESTDIR}${PREFIX}/${PKGMANDIR},g'
+SUBST_SED.nostromo+=   -e 's,/var/nostromo,${DESTDIR}${PREFIX}/${EGDIR},g'
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0a1f805bfff1 -r e84ad653f40c www/nostromo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nostromo/PLIST        Sun Feb 11 13:56:21 2018 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/11 13:56:21 ast Exp $
+sbin/crypt
+sbin/nhttpd
+man/man8/nhttpd.8
+share/examples/rc.d/nostromo
+share/examples/nostromo/conf/mimes
+share/examples/nostromo/conf/nhttpd.conf-dist
+share/examples/nostromo/htdocs/cgi-bin/printenv
+share/examples/nostromo/htdocs/index.html
+share/examples/nostromo/htdocs/nostromo.gif
+share/examples/nostromo/icons/dir.gif
+share/examples/nostromo/icons/file.gif
diff -r 0a1f805bfff1 -r e84ad653f40c www/nostromo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nostromo/distinfo     Sun Feb 11 13:56:21 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/02/11 13:56:21 ast Exp $
+
+SHA1 (nostromo-1.9.6.tar.gz) = 6f3d8ebc15486398f819ac55a9d2a9ac14c3b35e
+RMD160 (nostromo-1.9.6.tar.gz) = 6817ac77c7645ab2bef3e73469d2f376448af868
+SHA512 (nostromo-1.9.6.tar.gz) = baf68f492653937b80629f1281a1243026ee2def9f5b092934474148f97306ef0796c4fecffb3d6061907d8fdc1beb0a34333dfe8738dec70acdd3975347d6ea
+Size (nostromo-1.9.6.tar.gz) = 50937 bytes
diff -r 0a1f805bfff1 -r e84ad653f40c www/nostromo/files/nostromo.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nostromo/files/nostromo.sh    Sun Feb 11 13:56:21 2018 +0000
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# $NetBSD: nostromo.sh,v 1.1 2018/02/11 13:56:21 ast Exp $
+#
+
+# PROVIDE: nostromo
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="nostromo"
+rcvar=$name
+command="@PREFIX@/sbin/nhttpd"
+required_files="@PREFIX@/nostromo/conf/nhttpd.conf"
+
+load_rc_config $name
+run_rc_command "$1"



Home | Main Index | Thread Index | Old Index