f17f2a2b8eb270993484394ef37c12718d933bdf 1535699 |
|
25-Oct-2013 |
trawick |
Remove unused APXS setting from template for generated Makefile |
295ba2e25e562ee52c7bf96808cf9d486ebfb325 1343094 |
|
27-May-2012 |
sf |
Make apxs use LDFLAGS from config_vars.mk in addition to CFLAGS and CPPFLAGS |
17baf8031cede2f651cfbcde3ec212556cf83920 956956 |
|
22-Jun-2010 |
niq |
Support AP_DECLARE_MODULE declaration syntax in apxs |
689ee47a7329cf0d0ce4c5a98670b33fcf00d81b 944383 |
|
14-May-2010 |
trawick |
apxs -q: Stop filtering out ':' characters from the reported values.
PR: 45343
Submitted by: Bill Cole <apachebugz-20090909 billmail.scconsult.com> |
fd80868005a61e747bc45b39df83cae7abb3d151 942209 |
|
07-May-2010 |
pgollucci |
Fix the following:
$> grep -e autoindex_ -e cgi_ httpd.conf
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
fire up the following commands
$> apxs -e -a -n autoindex mod_autoindex.so
[activating module `autoindex' in /usr/local/etc/apache22/httpd.conf]
$> apxs -e -a -n cgi mod_cgi.so
[activating module `cgi' in /usr/local/etc/apache22/httpd.conf]
This will result into the following httpd.conf
$> grep -e autoindex_ -e cgi_ httpd.conf
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
As you notice the modules are now loaded twice
Now try to deactivate for the loaded ssl module
$> grep ssl_ httpd.conf
LoadModule ssl_module libexec/apache22/mod_ssl.so
$> apxs -e -A -n ssl mod_ssl.so
[preparing module `ssl' in /usr/local/etc/apache22/httpd.conf]
$> grep ssl_ httpd.conf
LoadModule ssl_module libexec/apache22/mod_ssl.so
#LoadModule ssl_module libexec/apache22/mod_ssl.so
As reported in FreeBSD ports PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133704
Previously discussed with: wrowe@
This b/c '$lmd' expects the amount of space to be a fixed amount. Use \s+ to make
any valid httpd.conf syntax work (i.e. at least 1 space) |
71a73c901f5e6f1bde03d94c5312e471393e2693 932791 |
|
10-Apr-2010 |
sf |
Remove useless use of $[, which was long deprecated and is an error with perl 5.12rc3.
Submitted by: Roderich Schupp <roderich schupp googlemail com> |
4a13940dc2990df0a798718d3a3f9cf1566c2217 807930 |
|
26-Aug-2009 |
bjh |
Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution. |
1ca054782cb35b5f67686a41b1df75c269fa617b 758929 |
|
27-Mar-2009 |
trawick |
remove OS/2 platform support |
db43a02f2c91324255a26dd82c49c3d7956ef062 758167 |
|
25-Mar-2009 |
rpluem |
* Teach apxs to work with APR 2.x where there is no separate APR-UTIL
any longer. |
108ebbb87b2a46f4416ec507824471a483c39fe1 502323 |
|
01-Feb-2007 |
sctemme |
apxs: Enhance -q flag to print all known variables and their values
when invoked without variable name(s). |
7abe34dd5a20fc8fde09dca9116b88e6ddfd55dd 494781 |
|
10-Jan-2007 |
jorton |
* configure.in: Substitute MOD_SO_ENABLED variable.
* support/apxs.in: Use it to eliminate run-time check for whether
httpd has mod_so built-in.
Submitted by: David M. Lee <dmlee crossroads.com>
PR: 40653 |
db479b48bd4d75423ed4a45e15b75089d1a8ad72 420990 |
|
11-Jul-2006 |
fielding |
update license header text |
a2652f3451528565db1f85db6953fc30799d7ead 395229 |
|
19-Apr-2006 |
colm |
Update the last year of copyright. |
1583a2c3446d2cd397ee112d1b149045e16c7ae8 189928 |
|
10-Jun-2005 |
jorton |
* Makefile.in (install-build): Install mkdir.sh since it's used by the
installed special.mk now; install instdso.sh as 0755.
* support/apxs.in: Fix Makefile template created by -g. |
5df4c7f978ce6c2753aeaa88dabc41919c1e4ea0 170383 |
|
16-May-2005 |
wrowe |
One issue I repeatedly have with 3rd party module builds is that
they may choose to build a platform-default library with the usual
platform-default extension, as part of the compilation process.
Modules built on HP/UX with the .sl extension, on OSX with .dylib,
or on OS2 or Win32 with .dll are perfectly legitimate loadable
modules, but don't pass muster with apxs.
This patch allows any of the common source library extensions to
be passed in, but makes .so the explicit target. The behavior
already works for .la origin files with an .so target name. |
21d586d52f922c378e6f40564487513432596139 170380 |
|
16-May-2005 |
wrowe |
Did not belong in r170253; evalute this patch seperately from
the win32 /Oy- patch. Will recommit for seperate discussion. |
56e85d89d42a6980f31b800266649efbed338da3 170253 |
|
15-May-2005 |
wrowe |
Reintroduce stack frame construction with /Oy- (removal was implied by /O2).
This makes binaries far easier to debug, during operation and for post-crash
.dmp analysis. Do not alter /Gs optimizations per brane.
Reviewed by: stoddard, brane |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
57a7a75672ec37e7532f3b298cccc48aa44927a6 105310 |
|
28-Sep-2004 |
jorton |
* support/apxs.in: Ensure that only a .la target filename is passed on
the libtool link line otherwise libtool tries to link statically.
PR: 31448 (more) |
5751bd63d7ef3263c4b0a3276ca9df9683cc56b9 105309 |
|
28-Sep-2004 |
jorton |
* support/apxs.in: Reset $opt so that -I, -D and -Wc,* options are not
passed to the libtool link line. For "-Wl,-foo" pass "-foo" on the
link line regardless of whether gcc is used; without guessing whether
libtool --mode=link will invoke gcc or some native ld the previous
behaviour is not really correct.
PR: 31448 |
e9ab76f3d59c1be02501c291554715e8155c7c81 104641 |
|
13-Aug-2004 |
jorton |
* configure.in, acinclude.m4: Substitute AP[RU]_CONFIG with location
of installed ap[ru]-config scripts so third-party modules can use
`apxs -q APR_CONFIG`.
* support/apxs.in: Use new AP[RU]_CONFIG variables; use apr-config
--apr-libtool. |
4b09621ec91a53c7b48114c37a84f0018cadcb34 104443 |
|
02-Aug-2004 |
jerenkrantz |
Teach apxs how to find ap{ru}-$AP{RU}_MAJOR_VERSION-config
(httpd-2.1+ will be APR 1.0 or higher which uses this convention.) |
6de8046f8f7e07cd83895a528df25d977e502c76 102619 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
365b268c7d5320369bfdfb140a2b0cfa3dd4a5fc 102592 |
|
08-Feb-2004 |
nd |
fix copyright dates according the first cehck in |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
5b8bfc77959f509acfe37b9030e05ab50fa23f66 101296 |
|
19-Sep-2003 |
trawick |
this won't work with 5.003, so bump up the require to
5.004:
my $cntopen = () = ($before =~ m|^\s*<[^/].*$|mg); |
6261cda41b17025b1a77fd630833758dfb6349e4 99981 |
|
21-May-2003 |
jerenkrantz |
Perform run-time query in apxs for apr and apr-util's includes.
This is required when they are in disjoint directories from httpd. Otherwise,
apxs won't pass their include information into the compiler and the
compilation will fail. |
4a9852a8a300ff5d1bed16673b1a8745fb148a20 99213 |
|
04-Apr-2003 |
trawick |
run libtool from the apr install directory (in case that is different
from the apache install directory)
further changes are needed to automatically pick up apr and apr-util
include directories; for now, "-Wc,-I/path" needs to be added to the
apxs -c invocation to work around that problem |
d8648e899201313a6b709bbcb5aa0a9977fc2d72 98730 |
|
19-Feb-2003 |
nd |
break down the beast and explain the obvious >:->
Also catch the case that the substitution may fail. |
9cb15358e362b051ce4d31e2a4b20d0fb1522119 98721 |
|
19-Feb-2003 |
nd |
insert LoadModule directives only outside of sections.
PR: 9012 |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
d1d878e60364529be4fd84d86b72c47d9fe39538 98469 |
|
23-Jan-2003 |
trawick |
apxs: Include any special APR ld flags when linking the DSO.
This resolves problems on AIX when building a DSO with apxs+gcc. |
92438059c510c690feae766fb97e9dec3dab4935 98102 |
|
23-Dec-2002 |
jerenkrantz |
Sun Forte requires having the same CFLAGS passed to the link stage as was
passed to the compile stage.
(Otherwise, it won't link the threaded APR right.) |
2f408250e9111c4b85b2b4b9b8836e83987efdef 97820 |
|
09-Dec-2002 |
stoddard |
If an httpd.conf has commented out AddModule directives,
apxs -i -a will add an un-commented AddModule directive for
the new module, which breaks the config.
PR: 11212
Obtained from:
Submitted by: Joe Orton
Reviewed by: Bill Stoddard, Thom May |
5d5073be0470140d32914de8e74d869ee4145bff 96905 |
|
19-Sep-2002 |
jerenkrantz |
Rework the apxs -cp command to work when the source dir isn't available by
querying apr-config and apu-config at link-time instead.
(Note that the $apr_config value in configure.in isn't sufficient as we
need to know where apr-config will be when we execute apxs later on -
hence the --bindir option to apr-config and apu-config.) |
75161f3b2029c25bdb3f8ab87b85cb1810c479ea 96900 |
|
19-Sep-2002 |
jerenkrantz |
Add -p option to apxs to allow unbundled modules (such as mod_mbox) to
compile and link helper programs that use apr/apr-util. |
05aed35b51fc873e96c29e29d512b5b4d4758c2e 96899 |
|
19-Sep-2002 |
jerenkrantz |
Remove following warning:
Use of uninitialized value in string eq at ./apxs line 134.
when the last option in getopt array is used. |
73c0eeaa58691d20d159e0350db548ad5f7f4f41 96317 |
|
07-Aug-2002 |
striker |
apxs lost the newline at the end of print "$result", so that apxs -q doesn't
return anything.
Submitted by: Thom May <thom@planetarytramp.net> |
4fd6031d2fe03e3e6bcacb23afac6f5034a2843c 95814 |
|
19-Jun-2002 |
jwoolley |
Fix some variable names
Submitted by: Brian Degenhardt <bmd@mp3.com> |
4f412c60e9c2af999619d11b236068a0e0e94944 95646 |
|
13-Jun-2002 |
trawick |
avoid a non-portable shell construct ("builddir=$(shell pwd)") so that the
makefile created by apxs -g works on more systems
it was broken on at least AIX and Tru64 |
9c39f8fb982df4dbce5304e49385568e6d35bfa8 95549 |
|
06-Jun-2002 |
trawick |
Fix apxs to allow "apxs -q installbuilddir" and to allow
querying certain other variables from config_vars.mk.
PR: 9316 |
24e361af20a3107dc934b4895911ce6bcce0603e 95530 |
|
05-Jun-2002 |
jwoolley |
Get rid of some uninitialized value errors with apxs -q.
Submitted by: Stas Bekman <stas@stason.org>
Reviewed by: Heinrich G�tzger <goetzger@gmx.net>, Cliff Woolley |
4657f9b12af4b123b80e15c73fa03c190e47a8bf 95522 |
|
05-Jun-2002 |
trawick |
Fix apxs to allow it to work when the build directory is somewhere
besides server-root/build.
PR: 8453
Submitted by: a number of people hit this problem and offered hints or
partial fixes; Thom May and Pier Fumagalli had a patch to
apxs, a subset of which mostly fixed this problem; there
were hints in PRs 8453 and 9316 |
dd39efc1f7ed97cf526aefa24359f0be2ac5c3f4 95065 |
|
13-May-2002 |
trawick |
Make apxs look in the correct directory for envvars. It was
broken when sbindir != bindir.
PR: 8869
Submitted by: Andreas Sundstr�m <sunkan@zappa.cx>
Reviewed by: Jeff Trawick
(This fix has been posted by others too.) |
a3645b26d1a6878f933010782e1680110e9b08c8 94865 |
|
29-Apr-2002 |
trawick |
finish getting apxs to work with a binary build
it now picks up any necessary ld environment variables from
the envvars file when invoking "httpd -l" to verify that
mod_so was included in the build |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
97013c938e5bc99fe673f37485003582e5678262 93908 |
|
13-Mar-2002 |
trawick |
get some hardcoded paths out of apxs
PR: 10163 (but PR isn't completely solved with this commit) |
205f4595abf32ae208958d7f8abea68b335c9f39 93168 |
|
01-Feb-2002 |
trawick |
apxs: Let the LTFLAGS environment variable override the default --silent flag.
Previously you had to edit the generated apxs to get rid of --silent. |
8350a6ee6ab2fafa65dc0216827d380deeedbb0a 92575 |
|
22-Dec-2001 |
trawick |
SH_LDFLAGS wasn't getting evaluated properly when it included
makefile variables
but, we stopped needing SH_LDFLAGS in apxs on AIX since we switched
to run-time linking and I never found out for sure that the use of
SH_LDFLAGS actually helped BeOS or OS/390, so I'm yanking out the
reference to SH_LDFLAGS
if/when we need such a thing in apxs, we'll have a new variable so
we can distinguish between special flags needed for Apache core
DSOs (which might have stuff specific to some Apache core DSO that
was discovered during Apache configurat) vs. special flags needed
by any DSO
PR:
Obtained from:
Submitted by:
Reviewed by: |
c6741d11357aace4c9ba39535d3cb2d751f46114 92376 |
|
07-Dec-2001 |
trawick |
make sure mod_foo.so is installed by apxs -i
also, it is the .so file that needs to be executable, not the .la file |
6b477c0a238733ca8fd156629310513d29dc7e02 92327 |
|
05-Dec-2001 |
trawick |
Allow apxs to be used to build DSOs on AIX without requiring the
user to hard-code the list of import files. (This should help
on OS/390 and BeOS as well.)
Trivial change: just stick the value of SH_LDFLAGS on the
libtool --mode=link line. |
06461d67f387ea068187e6dfa036875a8205c04c 92057 |
|
20-Nov-2001 |
jerenkrantz |
apxs should be using sbindir not bindir for the path to the httpd binary.
Committed with some minor changes.
Submitted by: GOMEZ Henri <hgomez@slib.fr>
Reviewed by: Justin Erenkrantz |
0422b6009048a8950f9ab42d8e8f76df04f8338b 91733 |
|
02-Nov-2001 |
dougm |
fix eval of vars incase string has quotes
example: CFLAGS = -DSUEXEC_BIN='"bin/suexec"
PR:
Obtained from:
Submitted by:
Reviewed by: |
7cec5a83e93f1abca97341b70abfe77845deb46d 91118 |
|
23-Sep-2001 |
jerenkrantz |
We need to use the APR-generated libtool for building modules. |
24ae3b934f566a0583fca37b68ee73ed419da056 90924 |
|
06-Sep-2001 |
dougm |
strip parens from config_vars.mk values |
7f60286cbbf9f113ea3405c4f476c7c03f865426 90828 |
|
31-Aug-2001 |
dougm |
gather all of the cflags for compiling with apxs |
2cba60e7fa2e5b73f744aaa39c400ad083ec0108 90769 |
|
28-Aug-2001 |
rbb |
Remove some debug code that I had in apxs.in.
Submitted by: Karl Fogel <kfogel@collab.net> |
79df087e59dadda6b4775fb26b1a3294cbb0bf44 90732 |
|
27-Aug-2001 |
rbb |
- allows empty $val from httpd-2.0/build/config_vars.mk
- make code more perlish.
- read and parse the config file only once
- use a hash instead of array for the list of internal config vars to
test against
- added -h option (just print usage)
- wrapped numerous print STDERR calls into a simpler error() and
notice() subs
- simplified some of the logic in if's using perl constructs.
Submitted by: Stas Bekman <stas@stason.org> |
4cb39f2ef6c91280de67d33a851332b88d49253f 90697 |
|
26-Aug-2001 |
rbb |
More fixes for APXS. APXS now works with httpd-test again |
2d0b0e8c8f940cbdf31c97826529370e6bf9c070 90696 |
|
26-Aug-2001 |
rbb |
Improvements to APXS. It now uses the config_vars.mk variables to
figure out how to build stuff. It uses the Apache build system for
the generated module, but not for command line builds. Maybe I'll fix
that one day. If somebody wants to beat me to it, that would be cool. |
3af8fbdd62c9495c8f879eef1eb952a638a18a7a 89392 |
|
20-Jun-2001 |
dougm |
apxs no longer generates ap_send_http_header() in the example handler |
ec4f9acc6f61846fc77fd73a9d78eb6eeb4ef2f0 89159 |
|
18-May-2001 |
wrowe |
Return missing link flags to apxs.in
Submitted by: Harrie Hazewinkel <harrie@covalent.net> |
7d30c5db4f8252743ae128875b3613728d528af9 88957 |
|
27-Apr-2001 |
dougm |
backing out this part of the recent apxs change
otherwise `apxs -q INCLUDEDIR' is broken using the default layout
PR:
Obtained from:
Submitted by:
Reviewed by: |
7254be705288a5ec07bde9f894e56e8f2c619e71 88951 |
|
27-Apr-2001 |
martin |
Fix APXS: treat sbindir as expected, fix "link" command.
Submitted by: GOMEZ Henri <hgomez@slib.fr> |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
cf3db2867cb97462edb23bd7b09a562687bace76 87786 |
|
22-Jan-2001 |
dougm |
s/LAST/MIDDLE/ |
ce3b97e51d9551232f26b64320a088952fa394e7 87785 |
|
22-Jan-2001 |
dougm |
adjust to ap_hook_handler changes |
122d77b827770c2273768a23483ba05a22d18711 87434 |
|
20-Dec-2000 |
rbb |
Stop searching in installdir/includes/apr. |
2ab9a147b60eca5ec782a6048c2e4e41ff9538e4 87070 |
|
22-Nov-2000 |
rbb |
Add the ability for apxs to install both libtool generated and non-libtool
generated shared objects.
Submitted by: Jon Travis <jtravis@covalent.net>
Reviewed by: Ryan Bloom |
e273cef89a68d11db7d07f69f283f540fffd3dc1 86853 |
|
07-Nov-2000 |
gstein |
The LoadModule line should specify a .so file, not a .la file |
3d96ee83babeec32482c9082c9426340cee8c44d 86609 |
|
16-Oct-2000 |
wrowe |
Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion. |
71991976791f1c086f3419da230cc26f843dca5a 85693 |
|
26-Jun-2000 |
dougm |
allow apxs to be run from the source tree, before installation (e.g. perl ../apache-2.0/src/support/apxs -q CFLAGS) |
654fd27442d1733fef5f13818041cc9492e39ef1 85152 |
|
05-May-2000 |
rbb |
Fix a stupid mistake in apxs.in.
Submitted by: Greg Stein |
8e4ce367a5165d3e96f08dfc9bb742850bb54fa9 85150 |
|
05-May-2000 |
rbb |
Make apxs mostly work for 2.0. It doesn't add the module to the config
file yet, but that should be trivial to add back in. |
cadc09f9ce8c99fa7cff9b469b4b32cff59894fa 85138 |
|
04-May-2000 |
rbb |
Back out an inadvertant change to apxs. |
d7150b84735ff36eeb3cde9c79ab2e69ee7ffd67 85137 |
|
04-May-2000 |
rbb |
Port reliable piped logs to mpmt_pthread and dexter. Also a couple of small
cleanups for reliable piped logs. |
f3091cedd4abeda1026d9117c34e8f625754e8ae 84881 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
64185f9824e42f21ca7b9ae6c004484215c031a7 84725 |
|
10-Mar-2000 |
rbb |
Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license |
8a78adb71062fe492cc37cbe508f17aba2fc0e04 84240 |
|
07-Dec-1999 |
wsanchez |
If we can't open httpd.conf, print a warning, but don't die.
Otherwise, you can't install a module into a package root. |
229f6f59eeca254a5e681ccd26946b9636839d80 84239 |
|
07-Dec-1999 |
wsanchez |
Perform check for "$CFG_SBINDIR/$CFG_TARGET" _after_ the command line
overrides for CFG_SBINDIR and CFG_TARGET have been evaluated. |
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1 83750 |
|
24-Aug-1999 |
fielding |
Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group |