cvs commit: apache-site/dist README.html
marc98/03/09 17:27:43 Modified:dist README.html Log: README.html shouldn't have /BODY/HTML. Revision ChangesPath 1.9 +0 -2 apache-site/dist/README.html Index: README.html === RCS file: /export/home/cvs/apache-site/dist/README.html,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- README.html 1998/02/20 15:55:20 1.8 +++ README.html 1998/03/10 01:27:42 1.9 @@ -80,5 +80,3 @@ PUnofficial patches (things we are not yet sure about including) are in the A HREF=contrib/patches/contributed patches/a directory. -/BODY -/HTML
cvs commit: apache-site in_the_news.html
marc98/03/09 17:32:34 Modified:.in_the_news.html Log: Typo police. Revision ChangesPath 1.29 +2 -3 apache-site/in_the_news.html Index: in_the_news.html === RCS file: /export/home/cvs/apache-site/in_the_news.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- in_the_news.html 1998/02/26 20:26:50 1.28 +++ in_the_news.html 1998/03/10 01:32:33 1.29 @@ -22,7 +22,7 @@ p strongCNet's BUILDER.COM, 24 Feb 1998:/strong a href=http://www.cnet.com/Content/Builder/Servers/NtWeb/ss05.html; -strongciteRunning on NT: 5 Web servers compared - Apache 1.3b3/strong/cite/a +strongciteRunning on NT: 5 Web servers compared - Apache 1.3b3/cite/strong/a blockquoteem Apache is the ultimate in minimalist server software. There's no fancy Windows- or HTML-based administration interface, @@ -284,7 +284,7 @@ pb a href=http://www.wired.com/news/news/wiredview/story/4753.html;Wired, June 28th 1997, Software Wants to Be Free/a/b brblockquotei -It's no secret that Apache is the most powerful, the most flexible, and the best Web-server software on the market./blockquote/i +It's no secret that Apache is the most powerful, the most flexible, and the best Web-server software on the market./i/blockquote pb a href=http://www8.zdnet.com/pcweek/news/0609/09apache.html; PC Week, June 9th 1997, Fort Apache/a/b @@ -414,7 +414,6 @@ /i/blockquote p -/B HR
cvs commit: apache-1.3/htdocs/manual new_features_1_3.html
marc98/03/09 17:35:53 Modified:htdocs/manual new_features_1_3.html Log: Pyto Tolice Revision ChangesPath 1.49 +1 -1 apache-1.3/htdocs/manual/new_features_1_3.html Index: new_features_1_3.html === RCS file: /export/home/cvs/apache-1.3/htdocs/manual/new_features_1_3.html,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- new_features_1_3.html 1998/03/07 03:11:48 1.48 +++ new_features_1_3.html 1998/03/10 01:35:52 1.49 @@ -583,7 +583,7 @@ are compiled at different times, this information is now available through the core API routine CODEconstnbsp;charnbsp;*apapi_get_server_version()/CODE. The use of - the SAMPSERVER_VERSION/STRONG symbol is deprecated and anti-recommended. + the SAMPSERVER_VERSION/SAMP symbol is deprecated and anti-recommended. In addition, a related datum is now available through the use of the API routine CODEconstnbsp;charnbsp;*apapi_get_server_built()/CODE, which returns a string representing the time the core server was linked.
cvs commit: apache-1.3 HTTP_Features.tsv
fielding98/03/09 18:03:47 Added: .HTTP_Features.tsv Log: The HTTP editorial group needs a checklist for what has been implemented in the latest release of Apache, since that will influence what is included in the eventual Draft Standard. Revision ChangesPath 1.1 apache-1.3/HTTP_Features.tsv Index: HTTP_Features.tsv === This tab-separated-value file is for use as a checklist for features against draft-ietf-http-v11-spec-rev-02.txt, since two independently developed and interoperable implementations are needed for each feature. For each entry, ? means not filled-in - means not applicable n means no y means yes Section Feature Implemented Tested 8.1 Persistent Connections ? ? 8.2.3 Automatic retrying of requests ? ? 8.2.4 Use of the 100 (Continue) status? ? 9.2 OPTIONS ? ? 9.3 GET ? ? 9.4 HEAD? ? 9.5 POST? ? 9.6 PUT ? ? 9.7 DELETE ? ? 9.8 TRACE ? ? 9.9 CONNECT ? ? 10.1.1100 Continue? ? 10.1.2101 Switching Protocols ? ? 10.2.1200 OK ? ? 10.2.2201 Created ? ? 10.2.3202 Accepted? ? 10.2.4203 Non-Authoritative Information ? ? 10.2.5204 No Content ? ? 10.2.6205 Reset Content ? ? 10.2.7206 Partial Content ? ? 10.2.8207 Partial Update OK ? ? 10.3.1300 Multiple Choices? ? 10.3.2301 Moved Permanently ? ? 10.3.3302 Found ? ? 10.3.4303 See Other ? ? 10.3.5304 Not Modified? ? 10.3.6305 Use Proxy ? ? 10.3.7307 Temporary Redirect ? ? 10.4.1400 Bad Request ? ? 10.4.2401 Unauthorized? ? 10.4.3402 Payment Required? ? 10.4.4403 Forbidden ? ? 10.4.5404 Not Found ? ? 10.4.6405 Method Not Allowed ? ? 10.4.7406 Not Acceptable ? ? 10.4.8407 Proxy Authentication Required ? ? 10.4.9408 Request Timeout ? ? 10.4.10 409 Conflict? ? 10.4.11 410 Gone? ? 10.4.12 411 Length Required ? ? 10.4.13 412 Precondition Failed ? ? 10.4.14 413 Request Entity Too Large? ? 10.4.15 414 Request-URI Too Long? ? 10.4.16 415 Unsupported Media Type ? ? 10.4.17 416 Requested range not satisfiable ? ? 10.4.18 417 Expectation Failed ? ? 10.5.1500 Internal Server Error ? ? 10.5.2501 Not Implemented ? ? 10.5.3502 Bad Gateway ? ? 10.5.4503 Service Unavailable ? ? 10.5.5504 Gateway Timeout ? ? 10.5.6505 HTTP Version Not Supported ? ? 10.5.7506 Partial Update Not Implemented ? ? 13.3.3Strong entity tags ? ? 13.3.3Weak entity tags? ? 14.1 Accept ? ? 14.2 Accept-Charset ? ? 14.3 Accept-Encoding ? ? 14.4 Accept-Language ? ? 14.5 Accept-Ranges ? ? 14.6 Age ? ? 14.7 Allow ? ? 14.8 Authorization ? ? 14.9 Cache-Control ? ? 14.10 Connection ? ? 14.11 Content-Encoding? ? 14.12 Content-Language? ? 14.13 Content-Length ? ? 14.14 Content-Location? ? 14.15 Content-MD5 ? ? 14.16 Content-Range ? ? 14.17 Content-Type? ? 14.18 Date? ? 14.19 ETag? ? 14.20 Expect ? ? 14.21 Expires ? ? 14.22 From? ? 14.23 Host? ? 14.24 If-Modified-Since ? ? 14.25 If-Match? ? 14.26 If-None-Match ? ? 14.27 If-Range? ? 14.28 If-Unmodified-Since ? ? 14.29 Last-Modified ? ? 14.30 Location? ? 14.31 Max-Forwards? ? 14.32 Pragma ? ? 14.33 Proxy-Authenticate ? ? 14.34 Proxy-Authorization ? ? 14.35 Range ? ? 14.36 Referer ? ? 14.37 Retry-After ? ? 14.38 Server ? ? 14.39 TE ? ? 14.40 Trailer ? ? 14.41 Transfer-Encoding ? ? 14.42 Upgrade ? ? 14.43 User-Agent ? ? 14.44 Vary? ? 14.45 Via ? ? 14.46 Warning ? ? 14.47
cvs commit: apache-1.3/src/main util_script.c
dgaudet 98/03/09 21:14:20 Modified:src CHANGES src/main util_script.c Log: The CGI spec says that REMOTE_HOST should be set to the remote hosts's name, or left unset if this value is unavailable. Apache was setting it to the IP address when unavailable. PR: 1925 Submitted by: Tony Fincg [EMAIL PROTECTED] Revision ChangesPath 1.695 +5 -0 apache-1.3/src/CHANGES Index: CHANGES === RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.694 retrieving revision 1.695 diff -u -r1.694 -r1.695 --- CHANGES 1998/03/09 16:47:06 1.694 +++ CHANGES 1998/03/10 05:14:16 1.695 @@ -1,5 +1,10 @@ Changes with Apache 1.3b6 + *) The CGI spec says that REMOTE_HOST should be set to the remote hosts's + name, or left unset if this value is unavailable. Apache was setting + it to the IP address when unavailable. + [Tony Fincg [EMAIL PROTECTED]] PR#1925 + *) Various improvements to the configuration and build support for compiling modules as shared objects. Especially Solaris 2.x support with GCC and WorkShop Compilers 4.2 was added. This way shared object support is now 1.99 +5 -2 apache-1.3/src/main/util_script.c Index: util_script.c === RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v retrieving revision 1.98 retrieving revision 1.99 diff -u -r1.98 -r1.99 --- util_script.c 1998/03/04 02:28:17 1.98 +++ util_script.c 1998/03/10 05:14:19 1.99 @@ -185,6 +185,7 @@ #ifdef WIN32 char *env_temp; #endif +const char *host; array_header *hdrs_arr = table_elts(r-headers_in); table_entry *hdrs = (table_entry *) hdrs_arr-elts; @@ -239,8 +240,10 @@ table_setn(e, SERVER_NAME, get_server_name(r)); ap_snprintf(port, sizeof(port), %u, get_server_port(r)); table_setn(e, SERVER_PORT, pstrdup(r-pool,port)); -table_setn(e, REMOTE_HOST, -pstrdup(r-pool, get_remote_host(c, r-per_dir_config, REMOTE_NAME))); +host = get_remote_host(c, r-per_dir_config, REMOTE_HOST); +if (host) { + table_setn(e, REMOTE_HOST, pstrdup(r-pool, host)); +} table_setn(e, REMOTE_ADDR, c-remote_ip); table_setn(e, DOCUMENT_ROOT, document_root(r));/* Apache */ table_setn(e, SERVER_ADMIN, s-server_admin); /* Apache */
cvs commit: apache-1.3/src/main http_protocol.c
dgaudet 98/03/09 22:13:52 Modified:src CHANGES src/main http_protocol.c Log: rputs() did not calculate r-sent_bodyct properly. PR: 1900 Submitted by: Siegmund Stirnweiss [EMAIL PROTECTED] Revision ChangesPath 1.696 +3 -0 apache-1.3/src/CHANGES Index: CHANGES === RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.695 retrieving revision 1.696 diff -u -r1.695 -r1.696 --- CHANGES 1998/03/10 05:14:16 1.695 +++ CHANGES 1998/03/10 06:13:47 1.696 @@ -1,5 +1,8 @@ Changes with Apache 1.3b6 + *) rputs() did not calculate r-sent_bodyct properly. + [Siegmund Stirnweiss [EMAIL PROTECTED]] PR#1900 + *) The CGI spec says that REMOTE_HOST should be set to the remote hosts's name, or left unset if this value is unavailable. Apache was setting it to the IP address when unavailable. 1.195 +4 -1 apache-1.3/src/main/http_protocol.c Index: http_protocol.c === RCS file: /export/home/cvs/apache-1.3/src/main/http_protocol.c,v retrieving revision 1.194 retrieving revision 1.195 diff -u -r1.194 -r1.195 --- http_protocol.c 1998/03/04 02:28:16 1.194 +++ http_protocol.c 1998/03/10 06:13:50 1.195 @@ -1793,10 +1793,13 @@ API_EXPORT(int) rputs(const char *str, request_rec *r) { +int rcode; + if (r-connection-aborted) return EOF; +rcode = bputs(str, r-connection-client); SET_BYTES_SENT(r); -return bputs(str, r-connection-client); +return rcode; } API_EXPORT(int) rwrite(const void *buf, int nbyte, request_rec *r)
cvs commit: apache-1.2/src CHANGES http_protocol.c
dgaudet 98/03/09 22:14:59 Modified:src CHANGES http_protocol.c Log: rputs() did not calculate r-sent_bodyct properly. PR: 1900 Submitted by: Siegmund Stirnweiss [EMAIL PROTECTED] Revision ChangesPath 1.299 +7 -0 apache-1.2/src/CHANGES Index: CHANGES === RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v retrieving revision 1.298 retrieving revision 1.299 diff -u -r1.298 -r1.299 --- CHANGES 1998/02/21 12:25:40 1.298 +++ CHANGES 1998/03/10 06:14:56 1.299 @@ -1,3 +1,10 @@ +Changes with Apache 1.2.7 + + *) rputs() did not calculate r-sent_bodyct properly. + [Siegmund Stirnweiss [EMAIL PROTECTED]] PR#1900 + + *) Handle \\ properly inside quoted strings. [EMAIL PROTECTED] + Changes with Apache 1.2.6 *) Increase the robustness of the child_main loop. When unexpected 1.132 +4 -1 apache-1.2/src/http_protocol.c Index: http_protocol.c === RCS file: /export/home/cvs/apache-1.2/src/http_protocol.c,v retrieving revision 1.131 retrieving revision 1.132 diff -u -r1.131 -r1.132 --- http_protocol.c 1998/02/03 09:53:49 1.131 +++ http_protocol.c 1998/03/10 06:14:57 1.132 @@ -1713,9 +1713,12 @@ int rputs(const char *str, request_rec *r) { +int rcode; + if (r-connection-aborted) return EOF; +rcode = bputs(str, r-connection-client); SET_BYTES_SENT(r); -return bputs(str, r-connection-client); +return rcode; } int rwrite(const void *buf, int nbyte, request_rec *r)
cvs commit: apache-1.2/src util.c
dgaudet 98/03/09 22:16:57 Modified:src util.c Log: Err, forgot to commit this one. Fix \\ in quoted strings. Submitted by: [EMAIL PROTECTED] Revision ChangesPath 1.55 +1 -1 apache-1.2/src/util.c Index: util.c === RCS file: /export/home/cvs/apache-1.2/src/util.c,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- util.c1998/02/01 02:47:42 1.54 +++ util.c1998/03/10 06:16:57 1.55 @@ -483,7 +483,7 @@ int i; for (i = 0; i len; ++i) { -if (start[i] == '\\' (start[i+1] == '/' +if (start[i] == '\\' (start[i+1] == '\\' || (quote start[i+1] == quote))) *resp++ = start[++i]; else
cvs commit: apache-1.3/src/main util_script.c
dgaudet 98/03/09 22:30:50 Modified:src CHANGES src/main util_script.c Log: Prior to the existence of mod_setenv it was necessary to tweak the TZ environment variable in the apache core. But that tweaking interferes with mod_setenv. So don't tweak if the user has specified an explicit TZ variable. PR: 1888 Submitted by: Jay Soffian [EMAIL PROTECTED] Revision ChangesPath 1.697 +5 -0 apache-1.3/src/CHANGES Index: CHANGES === RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.696 retrieving revision 1.697 diff -u -r1.696 -r1.697 --- CHANGES 1998/03/10 06:13:47 1.696 +++ CHANGES 1998/03/10 06:30:46 1.697 @@ -1,5 +1,10 @@ Changes with Apache 1.3b6 + *) Prior to the existence of mod_setenv it was necessary to tweak the TZ + environment variable in the apache core. But that tweaking interferes + with mod_setenv. So don't tweak if the user has specified an explicit + TZ variable. [Jay Soffian [EMAIL PROTECTED]] PR#1888 + *) rputs() did not calculate r-sent_bodyct properly. [Siegmund Stirnweiss [EMAIL PROTECTED]] PR#1900 1.100 +5 -3 apache-1.3/src/main/util_script.c Index: util_script.c === RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v retrieving revision 1.99 retrieving revision 1.100 diff -u -r1.99 -r1.100 --- util_script.c 1998/03/10 05:14:19 1.99 +++ util_script.c 1998/03/10 06:30:49 1.100 @@ -151,9 +151,11 @@ char *whack; j = 0; -tz = getenv(TZ); -if (tz != NULL) - env[j++] = pstrcat(p, TZ=, tz, NULL); +if (!table_get(t, TZ)) { + tz = getenv(TZ); + if (tz != NULL) + env[j++] = pstrcat(p, TZ=, tz, NULL); +} for (i = 0; i env_arr-nelts; ++i) { if (!elts[i].key) continue;
cvs commit: apache-1.3 STATUS
rse 98/03/09 23:45:04 Modified:.STATUS Log: Snow is falling down in germany but the Sun comes out... Revision ChangesPath 1.182 +9 -1 apache-1.3/STATUS Index: STATUS === RCS file: /export/home/cvs/apache-1.3/STATUS,v retrieving revision 1.181 retrieving revision 1.182 diff -u -r1.181 -r1.182 --- STATUS1998/03/06 12:57:37 1.181 +++ STATUS1998/03/10 07:45:03 1.182 @@ -66,10 +66,18 @@ * Ken's abstraction of SERVER_{BUILT,VERSION} * Ken's fix for os/unix/os.h and the new -DHIDE functionality * Ralf's Config File Line Continuation -* Ralf's Reanimation of DBM support for RewriteMap in mod_rewrite +* Ralf's Reanimation of DBM support for RewriteMap in mod_rewrite PR#1696 * Ralf's fix for the `VirtualHost w/o mod_rewrite' situation. PR#1790 * Mark's fix for ProxyPass/ProxyRequests interaction broken by uri stuff +* Rasmus' generation of the new src/include/ap_config.h header file +* Dean's fix for mod_mime_magic and files with length 0 +* Dean's change to Location and LocationMatch semantics. PR#1440 * Ralf's fix for the flock()-fork() problematic for RewriteLock's +* Dean's Minor cleanup in http_main +* Ralf's Various improvements to the configuration and build support +* Corrections to the setup of the REMOTE_HOST variable. PR#1925 +* Fix for rputs() which did not calculate r-sent_bodyct properly. PR#1900 +* Don't tweak TZ envvar if the user has specified an explicit one. PR#1888 Available Patches:
cvs commit: apache-1.3/src/modules/standard mod_so.c
rse 98/03/10 00:52:59 Modified:.STATUS src CHANGES src/modules/standard mod_so.c Log: Enhance Shared Object Loading (II) -- mod_so now keeps track itself of which modules are actually loaded and which are not by remembering both the module pointer and the module name. This fixes two problems: 1. Because our server configuration is read twice the modules were loaded twice which is both not needed and leads to confusion later on unload because the OS-internal load counter increases. Then on unload the module pointer was removed from the Apache core structure on the first unloads but (because of the load counter) the modules were removed later. Although this worked, it was very ugly. The only consequence is that we now keep track of loaded modules ourself and don't rely on the dynamic loader of the platform. This now also avoids multiply tries to unload an already unloaded module and thus removes harmless but irritating error_log entries ``[error] Cannot remove module mod_setenvif.c: not found in module list''. as shown below. 2. Because we now keep track of the module names we used on loading we now can give correct corresponding log messages even on unloading. To illustrate the change, here is the old error_log: (the first unloads correspond to the first loads which are printed on stderr unless mod_log_config is present) [debug] mod_so.c(163): unloaded module mod_setenvif.c [debug] mod_so.c(163): unloaded module mod_access.c [debug] mod_so.c(163): unloaded module mod_userdir.c [debug] mod_so.c(163): unloaded module mod_dir.c [debug] mod_so.c(163): unloaded module mod_autoindex.c [debug] mod_so.c(163): unloaded module mod_negotiation.c [debug] mod_so.c(163): unloaded module mod_log_config.c [error] Cannot remove module mod_setenvif.c: not found in module list [debug] mod_so.c(163): unloaded module mod_setenvif.c [error] Cannot remove module mod_access.c: not found in module list [debug] mod_so.c(163): unloaded module mod_access.c [error] Cannot remove module mod_userdir.c: not found in module list [debug] mod_so.c(163): unloaded module mod_userdir.c [error] Cannot remove module mod_dir.c: not found in module list [debug] mod_so.c(163): unloaded module mod_dir.c [error] Cannot remove module mod_autoindex.c: not found in module list [debug] mod_so.c(163): unloaded module mod_autoindex.c [error] Cannot remove module mod_negotiation.c: not found in module list [debug] mod_so.c(163): unloaded module mod_negotiation.c [error] Cannot remove module mod_log_config.c: not found in module list [debug] mod_so.c(163): unloaded module mod_log_config.c [error] Cannot remove module mod_setenvif.c: not found in module list [debug] mod_so.c(163): unloaded module mod_setenvif.c [error] Cannot remove module mod_access.c: not found in module list [debug] mod_so.c(163): unloaded module mod_access.c [error] Cannot remove module mod_userdir.c: not found in module list [debug] mod_so.c(163): unloaded module mod_userdir.c [error] Cannot remove module mod_dir.c: not found in module list [debug] mod_so.c(163): unloaded module mod_dir.c [error] Cannot remove module mod_autoindex.c: not found in module list [debug] mod_so.c(163): unloaded module mod_autoindex.c [error] Cannot remove module mod_negotiation.c: not found in module list [debug] mod_so.c(163): unloaded module mod_negotiation.c [error] Cannot remove module mod_log_config.c: not found in module list [debug] mod_so.c(163): unloaded module mod_log_config.c [debug] mod_so.c(211): loaded module config_log_module [debug] mod_so.c(211): loaded module negotiation_module [debug] mod_so.c(211): loaded module autoindex_module [debug] mod_so.c(211): loaded module dir_module [debug] mod_so.c(211): loaded module userdir_module [debug] mod_so.c(211): loaded module access_module [debug] mod_so.c(211): loaded module setenvif_module [debug] mod_so.c(211): loaded module config_log_module [debug] mod_so.c(211): loaded module negotiation_module [debug] mod_so.c(211): loaded module autoindex_module [debug] mod_so.c(211): loaded module dir_module [debug] mod_so.c(211): loaded module userdir_module [debug] mod_so.c(211): loaded module access_module [debug] mod_so.c(211): loaded module setenvif_module [debug] mod_so.c(211): loaded module config_log_module [debug] mod_so.c(211): loaded module negotiation_module [debug] mod_so.c(211): loaded module autoindex_module [debug] mod_so.c(211): loaded module dir_module [debug] mod_so.c(211): loaded module userdir_module [debug] mod_so.c(211): loaded module access_module [debug] mod_so.c(211): loaded module setenvif_module [notice] Apache/1.3b6-dev configured -- resuming normal operations [notice] httpd: caught SIGTERM, shutting down [debug] mod_so.c(163): unloaded
cvs commit: apache-1.3/src/modules/standard mod_include.c
dgaudet 98/03/10 01:42:46 Modified:src/modules/standard mod_include.c Log: Oh this is a nice one. I hope to followup to new-httpd about this one eventually. signals are a mess. It's bogus for mod_include to be doing a hard_timeout() and then running subrequests and all that other fun stuff. Revision ChangesPath 1.74 +5 -0 apache-1.3/src/modules/standard/mod_include.c Index: mod_include.c === RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_include.c,v retrieving revision 1.73 retrieving revision 1.74 diff -u -r1.73 -r1.74 --- mod_include.c 1998/02/21 12:26:22 1.73 +++ mod_include.c 1998/03/10 09:42:45 1.74 @@ -2311,6 +2311,11 @@ add_cgi_vars(r); add_include_vars(r, DEFAULT_TIME_FORMAT); } +/* XXX: this is bogus, at some point we're going to do a subrequest, + * and when we do it we're going to be subjecting code that doesn't + * expect to be signal-ready to SIGALRM. There is no clean way to + * fix this, except to put alarm support into BUFF. -djg + */ hard_timeout(send SSI, r); #ifdef CHARSET_EBCDIC
cvs commit: apache-1.3/src Configure
dgaudet 98/03/10 01:52:19 Modified:src Configure Log: It is bogus to use LDFLAGS on the shared ld command line for at least two reasons: - LDFLAGS has traditionally meant flags to use when linking an executable, and such flags can be different than those for making a shared library - LDFLAGS has traditionally been flags supplied to the cc executable for linking, not flags supplied to the ld executable... cc translates various flags before passing them to ld. For example, gcc -Wl,M passes -M to ld. Revision ChangesPath 1.200 +1 -1 apache-1.3/src/Configure Index: Configure === RCS file: /export/home/cvs/apache-1.3/src/Configure,v retrieving revision 1.199 retrieving revision 1.200 diff -u -r1.199 -r1.200 --- Configure 1998/03/09 19:02:29 1.199 +++ Configure 1998/03/10 09:52:18 1.200 @@ -1247,7 +1247,7 @@ .c.so: $(CC) -c $(INCLUDES) $(CFLAGS) $(CFLAGS_SHLIB) $(SPACER) -o $*-so.o $ - $(LD) $(LDFLAGS) $(LDFLAGS_SHLIB) -o $@ $*-so.o + $(LD) $(LDFLAGS_SHLIB) -o $@ $*-so.o clean: rm -f $(OBJS) $(SHLIBS) $(SHLIBS_OBJ) $(LIB) $(SHLIB)
cvs commit: apache-1.3/src CHANGES Configure
rse 98/03/10 08:40:49 Modified:src CHANGES Configure Log: Here it comes: Shared Object support SunOS 4.1 with GCC and Sun's ACC. BTW: I received SIGBUS all the time in dlopen() and after wasting a lot of time debugging this problem I discovered that SunOS doesn't like it when the mod_xx.so files are stripped on installation. So, never strip them on SunOS. Revision ChangesPath 1.699 +4 -4 apache-1.3/src/CHANGES Index: CHANGES === RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.698 retrieving revision 1.699 diff -u -r1.698 -r1.699 --- CHANGES 1998/03/10 08:52:56 1.698 +++ CHANGES 1998/03/10 16:40:44 1.699 @@ -18,10 +18,10 @@ [Tony Fincg [EMAIL PROTECTED]] PR#1925 *) Various improvements to the configuration and build support for compiling - modules as shared objects. Especially Solaris 2.x support with GCC and - WorkShop Compilers 4.2 was added. This way shared object support is now - provided out-of-the-box for FreeBSD, Linux and Solaris. - [Ralf S. Engelschall] + modules as shared objects. Especially Solaris 2.x and SunOS 4.1 support + with GCC and WorkShop Compilers 4.2 was added. This way shared object + support is now provided out-of-the-box for FreeBSD, Linux, Solaris and + SunOS. [Ralf S. Engelschall] *) Minor cleanup in http_main -- split QNX and OS2 specific mmap scoreboard code into separate #defines -- USE_POSIX_SCOREBOARD 1.201 +32 -24apache-1.3/src/Configure Index: Configure === RCS file: /export/home/cvs/apache-1.3/src/Configure,v retrieving revision 1.200 retrieving revision 1.201 diff -u -r1.200 -r1.201 --- Configure 1998/03/10 09:52:18 1.200 +++ Configure 1998/03/10 16:40:45 1.201 @@ -662,33 +662,41 @@ # We adjust now CFLAGS_SHLIB, LDFLAGS_SHLIB and LDFLAGS_SHLIB_EXPORT as -# required. For more PLATFORMs just add the required lines below. +# required. For more platforms just add the required lines below. # if [ x$using_shlib = x1 ] ; then case $PLAT in - *-linux1) - CFLAGS_SHLIB=-fpic - LDFLAGS_SHLIB=-Bshareable - LDFLAGS_SHLIB_EXPORT=-rdynamic - ;; - *-linux2) - CFLAGS_SHLIB=-fpic - LDFLAGS_SHLIB=-Bshareable - LDFLAGS_SHLIB_EXPORT=-rdynamic - ;; - *-freebsd*) - CFLAGS_SHLIB=-fpic - LDFLAGS_SHLIB=-Bshareable - LDFLAGS_SHLIB_EXPORT= - ;; - *-solaris2*) - case $CC in - */gcc|gcc ) CFLAGS_SHLIB=-fpic ;; - */cc|cc ) CFLAGS_SHLIB=-KPIC ;; - esac - LDFLAGS_SHLIB=-G - LDFLAGS_SHLIB_EXPORT= - ;; +*-linux1) +CFLAGS_SHLIB=-fpic +LDFLAGS_SHLIB=-Bshareable +LDFLAGS_SHLIB_EXPORT=-rdynamic +;; +*-linux2) +CFLAGS_SHLIB=-fpic +LDFLAGS_SHLIB=-Bshareable +LDFLAGS_SHLIB_EXPORT=-rdynamic +;; +*-freebsd*) +CFLAGS_SHLIB=-fpic +LDFLAGS_SHLIB=-Bshareable +LDFLAGS_SHLIB_EXPORT= +;; +*-solaris2*) +case $CC in +*/gcc|gcc ) CFLAGS_SHLIB=-fpic ;; +*/cc|cc ) CFLAGS_SHLIB=-KPIC ;; +esac +LDFLAGS_SHLIB=-G +LDFLAGS_SHLIB_EXPORT= +;; +*-sunos4*) +case $CC in +*/gcc|gcc ) CFLAGS_SHLIB=-fpic ;; +*/acc|acc ) CFLAGS_SHLIB=-pic ;; +esac +LDFLAGS_SHLIB=-assert pure-text +LDFLAGS_SHLIB_EXPORT= +;; esac fi
cvs commit: apache-1.3/src Configuration.tmpl
rse 98/03/10 08:42:27 Modified:src Configuration.tmpl Log: Update comment for SunOS shared object support. Revision ChangesPath 1.83 +4 -4 apache-1.3/src/Configuration.tmpl Index: Configuration.tmpl === RCS file: /export/home/cvs/apache-1.3/src/Configuration.tmpl,v retrieving revision 1.82 retrieving revision 1.83 diff -u -r1.82 -r1.83 --- Configuration.tmpl1998/03/09 16:47:08 1.82 +++ Configuration.tmpl1998/03/10 16:42:27 1.83 @@ -61,10 +61,10 @@ # # The Configure script currently has only limited built-in # knowledge on how to compile shared objects because this is -# heavily platform-dependend. Currently only Linux, FreeBSD and -# Solaris are supported out-of-the-box. For other platforms where -# you want to use the `SharedModule' directive you have to -# provide the appropriate flags here. +# heavily platform-dependend. Currently only Linux, FreeBSD, +# Solaris and SunOS are supported out-of-the-box. For other +# platforms where you want to use the `SharedModule' directive +# you have to provide the appropriate flags here. # #CFLAGS_SHLIB= #LDFLAGS_SHLIB=
cvs commit: apache-site related_projects.html
randy 98/03/10 12:54:29 Modified:.related_projects.html Log: Missed a bit. Revision ChangesPath 1.23 +1 -0 apache-site/related_projects.html Index: related_projects.html === RCS file: /export/home/cvs/apache-site/related_projects.html,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- related_projects.html 1998/03/10 20:47:43 1.22 +++ related_projects.html 1998/03/10 20:54:28 1.23 @@ -37,6 +37,7 @@ UL LIA HREF=#apacheweekApache Week/A (free weekly newsletter) +LIA HREF=#ravenCovalent Raven/A LIA HREF=#matriceMatrice W3/A LIA HREF=#strongholdStronghold/A LIA HREF=#tenonWebTen, a MacOS port of Apache/A