pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/micro_httpd Initial import of micro_httpd, version...
details: https://anonhg.NetBSD.org/pkgsrc/rev/49e9fd796b21
branches: trunk
changeset: 465965:49e9fd796b21
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Fri Jan 09 09:44:55 2004 +0000
description:
Initial import of micro_httpd, version 20011214:
micro_httpd is a very small HTTP server. It runs from inetd, which means
its performance is poor. But for low-traffic sites, it's quite adequate.
It implements all the basic features of an HTTP server, including:
* Security against ".." filename snooping.
* The common MIME types.
* Trailing-slash redirection.
* index.html.
* Directory listings.
All in 150 lines of code.
Package by Bruce J.A. Nourish from pkgsrc-wip with several changes by me.
diffstat:
www/micro_httpd/DESCR | 11 +++++++++++
www/micro_httpd/Makefile | 24 ++++++++++++++++++++++++
www/micro_httpd/PLIST | 3 +++
www/micro_httpd/distinfo | 5 +++++
www/micro_httpd/patches/patch-aa | 16 ++++++++++++++++
5 files changed, 59 insertions(+), 0 deletions(-)
diffs (79 lines):
diff -r a2caec99670c -r 49e9fd796b21 www/micro_httpd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/micro_httpd/DESCR Fri Jan 09 09:44:55 2004 +0000
@@ -0,0 +1,11 @@
+micro_httpd is a very small HTTP server. It runs from inetd, which means
+its performance is poor. But for low-traffic sites, it's quite adequate.
+It implements all the basic features of an HTTP server, including:
+
+ * Security against ".." filename snooping.
+ * The common MIME types.
+ * Trailing-slash redirection.
+ * index.html.
+ * Directory listings.
+
+All in 150 lines of code.
diff -r a2caec99670c -r 49e9fd796b21 www/micro_httpd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/micro_httpd/Makefile Fri Jan 09 09:44:55 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/09 09:44:55 jmmv Exp $
+
+DISTNAME= micro_httpd_14dec2001
+PKGNAME= micro_httpd-20011214
+WRKSRC= ${WRKDIR}/micro_httpd
+CATEGORIES= www
+MASTER_SITES= http://www.acme.com/software/micro_httpd/
+
+MAINTAINER= bjan+pkgsrc%bjan.freeshell.org@localhost
+HOMEPAGE= http://www.acme.com/software/micro_httpd/
+COMMENT= Really small HTTP server than runs from inetd(8)
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
+NO_CONFIGURE= yes
+
+INSTALLATION_DIRS= man/man8 sbin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/micro_httpd ${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/micro_httpd.8 ${PREFIX}/man/man8/
+
+.include "../../mk/bsd.pkg.mk"
diff -r a2caec99670c -r 49e9fd796b21 www/micro_httpd/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/micro_httpd/PLIST Fri Jan 09 09:44:55 2004 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/09 09:44:55 jmmv Exp $
+man/man8/micro_httpd.8
+sbin/micro_httpd
diff -r a2caec99670c -r 49e9fd796b21 www/micro_httpd/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/micro_httpd/distinfo Fri Jan 09 09:44:55 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/09 09:44:55 jmmv Exp $
+
+SHA1 (micro_httpd_14dec2001.tar.gz) = 52a8bd4489424c43055a714ac144d44f8a07f52c
+Size (micro_httpd_14dec2001.tar.gz) = 4665 bytes
+SHA1 (patch-aa) = c42274a95b90c15926c21c0d6785a8af0f01d192
diff -r a2caec99670c -r 49e9fd796b21 www/micro_httpd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/micro_httpd/patches/patch-aa Fri Jan 09 09:44:55 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/09 09:44:55 jmmv Exp $
+
+--- Makefile.orig 1999-09-17 09:17:18.000000000 +0200
++++ Makefile
+@@ -1,11 +1,5 @@
+ BINDIR = /usr/local/sbin
+ MANDIR = /usr/local/man/man8
+-CC = gcc
+-CFLAGS = -O
+-#CFLAGS = -g
+-#SYSVLIBS = -lnsl -lsocket
+-LDFLAGS = -s ${SYSVLIBS}
+-#LDFLAGS = -g ${SYSVLIBS}
+
+ all: micro_httpd
+
Home |
Main Index |
Thread Index |
Old Index