pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/nostromo



Module Name:    pkgsrc
Committed By:   ast
Date:           Sun Feb 11 13:56:21 UTC 2018

Added Files:
        pkgsrc/www/nostromo: DESCR Makefile PLIST distinfo
        pkgsrc/www/nostromo/files: nostromo.sh

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/nostromo/DESCR pkgsrc/www/nostromo/Makefile \
    pkgsrc/www/nostromo/PLIST pkgsrc/www/nostromo/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/nostromo/files/nostromo.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/nostromo/DESCR
diff -u /dev/null pkgsrc/www/nostromo/DESCR:1.1
--- /dev/null   Sun Feb 11 13:56:21 2018
+++ pkgsrc/www/nostromo/DESCR   Sun Feb 11 13:56:21 2018
@@ -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.
Index: pkgsrc/www/nostromo/Makefile
diff -u /dev/null pkgsrc/www/nostromo/Makefile:1.1
--- /dev/null   Sun Feb 11 13:56:21 2018
+++ pkgsrc/www/nostromo/Makefile        Sun Feb 11 13:56:21 2018
@@ -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"
Index: pkgsrc/www/nostromo/PLIST
diff -u /dev/null pkgsrc/www/nostromo/PLIST:1.1
--- /dev/null   Sun Feb 11 13:56:21 2018
+++ pkgsrc/www/nostromo/PLIST   Sun Feb 11 13:56:21 2018
@@ -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
Index: pkgsrc/www/nostromo/distinfo
diff -u /dev/null pkgsrc/www/nostromo/distinfo:1.1
--- /dev/null   Sun Feb 11 13:56:21 2018
+++ pkgsrc/www/nostromo/distinfo        Sun Feb 11 13:56:21 2018
@@ -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

Index: pkgsrc/www/nostromo/files/nostromo.sh
diff -u /dev/null pkgsrc/www/nostromo/files/nostromo.sh:1.1
--- /dev/null   Sun Feb 11 13:56:21 2018
+++ pkgsrc/www/nostromo/files/nostromo.sh       Sun Feb 11 13:56:21 2018
@@ -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