diff options
author | cjs <cjs@pkgsrc.org> | 1998-03-05 08:02:22 +0000 |
---|---|---|
committer | cjs <cjs@pkgsrc.org> | 1998-03-05 08:02:22 +0000 |
commit | b78415894ef9e36799fba84e0e8f560333cd0023 (patch) | |
tree | d31b1aedc1a3c6dcab9998ed193a9022cf1f1076 /www | |
parent | 95e21e0ed1c24e1424e23e1746292b9638d8d18e (diff) | |
download | pkgsrc-b78415894ef9e36799fba84e0e8f560333cd0023.tar.gz |
Initial version of apache web server package: 1.3b3.
Diffstat (limited to 'www')
-rw-r--r-- | www/apache/Makefile | 77 | ||||
-rw-r--r-- | www/apache/files/md5 | 1 | ||||
-rw-r--r-- | www/apache/patches/patch-aa | 80 | ||||
-rw-r--r-- | www/apache/patches/patch-ab | 15 | ||||
-rw-r--r-- | www/apache/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/apache/pkg/DESCR | 8 | ||||
-rw-r--r-- | www/apache/pkg/PLIST | 94 |
7 files changed, 276 insertions, 0 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile new file mode 100644 index 00000000000..df02478ee3e --- /dev/null +++ b/www/apache/Makefile @@ -0,0 +1,77 @@ +# New ports collection makefile for: apache +# http://www.apache.org +# Version required: 1.3b3 +# Date created: Sun Mar 1 13:41:17 PST 1998 +# Whom: cjs@netbsd.org +# +# $NetBSD: Makefile,v 1.1 1998/03/05 08:02:22 cjs Exp $ +# FreeBSD Id: Makefile,v 1.45 1998/02/25 06:23:55 asami Exp +# + +DISTNAME= apache_1.3b3 +PKGNAME= apache-1.3b3 +WRKROOT= ${WRKDIR}/apache_1.3b3 +WRKSRC= ${WRKROOT}/src +CATEGORIES= www +MASTER_SITES= http://www.apache.org/dist/ + +MAINTAINER= cjs@netbsd.org + +CONFIGURE_SCRIPT=Configure +HAS_CONFIGURE= YES + +CONF_DIR= ${PREFIX}/http/conf +MAN1= apachectl.1 htpasswd.1 +MAN8= httpd.8 + +# Set this for local-supplied patch, e.e. +# VERS_ID = mods-1.0/me + +post-build: + (cd ${WRKSRC}/support && make) + +post-patch: + @cd ${WRKROOT}/conf && \ + for I in httpd.conf-dist access.conf-dist srm.conf-dist; do \ + sed -e "s#@@ServerRoot@@#${PREFIX}/http#g" < $${I} > $${I}.new; \ + mv $${I}.new $${I}; \ + done +.if defined(VERS_ID) + @cd ${WRKSRC} && \ + mv Configuration Configuration.old && \ + sed 's;^#*OPTIM=.*;OPTIM= -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \ + < Configuration.old > Configuration +.endif + +do-install: + install -d -m 755 -o bin -g bin ${CONF_DIR} ${PREFIX}/http/htdocs \ + ${PREFIX}/http/icons ${PREFIX}/http/cgi-bin + ${INSTALL_PROGRAM} ${WRKSRC}/httpd ${PREFIX}/sbin + cd ${WRKSRC}/support && \ + ${INSTALL_PROGRAM} htdigest htpasswd dbmmanage logresolve \ + ${PREFIX}/bin + cd ${WRKSRC}/support && \ + ${INSTALL_SCRIPT} rotatelogs apachectl log_server_status \ + ${PREFIX}/sbin + ${INSTALL_DATA} -o nobody ${WRKROOT}/icons/* ${PREFIX}/http/icons + ${INSTALL_MAN} ${WRKSRC}/support/httpd.8 \ + ${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/support/htpasswd.1 \ + ${WRKSRC}/support/apachectl.1 \ + ${PREFIX}/man/man1 + cd ${WRKROOT}/conf && \ + for file in httpd.conf srm.conf access.conf ; do \ + if [ ! -f ${CONF_DIR}/$$file ] ; then \ + ${INSTALL_DATA} $$file-dist ${CONF_DIR}/$$file ; \ + fi ; \ + ${INSTALL_DATA} $$file-dist ${CONF_DIR} ; \ + done + cd ${WRKROOT}/conf && \ + for file in mime.types magic ; do \ + if [ ! -f ${CONF_DIR}/$$file ] ; then \ + ${INSTALL_DATA} $$file ${CONF_DIR} ; \ + fi ; \ + ${INSTALL_DATA} $$file ${CONF_DIR}/$${file}-dist ; \ + done + +.include <bsd.port.mk> diff --git a/www/apache/files/md5 b/www/apache/files/md5 new file mode 100644 index 00000000000..985f9b5e216 --- /dev/null +++ b/www/apache/files/md5 @@ -0,0 +1 @@ +MD5 (apache_1.3b3.tar.gz) = befabda0148e3a26a93920c8721c5918 diff --git a/www/apache/patches/patch-aa b/www/apache/patches/patch-aa new file mode 100644 index 00000000000..c7046519914 --- /dev/null +++ b/www/apache/patches/patch-aa @@ -0,0 +1,80 @@ +--- Configuration.orig Wed Nov 19 16:49:57 1997 ++++ Configuration Wed Feb 18 15:55:51 1998 +@@ -43,11 +43,11 @@ + # + EXTRA_CFLAGS= + EXTRA_LDFLAGS= +-EXTRA_LIBS= ++EXTRA_LIBS= -lcrypt + EXTRA_INCLUDES= + + #CC= +-#OPTIM=-O2 ++OPTIM=-O2 + #RANLIB= + + ################################################################ +@@ -181,12 +181,12 @@ + ## STATUS=yes (see the Rules section near the start of this file) to allow + ## full status information. Check conf/access.conf on how to enable this. + +-# AddModule modules/standard/mod_status.o ++AddModule modules/standard/mod_status.o + + ## The Info module displays configuration information for the server and + ## all included modules. It's very useful for debugging. + +-# AddModule modules/standard/mod_info.o ++AddModule modules/standard/mod_info.o + + ## mod_include translates server-side include (SSI) statements in text files. + ## mod_autoindex handles requests for directories which have no index file +@@ -230,7 +230,7 @@ + ## NOTE: You do not want this module UNLESS you are running a proxy; + ## it is not needed for normal (origin server) operation. + +-# AddModule modules/proxy/libproxy.a ++AddModule modules/proxy/libproxy.a + + ## The Alias module provides simple URL translation and redirection. + +@@ -240,7 +240,7 @@ + ## URI-to-filename mapping using a regular expression based + ## rule-controlled rewriting engine. + +-# AddModule modules/standard/mod_rewrite.o ++AddModule modules/standard/mod_rewrite.o + + ## + ## Access control and authentication modules. +@@ -264,7 +264,7 @@ + ## "digest" implements HTTP Digest Authentication rather than the less + ## secure Basic Auth used by the other modules. + +-# AddModule modules/standard/mod_digest.o ++AddModule modules/standard/mod_digest.o + + ## Optional response header manipulation modules. + ## +@@ -276,12 +276,12 @@ + ## The expires module can apply Expires: headers to resources, + ## as a function of access time or modification time. + +-# AddModule modules/standard/mod_expires.o ++AddModule modules/standard/mod_expires.o + + ## The headers module can set arbitrary HTTP response headers, + ## as configured in server, vhost, access.conf or .htaccess configs + +-# AddModule modules/standard/mod_headers.o ++AddModule modules/standard/mod_headers.o + + ## Miscellaneous modules + ## +@@ -313,3 +313,6 @@ + ## systems, hence it is not included by default. + + # AddModule modules/standard/mod_unique_id.o ++ ++## PHP3 ++#AddModule modules/extra/mod_php3.o diff --git a/www/apache/patches/patch-ab b/www/apache/patches/patch-ab new file mode 100644 index 00000000000..6c1401739c0 --- /dev/null +++ b/www/apache/patches/patch-ab @@ -0,0 +1,15 @@ +--- support/apachectl.old Sat Oct 25 15:35:19 1997 ++++ support/apachectl Wed Mar 4 22:54:49 1998 +@@ -21,10 +21,10 @@ + # -------------------- -------------------- + # + # the path to your PID file +-PIDFILE=/usr/local/apache/logs/httpd.pid ++PIDFILE=/usr/pkg/http/logs/httpd.pid + # + # the path to your httpd binary +-HTTPD=/usr/local/apache/src/httpd ++HTTPD=/usr/pkg/sbin/httpd + # + # a command that outputs a formatted text version of the HTML at the + # url given on the command line. Designed for lynx, however other diff --git a/www/apache/pkg/COMMENT b/www/apache/pkg/COMMENT new file mode 100644 index 00000000000..cb68c58c9f0 --- /dev/null +++ b/www/apache/pkg/COMMENT @@ -0,0 +1 @@ +Web server diff --git a/www/apache/pkg/DESCR b/www/apache/pkg/DESCR new file mode 100644 index 00000000000..824b3077f0c --- /dev/null +++ b/www/apache/pkg/DESCR @@ -0,0 +1,8 @@ +The latest beta version of the most popular web server on the 'net. +This version is quite stable, and includes proxy server support, as +well as the ability to add modules that add many other features. + +You'll have to edit the configuration files in /usr/pkg/http/conf +before you start it. The default root directory for documents is +/usr/pkg/http/htdocs. Start it with `httpd -d /usr/pkg/http' in +your /etc/rc.local file. diff --git a/www/apache/pkg/PLIST b/www/apache/pkg/PLIST new file mode 100644 index 00000000000..155d19ff65e --- /dev/null +++ b/www/apache/pkg/PLIST @@ -0,0 +1,94 @@ +@comment $NetBSD: PLIST,v 1.1 1998/03/05 08:02:23 cjs Exp $ +bin/htdigest +bin/htpasswd +bin/dbmmanage +bin/logresolve +sbin/httpd +sbin/apachectl +sbin/log_server_status +sbin/rotatelogs +man/man1/apachectl.1.gz +man/man1/htpasswd.1.gz +man/man8/httpd.8.gz +@exec mkdir -p %D/http/conf %D/http/logs %D/http/cgi-bin %D/http/htdocs +http/conf/httpd.conf-dist +http/conf/srm.conf-dist +http/conf/access.conf-dist +http/conf/mime.types-dist +http/conf/magic-dist +http/icons/README +http/icons/a.gif +http/icons/alert.black.gif +http/icons/alert.red.gif +http/icons/apache_pb.gif +http/icons/back.gif +http/icons/ball.gray.gif +http/icons/ball.red.gif +http/icons/binary.gif +http/icons/binhex.gif +http/icons/blank.gif +http/icons/bomb.gif +http/icons/box1.gif +http/icons/box2.gif +http/icons/broken.gif +http/icons/burst.gif +http/icons/c.gif +http/icons/comp.blue.gif +http/icons/comp.gray.gif +http/icons/compressed.gif +http/icons/continued.gif +http/icons/dir.gif +http/icons/down.gif +http/icons/dvi.gif +http/icons/f.gif +http/icons/folder.gif +http/icons/folder.open.gif +http/icons/folder.sec.gif +http/icons/forward.gif +http/icons/generic.gif +http/icons/generic.red.gif +http/icons/generic.sec.gif +http/icons/hand.right.gif +http/icons/hand.up.gif +http/icons/icon.sheet.gif +http/icons/image1.gif +http/icons/image2.gif +http/icons/image3.gif +http/icons/index.gif +http/icons/layout.gif +http/icons/left.gif +http/icons/link.gif +http/icons/movie.gif +http/icons/p.gif +http/icons/patch.gif +http/icons/pdf.gif +http/icons/pie0.gif +http/icons/pie1.gif +http/icons/pie2.gif +http/icons/pie3.gif +http/icons/pie4.gif +http/icons/pie5.gif +http/icons/pie6.gif +http/icons/pie7.gif +http/icons/pie8.gif +http/icons/portal.gif +http/icons/ps.gif +http/icons/quill.gif +http/icons/right.gif +http/icons/screw1.gif +http/icons/screw2.gif +http/icons/script.gif +http/icons/sound1.gif +http/icons/sound2.gif +http/icons/sphere1.gif +http/icons/sphere2.gif +http/icons/tar.gif +http/icons/tex.gif +http/icons/text.gif +http/icons/transfer.gif +http/icons/unknown.gif +http/icons/up.gif +http/icons/uu.gif +http/icons/uuencoded.gif +http/icons/world1.gif +http/icons/world2.gif |