1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00
Commit Graph

54 Commits

Author SHA1 Message Date
Justin Erenkrantz
f62c2d835b Remove all non-portable DBM calls in mod_auth_dbm and rely only on the
apr-util DBM code.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93260 13f79535-47bb-0310-9956-ffa450edef68
2002-02-05 22:41:18 +00:00
Justin Erenkrantz
c11d132892 Remove mod_auth_db since we've received enough votes (Justin, Ian, and
Lars) and ample warning has been posted to dev@httpd.

mod_auth_dbm should be able to take over all functionality of mod_auth_db
with the AuthDBMType directive.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93010 13f79535-47bb-0310-9956-ffa450edef68
2002-01-24 23:47:31 +00:00
Doug MacEachern
c7b57e8ac9 allow mod_auth_digest to configure with --srcdir
(added same include path as modules/mappers/config9.m4)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92880 13f79535-47bb-0310-9956-ffa450edef68
2002-01-17 01:16:19 +00:00
Ryan Bloom
74f34a272e Remove all of the ldap modules. These have been moved to their own
repository, httpd-ldap, and they now form their own sub-project of the
httpd project.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91508 13f79535-47bb-0310-9956-ffa450edef68
2001-10-16 21:32:41 +00:00
Roy T. Fielding
897c1006cd I don't like underscore as a name prefix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90452 13f79535-47bb-0310-9956-ffa450edef68
2001-08-21 01:00:23 +00:00
Justin Erenkrantz
cc7269a4c2 Roy beat me to the commit.
Anyway, fix the version numbers in the comment so that it reflects reality
(so I think).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90449 13f79535-47bb-0310-9956-ffa450edef68
2001-08-21 00:42:47 +00:00
Roy T. Fielding
aa13640d3a Due to some lunacy in ndbm.h on some platforms, we need to find the right
include directory for db.h if we include ndbm.h.

Submitted by:	Justin Erenkrantz
Reviewed by:	Roy Fielding


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90448 13f79535-47bb-0310-9956-ffa450edef68
2001-08-21 00:39:56 +00:00
Justin Erenkrantz
dce3cf900f Fix build breakage on Linux glibc 2.1+ systems that prevented db1 from being
correctly found for mod_auth_dbm.  This is similar to the mod_auth_db check.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90442 13f79535-47bb-0310-9956-ffa450edef68
2001-08-20 23:32:34 +00:00
Justin Erenkrantz
d222204546 - Switch to AC_SEARCH_LIBS to check multiple libraries for mod_auth_db
(the AC_* way of doing what Martin committed)

