Index: build/config_vars.sh.in --- build/config_vars.sh.in.orig 2006-07-12 05:38:44 +0200 +++ build/config_vars.sh.in 2007-06-28 22:12:16 +0200 @@ -35,7 +35,7 @@ APU_CONFIG=@APU_CONFIG@ fi -APR_LIBTOOL="`${APR_CONFIG} --apr-libtool`" +APR_LIBTOOL="@prefix@/share/apache/build/libtool" APR_INCLUDEDIR="`${APR_CONFIG} --includedir`" APU_INCLUDEDIR="`${APU_CONFIG} --includedir`" Index: config.layout --- config.layout.orig 2004-11-21 19:50:36 +0100 +++ config.layout 2007-06-28 22:12:16 +0200 @@ -50,7 +50,7 @@ iconsdir: ${datadir}/icons htdocsdir: ${datadir}/htdocs manualdir: ${datadir}/manual - cgidir: ${datadir}/cgi-bin + cgidir: ${exec_prefix}/cgi includedir: ${prefix}/include+ localstatedir: ${prefix}/var+ runtimedir: ${localstatedir}/run Index: configure --- configure.orig 2007-01-06 07:40:00 +0100 +++ configure 2007-06-28 22:12:16 +0200 @@ -2711,6 +2711,11 @@ { (exit 1); exit 1; }; } fi +if test "x${USE_BUNDLED_APR}" != "x" ; then + apr_found=reconfig + apr_config=srclib/apr/apr-1-config +fi + if test "$apr_found" = "reconfig"; then # save our work to this point; this allows the sub-package to use it @@ -3047,6 +3052,11 @@ { (exit 1); exit 1; }; } fi +if test "x${USE_BUNDLED_APR}" != "x" ; then + apu_found=reconfig + apu_config=srclib/apr-util/apu-1-config +fi + # Catch some misconfigurations: case ${apr_found}.${apu_found} in reconfig.yes) Index: docs/conf/mime.types --- docs/conf/mime.types.orig 2006-01-29 23:34:37.000000000 +0100 +++ docs/conf/mime.types 2007-07-19 19:05:56.000000000 +0200 @@ -54,6 +54,7 @@ application/octet-stream bin dms lha lzh exe class so dll dmg application/oda oda application/ogg ogg +application/onenote onetoc onetoc2 onetmp onepkg application/parityfec application/pdf pdf application/pgp-encrypted @@ -248,10 +249,21 @@ application/vnd.ms-artgalry application/vnd.ms-asf application/vnd.ms-excel xls +application/vnd.ms-excel.addin.macroEnabled.12 xlam +application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb +application/vnd.ms-excel.sheet.macroEnabled.12 xlsm +application/vnd.ms-excel.template.macroEnabled.12 xltm application/vnd.ms-lrm application/vnd.ms-powerpoint ppt +application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam +application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm +application/vnd.ms-powerpoint.slide.macroEnabled.12i sldm +application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm +application/vnd.ms-powerpoint.template.macroEnabled.12 potm application/vnd.ms-project application/vnd.ms-tnef +application/vnd.ms-word.document.macroEnabled.12 docm +application/vnd.ms-word.template.macroEnabled.12 dotm application/vnd.ms-works application/vnd.ms-wpl application/vnd.mseq @@ -265,7 +277,31 @@ application/vnd.novadigm.edm application/vnd.novadigm.edx application/vnd.novadigm.ext +application/vnd.oasis.opendocument.text odt +application/vnd.oasis.opendocument.spreadsheet ods +application/vnd.oasis.opendocument.presentation odp +application/vnd.oasis.opendocument.graphics odg +application/vnd.oasis.opendocument.chart odc +application/vnd.oasis.opendocument.formula odf +application/vnd.oasis.opendocument.image odi +application/vnd.oasis.opendocument.text-template ott +application/vnd.oasis.opendocument.spreadsheet-template ots +application/vnd.oasis.opendocument.presentation-template otp +application/vnd.oasis.opendocument.graphics-template otg +application/vnd.oasis.opendocument.chart-template otc +application/vnd.oasis.opendocument.formula-template oft +application/vnd.oasis.opendocument.image-template oti +application/vnd.oasis.opendocument.text-master odm +application/vnd.oasis.opendocument.text-web oth application/vnd.obn +application/vnd.openxmlformats-officedocument.presentationml.presentation pptx +application/vnd.openxmlformats-officedocument.presentationml.slide sldx +application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx +application/vnd.openxmlformats-officedocument.presentationml.template potx +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx +application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx +application/vnd.openxmlformats-officedocument.wordprocessingml.document docx +application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx application/vnd.osa.netdeploy application/vnd.palm application/vnd.pg.format Index: docs/docroot/index.html --- docs/docroot/index.html.orig 2004-11-20 21:16:24 +0100 +++ docs/docroot/index.html 2007-06-28 22:12:16 +0200 @@ -1 +1,7 @@ -

