cvs commit: apache-1.3 INSTALL configure
rse 99/03/10 03:53:05 Modified:src CHANGES .INSTALL configure Log: Make documentation and error messages of APACI's --activate-module=FILE option more clear. Submitted by: Jan Wolter <[EMAIL PROTECTED]> PR: 3995 Revision ChangesPath 1.1273+3 -0 apache-1.3/src/CHANGES Index: CHANGES === RCS file: /home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.1272 retrieving revision 1.1273 diff -u -r1.1272 -r1.1273 --- CHANGES 1999/03/10 11:37:50 1.1272 +++ CHANGES 1999/03/10 11:52:54 1.1273 @@ -1,5 +1,8 @@ Changes with Apache 1.3.5 + *) Make documentation and error messages of APACI's --activate-module=FILE + option more clear. [Jan Wolter <[EMAIL PROTECTED]>] PR#3995 + *) Fix the gcc version check (for enabling the `inline' facility) to really support all future gcc versions >= 2.7 until we know more. [John Tobey <[EMAIL PROTECTED]>] PR#3983 1.54 +9 -8 apache-1.3/INSTALL Index: INSTALL === RCS file: /home/cvs/apache-1.3/INSTALL,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- INSTALL 1999/02/11 19:59:51 1.53 +++ INSTALL 1999/03/10 11:52:59 1.54 @@ -238,14 +238,15 @@ to automatically include a simple third-party module to the Apache build process. - Use the --activate-module=FILE option to on-the-fly add an entry for an - existing module source file in the configuration file. FILE has to be a - valid path under src/modules/ of the Apache source tree, i.e. it already - has to be copied to this location before. The module is automatically - enabled. Use this option to automatically include a complex third-party - module to the Apache build process where, for instance a module like - mod_perl or mod_php3 consisting of more than one file which are created by - a third-party configuration scheme. + Use the --activate-module=FILE option to add an entry for an existing + module source file into the configuration file on-the-fly. FILE has to be + a valid path beginning with "src/modules/", and the file has to have been + copied to this location in the Apache source tree before running + configure. The module is automatically enabled. Use this option to + automatically include a complex third-party module to the Apache build + process where, for instance a module like mod_perl or mod_php3 consisting + of more than one file which are created by a third-party configuration + scheme. Use the --enable-module=NAME and --disable-module=NAME options to enable or disable a particular already distributed module from the Apache 1.76 +1 -1 apache-1.3/configure Index: configure === RCS file: /home/cvs/apache-1.3/configure,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- configure 1999/03/10 11:22:11 1.75 +++ configure 1999/03/10 11:53:02 1.76 @@ -617,7 +617,7 @@ file="$apc_optarg" case $file in src/modules/* ) ;; -*) echo "configure:Error: Module source already has to stay below src/modules/ to be activated" 1>&2 +*) echo "configure:Error: Module source already has to be below src/modules/ to be activated" 1>&2 exit 1 ;; esac
cvs commit: apache-1.3 INSTALL configure
rse 98/12/02 01:09:17 Modified:.INSTALL configure Log: Some cleanups and documentation updates after Randy's recent commits. Revision ChangesPath 1.47 +22 -16apache-1.3/INSTALL Index: INSTALL === RCS file: /home/cvs/apache-1.3/INSTALL,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- INSTALL 1998/11/12 20:15:48 1.46 +++ INSTALL 1998/12/02 09:09:16 1.47 @@ -135,27 +135,27 @@ Reference: - $ [CC=...][CFLAGS_SHLIB=...] + $ [CC=...][CFLAGS_SHLIB=...] [TARGET=...] [OPTIM=...] [LD_SHLIB=...] [CFLAGS=...][LDFLAGS_SHLIB=...] [INCLUDES=...] [LDFLAGS_SHLIB_EXPORT=...] [LDFLAGS=...] [RANLIB=...] - [LIBS=...] + [LIBS=...] [DEPS=...] ./configure [--quiet] [--prefix=DIR] [--enable-rule=NAME] [--verbose] [--exec-prefix=PREFIX] [--disable-rule=NAME] [--shadow] [--bindir=EPREFIX] [--add-module=FILE] [--help][--sbindir=DIR] [--activate-module=FILE] - [--layout] [--libexecdir=DIR] [--enable-module=NAME] + [--libexecdir=DIR] [--enable-module=NAME] [--mandir=DIR] [--disable-module=NAME] [--sysconfdir=DIR] [--enable-shared=NAME] [--datadir=DIR] [--disable-shared=NAME] [--includedir=DIR] [--permute-module=N1:N2] - [--localstatedir=DIR] - [--runtimedir=DIR] [--enable-suexec] - [--logfiledir=DIR] [--suexec-caller=UID] + [--localstatedir=DIR] + [--runtimedir=DIR] [--enable-suexec] + [--logfiledir=DIR] [--suexec-caller=UID] [--proxycachedir=DIR] [--suexec-docroot=DIR] - [--compat] [--suexec-logfile=FILE] - [--suexec-userdir=DIR] + [--with-layout=[F:]ID] [--suexec-logfile=FILE] + [--show-layout][--suexec-userdir=DIR] [--suexec-uidmin=UID] [--suexec-gidmin=GID] [--suexec-safepath=PATH] @@ -165,10 +165,10 @@ [--without-confadjust] Use the CC, OPTIM, CFLAGS, INCLUDES, LDFLAGS, LIBS, CFLAGS_SHLIB, - LD_SHLIB, LDFLAGS_SHLIB, LDFLAGS_SHLIB_EXPORT and RANLIB environment - variables to override the corresponding default entries in the - src/Configuration.tmpl file (see there for more information about their - usage). + LD_SHLIB, LDFLAGS_SHLIB, LDFLAGS_SHLIB_EXPORT, RANLIB, DEPS and TARGET + environment variables to override the corresponding default entries in + the src/Configuration.tmpl file (see there for more information about + their usage). Note: The syntax ``KEY=VALUE ./configure ...'' (one single line!) is the GNU Autoconf compatible way of specifying defines and can @@ -216,11 +216,17 @@ make sure the paths fit your situation by checking the finally chosen paths via the --layout option. - Use the --compat option to install Apache into a installation tree which - has a similar layout than the one used with Apache 1.2. + Use the --with-layout=[F:]ID option to select a particular installation + path base-layout. You always _HAVE_ to select a base-layout. There are + currently two layouts pre-defined in the file config.layout: `Apache' for + the classical Apache path layout and `GNU' for a path layout conforming + to the GNU `standards' document. When you want to use your own custom + layout FOO, either add a corresponding "..." section + to config.layout and use --with-layout=FOO or place it into your own + file, say config.mypaths, and use --with-layout=config.mypaths:FOO. - Use the --layout option to check the final installation path layout while - fiddling with the options above. + Use the --show-layout option to check the final installation path layout + while fiddling with the options above. Use the --enable-rule=NAME and --disable-rule=NAME options to enable or disable a part
cvs commit: apache-1.3 INSTALL configure
rse 98/06/17 05:55:15 Modified:src CHANGES .INSTALL configure Log: Be friendly to package maintainers and allow them to disable the APACI configuration adjustments (Group, Port, ServerName, ServerAdmin) via --without-confadjust because when building packages this can be problematic to them. Revision ChangesPath 1.924 +4 -1 apache-1.3/src/CHANGES Index: CHANGES === RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.923 retrieving revision 1.924 diff -u -r1.923 -r1.924 --- CHANGES 1998/06/17 07:10:38 1.923 +++ CHANGES 1998/06/17 12:55:12 1.924 @@ -6,7 +6,10 @@ *) Let APACI's configure script determine some configuration parameters (Group, Port, ServerAdmin, ServerName) via some intelligent tests to remove some of the classical hurdles for new users when setting up - Apache. [Ralf S. Engelschall] + Apache. This is done per default because it is useful for the average + user. Package authors can use the --without-confadjust option to disable + these configuration adjustments. + [Ralf S. Engelschall] *) Added an EXTRA_DEPS configuration parameter which can be used to add an extra Makefile dependency for the httpd target, for instance 1.31 +6 -0 apache-1.3/INSTALL Index: INSTALL === RCS file: /export/home/cvs/apache-1.3/INSTALL,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- INSTALL 1998/05/22 07:25:01 1.30 +++ INSTALL 1998/06/17 12:55:14 1.31 @@ -155,6 +155,7 @@ [--with-perl=FILE] [--without-support] + [--without-confadjust] Use the CC, OPTIM, CFLAGS, INCLUDES, LDFLAGS, LIBS, CFLAGS_SHLIB, LD_SHLIB, LDFLAGS_SHLIB, LDFLAGS_SHLIB_EXPORT and RANLIB environment @@ -264,6 +265,11 @@ installation of support tools from the src/support/ area. This can be useful when you have compilation problems with one or more of these not programs on your platform or if you just don't need them. + + Use the --without-confadjust option to explicitly disable some built + user/situation dependent adjustments to the config files (Group, Port, + ServerAdmin, ServerName, etc.). This is usually only interesting for + vendor package maintainers who wants to force the keeping of defaults. Use the --enable-suexec option to enable the suEXEC feature by building and installing the "suexec" support program. Use --suexec-caller=UID to 1.37 +46 -35apache-1.3/configure Index: configure === RCS file: /export/home/cvs/apache-1.3/configure,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- configure 1998/06/16 10:29:17 1.36 +++ configure 1998/06/17 12:55:14 1.37 @@ -176,6 +176,9 @@ # with support tools support=1 +# with adjustments +confadjust=1 + # determine rules rules="" rulelist="" @@ -385,6 +388,7 @@ echo " --disable-shared=NAME disable build of Module named 'NAME' as a shared object" echo " --with-perl=FILE set the path to the optional Perl interpreter to use" echo " --without-support disable the build and installation of support tools" +echo " --without-confadjust disable some build user/situation adjustments to config files" echo "" echo "suEXEC options:" echo " --enable-suexecenable the suEXEC feature" @@ -669,6 +673,9 @@ --without-support) support=0 ;; +--without-confadjust) +confadjust=0 +;; --suexec-caller=*) suexec_caller="$apc_optarg" suexec_ok=1 @@ -778,53 +785,57 @@ ## determine special configuration parameters ## conf_group="#-1" -if [ ".`egrep ^nobody: /etc/group`" != . ]; then -conf_group="nobody" -if [ ".`egrep ^nogroup: /etc/group`" != . ]; then -conf_group="nogroup" -fi -fi conf_port="80" -if [ ".`id | grep root`" = . ]; then -conf_port="8080" -fi -username="$LOGNAME" -if [ ".$username" = . ]; then -username="$USER" +conf_serveradmin="[EMAIL PROTECTED]" +conf_servername="new.host.name" +if [ ".$confadjust" = .1 ]; then +if [ ".`egrep ^nobody: /etc/group`" != . ]; then +conf_group="nobody" +if [ ".`egrep ^nogroup: /etc/group`" != . ]; then +
cvs commit: apache-1.3 INSTALL configure
rse 98/04/14 23:23:09 Modified:.INSTALL configure Log: Make /usr/local/apache again the default installation PREFIX, even when this violates the GNU standards for "configure" scripts. But this way idiots who just use the defaults (i.e. not even use --prefix) do not get their /usr/local bristled with Apache files. We now have as the default the following directory layout: :> ./configure --layout Configuring for Apache, Version 1.3b6-dev Installation paths: prefix: /usr/local/apache exec_prefix: /usr/local/apache bindir: /usr/local/apache/bin sbindir: /usr/local/apache/sbin libexecdir: /usr/local/apache/libexec mandir: /usr/local/apache/man sysconfdir: /usr/local/apache/etc datadir: /usr/local/apache/share localstatedir: /usr/local/apache/var includedir: /usr/local/apache/include Compilation paths: HTTPD_ROOT: /usr/local/apache SUEXEC_BIN: /usr/local/apache/sbin/suexec SHARED_CORE_DIR: /usr/local/apache/libexec DEFAULT_PIDLOG: var/run/httpd.pid DEFAULT_SCOREBOARD: var/run/httpd.scoreboard DEFAULT_LOCKFILE: var/run/httpd.lock DEFAULT_XFERLOG: var/logs/access_log DEFAULT_ERRORLOG: var/logs/error_log TYPES_CONFIG_FILE: etc/mime.types SERVER_CONFIG_FILE: etc/httpd.conf ACCESS_CONFIG_FILE: etc/access.conf RESOURCE_CONFIG_FILE: etc/srm.conf Revision ChangesPath 1.10 +1 -1 apache-1.3/INSTALL Index: INSTALL === RCS file: /export/home/cvs/apache-1.3/INSTALL,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- INSTALL 1998/04/14 19:15:43 1.9 +++ INSTALL 1998/04/15 06:23:08 1.10 @@ -162,7 +162,7 @@ Use the --prefix=PREFIX and --exec-prefix=EPREFIX options to configure Apache to use a particular installation prefix. The default is - PREFIX=/usr/local and EPREFIX=PREFIX. + PREFIX=/usr/local/apache and EPREFIX=PREFIX. Use the --bindir=DIR, --sbindir=DIR, --libexecdir=DIR, --mandir=DIR, --sysconfdir=DIR, --datadir=DIR and --localstatedir=DIR option to change 1.9 +1 -1 apache-1.3/configure Index: configure === RCS file: /export/home/cvs/apache-1.3/configure,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- configure 1998/04/14 19:08:09 1.8 +++ configure 1998/04/15 06:23:08 1.9 @@ -128,7 +128,7 @@ ## # default paths -prefix='/usr/local' +prefix='/usr/local/apache' exec_prefix='$prefix' bindir='$exec_prefix/bin' sbindir='$exec_prefix/sbin'