- Fix the configuration check for mod_auth_digest so that:
  - Everything is on separate lines so that the preprocessor doesn't scream
  - It adds the path to APR.  (APR_SOURCE_DIR looks right, but I'm not sure.)

By the time the modules are configured, the CPPFLAGS and such are not
setup to point at APR.  This should probably be rectified and then this
can be taken out - so you could assume that apr.h is in your CPPFLAGS
somewhere when configuring the modules.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90392 13f79535-47bb-0310-9956-ffa450edef68
2001-08-20 08:09:40 +00:00
Martin Kraemer
96c5f632ba On modern systems (e.g., FreeBSD), the db* functions reside in libc
rather than in libdb. Also, be more precise in telling what is actually
checked for (we are NOT testing for main(), but we are testing for dbopen(),
right?).
Without the first fix, configuration would fail completely for FreeBSD


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90391 13f79535-47bb-0310-9956-ffa450edef68
2001-08-20 07:00:23 +00:00
Graham Leggett
def0eda4a2 Oops - left off the apr_ldap.h file in the commit.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90323 13f79535-47bb-0310-9956-ffa450edef68
2001-08-18 16:52:02 +00:00
Justin Erenkrantz
024d0191a5 Fix --enable-modules=all breakage with mod_auth_db and mod_auth_digest
by allowing a module to disable itself if its prerequisites are not met.

This introduces the subtle nuance that if you request a module and you
don't meet its prerequisites, it'll refuse to build itself.

mod_ssl exits if its prerequisites are not met.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90261 13f79535-47bb-0310-9956-ffa450edef68
2001-08-17 00:31:50 +00:00
Roy T. Fielding
8ea5039bdb Fix httpd's definition of LTFLAGS to be consistent with that of apr
and apr-util, allow it to be overridden by the configure command-line
(default="--silent") and introduce LT_LDFLAGS to replace what we were
formally abusing as LTFLAGS.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89094 13f79535-47bb-0310-9956-ffa450edef68
2001-05-12 03:48:31 +00:00
Roy T. Fielding
f1f5f01fdb Completely revamp configure so that it preserves the standard make
variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
the configure additions to EXTRA_* variables.  Also, allow the user
to specify NOTEST_* values for all of the above, which eliminates the
need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM.  Fix the setting
of INCLUDES and EXTRA_INCLUDES.  Check flags as they are added to
avoid pointless duplications.  Fix the order in which flags are given
on the compile and link lines.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88960 13f79535-47bb-0310-9956-ffa450edef68
2001-04-29 05:24:11 +00:00
Brian Havard
c391427124 Add a few more modules to the "most" category.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88917 13f79535-47bb-0310-9956-ffa450edef68
2001-04-23 14:29:57 +00:00
Greg Stein
c2e4c36695 Remove "no" from many APACHE_MODULE() invocations to allow them to be
selected by --enable-modules=all

Set some modules to "most" to allow --enable-modules=most


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88221 13f79535-47bb-0310-9956-ffa450edef68
2001-02-18 00:22:18 +00:00
Martin Kraemer
e7d5943f28 Rename the module structures so that the exported symbol matches
the file name, and it is easier to automate the installation
process (generating LoadModule directives from the module filenames).

Next step is to remove the 4th argument to the APACHE_MODULE macro
completely and require people to use the matching names, and to
reduce the LoadModule directive to 1 argument.... Objections?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88189 13f79535-47bb-0310-9956-ffa450edef68
2001-02-16 13:38:31 +00:00
Ryan Bloom
b9d06deea4 Allow the auth modules to load into the server.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87510 13f79535-47bb-0310-9956-ffa450edef68
2000-12-22 21:34:09 +00:00
Greg Stein
9787943f19 *) remove STANDARD_LIBS line; it is unused/unneeded
*) simplify by removing the extra AC_DEFUN() in each file


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87247 13f79535-47bb-0310-9956-ffa450edef68
2000-12-07 10:40:01 +00:00
Ryan Bloom
d412995055 Get the modules configuration stuff working correctly. This just deals
with STANDARD modules and Protocol, not MPMs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87186 13f79535-47bb-0310-9956-ffa450edef68
2000-12-04 21:38:51 +00:00
Ryan Bloom
a87a761b37 Start to add back the config.m4 and Makefile.in's that were separated out
during the repository move.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87184 13f79535-47bb-0310-9956-ffa450edef68
2000-12-04 20:34:48 +00:00
Ryan Bloom
b62a882802 Port mod_info to 2.0. This is basically a complete re-write to use the
config tree instead of re-reading the config file.  As a part of this
change, the config tree needs to be exposed to modules as ap_conftree.
Submitted by:	Ryan Morgan <rmorgan@covalent.net>
Reviewed by:	Ryan Bloom


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86948 13f79535-47bb-0310-9956-ffa450edef68
2000-11-14 01:55:26 +00:00
Jeff Trawick
960d7c012f add apr_get_home_directory(), teach mod_userdir to use that
instead of calling getpwnam[_r] directly, back out mod_userdir's
config check for getpwnam_r


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86932 13f79535-47bb-0310-9956-ffa450edef68
2000-11-13 03:18:18 +00:00
Jeff Trawick
b8e4c889b3 Get mod_userdir compiling on FreeBSD when APR_HAS_THREADS.
This doesn't account for the fact that getpwnam() isn't
thread-safe on FreeBSD; it also doesn't account for systems
where getpwnam_r lives outside of libc.

See thread with subject "[?PATCH?] using getpwnam_r in mod_userdir"
in Nov. 2000 new-httpd for some better long-term ideas for how to
handle the problem.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86917 13f79535-47bb-0310-9956-ffa450edef68
2000-11-10 23:52:18 +00:00
Manoj Kasichainula
98516e9372 Don't build mod_suexec by default. It breaks other platforms, and
since suexec isn't built by default anyway, it makes sense to treat
mod_suexec similarly.

