summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1994-10-29 20:28:01 +0000
committerPaul Traina <pst@FreeBSD.org>1994-10-29 20:28:01 +0000
commitf5cde0d778d63e6715f215df16e4ea49a904ac5b (patch)
tree171a8c8de05f84f810b319a4a055157772fb7360 /www
parent-DNOCOTFMC added to fix open bug with sio (diff)
Cern HTTPD version 3.0 port for FreeBSD 2.x
Notes
Notes: svn path=/head/; revision=287
Diffstat (limited to 'www')
-rw-r--r--www/w3c-httpd/Makefile30
-rw-r--r--www/w3c-httpd/files/patch-aa12
-rw-r--r--www/w3c-httpd/files/patch-ab19
-rw-r--r--www/w3c-httpd/pkg-comment1
-rw-r--r--www/w3c-httpd/pkg-descr3
-rw-r--r--www/w3c-httpd/pkg-plist35
6 files changed, 100 insertions, 0 deletions
diff --git a/www/w3c-httpd/Makefile b/www/w3c-httpd/Makefile
new file mode 100644
index 000000000000..eb983b7207a1
--- /dev/null
+++ b/www/w3c-httpd/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: cern_httpd
+# Version required: 3.0 / 2.17
+# Date created: 29 October 1994
+# Whom: pst
+#
+# $Id$
+#
+
+DISTNAME= WWW
+DISTFILES= WWWDaemon_3.0.tar.Z WWWLibrary_2.17.tar.Z
+MASTER_SITES= ftp://www0.cern.ch/pub/www/src/
+
+WWW_ROOT= ${PREFIX}/www
+
+install:
+ -mkdir ${WWW_ROOT} \
+ ${WWW_ROOT}/data ${WWW_ROOT}/cgi-bin ${WWW_ROOT}/htbin
+ cd ${WRKSRC}/server_root; pax -rw * ${WWW_ROOT}
+ install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${WRKSRC}/Daemon/unix/httpd ${PREFIX}/libexec
+ install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${WRKSRC}/Daemon/unix/htadm ${PREFIX}/bin
+ install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${WRKSRC}/Daemon/unix/htimage ${WWW_ROOT}/htbin
+ install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${WRKSRC}/Daemon/unix/cgiparse ${WWW_ROOT}/cgi-bin
+ install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${WRKSRC}/Daemon/unix/cgiutils ${WWW_ROOT}/cgi-bin
+
+.include <bsd.port.mk>
diff --git a/www/w3c-httpd/files/patch-aa b/www/w3c-httpd/files/patch-aa
new file mode 100644
index 000000000000..6ba1f7707af7
--- /dev/null
+++ b/www/w3c-httpd/files/patch-aa
@@ -0,0 +1,12 @@
+*** BUILD Sat Sep 24 11:28:46 1994
+--- BUILD Sat Oct 29 12:20:18 1994
+***************
+*** 55,60 ****
+--- 55,61 ----
+ if ($UNAME == "ULTRIX") setenv WWW_MACH decstation
+ if ($UNAME == "AIX") setenv WWW_MACH rs6000
+ if ($UNAME == "OSF1") setenv WWW_MACH osf1
++ if ($UNAME == "FreeBSD") setenv WWW_MACH unix
+ if ($UNAME == "BSD/386") setenv WWW_MACH unix
+ if ($UNAME == "Linux") setenv WWW_MACH linux
+ if ($UNAME == "A/UX") setenv WWW_MACH aux
diff --git a/www/w3c-httpd/files/patch-ab b/www/w3c-httpd/files/patch-ab
new file mode 100644
index 000000000000..651a6cec7d64
--- /dev/null
+++ b/www/w3c-httpd/files/patch-ab
@@ -0,0 +1,19 @@
+*** Daemon/Implementation/CommonMakefile.DIST Sat Oct 29 12:36:04 1994
+--- Daemon/Implementation/CommonMakefile Sat Oct 29 12:36:21 1994
+***************
+*** 35,41 ****
+ # If this env var is set to something else Some makes will use that instead
+ SHELL = /bin/sh
+ # Rule file to be used by target daemon
+! RULE_FILE = "/etc/httpd.conf"
+
+ CMN = $(WWW)/Library/Implementation
+ INC = $(WWW)/Library/Implementation
+--- 35,41 ----
+ # If this env var is set to something else Some makes will use that instead
+ SHELL = /bin/sh
+ # Rule file to be used by target daemon
+! RULE_FILE = "/usr/local/etc/httpd.conf"
+
+ CMN = $(WWW)/Library/Implementation
+ INC = $(WWW)/Library/Implementation
diff --git a/www/w3c-httpd/pkg-comment b/www/w3c-httpd/pkg-comment
new file mode 100644
index 000000000000..dec9df909b33
--- /dev/null
+++ b/www/w3c-httpd/pkg-comment
@@ -0,0 +1 @@
+HTTPD (WWW) server from Cern (version 3.0)
diff --git a/www/w3c-httpd/pkg-descr b/www/w3c-httpd/pkg-descr
new file mode 100644
index 000000000000..cec585604eed
--- /dev/null
+++ b/www/w3c-httpd/pkg-descr
@@ -0,0 +1,3 @@
+This is the CERN httpd (WWW) server. It is the most versatile WWW server
+currently in the public domain, however it's not particularly easy to
+configure for the neophyte.
diff --git a/www/w3c-httpd/pkg-plist b/www/w3c-httpd/pkg-plist
new file mode 100644
index 000000000000..c8b902706d60
--- /dev/null
+++ b/www/w3c-httpd/pkg-plist
@@ -0,0 +1,35 @@
+@cwd /usr/local
+libexec/httpd
+bin/htadm
+www/cgi-bin/cgiparse
+www/cgi-bin/cgiutils
+www/htbin/htimage
+www/config/httpd.conf
+www/config/proxy.conf
+www/config/caching.conf
+www/config/prot.conf
+www/config/all.conf
+www/icons/back.xbm
+www/icons/binary.xbm
+www/icons/binhex.xbm
+www/icons/blank.xbm
+www/icons/compressed.xbm
+www/icons/dir.gif
+www/icons/directory.xbm
+www/icons/doc.gif
+www/icons/dummy.xbm
+www/icons/ftp.xbm
+www/icons/image.xbm
+www/icons/index.xbm
+www/icons/index2.xbm
+www/icons/movie.xbm
+www/icons/sound.xbm
+www/icons/tar.xbm
+www/icons/telnet.xbm
+www/icons/text.xbm
+www/icons/unknown.doc.xbm
+www/icons/uu.xbm
+www/icons/unknown.xbm
+www/icons/doc.xbm
+www/icons/gzip.xbm
+www/icons/unknown.old.xbm