It works!

\ No newline at end of file + + +

It works!

+ It works! Your OpenPKG based Apache HTTP server was successfully installed and started.
+ You now have to read the documentation and configure it according to your local demands. + + Index: modules/generators/mod_autoindex.c --- modules/generators/mod_autoindex.c.orig 2006-07-12 05:38:44 +0200 +++ modules/generators/mod_autoindex.c 2007-06-28 22:12:16 +0200 @@ -1544,17 +1544,17 @@ ++cols; } - ap_rputs("", r); + ap_rputs("", r); emit_link(r, "Name", K_NAME, keyid, direction, colargs, static_columns); if (!(autoindex_opts & SUPPRESS_LAST_MOD)) { - ap_rputs("", r); + ap_rputs("", r); emit_link(r, "Last modified", K_LAST_MOD, keyid, direction, colargs, static_columns); ++cols; } if (!(autoindex_opts & SUPPRESS_SIZE)) { - ap_rputs("", r); + ap_rputs("", r); emit_link(r, "Size", K_SIZE, keyid, direction, colargs, static_columns); ++cols; Index: server/Makefile.in --- server/Makefile.in.orig 2006-03-09 22:29:55 +0100 +++ server/Makefile.in 2007-06-28 22:12:16 +0200 @@ -56,7 +56,8 @@ tmp=export_files_unsorted.txt; \ rm -f $$tmp && touch $$tmp; \ for dir in $(EXPORT_DIRS); do \ - ls $$dir/*.h >> $$tmp; \ + abs_dir=`cd $$dir && exec pwd`; \ + ls $$abs_dir/*.h >> $$tmp; \ done; \ for dir in $(EXPORT_DIRS_APR); do \ (ls $$dir/ap[ru].h $$dir/ap[ru]_*.h >> $$tmp 2>/dev/null); \ Index: srclib/apr-util/crypto/getuuid.c --- srclib/apr-util/crypto/getuuid.c.orig 2006-04-14 20:01:58 +0200 +++ srclib/apr-util/crypto/getuuid.c 2007-06-28 22:12:16 +0200 @@ -131,7 +131,7 @@ /* crap. this isn't crypto quality, but it will be Good Enough */ - get_system_time(&time_now); + time_now = apr_time_now(); srand((unsigned int)(((time_now >> 32) ^ time_now) & 0xffffffff)); return rand() & 0x0FFFF; Index: support/Makefile.in --- support/Makefile.in.orig 2005-07-07 01:15:34 +0200 +++ support/Makefile.in 2007-06-28 22:16:54 +0200 @@ -22,12 +22,6 @@ chmod 755 $(DESTDIR)$(sbindir)/$$i; \ fi ; \ done - @if test -f "$(builddir)/envvars-std"; then \ - cp -p envvars-std $(DESTDIR)$(sbindir); \ - if test ! -f $(DESTDIR)$(sbindir)/envvars; then \ - cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \ - fi ; \ - fi htpasswd_OBJECTS = htpasswd.lo htpasswd: $(htpasswd_OBJECTS) Index: support/apachectl.in --- support/apachectl.in.orig 2006-07-12 05:38:44 +0200 +++ support/apachectl.in 2007-06-28 22:15:56 +0200 @@ -43,11 +43,6 @@ # the path to your httpd binary, including options if necessary HTTPD='@exp_sbindir@/@progname@' # -# pick up any necessary environment variables -if test -f @exp_sbindir@/envvars; then - . @exp_sbindir@/envvars -fi -# # a command that outputs a formatted text version of the HTML at the # url given on the command line. Designed for lynx, however other # programs may work. Index: support/apxs.in --- support/apxs.in.orig 2006-07-12 05:38:44 +0200 +++ support/apxs.in 2007-06-28 22:14:31 +0200 @@ -190,9 +190,6 @@ my $httpd = get_vars("sbindir") . "/" . get_vars("progname"); $httpd = eval qq("$httpd"); $httpd = eval qq("$httpd"); -my $envvars = get_vars("sbindir") . "/envvars"; -$envvars = eval qq("$envvars"); -$envvars = eval qq("$envvars"); #allow apxs to be run from the source tree, before installation if ($0 =~ m:support/apxs$:) { @@ -204,7 +201,7 @@ exit 1; } -unless (grep /mod_so/, `. $envvars && $httpd -l`) { +unless (grep /mod_so/, `$httpd -l`) { error("Sorry, no shared object support for Apache"); error("available under your platform. Make sure"); error("the Apache module mod_so is compiled into"); @@ -338,8 +335,7 @@ exit(1); } -my $libtool = `$apr_config --apr-libtool`; -chomp($libtool); +my $libtool = "$prefix/share/apache/build/libtool"; my $apr_includedir = `$apr_config --includes`; chomp($apr_includedir);