Submitted by:	Greg Stein


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86730 13f79535-47bb-0310-9956-ffa450edef68
2000-10-24 11:45:41 +00:00
Manoj Kasichainula
b1fb90877e Add back suexec support.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86712 13f79535-47bb-0310-9956-ffa450edef68
2000-10-23 15:30:57 +00:00
Greg Stein
75f2baa793 echo should not be built by default
(maybe this module should be moved to modules/example/)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86500 13f79535-47bb-0310-9956-ffa450edef68
2000-10-10 10:16:15 +00:00
Ryan Bloom
ad880b39f9 Prepare our autoconf setup for autoconf 2.14a and for cross-compiling
PR:	6379
Submitted by:	"R�diger" Kuhlmann <Tadu@gmx.de>
Reviewed by:	Ryan Bloom


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86398 13f79535-47bb-0310-9956-ffa450edef68
2000-10-05 04:41:47 +00:00
Jeff Trawick
750ff5fd96 Disable the dbm_ usage in mod_rewrite so that it links.
Still to do: decide at config time whether any modules need dbm, whether
             to use the native one or sdbm, etc.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85982 13f79535-47bb-0310-9956-ffa450edef68
2000-08-04 02:25:08 +00:00
Ryan Bloom
6d3fe9dea2 Fix the configure script. If a either the mpmt_pthread or dexter MPM's
are chosen, the default CGI module is mod_cgid.  If any other MPM is
chosen, mod_cgi is the default.  I would rather have the maintainers for
other platforms change their own defaults, than make mod_cgid the default
on all threaded MPM's.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85702 13f79535-47bb-0310-9956-ffa450edef68
2000-06-27 20:25:46 +00:00
Ryan Bloom
8da014bc12 Detect libraries based on which platform configure is being run on.
Basically, Apache now runs APR's configure script first.  APR's configure
script has been setup to create a new file, APRVARS.  APRVARS is basically
all of the environment variables that APR wants to export to the program
that is using it.  This allows the calling program to "source" APRVARS
and get those environment variables.

Removed hack to make platforms use -ldl.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85701 13f79535-47bb-0310-9956-ffa450edef68
2000-06-27 20:06:21 +00:00
David Reid
b6571e18f1 Dont' add -ldl for BeOS.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85534 13f79535-47bb-0310-9956-ffa450edef68
2000-06-12 13:58:49 +00:00
Brian Havard
26d4070ce3 Don't add -ldl for OS/2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85533 13f79535-47bb-0310-9956-ffa450edef68
2000-06-12 13:07:08 +00:00
Jeff Trawick
fe6fe52a8c Get FreeBSD 3.4 building again. It doesn't have lib dl, so the build
was broken as of the time we started always sticking in -ldl.

src/modules/standard/config.m4:

. don't add "-ldl" to LIBS for FreeBSD either
. back out previous change regarding LTFLAGS; it should be o.k.
  to add it for any platform, because libtool knows what to do with
  it (no, Greg A., I haven't added support for it to OS/390 libtool
  yet :) )

src/lib/apr/configure.in:

. if dlopen() isn't found in lib dl, don't fret (yet); try to find
  it in the default libraries;


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85505 13f79535-47bb-0310-9956-ffa450edef68
2000-06-10 18:20:35 +00:00
Jeff Trawick
704abb198b OS/390: avoid unconditional -ldl and -export-dynamic (other
platforms can add related logic to the case statement)

