Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2001 14:52:59 -0700 (PDT)
From:      perky@python.or.kr
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26410: New Port: www/apache2-beta
Message-ID:  <200104072152.f37LqxW59019@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26410
>Category:       ports
>Synopsis:       New Port: www/apache2-beta
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 07 15:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chang, Hye-Shik
>Release:        FreeBSD 4.2
>Organization:
Yonsei University
>Environment:
FreeBSD ryoko.dnip.net 4.3-RC FreeBSD 4.3-RC #0: Tue Apr  3 08:58:21 KST 2001     root@ryoko.dnip.net:/usr/src/sys/compile/RYOKO  i386
>Description:
first beta version(from alpha) of apache 2.0
so many patches was needed 'cause apache2's 
configure and makefiles doesn't process arguments.
many standard modules will be linked static
(DSO modules are unstable yet.)
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	apache2-beta
#	apache2-beta/Makefile
#	apache2-beta/distinfo
#	apache2-beta/pkg-comment
#	apache2-beta/pkg-descr
#	apache2-beta/pkg-plist
#	apache2-beta/files
#	apache2-beta/files/patch-configure
#	apache2-beta/files/patch-config.layout
#	apache2-beta/files/patch-docs:conf:httpd-std.conf
#	apache2-beta/files/patch-support:apachectl.in
#	apache2-beta/files/patch-support:log_server_status.in
#	apache2-beta/files/apache.sh
#	apache2-beta/files/patch-include:httpd.h
#	apache2-beta/files/patch-support:apxs.in
#	apache2-beta/files/patch-Makefile.in
#	apache2-beta/files/patch-srclib:apr:Makefile.in
#	apache2-beta/files/patch-srclib:apr-util:Makefile.in
#	apache2-beta/files/patch-build:rules.mk
#
echo c - apache2-beta
mkdir -p apache2-beta > /dev/null 2>&1
echo x - apache2-beta/Makefile
sed 's/^X//' >apache2-beta/Makefile << 'END-of-apache2-beta/Makefile'
X# New ports collection makefile for:	apache2-beta
X# Date created:				7 April 2001
X# Whom:					Hye-Shik Chang <perky@python.or.kr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	apache
XPORTVERSION=	2.0.16
XCATEGORIES=	www
XMASTER_SITES=	http://httpd.apache.org/dist/httpd/ \
X		http://www.cybernic.com/mirror/dist/httpd/ \
X		http://mirrors.partnersforever.net/apache/dist/httpd/ \
X		http://www.technotopia.com/vroom/apache/dist/httpd/ \
X		http://www.tux.org/pub/net/apache/dist/httpd/ \
X		ftp://ftp.raver.net/pub/ftp.apache.org/httpd/ \
X		ftp://ftp.epix.net/pub/apache/dist/httpd/ \
X		ftp://ftp.connectnet.com/pub/www/apache/httpd/ \
X		ftp://ftp.digex.net/pub/packages/network/apache/httpd/ \
X		ftp://ftp.cuckoo.com/pub/mirrors/apache/httpd/
XDISTNAME=	httpd-${PORTVERSION:S/./_/g}-beta
X
XMAINTAINER?=	perky@python.or.kr
X
XWRKSRC=		${WRKDIR}/httpd-${PORTVERSION:S/./_/g}
XFIND?=		find
XXARGS?=		xargs
X
X# apache2 doesn't process '--enable-share=max' option yet.
X# and some modules are very unstable at DSO mode.
XSHARED_MODS?=	unique_id mime_magic rewrite speling auth_db \
X		auth_anon digest headers cern_meta expires include \
X		cgid status info usertrack dav dav_fs imap proxy \
X		auth_digest file_cache echo optional_fn_import \
X		optional_fn_export
XSTATIC_MODS?=	so env setenvif dir autoindex access auth negotiation \
X		userdir alias asis cgi mime log_config vhost_alias actions
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	\
X		--prefix=${PREFIX} \
X		--enable-layout=FreeBSD \
X		--with-perl=${PERL} \
X		--with-suexec-docroot=${PREFIX}/www/data \
X		--enable-shared \
X		--disable-threads \
X		--with-mpm=prefork  # Apache's thread doesn't work well in FreeBSD
X
XOPTIM+=		-DHARD_SERVER_LIMIT=512 \
X		-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
X
XCONFIGURE_ENV=	OPTIM='${OPTIM}'
X
XMAN1=		dbmmanage.1 htdigest.1 htpasswd.1
XMAN8=		ab.8 apachectl.8 apxs.8 httpd.8 logresolve.8 rotatelogs.8 suexec.8
X
X.for mod in ${SHARED_MODS}
XCONFIGURE_ARGS+= --enable-${mod}=shared
X.endfor
X.for mod in ${STATIC_MODS}
XCONFIGURE_ARGS+= --enable-${mod}=yes
X.endfor
X
Xpost-patch:
X	@${FIND} ${WRKSRC} -name "*.orig"|${XARGS} ${RM} -f
X
Xpost-install:
X	@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
X		${ECHO} "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
X		${INSTALL_SCRIPT} -m 751 ${FILESDIR}/apache.sh ${PREFIX}/etc/rc.d/apache.sh; \
X	fi
X
X.include <bsd.port.mk>
END-of-apache2-beta/Makefile
echo x - apache2-beta/distinfo
sed 's/^X//' >apache2-beta/distinfo << 'END-of-apache2-beta/distinfo'
XMD5 (httpd-2_0_16-beta.tar.gz) = 364fc61593185789cb9744bae1ebb655
END-of-apache2-beta/distinfo
echo x - apache2-beta/pkg-comment
sed 's/^X//' >apache2-beta/pkg-comment << 'END-of-apache2-beta/pkg-comment'
XThe extremely popular Apache http server (beta release)
END-of-apache2-beta/pkg-comment
echo x - apache2-beta/pkg-descr
sed 's/^X//' >apache2-beta/pkg-descr << 'END-of-apache2-beta/pkg-descr'
XApache is an HTTP server designed as a plug-in replacement for the NCSA
Xserver version 1.3 (or 1.4). It fixes numerous bugs in the NCSA server and
Xincludes many frequently requested new features, and has an API which
Xallows it to be extended to meet users' needs more easily.
X
XWWW: http://www.apache.org/
END-of-apache2-beta/pkg-descr
echo x - apache2-beta/pkg-plist
sed 's/^X//' >apache2-beta/pkg-plist << 'END-of-apache2-beta/pkg-plist'
Xbin/htpasswd
Xbin/htdigest
Xetc/rc.d/apache.sh
X@unexec if cmp -s %D/etc/apache/mime.types %D/etc/apache/mime.types.default; then rm -f %D/etc/apache/mime.types; fi
Xetc/apache/mime.types.default
X@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types
X@unexec if cmp -s %D/etc/apache/magic %D/etc/apache/magic.default; then rm -f %D/etc/apache/magic; fi
Xetc/apache/magic.default
X@exec [ ! -f %B/magic ] && cp %B/%f %B/magic
X@unexec if cmp -s %D/etc/apache/highperformance-std.conf %D/etc/apache/highperformance-std.conf.default; then rm -f %D/etc/apache/highperformance-std.conf; fi
Xetc/apache/highperformance-std.conf.default
X@exec [ ! -f %B/highperformance-std.conf ] && cp %B/%f %B/highperformance-std.conf
X@unexec if cmp -s %D/etc/apache/highperformance.conf %D/etc/apache/highperformance.conf.default; then rm -f %D/etc/apache/highperformance.conf; fi
Xetc/apache/highperformance.conf.default
X@exec [ ! -f %B/highperformance.conf ] && cp %B/%f %B/highperformance.conf
X@unexec if cmp -s %D/etc/apache/httpd-std.conf %D/etc/apache/httpd-std.conf.default; then rm -f %D/etc/apache/httpd-std.conf; fi
Xetc/apache/httpd-std.conf.default
X@exec [ ! -f %B/httpd-std.conf ] && cp %B/%f %B/httpd-std.conf
X@unexec if cmp -s %D/etc/apache/httpd.conf %D/etc/apache/httpd.conf.default; then rm -f %D/etc/apache/httpd.conf; fi
Xetc/apache/httpd.conf.default
X@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf
Xinclude/apache/apr.h
Xinclude/apache/apr_want.h
Xinclude/apache/apr_uuid.h
Xinclude/apache/apr_user.h
Xinclude/apache/apr_time.h
Xinclude/apache/apr_thread_proc.h
Xinclude/apache/apr_tables.h
Xinclude/apache/apr_strings.h
Xinclude/apache/apr_signal.h
Xinclude/apache/apr_shmem.h
Xinclude/apache/apr_portable.h
Xinclude/apache/apr_pools.h
Xinclude/apache/apr_network_io.h
Xinclude/apache/apr_mmap.h
Xinclude/apache/apr_md5.h
Xinclude/apache/apr_lock.h
Xinclude/apache/apr_lib.h
Xinclude/apache/apr_hash.h
Xinclude/apache/apr_getopt.h
Xinclude/apache/apr_general.h
Xinclude/apache/apr_fnmatch.h
Xinclude/apache/apr_file_io.h
Xinclude/apache/apr_file_info.h
Xinclude/apache/apr_errno.h
Xinclude/apache/apr_dso.h
Xinclude/apache/apr_compat.h
Xinclude/apache/apr_xlate.h
Xinclude/apache/apr_base64.h
Xinclude/apache/apu.h
Xinclude/apache/apr_xml.h
Xinclude/apache/apr_sha1.h
Xinclude/apache/apr_sdbm.h
Xinclude/apache/apr_ring.h
Xinclude/apache/apr_optional.h
Xinclude/apache/apr_hooks.h
Xinclude/apache/apr_generic_hook.h
Xinclude/apache/apr_dbm.h
Xinclude/apache/apr_buckets.h
Xinclude/apache/apu_compat.h
Xinclude/apache/ap_compat.h
Xinclude/apache/util_uri.h
Xinclude/apache/util_script.h
Xinclude/apache/util_md5.h
Xinclude/apache/util_filter.h
Xinclude/apache/util_ebcdic.h
Xinclude/apache/util_date.h
Xinclude/apache/util_charset.h
Xinclude/apache/util_cfgtree.h
Xinclude/apache/scoreboard.h
Xinclude/apache/rfc1413.h
Xinclude/apache/pcreposix.h
Xinclude/apache/mpm_common.h
Xinclude/apache/httpd.h
Xinclude/apache/http_vhost.h
Xinclude/apache/http_request.h
Xinclude/apache/http_protocol.h
Xinclude/apache/http_main.h
Xinclude/apache/http_log.h
Xinclude/apache/http_core.h
Xinclude/apache/http_connection.h
Xinclude/apache/http_config.h
Xinclude/apache/ap_release.h
Xinclude/apache/ap_mpm.h
Xinclude/apache/ap_mmn.h
Xinclude/apache/ap_listen.h
Xinclude/apache/ap_config_auto.h
Xinclude/apache/ap_config.h
Xinclude/apache/util_xml.h
Xinclude/apache/os.h
Xinclude/apache/os-inline.c
Xinclude/apache/mpm_default.h
Xinclude/apache/mpm.h
Xinclude/apache/mod_dav.h
Xinclude/apache/mod_include.h
Xinclude/apache/pcre.h
Xinclude/apache/internal.h
Xinclude/apache/config.h
Xinclude/apache/unixd.h
Xlib/libapr.la
Xlib/libapr.a
Xlib/libaprutil.la
Xlib/libaprutil.a
Xlibexec/apache/mod_auth_anon.so
Xlibexec/apache/mod_auth_anon.la
Xlibexec/apache/mod_auth_db.so
Xlibexec/apache/mod_auth_db.la
Xlibexec/apache/mod_auth_digest.so
Xlibexec/apache/mod_auth_digest.la
Xlibexec/apache/mod_file_cache.so
Xlibexec/apache/mod_file_cache.la
Xlibexec/apache/mod_dav_fs.so
Xlibexec/apache/mod_dav_fs.la
Xlibexec/apache/mod_dav.so
Xlibexec/apache/mod_dav.la
Xlibexec/apache/mod_echo.so
Xlibexec/apache/mod_echo.la
Xlibexec/apache/mod_optional_fn_import.so
Xlibexec/apache/mod_optional_fn_import.la
Xlibexec/apache/mod_optional_fn_export.so
Xlibexec/apache/mod_optional_fn_export.la
Xlibexec/apache/mod_include.so
Xlibexec/apache/mod_include.la
Xlibexec/apache/mod_imap.so
Xlibexec/apache/mod_imap.la
Xlibexec/apache/mod_speling.so
Xlibexec/apache/mod_speling.la
Xlibexec/apache/mod_rewrite.so
Xlibexec/apache/mod_rewrite.la
Xlibexec/apache/mod_mime_magic.so
Xlibexec/apache/mod_mime_magic.la
Xlibexec/apache/mod_cern_meta.so
Xlibexec/apache/mod_cern_meta.la
Xlibexec/apache/mod_expires.so
Xlibexec/apache/mod_expires.la
Xlibexec/apache/mod_headers.so
Xlibexec/apache/mod_headers.la
Xlibexec/apache/mod_usertrack.so
Xlibexec/apache/mod_usertrack.la
Xlibexec/apache/mod_unique_id.so
Xlibexec/apache/mod_unique_id.la
Xlibexec/apache/mod_status.so
Xlibexec/apache/mod_status.la
Xlibexec/apache/mod_info.so
Xlibexec/apache/mod_info.la
Xlibexec/apache/mod_cgid.so
Xlibexec/apache/mod_cgid.la
Xlibexec/apache/httpd.exp
Xsbin/rotatelogs
Xsbin/htpasswd
Xsbin/logresolve
Xsbin/ab
Xsbin/apachectl
Xsbin/apxs
Xsbin/httpd
Xshare/doc/apache/README.rus
X@exec mkdir -p %D/www
X@exec ln -fs %B %D/www/data.default
X@unexec rm -f %D/www/data.default
X@exec [ ! -d %D/www/data ] && ln -fs %B %D/www/data
X@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin
Xshare/doc/apache/index.html.tw
Xshare/doc/apache/index.html.se
Xshare/doc/apache/index.html.ru.utf8
Xshare/doc/apache/index.html.ru.ucs4
Xshare/doc/apache/index.html.ru.ucs2
Xshare/doc/apache/index.html.ru.koi8-r
Xshare/doc/apache/index.html.ru.iso-ru
Xshare/doc/apache/index.html.ru.cp866
Xshare/doc/apache/index.html.ru.cp-1251
Xshare/doc/apache/index.html.pt-br
Xshare/doc/apache/index.html.pt
Xshare/doc/apache/index.html.po.iso-pl
Xshare/doc/apache/index.html.no
Xshare/doc/apache/index.html.nl
Xshare/doc/apache/index.html.lu
Xshare/doc/apache/index.html.ltz
Xshare/doc/apache/index.html.kr.iso-kr
Xshare/doc/apache/index.html.kr.iso2022-kr
Xshare/doc/apache/index.html.ja.jis
Xshare/doc/apache/index.html.ja.iso2022-jp
Xshare/doc/apache/index.html.it
Xshare/doc/apache/index.html.he.iso8859-8
Xshare/doc/apache/index.html.fr
Xshare/doc/apache/index.html.et
Xshare/doc/apache/index.html.es
Xshare/doc/apache/index.html.en
Xshare/doc/apache/index.html.el
Xshare/doc/apache/index.html.ee
Xshare/doc/apache/index.html.dk
Xshare/doc/apache/index.html.de
Xshare/doc/apache/index.html.cz
Xshare/doc/apache/index.html.ca
Xshare/doc/apache/apache_pb.gif
Xshare/doc/apache/index.html.tw.Big5
Xshare/doc/apache/manual/misc/tutorials.html
Xshare/doc/apache/manual/misc/FAQ.html
Xshare/doc/apache/manual/misc/known_client_problems.html
Xshare/doc/apache/manual/misc/client_block_api.html
Xshare/doc/apache/manual/misc/compat_notes.html
Xshare/doc/apache/manual/misc/custom_errordocs.html
Xshare/doc/apache/manual/misc/descriptors.html
Xshare/doc/apache/manual/misc/fin_wait_2.html
Xshare/doc/apache/manual/misc/footer.html
Xshare/doc/apache/manual/misc/header.html
Xshare/doc/apache/manual/misc/howto.html
Xshare/doc/apache/manual/misc/index.html
Xshare/doc/apache/manual/misc/perf-tuning.html
Xshare/doc/apache/manual/misc/rewriteguide.html
Xshare/doc/apache/manual/misc/security_tips.html
Xshare/doc/apache/manual/misc/API.html
Xshare/doc/apache/manual/developer/modules.html
Xshare/doc/apache/manual/developer/documenting
Xshare/doc/apache/manual/developer/footer.html
Xshare/doc/apache/manual/developer/header.html
Xshare/doc/apache/manual/developer/hooks.html
Xshare/doc/apache/manual/developer/index.html
Xshare/doc/apache/manual/developer/layeredio.html
Xshare/doc/apache/manual/developer/debugging.html
Xshare/doc/apache/manual/platform/windows.html
Xshare/doc/apache/manual/platform/header.html
Xshare/doc/apache/manual/platform/netware.html
Xshare/doc/apache/manual/platform/perf-bsd44.html
Xshare/doc/apache/manual/platform/perf-dec.html
Xshare/doc/apache/manual/platform/perf-hp.html
Xshare/doc/apache/manual/platform/perf.html
Xshare/doc/apache/manual/platform/readme-tpf.html
Xshare/doc/apache/manual/platform/unixware.html
Xshare/doc/apache/manual/platform/win_compiling.html
Xshare/doc/apache/manual/platform/win_service.html
Xshare/doc/apache/manual/platform/footer.html
Xshare/doc/apache/manual/mod/threaded.html
Xshare/doc/apache/manual/mod/directive-dict.html
Xshare/doc/apache/manual/mod/directives.html
Xshare/doc/apache/manual/mod/footer.html
Xshare/doc/apache/manual/mod/header.html
Xshare/doc/apache/manual/mod/index-bytype.html
Xshare/doc/apache/manual/mod/index.html
Xshare/doc/apache/manual/mod/mod_access.html
Xshare/doc/apache/manual/mod/mod_actions.html
Xshare/doc/apache/manual/mod/mod_alias.html
Xshare/doc/apache/manual/mod/mod_asis.html
Xshare/doc/apache/manual/mod/mod_auth.html
Xshare/doc/apache/manual/mod/mod_auth_anon.html
Xshare/doc/apache/manual/mod/mod_auth_db.html
Xshare/doc/apache/manual/mod/mod_auth_dbm.html
Xshare/doc/apache/manual/mod/mod_auth_digest.html
Xshare/doc/apache/manual/mod/mod_autoindex.html
Xshare/doc/apache/manual/mod/mod_cern_meta.html
Xshare/doc/apache/manual/mod/mod_so.html
Xshare/doc/apache/manual/mod/mod_cgi.html
Xshare/doc/apache/manual/mod/mod_charset_lite.html
Xshare/doc/apache/manual/mod/mod_dav.html
Xshare/doc/apache/manual/mod/mod_dir.html
Xshare/doc/apache/manual/mod/mod_env.html
Xshare/doc/apache/manual/mod/mod_example.html
Xshare/doc/apache/manual/mod/mod_expires.html
Xshare/doc/apache/manual/mod/mod_ext_filter.html
Xshare/doc/apache/manual/mod/mod_file_cache.html
Xshare/doc/apache/manual/mod/mod_headers.html
Xshare/doc/apache/manual/mod/mod_imap.html
Xshare/doc/apache/manual/mod/mod_include.html
Xshare/doc/apache/manual/mod/mod_info.html
Xshare/doc/apache/manual/mod/mod_isapi.html
Xshare/doc/apache/manual/mod/mod_log_config.html
Xshare/doc/apache/manual/mod/mod_mime.html
Xshare/doc/apache/manual/mod/mod_mime_magic.html
Xshare/doc/apache/manual/mod/mod_mmap_static.html
Xshare/doc/apache/manual/mod/mod_negotiation.html
Xshare/doc/apache/manual/mod/mod_proxy.html
Xshare/doc/apache/manual/mod/mod_rewrite.html
Xshare/doc/apache/manual/mod/mod_setenvif.html
Xshare/doc/apache/manual/mod/mod_speling.html
Xshare/doc/apache/manual/mod/mod_status.html
Xshare/doc/apache/manual/mod/mod_unique_id.html
Xshare/doc/apache/manual/mod/mod_userdir.html
Xshare/doc/apache/manual/mod/mod_usertrack.html
Xshare/doc/apache/manual/mod/mod_vhost_alias.html
Xshare/doc/apache/manual/mod/module-dict.html
Xshare/doc/apache/manual/mod/mpm_common.html
Xshare/doc/apache/manual/mod/mpm_winnt.html
Xshare/doc/apache/manual/mod/perchild.html
Xshare/doc/apache/manual/mod/prefork.html
Xshare/doc/apache/manual/mod/core.html
Xshare/doc/apache/manual/search/manual-index.cgi
Xshare/doc/apache/manual/programs/suexec.html
Xshare/doc/apache/manual/programs/apachectl.html
Xshare/doc/apache/manual/programs/apxs.html
Xshare/doc/apache/manual/programs/dbmmanage.html
Xshare/doc/apache/manual/programs/footer.html
Xshare/doc/apache/manual/programs/header.html
Xshare/doc/apache/manual/programs/htdigest.html
Xshare/doc/apache/manual/programs/htpasswd.html
Xshare/doc/apache/manual/programs/httpd.html
Xshare/doc/apache/manual/programs/index.html
Xshare/doc/apache/manual/programs/logresolve.html
Xshare/doc/apache/manual/programs/other.html
Xshare/doc/apache/manual/programs/rotatelogs.html
Xshare/doc/apache/manual/programs/ab.html
Xshare/doc/apache/manual/images/sub.gif
Xshare/doc/apache/manual/images/custom_errordocs.gif
Xshare/doc/apache/manual/images/home.gif
Xshare/doc/apache/manual/images/index.gif
Xshare/doc/apache/manual/images/mod_rewrite_fig1.fig
Xshare/doc/apache/manual/images/mod_rewrite_fig1.gif
Xshare/doc/apache/manual/images/mod_rewrite_fig2.fig
Xshare/doc/apache/manual/images/mod_rewrite_fig2.gif
Xshare/doc/apache/manual/images/pixel.gif
Xshare/doc/apache/manual/images/apache_header.gif
Xshare/doc/apache/manual/howto/cgi.html.en
Xshare/doc/apache/manual/howto/cgi.html.ja.jis
Xshare/doc/apache/manual/howto/footer.html
Xshare/doc/apache/manual/howto/header.html
Xshare/doc/apache/manual/howto/ssi.html.en
Xshare/doc/apache/manual/howto/ssi.html.ja.jis
Xshare/doc/apache/manual/vhosts/virtual-host.html
Xshare/doc/apache/manual/vhosts/examples.html
Xshare/doc/apache/manual/vhosts/fd-limits.html
Xshare/doc/apache/manual/vhosts/footer.html
Xshare/doc/apache/manual/vhosts/header.html
Xshare/doc/apache/manual/vhosts/host.html
Xshare/doc/apache/manual/vhosts/index.html
Xshare/doc/apache/manual/vhosts/ip-based.html
Xshare/doc/apache/manual/vhosts/mass.html
Xshare/doc/apache/manual/vhosts/name-based.html
Xshare/doc/apache/manual/vhosts/vhosts-in-depth.html
Xshare/doc/apache/manual/vhosts/details.html
Xshare/doc/apache/manual/new_features_2_0.html.fr
Xshare/doc/apache/manual/new_features_2_0.html
Xshare/doc/apache/manual/mpm.html
Xshare/doc/apache/manual/location.html
Xshare/doc/apache/manual/invoking.html
Xshare/doc/apache/manual/install.html
Xshare/doc/apache/manual/install-tpf.html
Xshare/doc/apache/manual/index.html.fr
Xshare/doc/apache/manual/index.html
Xshare/doc/apache/manual/header.html
Xshare/doc/apache/manual/handler.html
Xshare/doc/apache/manual/footer.html
Xshare/doc/apache/manual/filter.html
Xshare/doc/apache/manual/env.html
Xshare/doc/apache/manual/ebcdic.html
Xshare/doc/apache/manual/dso.html
Xshare/doc/apache/manual/dns-caveats.html
Xshare/doc/apache/manual/custom-error.html
Xshare/doc/apache/manual/content-negotiation.html
Xshare/doc/apache/manual/configuring.html
Xshare/doc/apache/manual/cgi_path.html
Xshare/doc/apache/manual/bind.html
Xshare/doc/apache/manual/STATUS
Xshare/doc/apache/manual/LICENSE
Xshare/doc/apache/manual/urlmapping.html
Xshare/doc/apache/manual/upgrading.html.fr
Xshare/doc/apache/manual/upgrading.html
Xshare/doc/apache/manual/suexec.html
Xshare/doc/apache/manual/stopping.html
Xshare/doc/apache/manual/server-wide.html
Xshare/doc/apache/manual/sections.html
Xshare/doc/apache/manual/process-model.html
Xwww/cgi-bin.default/test-cgi
Xwww/cgi-bin.default/printenv
Xwww/icons/small/uu.gif
Xwww/icons/small/back.gif
Xwww/icons/small/binary.gif
Xwww/icons/small/binhex.gif
Xwww/icons/small/blank.gif
Xwww/icons/small/broken.gif
Xwww/icons/small/burst.gif
Xwww/icons/small/comp1.gif
Xwww/icons/small/comp2.gif
Xwww/icons/small/compressed.gif
Xwww/icons/small/continued.gif
Xwww/icons/small/dir.gif
Xwww/icons/small/dir2.gif
Xwww/icons/small/doc.gif
Xwww/icons/small/forward.gif
Xwww/icons/small/generic.gif
Xwww/icons/small/generic2.gif
Xwww/icons/small/generic3.gif
Xwww/icons/small/image.gif
Xwww/icons/small/image2.gif
Xwww/icons/small/index.gif
Xwww/icons/small/key.gif
Xwww/icons/small/movie.gif
Xwww/icons/small/patch.gif
Xwww/icons/small/ps.gif
Xwww/icons/small/rainbow.gif
Xwww/icons/small/sound.gif
Xwww/icons/small/sound2.gif
Xwww/icons/small/tar.gif
Xwww/icons/small/text.gif
Xwww/icons/small/transfer.gif
Xwww/icons/small/unknown.gif
Xwww/icons/small/README.txt
Xwww/icons/world1.gif
Xwww/icons/uuencoded.gif
Xwww/icons/uu.gif
Xwww/icons/up.gif
Xwww/icons/unknown.gif
Xwww/icons/transfer.gif
Xwww/icons/text.gif
Xwww/icons/tex.gif
Xwww/icons/tar.gif
Xwww/icons/sphere2.gif
Xwww/icons/sphere1.gif
Xwww/icons/sound2.gif
Xwww/icons/sound1.gif
Xwww/icons/script.gif
Xwww/icons/screw2.gif
Xwww/icons/screw1.gif
Xwww/icons/right.gif
Xwww/icons/quill.gif
Xwww/icons/ps.gif
Xwww/icons/portal.gif
Xwww/icons/pie8.gif
Xwww/icons/pie7.gif
Xwww/icons/pie6.gif
Xwww/icons/pie5.gif
Xwww/icons/pie4.gif
Xwww/icons/pie3.gif
Xwww/icons/pie2.gif
Xwww/icons/pie1.gif
Xwww/icons/pie0.gif
Xwww/icons/pdf.gif
Xwww/icons/patch.gif
Xwww/icons/p.gif
Xwww/icons/movie.gif
Xwww/icons/link.gif
Xwww/icons/left.gif
Xwww/icons/layout.gif
Xwww/icons/index.gif
Xwww/icons/image3.gif
Xwww/icons/image2.gif
Xwww/icons/image1.gif
Xwww/icons/icon.sheet.gif
Xwww/icons/hand.up.gif
Xwww/icons/hand.right.gif
Xwww/icons/generic.sec.gif
Xwww/icons/generic.red.gif
Xwww/icons/generic.gif
Xwww/icons/forward.gif
Xwww/icons/folder.sec.gif
Xwww/icons/folder.gif
Xwww/icons/folder.open.gif
Xwww/icons/f.gif
Xwww/icons/dvi.gif
Xwww/icons/down.gif
Xwww/icons/dir.gif
Xwww/icons/continued.gif
Xwww/icons/compressed.gif
Xwww/icons/comp.gray.gif
Xwww/icons/comp.blue.gif
Xwww/icons/c.gif
Xwww/icons/burst.gif
Xwww/icons/broken.gif
Xwww/icons/box2.gif
Xwww/icons/box1.gif
Xwww/icons/bomb.gif
Xwww/icons/blank.gif
Xwww/icons/binhex.gif
Xwww/icons/binary.gif
Xwww/icons/ball.red.gif
Xwww/icons/ball.gray.gif
Xwww/icons/back.gif
Xwww/icons/apache_pb.gif
Xwww/icons/alert.red.gif
Xwww/icons/alert.black.gif
Xwww/icons/a.gif
Xwww/icons/world2.gif
Xwww/icons/README
X@unexec if [ -L %D/www/cgi-bin ]; then rm -f %D/www/cgi-bin; fi
X@unexec if [ -L %D/www/data ]; then rm -f %D/www/data; fi
X@dirrm etc/apache
X@dirrm include/apache
X@dirrm libexec/apache
X@dirrm share/doc/apache/manual/vhosts
X@dirrm share/doc/apache/manual/search
X@dirrm share/doc/apache/manual/programs
X@dirrm share/doc/apache/manual/platform
X@dirrm share/doc/apache/manual/mod
X@dirrm share/doc/apache/manual/misc
X@dirrm share/doc/apache/manual/images
X@dirrm share/doc/apache/manual/howto
X@dirrm share/doc/apache/manual/developer
X@dirrm share/doc/apache/manual
X@dirrm share/doc/apache
X@dirrm www/icons/small
X@dirrm www/icons
X@dirrm www/cgi-bin.default
X@dirrm www
END-of-apache2-beta/pkg-plist
echo c - apache2-beta/files
mkdir -p apache2-beta/files > /dev/null 2>&1
echo x - apache2-beta/files/patch-configure
sed 's/^X//' >apache2-beta/files/patch-configure << 'END-of-apache2-beta/files/patch-configure'
X--- configure.orig	Wed Apr  4 12:45:36 2001
X+++ configure	Sun Apr  8 03:25:31 2001
X@@ -3760,7 +3760,9 @@
X       -e "s/[ 	]*$/'/g" \
X       $srcdir/config.layout > $pldconf
X   layout_name=$LAYOUT
X+  prefix_backup=$prefix # poor patch to prevent override prefix arg with default
X   . $pldconf
X+  prefix=$prefix_backup
X   rm $pldconf
X   for var in prefix exec_prefix bindir sbindir libexecdir mandir \
X              sysconfdir datadir iconsdir htdocsdir cgidir includedir \
X@@ -9678,6 +9680,10 @@
X 
X   
X   APACHE_VAR_SUBST="$APACHE_VAR_SUBST sysconfdir"
X+  APACHE_VAR_SUBST="$APACHE_VAR_SUBST runtimedir"
X+  APACHE_VAR_SUBST="$APACHE_VAR_SUBST logfiledir"
X+  APACHE_VAR_SUBST="$APACHE_VAR_SUBST mandir"
X+  APACHE_VAR_SUBST="$APACHE_VAR_SUBST libdir"
X   
X 
X   
X@@ -9814,7 +9820,7 @@
X EOF
X 
X cat >> confdefs.h <<EOF
X-#define SERVER_CONFIG_FILE "conf/$progname.conf"
X+#define SERVER_CONFIG_FILE "etc/apache/$progname.conf"
X EOF
X 
X cat >> confdefs.h <<EOF
END-of-apache2-beta/files/patch-configure
echo x - apache2-beta/files/patch-config.layout
sed 's/^X//' >apache2-beta/files/patch-config.layout << 'END-of-apache2-beta/files/patch-config.layout'
X--- config.layout.orig	Sat Apr  7 04:19:44 2001
X+++ config.layout	Sat Apr  7 04:20:28 2001
X@@ -249,3 +249,22 @@
X     logfiledir:    $prefix/logs
X     proxycachedir: $prefix/proxy
X </Layout>
X+
X+<Layout FreeBSD>
X+    prefix:        /usr/local
X+    exec_prefix:   $prefix
X+    bindir:        $exec_prefix/bin
X+    sbindir:       $exec_prefix/sbin
X+    libexecdir:    $exec_prefix/libexec/apache
X+    mandir:        $prefix/man
X+    sysconfdir:    $prefix/etc/apache
X+    datadir:       $prefix/www
X+    iconsdir:      $datadir/icons
X+    htdocsdir:     $datadir/data
X+    cgidir:        $datadir/cgi-bin
X+    includedir:    $prefix/include/apache
X+    localstatedir: /var
X+    runtimedir:    $localstatedir/run
X+    logfiledir:    $localstatedir/log
X+    proxycachedir: $datadir/proxy
X+</Layout>
END-of-apache2-beta/files/patch-config.layout
echo x - apache2-beta/files/patch-docs:conf:httpd-std.conf
sed 's/^X//' >apache2-beta/files/patch-docs:conf:httpd-std.conf << 'END-of-apache2-beta/files/patch-docs:conf:httpd-std.conf'
X--- docs/conf/httpd-std.conf.orig	Mon Mar 26 01:54:48 2001
X+++ docs/conf/httpd-std.conf	Sun Apr  8 04:26:54 2001
X@@ -64,7 +64,7 @@
X # PidFile: The file in which the server should record its process
X # identification number when it starts.
X #
X-PidFile logs/httpd.pid
X+PidFile /var/run/httpd.pid
X 
X #
X # ScoreBoardFile: File used to store internal server process information.
X@@ -73,7 +73,7 @@
X # no two invocations of Apache share the same scoreboard file.
X #
X <IfModule !perchild.c>
X-ScoreBoardFile logs/apache_runtime_status
X+ScoreBoardFile /var/run/apache_runtime_status
X </IfModule>
X 
X #
X@@ -182,6 +182,28 @@
X #
X # Example:
X # LoadModule foo_module modules/mod_foo.so
X+#LoadModule auth_anon_module		libexec/apache/mod_auth_anon.so
X+#LoadModule auth_db_module		libexec/apache/mod_auth_db.so
X+#LoadModule auth_digest_module		libexec/apache/mod_auth_digest.so
X+#LoadModule cern_meta_module		libexec/apache/mod_cern_meta.so
X+#LoadModule cgid_module			libexec/apache/mod_cgid.so
X+#LoadModule dav_module			libexec/apache/mod_dav.so
X+#LoadModule dav_fs_module		libexec/apache/mod_dav_fs.so
X+#LoadModule digest_module		libexec/apache/mod_digest.so
X+#LoadModule expires_module		libexec/apache/mod_expires.so
X+#LoadModule file_cache_module		libexec/apache/mod_file_cache.so
X+#LoadModule headers_module		libexec/apache/mod_headers.so
X+#LoadModule imap_module			libexec/apache/mod_imap.so
X+#LoadModule include_module		libexec/apache/mod_include.so
X+#LoadModule info_module			libexec/apache/mod_info.so
X+#LoadModule mime_magic_module		libexec/apache/mod_mime_magic.so
X+#LoadModule optional_fn_export_module	libexec/apache/mod_optional_fn_export.so
X+#LoadModule optional_fn_import_module	libexec/apache/mod_optional_fn_import.so
X+#LoadModule rewrite_module		libexec/apache/mod_rewrite.so
X+#LoadModule speling_module		libexec/apache/mod_speling.so
X+#LoadModule status_module		libexec/apache/mod_status.so
X+#LoadModule unique_id_module		libexec/apache/mod_unique_id.so
X+#LoadModule usertrack_module		libexec/apache/mod_usertrack.so
X 
X ### Section 2: 'Main' server configuration
X #
X@@ -221,7 +243,7 @@
X #  don't use Group #-1 on these systems!
X #
X User nobody
X-Group #-1
X+Group nogroup
X 
X #
X # ServerAdmin: Your address, where problems with the server should be
X@@ -249,7 +271,7 @@
X # documents. By default, all requests are taken from this directory, but
X # symbolic links and aliases may be used to point to other locations.
X #
X-DocumentRoot "@@ServerRoot@@/htdocs"
X+DocumentRoot "@@ServerRoot@@/www/data"
X 
X #
X # Each directory to which Apache has access, can be configured with respect
X@@ -274,7 +296,7 @@
X #
X # This should be changed to whatever you set DocumentRoot to.
X #
X-<Directory "@@ServerRoot@@/htdocs">
X+<Directory "@@ServerRoot@@/www/data">
X 
X #
X # This may also be "None", "All", or any combination of "Indexes",
X@@ -326,7 +348,22 @@
X # DirectoryIndex: Name of the file or files to use as a pre-written HTML
X # directory index.  Separate multiple entries with spaces.
X #
X-DirectoryIndex index.html
X+<IfModule mod_php3.c>
X+    <IfModule mod_php4.c>
X+        DirectoryIndex index.php index.php3 index.html
X+    </IfModule>
X+    <IfModule !mod_php4.c>
X+        DirectoryIndex index.php3 index.html
X+    </IfModule>
X+</IfModule>
X+<IfModule !mod_php3.c>
X+    <IfModule mod_php4.c>
X+        DirectoryIndex index.php index.html
X+    </IfModule>
X+    <IfModule !mod_php4.c>
X+        DirectoryIndex index.html
X+    </IfModule>
X+</IfModule>
X 
X #
X # AccessFileName: The name of the file to look for in each directory
X@@ -372,7 +409,7 @@
X # TypesConfig describes where the mime.types file (or equivalent) is
X # to be found.
X #
X-TypesConfig conf/mime.types
X+TypesConfig etc/apache/mime.types
X 
X #
X # DefaultType is the default MIME type the server will use for a document
X@@ -397,7 +434,7 @@
X # module is part of the server.
X #
X <IfModule mod_mime_magic.c>
X-    MIMEMagicFile conf/magic
X+    MIMEMagicFile etc/apache/magic
X </IfModule>
X 
X #
X@@ -417,7 +454,7 @@
X # logged here.  If you *do* define an error logfile for a <VirtualHost>
X # container, that host's errors will be logged there and not here.
X #
X-ErrorLog logs/error_log
X+ErrorLog /var/log/httpd-error.log
X 
X #
X # LogLevel: Control the number of messages logged to the error_log.
X@@ -442,7 +479,7 @@
X # define per-<VirtualHost> access logfiles, transactions will be
X # logged therein and *not* in this file.
X #
X-CustomLog logs/access_log common
X+#CustomLog logs/access_log common
X 
X #
X # If you would like to have agent and referer logfiles, uncomment the
X@@ -455,7 +492,7 @@
X # If you prefer a single logfile with access, agent, and referer information
X # (Combined Logfile Format) you can use the following directive.
X #
X-#CustomLog logs/access_log combined
X+CustomLog /var/log/httpd-access.log combined
X 
X #
X # Optionally add a line containing the server version and virtual host
X@@ -474,9 +511,9 @@
X # require it to be present in the URL.  So "/icons" isn't aliased in this
X # example, only "/icons/"..
X #
X-Alias /icons/ "@@ServerRoot@@/icons/"
X+Alias /icons/ "@@ServerRoot@@/www/icons/"
X 
X-<Directory "@@ServerRoot@@/icons">
X+<Directory "@@ServerRoot@@/www/icons">
X     Options Indexes MultiViews
X     AllowOverride None
X     Order allow,deny
X@@ -491,7 +528,7 @@
X # The same rules about trailing "/" apply to ScriptAlias directives as to
X # Alias.
X #
X-ScriptAlias /cgi-bin/ "@@ServerRoot@@/cgi-bin/"
X+ScriptAlias /cgi-bin/ "@@ServerRoot@@/www/cgi-bin/"
X 
X <IfModule mod_cgid.c>
X #
X@@ -505,7 +542,7 @@
X # "@@ServerRoot@@/cgi-bin" should be changed to whatever your ScriptAliased
X # CGI directory exists, if you have that configured.
X #
X-<Directory "@@ServerRoot@@/cgi-bin">
X+<Directory "@@ServerRoot@@/www/cgi-bin">
X     AllowOverride None
X     Options None
X     Order allow,deny
X@@ -657,6 +694,7 @@
X AddLanguage ja .ja
X AddLanguage pl .po
X AddLanguage kr .kr
X+AddLanguage ko .kr
X AddLanguage pt .pt
X AddLanguage no .no
X AddLanguage pt-br .pt-br
X@@ -741,8 +779,17 @@
X # For example, the PHP3 module (not part of the Apache distribution - see
X # http://www.php.net) will typically use:
X #
X-#AddType application/x-httpd-php3 .php3
X-#AddType application/x-httpd-php3-source .phps
X+<IfModule mod_php3.c>
X+    AddType application/x-httpd-php3 .php3
X+    AddType application/x-httpd-php3-source .php3s
X+</IfModule>
X+#
X+# And for PHP 4.x, use:
X+#
X+<IfModule mod_php4.c>
X+    AddType application/x-httpd-php .php
X+    AddType application/x-httpd-php-source .phps
X+</IfModule>
X 
X AddType application/x-tar .tgz
X 
END-of-apache2-beta/files/patch-docs:conf:httpd-std.conf
echo x - apache2-beta/files/patch-support:apachectl.in
sed 's/^X//' >apache2-beta/files/patch-support:apachectl.in << 'END-of-apache2-beta/files/patch-support:apachectl.in'
X--- support/apachectl.in.orig	Fri Feb 16 13:26:53 2001
X+++ support/apachectl.in	Sun Apr  8 03:49:34 2001
X@@ -25,10 +25,10 @@
X # --------------------                              --------------------
X # 
X # the path to your PID file
X-PIDFILE=@prefix@/logs/httpd.pid
X+PIDFILE=/var/run/httpd.pid
X #
X # the path to your httpd binary, including options if necessary
X-HTTPD='@prefix@/bin/httpd'
X+HTTPD='@prefix@/sbin/httpd'
X #
X # a command that outputs a formatted text version of the HTML at the
X # url given on the command line.  Designed for lynx, however other
X@@ -41,6 +41,8 @@
X #
X # --------------------                              --------------------
X # ||||||||||||||||||||   END CONFIGURATION SECTION  ||||||||||||||||||||
X+
X+eval `limits -e -C daemon` >/dev/null 2>&1
X 
X ERROR=0
X ARGV="$@"
END-of-apache2-beta/files/patch-support:apachectl.in
echo x - apache2-beta/files/patch-support:log_server_status.in
sed 's/^X//' >apache2-beta/files/patch-support:log_server_status.in << 'END-of-apache2-beta/files/patch-support:log_server_status.in'
X--- support/log_server_status.in.orig	Mon Mar 12 08:40:47 2001
X+++ support/log_server_status.in	Sat Apr  7 05:45:42 2001
X@@ -63,10 +63,10 @@
X #
X require 'sys/socket.ph';
X 
X-$wherelog = "/var/log/graph/";  # Logs will be like "/var/log/graph/19960312"
X+$wherelog = "/var/log/httpd-status-";
X $server = "localhost";          # Name of server, could be "www.foo.com"
X $port = "80";                   # Port on server
X-$request = "/status/?auto";     # Request to send
X+$request = "/server-status/?auto";     # Request to send
X 
X sub tcp_connect
X {
X@@ -96,7 +96,7 @@
X 	chomp($date);
X 	($day,$time)=split(/:/,$date);
X 	$res=&tcp_connect($server,$port);
X-	open(OUT,">>$wherelog$day");
X+	open(OUT,">>$wherelog$day.log");
X 	if ($res) {
X 		print OUT "$time:-1:-1:-1:-1:$res\n";
X 		exit 1;
END-of-apache2-beta/files/patch-support:log_server_status.in
echo x - apache2-beta/files/apache.sh
sed 's/^X//' >apache2-beta/files/apache.sh << 'END-of-apache2-beta/files/apache.sh'
X#!/bin/sh
X
Xif ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
X    echo "$0: Cannot determine the PREFIX" >&2
X    exit 1
Xfi
X
Xcase "$1" in
Xstart)
X	[ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl start > /dev/null && echo -n ' apache'
X	;;
Xstop)
X	[ -r /var/run/httpd.pid ] && ${PREFIX}/sbin/apachectl stop > /dev/null && echo -n ' apache'
X	;;
X*)
X	echo "Usage: `basename $0` {start|stop}" >&2
X	;;
Xesac
X
Xexit 0
END-of-apache2-beta/files/apache.sh
echo x - apache2-beta/files/patch-include:httpd.h
sed 's/^X//' >apache2-beta/files/patch-include:httpd.h << 'END-of-apache2-beta/files/patch-include:httpd.h'
X--- include/httpd.h.orig	Sat Apr  7 09:11:19 2001
X+++ include/httpd.h	Sat Apr  7 09:08:43 2001
X@@ -127,7 +127,7 @@
X /* Set default for OS/2 file system */
X #define DOCUMENT_LOCATION  HTTPD_ROOT "/docs"
X #else
X-#define DOCUMENT_LOCATION  HTTPD_ROOT "/htdocs"
X+#define DOCUMENT_LOCATION  HTTPD_ROOT "/www/data"
X #endif
X #endif /* DOCUMENT_LOCATION */
X 
X@@ -144,7 +144,7 @@
X #if defined(OS2) || defined(WIN32)
X #define DEFAULT_ERRORLOG "logs/error.log"
X #else
X-#define DEFAULT_ERRORLOG "logs/error_log"
X+#define DEFAULT_ERRORLOG "/var/log/httpd-error.log"
X #endif
X #endif /* DEFAULT_ERRORLOG */
X 
X@@ -160,7 +160,7 @@
X 
X /* The name of the server config file */
X #ifndef SERVER_CONFIG_FILE
X-#define SERVER_CONFIG_FILE "conf/httpd.conf"
X+#define SERVER_CONFIG_FILE "etc/apache/httpd.conf"
X #endif
X 
X /* Whether we should enable rfc1413 identity checking */
X@@ -247,7 +247,7 @@
X 
X /* The name of the MIME types file */
X #ifndef AP_TYPES_CONFIG_FILE
X-#define AP_TYPES_CONFIG_FILE "conf/mime.types"
X+#define AP_TYPES_CONFIG_FILE "etc/apache/mime.types"
X #endif
X 
X /*
END-of-apache2-beta/files/patch-include:httpd.h
echo x - apache2-beta/files/patch-support:apxs.in
sed 's/^X//' >apache2-beta/files/patch-support:apxs.in << 'END-of-apache2-beta/files/patch-support:apxs.in'
X--- support/apxs.in.orig	Sat Apr  7 11:56:15 2001
X+++ support/apxs.in	Sat Apr  7 11:55:28 2001
X@@ -73,7 +73,7 @@
X my $prefix            = "$CFG_PREFIX";
X my $CFG_EXEC_PREFIX   = "@exec_prefix@";
X my $exec_prefix       = "$CFG_EXEC_PREFIX";
X-my $CFG_SBINDIR       = "@bindir@";
X+my $CFG_SBINDIR       = "@sbindir@";
X my $CFG_INCLUDEDIR    = "@includedir@";
X my $CFG_LIBEXECDIR    = "@libexecdir@";
X my $CFG_SYSCONFDIR    = "@sysconfdir@";
END-of-apache2-beta/files/patch-support:apxs.in
echo x - apache2-beta/files/patch-Makefile.in
sed 's/^X//' >apache2-beta/files/patch-Makefile.in << 'END-of-apache2-beta/files/patch-Makefile.in'
X--- Makefile.in.orig	Wed Apr  4 02:03:35 2001
X+++ Makefile.in	Sun Apr  8 06:06:58 2001
X@@ -16,7 +16,7 @@
X targets         = $(PROGRAMS) $(other_targets)
X phony_targets   = $(srcdir)/buildmark.c
X install_targets = install-conf install-htdocs install-icons install-other \
X-	install-cgi install-include install-support install-suexec
X+	install-cgi install-include install-support install-manpages install-suexec
X DISTCLEAN_TARGETS  = include/config_auto.h modules.c aclocal.m4 buildmk.stamp \
X 	configure generated_lists include/ap_config_auto.h \
X 	include/ap_config_auto.h.in include/ap_config_path.h install-sh \
X@@ -28,25 +28,32 @@
X install-conf:
X 	@echo Installing configuration files
X 	@test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
X+
X 	@cd docs/conf; \
X 	for i in mime.types magic; do \
X-		$(INSTALL_DATA) $$i $(sysconfdir); \
X+		$(INSTALL_DATA) $$i $(sysconfdir)/$$i.default; \
X+		test -f $(sysconfdir)/$$i || cp -fp $(sysconfdir)/$$i.default $(sysconfdir)/$$i; \
X 	done; \
X 	for i in *-std*; do \
X 		sed -e 's#@@ServerRoot@@#$(prefix)#g' \
X 		    -e 's#@@Port@@#$(PORT)#g' \
X-			< $$i > $(sysconfdir)/$$i; \
X-		chmod 0644 $(sysconfdir)/$$i; \
X+			< $$i > $(sysconfdir)/$$i.default; \
X+		chmod 0644 $(sysconfdir)/$$i.default; \
X+		test -f $(sysconfdir)/$$i || cp -fp $(sysconfdir)/$$i.default $(sysconfdir)/$$i; \
X 		file=`echo $$i|sed s/-std//`; \
X 		if [ "$$file" = "httpd.conf" ]; then \
X 			file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
X 		fi; \
X 		if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
X-			$(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
X+			$(INSTALL_DATA) $(sysconfdir)/$$i.default $(sysconfdir)/$$file.default; \
X+			test -f $(sysconfdir)/$$file || cp -fp $(sysconfdir)/$$file.default $(sysconfdir)/$$file; \
X 		fi; \
X 	done
X 
X htdocs-srcdir = docs/docroot
X+htman-srcdir = docs/manual
X+doc_prefix = $(prefix)/share/doc/apache
X+man-srcdir = docs/man
X 
X docs::
X 	mkdir -p ./docs/api
X@@ -57,11 +64,14 @@
X 
X install-htdocs:
X 	@echo Installing HTML documents
X-	@test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
X-	@test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
X-	@test -d $(htdocsdir)/manual || $(MKINSTALLDIRS) $(htdocsdir)/manual
X-	@test -d docs/manual && (cd docs/manual && cp -rp * $(htdocsdir)/manual)
X-	@(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
X+	@test -d $(doc_prefix) || $(MKINSTALLDIRS) $(doc_prefix)
X+	@test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(doc_prefix))
X+	@test -d $(doc_prefix)/manual || $(MKINSTALLDIRS) $(doc_prefix)/manual
X+	@test -d $(htman-srcdir) && (cd $(htman-srcdir) && cp -rp * $(doc_prefix)/manual)
X+	@test -d $(htdocsdir) || ($(MKINSTALLDIRS) $(htdocsdir) && rm -rf $(htdocsdir))
X+	@test -d $(htdocsdir) || ln -s $(doc_prefix) $(htdocsdir)
X+	@test -d $(htdocsdir).default || ln -s $(doc_prefix) $(htdocsdir).default
X+	@(cd $(doc_prefix) && find . -name "CVS" -print | xargs rm -rf {} \;)
X 
X install-icons:
X 	@echo Installing icons
X@@ -71,24 +81,27 @@
X 
X install-cgi:
X 	@echo Installing CGIs
X-	@test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
X-	@(cd docs/cgi-examples && cp -rp * $(cgidir))
X-	@(cd $(cgidir) && find . -name "CVS" -print | xargs rm -rf {} \;)
X+	@test -d $(cgidir).default || $(MKINSTALLDIRS) $(cgidir).default
X+	@(cd docs/cgi-examples && cp -rp * $(cgidir).default)
X+	@test -d $(cgidir) || ln -s $(cgidir).default $(cgidir)
X+	@(cd $(cgidir).default && find . -name "CVS" -print | xargs rm -rf {} \;)
X 
X install-support:
X 	@echo Installing Support Binaries
X 	@test -d $(bindir) || $(MKINSTALLDIRS) $(bindir)
X-	@cp -p $(srcdir)/support/httpd.exp $(bindir)
X+	@test -d $(sbindir) || $(MKINSTALLDIRS) $(sbindir)
X+	@test -d $(libexecdir) || $(MKINSTALLDIRS) $(libexecdir)
X+	@cp -p $(srcdir)/support/httpd.exp $(libexecdir)
X 	@cp -p $(builddir)/support/htpasswd $(bindir)
X 	@cp -p $(builddir)/support/htdigest $(bindir)
X-	@cp -p $(builddir)/support/rotatelogs $(bindir)
X-	@cp -p $(builddir)/support/logresolve $(bindir)
X-	@cp -p $(builddir)/support/ab $(bindir)
X-	@cp -p $(builddir)/support/apachectl $(bindir)
X-	chmod 755 $(bindir)/apachectl
X+	@cp -p $(builddir)/support/rotatelogs $(sbindir)
X+	@cp -p $(builddir)/support/logresolve $(sbindir)
X+	@cp -p $(builddir)/support/ab $(sbindir)
X+	@cp -p $(builddir)/support/apachectl $(sbindir)
X+	chmod 755 $(sbindir)/apachectl
X 	@if test -f $(builddir)/support/apxs; then \
X-	    cp -p $(builddir)/support/apxs $(bindir); \
X-	    chmod 755 $(bindir)/apxs; \
X+	    cp -p $(builddir)/support/apxs $(sbindir); \
X+	    chmod 755 $(sbindir)/apxs; \
X 	fi
X 
X 
X@@ -117,6 +130,15 @@
X 	@cp -p $(srcdir)/srclib/apr-util/include/*.h $(includedir)
X 	@cp -p $(srcdir)/os/$(OS_DIR)/*.h $(includedir)
X 	@chmod 644 $(includedir)/*.h
X+
X+install-manpages:
X+	@echo Installing manual pages
X+	@test -d $(mandir) || $(MKINSTALLDIRS) $(mandir)
X+	@for sect in 1 8; do \
X+		test -d $(mandir)/man$$sect || $(MKINSTALLDIRS) $(mandir)/man$$sect; \
X+		test -d $(man-srcdir) && (cd $(man-srcdir) && cp -p *.$$sect $(mandir)/man$$sect); \
X+	done;
X+	@(cd $(mandir) && find . -name "CVS" -print | xargs rm -rf {} \;)
X 
X install-suexec:
X 	@if test -f $(builddir)/support/suexec; then \
END-of-apache2-beta/files/patch-Makefile.in
echo x - apache2-beta/files/patch-srclib:apr:Makefile.in
sed 's/^X//' >apache2-beta/files/patch-srclib:apr:Makefile.in << 'END-of-apache2-beta/files/patch-srclib:apr:Makefile.in'
X--- srclib/apr/Makefile.in.orig	Wed Apr  4 05:32:06 2001
X+++ srclib/apr/Makefile.in	Sun Apr  8 03:33:43 2001
X@@ -37,8 +37,8 @@
X 
X prefix=@prefix@
X exec_prefix=@exec_prefix@
X-libdir=@libdir@
X-includedir=@includedir@
X+libdir=$(prefix)/lib
X+includedir=$(prefix)/include/apache
X 
X delete-lib:
X 	@if test -f $(TARGET_LIB); then \
X@@ -58,7 +58,7 @@
X 	if [ ! -d $(libdir) ]; then \
X 	    ./build/mkdir.sh $(libdir); \
X 	fi; \
X-	libtool --mode=install cp $(TARGET_LIB) $(libdir)
X+	../../libtool --mode=install cp $(TARGET_LIB) $(libdir)
X 
X $(TARGET_LIB):
X 	@for i in $(SUBDIRS); do objects="$$objects $$i/*.lo"; done ; \
END-of-apache2-beta/files/patch-srclib:apr:Makefile.in
echo x - apache2-beta/files/patch-srclib:apr-util:Makefile.in
sed 's/^X//' >apache2-beta/files/patch-srclib:apr-util:Makefile.in << 'END-of-apache2-beta/files/patch-srclib:apr-util:Makefile.in'
X--- srclib/apr-util/Makefile.in.orig	Wed Apr  4 12:27:42 2001
X+++ srclib/apr-util/Makefile.in	Sun Apr  8 03:34:15 2001
X@@ -22,8 +22,8 @@
X 
X prefix=@prefix@
X exec_prefix=@exec_prefix@
X-libdir=@libdir@
X-includedir=@includedir@
X+libdir=$(prefix)/lib
X+includedir=$(prefix)/include/apache
X 
X delete-lib:
X 	@if test -f $(TARGET_LIB); then \
X@@ -43,7 +43,7 @@
X 	if [ ! -d $(libdir) ]; then \
X 	    @APR_SOURCE_DIR@/build/mkdir.sh $(libdir); \
X 	fi; \
X-	libtool --mode=install cp $(TARGET_LIB) $(libdir)
X+	../../libtool --mode=install cp $(TARGET_LIB) $(libdir)
X 
X $(TARGET_LIB):
X 	@objects="`find $(SUBDIRS) -name '*.lo'`" ; \
END-of-apache2-beta/files/patch-srclib:apr-util:Makefile.in
echo x - apache2-beta/files/patch-build:rules.mk
sed 's/^X//' >apache2-beta/files/patch-build:rules.mk << 'END-of-apache2-beta/files/patch-build:rules.mk'
X--- build/rules.mk.orig	Sun Apr  8 01:06:22 2001
X+++ build/rules.mk	Sun Apr  8 01:05:46 2001
X@@ -172,9 +172,9 @@
X all-p: $(targets)
X install-p: $(targets) $(install_targets)
X 	@if test -n '$(PROGRAMS)'; then \
X-		test -d $(bindir) || $(MKINSTALLDIRS) $(bindir); \
X+		test -d $(sbindir) || $(MKINSTALLDIRS) $(sbindir); \
X 		for i in "$(PROGRAMS)"; do \
X-			$(INSTALL_PROGRAM) $$i $(bindir); \
X+			$(INSTALL_PROGRAM) $$i $(sbindir); \
X 		done; \
X 	fi
X 
END-of-apache2-beta/files/patch-build:rules.mk
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104072152.f37LqxW59019>