aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-10-28 14:09:54 +0800
committerwill <will@FreeBSD.org>2000-10-28 14:09:54 +0800
commit37b644def31ba397ac6e0590405e6b92a0a011dd (patch)
tree10178d6b5094293209c8157241f52f8308ef6d63 /www
parent0a11e43daa5e8a4833944d2b82f78bb482aa9f51 (diff)
downloadfreebsd-ports-gnome-37b644def31ba397ac6e0590405e6b92a0a011dd.tar.gz
freebsd-ports-gnome-37b644def31ba397ac6e0590405e6b92a0a011dd.tar.zst
freebsd-ports-gnome-37b644def31ba397ac6e0590405e6b92a0a011dd.zip
Add webredirect 0.1, an extremely simple webserver that only performs
redirections for a limited number of HTTP commands. PR: 22273 Submitted by: Rasmus Kaj <kaj@Raditex.se>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/webredirect/Makefile26
-rw-r--r--www/webredirect/distinfo1
-rw-r--r--www/webredirect/pkg-comment1
-rw-r--r--www/webredirect/pkg-descr9
-rw-r--r--www/webredirect/pkg-message4
-rw-r--r--www/webredirect/pkg-plist1
7 files changed, 43 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 218ec95a4f31..ca2638ecc67a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -193,6 +193,7 @@
SUBDIR += webfs
SUBDIR += webglimpse
SUBDIR += weblint
+ SUBDIR += webredirect
SUBDIR += webstone
SUBDIR += wml
SUBDIR += wmnetselect
diff --git a/www/webredirect/Makefile b/www/webredirect/Makefile
new file mode 100644
index 000000000000..9d7895aacc36
--- /dev/null
+++ b/www/webredirect/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: webredirect
+# Date created: 24 October 2000
+# Whom: kaj@Raditex.se
+#
+# $FreeBSD$
+#
+
+PORTNAME= webredirect
+PORTVERSION= 0.1
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.Raditex.se/pub/kaj/
+
+MAINTAINER= kaj@Raditex.se
+
+MAN1= webredirect.1
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/webredirect ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/webredirect.1 ${PREFIX}/man/man1
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/www/webredirect/distinfo b/www/webredirect/distinfo
new file mode 100644
index 000000000000..5cb83dd17541
--- /dev/null
+++ b/www/webredirect/distinfo
@@ -0,0 +1 @@
+MD5 (webredirect-0.1.tar.gz) = 91006560caaa6aaa4203ee7bd00d36a4
diff --git a/www/webredirect/pkg-comment b/www/webredirect/pkg-comment
new file mode 100644
index 000000000000..63b02efa837f
--- /dev/null
+++ b/www/webredirect/pkg-comment
@@ -0,0 +1 @@
+Small web server serving "301 Moved Permanently" only
diff --git a/www/webredirect/pkg-descr b/www/webredirect/pkg-descr
new file mode 100644
index 000000000000..602c5f79f18f
--- /dev/null
+++ b/www/webredirect/pkg-descr
@@ -0,0 +1,9 @@
+The webredirect program is an extremely small web server that gives the
+"301 Moved Permanently" response to all "GET", "HEAD" and "POST" respons-
+es. At the moment, all other requests are unsupported and result in a
+"501 Not Supported" response.
+
+WWW: http://Raditex.se/opensrc/
+
+- Rasmus Kaj
+kaj@Raditex.se
diff --git a/www/webredirect/pkg-message b/www/webredirect/pkg-message
new file mode 100644
index 000000000000..13d0b628334c
--- /dev/null
+++ b/www/webredirect/pkg-message
@@ -0,0 +1,4 @@
+Webredirect is installed but does not start automatically. Read the manpage
+to find out what options you like. Then start webredirect manually. If you
+want webredirect to start automatically on boot, create a small script in
+/usr/local/etc/rc.d to do so.
diff --git a/www/webredirect/pkg-plist b/www/webredirect/pkg-plist
new file mode 100644
index 000000000000..22d1f1f8ff42
--- /dev/null
+++ b/www/webredirect/pkg-plist
@@ -0,0 +1 @@
+bin/webredirect