This is a stop-gap measure until the need for certain libraries
can be determined automatically.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85448 13f79535-47bb-0310-9956-ffa450edef68
2000-06-06 21:27:54 +00:00
Ryan Bloom
1b9c484776 Remove the ability to enable/disable DSO support in APR. The only current
way to check for DSO support is to look for libdl.  Apache automatically
adds -ldl to it's LIBS flag from config.m4 in modules/standard.  Other
platforms will need to add the correct flag for their system.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85432 13f79535-47bb-0310-9956-ffa450edef68
2000-06-05 23:14:35 +00:00
Ryan Bloom
bed6974573 Fix mod_so handling. Basically, if --enable-so or
--enable-some-module=shared is specified on the ./configure line, then
mod_so is included in the build, -ldl is added to LIBS, and --enable-dso is
added to APR's configure line.  Otherwise, mod_so is turned off, -ldl is
not added, and APR is specifically told to build without DSO support.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85418 13f79535-47bb-0310-9956-ffa450edef68
2000-06-05 16:51:06 +00:00
Ryan Bloom
fa5cf82e07 Fix DSO enabling logic. Basically if --enable-dso was specified on the
command line but the cache had DSO off, we used to turn DSO off.  This has
been fixed with this patch.  Also, if we specify ANY Apache module as
being compiled shared, then we automatically turn on mod_so.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85366 13f79535-47bb-0310-9956-ffa450edef68
2000-06-01 15:45:18 +00:00
Ryan Bloom
b508640a26 Fix building with DSO support. If any module is configured to be
compiled for shared support then APR_HAS_DSO is enabled and -ldl is
added to the LIBS variable.  -ldl may need to be modified based on
platform.  If no modules are designated as shared then APR_HAS_DSO is
disabled and nothing is added to LIBS.  In basic testing this compiled
without errors or warnings.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85362 13f79535-47bb-0310-9956-ffa450edef68
2000-06-01 01:01:16 +00:00
Ryan Bloom
333cc1d18f Allow --enable-cgid and --disable-cgid to work. Basically just make
cgid a standard module.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85287 13f79535-47bb-0310-9956-ffa450edef68
2000-05-24 16:17:58 +00:00
Jim Jagielski
0ce9111af4 Allow for help messages for modules.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85105 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 15:19:30 +00:00
Bill Stoddard
9454276dd9 Patch to port mod_auth_db to the 2.0 api and also to support
Berlekey DB 3.0. It works for me with both Berkeley DB 3.0.55 and
2.7.7.  It should work with version 1 as well but I haven't tested it.

Submitted by:	Brian Martin <bmartin@penguincomputing.com>
Reviewed by:	Bill Stoddard


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84921 13f79535-47bb-0310-9956-ffa450edef68
2000-04-05 17:27:57 +00:00
Ryan Bloom
38f5358de7 Enable dynamic module support on Linux. This should work on any LIBTOOL
based system, but YMMV.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84639 13f79535-47bb-0310-9956-ffa450edef68
2000-02-17 22:32:30 +00:00
Sascha Schumann
bbe1a3601e These changes are committed together, because they depend on each other.
-   shared modules can be built in the tree
    -   added support for --with-layout, uses APACI's config.layout
    -   working 'make install'
    -   working 'make depend'
    -   working Pthreads checks
    -   buildconf replaced


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84423 13f79535-47bb-0310-9956-ffa450edef68
2000-01-11 13:11:13 +00:00
Manoj Kasichainula
eb59fcb657 mmap_static isn't in the standard directory yet; this directory
shouldn't try to configure it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84326 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 02:01:31 +00:00
Manoj Kasichainula
80dcca5e42 Add strucutre to autoconf-config system to allow modules to specify
config tests to run if they are enabled.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84231 13f79535-47bb-0310-9956-ffa450edef68
1999-12-06 05:01:32 +00:00
Manoj Kasichainula
fe0249e680 Make most other modules selectable by autoconf's ./configure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84230 13f79535-47bb-0310-9956-ffa450edef68
1999-12-06 04:44:07 +00:00
Manoj Kasichainula
7c98fdcecc Oops, changed the default status of mod_env for testing and committed
it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84229 13f79535-47bb-0310-9956-ffa450edef68
1999-12-06 03:39:36 +00:00
Manoj Kasichainula
c15f58254c Move the default status of module inclusion/exclusion into the
STANDARD_MODULE macro, to make it a little more maintainable.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84228 13f79535-47bb-0310-9956-ffa450edef68
1999-12-06 03:34:35 +00:00
Manoj Kasichainula
c3584b7cc8 Make the call to configure a module a little simpler if the module
struct's name is the same as the module's.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84227 13f79535-47bb-0310-9956-ffa450edef68
1999-12-06 02:36:02 +00:00