apache 1.3.1 with modssl 2.0.6. Requires ssleay, and is therefore
export controlled.
This commit is contained in:
parent
cec2e36d3f
commit
6edc03df0b
7 changed files with 382 additions and 0 deletions
77
www/apache-modssl/Makefile
Normal file
77
www/apache-modssl/Makefile
Normal file
|
@ -0,0 +1,77 @@
|
|||
# FreeBSD: Makefile,v 1.2 1998/08/29 21:24:13 rse Exp
|
||||
# $NetBSD: Makefile,v 1.1.1.1 1998/09/04 23:37:23 explorer Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.1
|
||||
PKGNAME= apache-modssl-1.3.1
|
||||
CATEGORIES= www security
|
||||
MASTER_SITES= ftp://www.apache.org/apache/dist/ \
|
||||
http://www.engelschall.com/sw/mod_ssl/distrib/ \
|
||||
ftp://ftp.engelschall.com/sw/mod_ssl/ \
|
||||
ftp://ftp.ulpgc.es/pub/mod_ssl/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mod_ssl-2.0.6-1.3.1${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= packages@netbsd.org
|
||||
HOMEPAGE= http://www.apache.org/
|
||||
|
||||
BUILD_DEPENDS= ssleay:../../security/ssleay \
|
||||
${PREFIX}/lib/libssl.a:../../security/ssleay \
|
||||
${PREFIX}/lib/libcrypto.a:../../security/ssleay
|
||||
RUN_DEPENDS= ssleay:../../security/ssleay
|
||||
CONFLICTS= apache-1.3.1
|
||||
|
||||
RESTRICTED= "Contains cryptography"
|
||||
|
||||
HAS_CONFIGURE= YES
|
||||
CONFIGURE_ARGS+=--compat --prefix=${PREFIX}/http --exec-prefix=${PREFIX} \
|
||||
--mandir=${PREFIX}/man --libexecdir=${PREFIX}/libexec/apache \
|
||||
--sbindir=${PREFIX}/sbin --runtimedir=/var/run \
|
||||
--enable-module=most --enable-module=auth_db \
|
||||
--disable-module=auth_dbm --with-perl=${PREFIX}/bin/perl \
|
||||
--enable-module=ssl
|
||||
|
||||
.if defined(APACHE_SUEXEC)
|
||||
CONFIGURE_ARGS+=--enable-suexec --suexec-caller=www \
|
||||
--suexec-userdir=WWW \
|
||||
--suexec-safepath='${PREFIX}/bin:/usr/local/bin:/usr/bin:/bin'
|
||||
.endif
|
||||
|
||||
OPTIM= -DHARD_SERVER_LIMIT=512 \
|
||||
-DDOCUMENT_LOCATION=\\"${PREFIX}/http/htdocs/\\" \
|
||||
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin:/usr/local/bin\\"
|
||||
|
||||
.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
|
||||
CONFIGURE_ARGS+= --disable-rule=STATUS
|
||||
OPTIM+= -DBUFFERED_LOGS
|
||||
CFLAGS+= -O6 -fomit-frame-pointer -fexpensive-optimizations
|
||||
.endif
|
||||
|
||||
.if !defined(NOPIC)
|
||||
CONFIGURE_ARGS+=--enable-module=so --enable-shared=include
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= OPTIM='${OPTIM}' SSL_BASE=${PREFIX} \
|
||||
SSL_CNFDIR=${PREFIX}/etc RSA_BASE=${PREFIX}/lib
|
||||
|
||||
INSTALL_TARGET= install-quiet
|
||||
|
||||
MAN1= ab.1 apachectl.1 dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= apxs.8 httpd.8 logresolve.8 rotatelogs.8
|
||||
|
||||
pre-patch:
|
||||
@cd ${WRKDIR}/mod_ssl-2.0.6-1.3.1 \
|
||||
&& ${ECHO_MSG} "===> Applying mod_ssl-2.0.6 extension" \
|
||||
&& ./configure --with-apache=../${DISTNAME}
|
||||
|
||||
certificate:
|
||||
@cd ${WRKSRC} \
|
||||
&& ${ECHO_MSG} "===> Creating Test Certificate for Server" \
|
||||
&& ${MAKE} certificate
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
|
||||
${ECHO} Installing ${PREFIX}/etc/rc.d/apache.sh ; \
|
||||
${CP} ${FILESDIR}/apache.sh ${PREFIX}/etc/rc.d/apache.sh ; \
|
||||
fi
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
2
www/apache-modssl/files/apache.sh
Executable file
2
www/apache-modssl/files/apache.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
[ -x /usr/pkg/sbin/apachectl ] && /usr/pkg/sbin/apachectl start >/dev/null && echo -n ' apache'
|
2
www/apache-modssl/files/md5
Normal file
2
www/apache-modssl/files/md5
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (apache_1.3.1.tar.gz) = fd28c26f94451216a23f34f5fe22e2b4
|
||||
MD5 (mod_ssl-2.0.6-1.3.1.tar.gz) = bc7387ca02a7f29263ee7283755b44ba
|
16
www/apache-modssl/patches/patch-aa
Normal file
16
www/apache-modssl/patches/patch-aa
Normal file
|
@ -0,0 +1,16 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 1998/09/04 23:37:23 explorer Exp $
|
||||
|
||||
*** Makefile.tmpl~ Tue May 12 04:52:11 1998
|
||||
--- Makefile.tmpl Tue Jul 21 14:50:58 1998
|
||||
***************
|
||||
*** 324,329 ****
|
||||
--- 324,332 ----
|
||||
@osdir=`grep '^OSDIR=' $(TOP)/$(SRC)/Makefile.config | sed -e 's:^OSDIR=.*/os:os:'`; \
|
||||
echo "$(UMASK) 022; $(CP) $(TOP)/$(SRC)/$${osdir}/os.h $(includedir)/"; \
|
||||
$(UMASK) 022; $(CP) $(TOP)/$(SRC)/$${osdir}/os.h $(root)$(includedir)/
|
||||
+ # The above umask won't work if the original files were extracted with umask 077.
|
||||
+ echo 'chmod 444 $(root)$(includedir)/*'
|
||||
+ chmod 444 $(root)$(includedir)/*
|
||||
@echo "<=== [include]"
|
||||
|
||||
# create an initial document root containing the Apache manual,
|
1
www/apache-modssl/pkg/COMMENT
Normal file
1
www/apache-modssl/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
The popular Apache HTTP server with SSL extension.
|
15
www/apache-modssl/pkg/DESCR
Normal file
15
www/apache-modssl/pkg/DESCR
Normal file
|
@ -0,0 +1,15 @@
|
|||
Apache 1.3 + mod_ssl 2.0
|
||||
========================
|
||||
|
||||
Apache is an HTTP server designed as a plug-in replacement for the NCSA server
|
||||
version 1.3 (or 1.4). It fixes numerous bugs in the NCSA server and includes
|
||||
many frequently requested new features, and has an API which allows it to be
|
||||
extended to meet users' needs more easily. This version is also SSL-aware by
|
||||
the help of the mod_ssl module which interfaces Apache to the SSLeay
|
||||
encryption library.
|
||||
|
||||
All the documentation can be found on-line on the Web:
|
||||
|
||||
o Apache: http://www.apache.org/
|
||||
o mod_ssl: http://www.engelschall.com/sw/mod_ssl/
|
||||
o SSLeay: http://www.ssleay.org/
|
269
www/apache-modssl/pkg/PLIST
Normal file
269
www/apache-modssl/pkg/PLIST
Normal file
|
@ -0,0 +1,269 @@
|
|||
bin/dbmmanage
|
||||
bin/htdigest
|
||||
bin/htpasswd
|
||||
http/conf/access.conf.default
|
||||
http/conf/httpd.conf.default
|
||||
http/conf/magic.default
|
||||
http/conf/mime.types.default
|
||||
http/conf/srm.conf.default
|
||||
http/conf/sslcerts/Makefile
|
||||
http/conf/sslcerts/server.pem
|
||||
etc/rc.d/apache.sh
|
||||
http/include/alloc.h
|
||||
http/include/ap.h
|
||||
http/include/ap_compat.h
|
||||
http/include/ap_config.h
|
||||
http/include/ap_config_auto.h
|
||||
http/include/ap_ctype.h
|
||||
http/include/ap_md5.h
|
||||
http/include/buff.h
|
||||
http/include/compat.h
|
||||
http/include/conf.h
|
||||
http/include/explain.h
|
||||
http/include/fnmatch.h
|
||||
http/include/hsregex.h
|
||||
http/include/http_conf_globals.h
|
||||
http/include/http_config.h
|
||||
http/include/http_core.h
|
||||
http/include/http_log.h
|
||||
http/include/http_main.h
|
||||
http/include/http_protocol.h
|
||||
http/include/http_request.h
|
||||
http/include/http_vhost.h
|
||||
http/include/httpd.h
|
||||
http/include/multithread.h
|
||||
http/include/os.h
|
||||
http/include/rfc1413.h
|
||||
http/include/scoreboard.h
|
||||
http/include/util_date.h
|
||||
http/include/util_md5.h
|
||||
http/include/util_script.h
|
||||
http/include/util_uri.h
|
||||
sbin/ab
|
||||
sbin/apachectl
|
||||
sbin/apxs
|
||||
sbin/httpd
|
||||
sbin/logresolve
|
||||
sbin/rotatelogs
|
||||
sbin/ssl_gcache
|
||||
http/htdocs/apache_pb.gif
|
||||
http/htdocs/index.html
|
||||
http/htdocs/manual/LICENSE
|
||||
http/htdocs/manual/bind.html
|
||||
http/htdocs/manual/cgi_path.html
|
||||
http/htdocs/manual/content-negotiation.html
|
||||
http/htdocs/manual/custom-error.html
|
||||
http/htdocs/manual/dns-caveats.html
|
||||
http/htdocs/manual/dso.html
|
||||
http/htdocs/manual/ebcdic.html
|
||||
http/htdocs/manual/env.html
|
||||
http/htdocs/manual/footer.html
|
||||
http/htdocs/manual/handler.html
|
||||
http/htdocs/manual/header.html
|
||||
http/htdocs/manual/images/custom_errordocs.gif
|
||||
http/htdocs/manual/images/home.gif
|
||||
http/htdocs/manual/images/index.gif
|
||||
http/htdocs/manual/images/mod_rewrite_fig1.fig
|
||||
http/htdocs/manual/images/mod_rewrite_fig1.gif
|
||||
http/htdocs/manual/images/mod_rewrite_fig2.fig
|
||||
http/htdocs/manual/images/mod_rewrite_fig2.gif
|
||||
http/htdocs/manual/images/mod_ssl.jpg
|
||||
http/htdocs/manual/images/ssleay.gif
|
||||
http/htdocs/manual/images/mod_ssl_sb.gif
|
||||
http/htdocs/manual/images/apache_pb.gif
|
||||
http/htdocs/manual/images/sub.gif
|
||||
http/htdocs/manual/index.html
|
||||
http/htdocs/manual/install.html
|
||||
http/htdocs/manual/invoking.html
|
||||
http/htdocs/manual/keepalive.html
|
||||
http/htdocs/manual/location.html
|
||||
http/htdocs/manual/man-template.html
|
||||
http/htdocs/manual/misc/API.html
|
||||
http/htdocs/manual/misc/FAQ.html
|
||||
http/htdocs/manual/misc/HTTP_Features.tsv
|
||||
http/htdocs/manual/misc/client_block_api.html
|
||||
http/htdocs/manual/misc/compat_notes.html
|
||||
http/htdocs/manual/misc/custom_errordocs.html
|
||||
http/htdocs/manual/misc/descriptors.html
|
||||
http/htdocs/manual/misc/fin_wait_2.html
|
||||
http/htdocs/manual/misc/footer.html
|
||||
http/htdocs/manual/misc/header.html
|
||||
http/htdocs/manual/misc/howto.html
|
||||
http/htdocs/manual/misc/index.html
|
||||
http/htdocs/manual/misc/known_client_problems.html
|
||||
http/htdocs/manual/misc/nopgp.html
|
||||
http/htdocs/manual/misc/perf-bsd44.html
|
||||
http/htdocs/manual/misc/perf-dec.html
|
||||
http/htdocs/manual/misc/perf-hp.html
|
||||
http/htdocs/manual/misc/perf-tuning.html
|
||||
http/htdocs/manual/misc/perf.html
|
||||
http/htdocs/manual/misc/security_tips.html
|
||||
http/htdocs/manual/misc/vif-info.html
|
||||
http/htdocs/manual/misc/windoz_keepalive.html
|
||||
http/htdocs/manual/mod/core.html
|
||||
http/htdocs/manual/mod/directive-dict.html
|
||||
http/htdocs/manual/mod/directives.html
|
||||
http/htdocs/manual/mod/footer.html
|
||||
http/htdocs/manual/mod/header.html
|
||||
http/htdocs/manual/mod/index.html
|
||||
http/htdocs/manual/mod/mod_access.html
|
||||
http/htdocs/manual/mod/mod_actions.html
|
||||
http/htdocs/manual/mod/mod_alias.html
|
||||
http/htdocs/manual/mod/mod_asis.html
|
||||
http/htdocs/manual/mod/mod_auth.html
|
||||
http/htdocs/manual/mod/mod_auth_anon.html
|
||||
http/htdocs/manual/mod/mod_auth_db.html
|
||||
http/htdocs/manual/mod/mod_auth_dbm.html
|
||||
http/htdocs/manual/mod/mod_autoindex.html
|
||||
http/htdocs/manual/mod/mod_browser.html
|
||||
http/htdocs/manual/mod/mod_cern_meta.html
|
||||
http/htdocs/manual/mod/mod_cgi.html
|
||||
http/htdocs/manual/mod/mod_cookies.html
|
||||
http/htdocs/manual/mod/mod_digest.html
|
||||
http/htdocs/manual/mod/mod_dir.html
|
||||
http/htdocs/manual/mod/mod_dld.html
|
||||
http/htdocs/manual/mod/mod_dll.html
|
||||
http/htdocs/manual/mod/mod_env.html
|
||||
http/htdocs/manual/mod/mod_example.html
|
||||
http/htdocs/manual/mod/mod_expires.html
|
||||
http/htdocs/manual/mod/mod_headers.html
|
||||
http/htdocs/manual/mod/mod_imap.html
|
||||
http/htdocs/manual/mod/mod_include.html
|
||||
http/htdocs/manual/mod/mod_info.html
|
||||
http/htdocs/manual/mod/mod_isapi.html
|
||||
http/htdocs/manual/mod/mod_log_agent.html
|
||||
http/htdocs/manual/mod/mod_log_common.html
|
||||
http/htdocs/manual/mod/mod_log_config.html
|
||||
http/htdocs/manual/mod/mod_log_referer.html
|
||||
http/htdocs/manual/mod/mod_mime.html
|
||||
http/htdocs/manual/mod/mod_mime_magic.html
|
||||
http/htdocs/manual/mod/mod_mmap_static.html
|
||||
http/htdocs/manual/mod/mod_negotiation.html
|
||||
http/htdocs/manual/mod/mod_proxy.html
|
||||
http/htdocs/manual/mod/mod_rewrite.html
|
||||
http/htdocs/manual/mod/mod_setenvif.html
|
||||
http/htdocs/manual/mod/mod_so.html
|
||||
http/htdocs/manual/mod/mod_speling.html
|
||||
http/htdocs/manual/mod/mod_ssl.html
|
||||
http/htdocs/manual/mod/mod_status.html
|
||||
http/htdocs/manual/mod/mod_unique_id.html
|
||||
http/htdocs/manual/mod/mod_userdir.html
|
||||
http/htdocs/manual/mod/mod_usertrack.html
|
||||
http/htdocs/manual/multilogs.html
|
||||
http/htdocs/manual/new_features_1_0.html
|
||||
http/htdocs/manual/new_features_1_1.html
|
||||
http/htdocs/manual/new_features_1_2.html
|
||||
http/htdocs/manual/new_features_1_3.html
|
||||
http/htdocs/manual/process-model.html
|
||||
http/htdocs/manual/sections.html
|
||||
http/htdocs/manual/sourcereorg.html
|
||||
http/htdocs/manual/stopping.html
|
||||
http/htdocs/manual/suexec.html
|
||||
http/htdocs/manual/unixware.html
|
||||
http/htdocs/manual/upgrading_to_1_3.html
|
||||
http/htdocs/manual/vhosts/details.html
|
||||
http/htdocs/manual/vhosts/details_1_2.html
|
||||
http/htdocs/manual/vhosts/examples.html
|
||||
http/htdocs/manual/vhosts/fd-limits.html
|
||||
http/htdocs/manual/vhosts/footer.html
|
||||
http/htdocs/manual/vhosts/header.html
|
||||
http/htdocs/manual/vhosts/host.html
|
||||
http/htdocs/manual/vhosts/index.html
|
||||
http/htdocs/manual/vhosts/ip-based.html
|
||||
http/htdocs/manual/vhosts/name-based.html
|
||||
http/htdocs/manual/vhosts/vhosts-in-depth.html
|
||||
http/htdocs/manual/vhosts/virtual-host.html
|
||||
http/htdocs/manual/windows.html
|
||||
http/cgi-bin/printenv
|
||||
http/cgi-bin/test-cgi
|
||||
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
|
||||
@exec mkdir -p %D/http/proxy
|
||||
@exec cd %D/http/etc/sslcerts/ && make >/dev/null 2>&1
|
||||
@exec mkdir -p %D/http/conf/sslkeys
|
||||
@dirrm http/cgi-bin
|
||||
@dirrm http/htdocs/manual/images
|
||||
@dirrm http/htdocs/manual/misc
|
||||
@dirrm http/htdocs/manual/mod
|
||||
@dirrm http/htdocs/manual/vhosts
|
||||
@dirrm http/htdocs/manual
|
||||
@dirrm http/htdocs
|
||||
@dirrm http/icons
|
||||
@dirrm http/include
|
||||
@dirrm http/logs
|
||||
@dirrm http/proxy
|
||||
@dirrm http
|
Loading…
Reference in a new issue