httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ottati, Michael" <michael.ott...@compaq.com>
Subject PATCH Modifications necessary to port to Tandem Non Stop Ker nel (NSK)
Date Thu, 29 Jul 1999 06:41:49 GMT
Dear Apache:

	Attached to the end of this message are the changes necessary to get
the Apache 1.3.6 distribution to compile build and execute on a Tandem
Computers machine.

	I have done minor testing with this port. It comes up and server
pages, beyond that I don't know much about it's behavior. It would be nice
to get these into the source tree however I am a newbee to your procedures
and I am as yet unclear as to how things are done. 

	First off I don't understand how you derive a CVS version number on
files that are shipped in the 1.3.6 tar file. The files I looked at, I did
not see anything obvious that I could key off of. I use a different source
control package in my day job that is not CVS so although I am quite
familiar with CM, I am not familiar with this use of CVS as a  CM tool.

	If the attached info and diff file is not sufficient for the needs
of the Apache project to get these changes in, I would be happy to redo them
however many times it takes me to get it right. Although I am at the moment
ignorant of much of the process, I am educable given enough time.

	In the diff listing below, the directory /h/minoo/apache_1.3.6
represents the changed directory.

	Please let me know if there is anything I can do or further
information that you will require to accept these minor changes. One last
point of information, the Tandem compilers automatically include a define
__TANDEM which therefore does not need to be defined in the src/Configure
script.

Michael Ottati
Compaq Computer Corporation

E-mail:		Michael.Ottati@Compaq.com
office:		(1) 408-285-3373
telecommute:	(1) 925-417-7389   <--Today

----------------------------------------------------------------------------
----------

Only in /h/minoo/apache_1.3.6: Makefile
Only in /h/minoo/apache_1.3.6: config.status
Only in /h/minoo/apache_1.3.6: config_oss
Only in /h/minoo/apache_1.3.6: install
Only in /h/minoo/apache_1.3.6: x
Only in /h/minoo/apache_1.3.6/src: .apaci.build.ok
Only in /h/minoo/apache_1.3.6/src: Configuration.apaci
diff -rc apache_1.3.6/src/Configure /h/minoo/apache_1.3.6/src/Configure
*** apache_1.3.6/src/Configure Thu Jul 27 22:58:08 2000
--- /h/minoo/apache_1.3.6/src/Configure Sun Jul 23 01:30:49 2000
***************
*** 731,736 ****
--- 731,741 ----
  	CC='cc'
  	RANLIB='true'
  	;;
+     *-tandem-oss)
+ 	OS='Tandem OSS'
+ 	CFLAGS="-D_TANDEM_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -g"
+ 	CC='c89'
+ 	;;
      *) # default: Catch systems we don't know about
  	OS='Unknown and unsupported OS'
      	echo Sorry, but we cannot grok \"$PLAT\"
Only in /h/minoo/apache_1.3.6/src: Makefile
Only in /h/minoo/apache_1.3.6/src: Makefile.config
Only in /h/minoo/apache_1.3.6/src: apaci
Only in /h/minoo/apache_1.3.6/src: buildmark.o
Only in /h/minoo/apache_1.3.6/src: httpd
Only in /h/minoo/apache_1.3.6/src: modules.c
Only in /h/minoo/apache_1.3.6/src: modules.o
Only in /h/minoo/apache_1.3.6/src/ap: Makefile
Only in /h/minoo/apache_1.3.6/src/ap: ap_cpystrn.o
Only in /h/minoo/apache_1.3.6/src/ap: ap_execve.o
Only in /h/minoo/apache_1.3.6/src/ap: ap_fnmatch.o
Only in /h/minoo/apache_1.3.6/src/ap: ap_md5c.o
Only in /h/minoo/apache_1.3.6/src/ap: ap_signal.o
Only in /h/minoo/apache_1.3.6/src/ap: ap_slack.o
Only in /h/minoo/apache_1.3.6/src/ap: ap_snprintf.o
Only in /h/minoo/apache_1.3.6/src/ap: libap.a
diff -rc apache_1.3.6/src/helpers/GuessOS
/h/minoo/apache_1.3.6/src/helpers/GuessOS
*** apache_1.3.6/src/helpers/GuessOS Thu Jul 27 22:58:10 2000
--- /h/minoo/apache_1.3.6/src/helpers/GuessOS Sun Jul 23 01:13:01 2000
***************
*** 144,149 ****
--- 144,153 ----
  	echo "${MACHINE}-dec-osf"; exit 0
  	;;
  
+ 	NONSTOP_KERNEL:*:*:*)
+ 	echo "${MACHINE}-tandem-oss"; exit 0; 
+ 	;;
+ 
      QNX:*)
  	if [ "$VERSION" -gt 422 ]; then
  	    echo "${MACHINE}-qssl-qnx32"
diff -rc apache_1.3.6/src/include/ap_config.h
/h/minoo/apache_1.3.6/src/include/ap_config.h
*** apache_1.3.6/src/include/ap_config.h Thu Jul 27 22:58:13 2000
--- /h/minoo/apache_1.3.6/src/include/ap_config.h Sun Jul 23 02:09:50 2000
***************
*** 874,879 ****
--- 874,885 ----
  #undef  offsetof
  #define offsetof(s_type,field) ((size_t)&(((s_type*)0)->field))
  
+ #elif defined(__TANDEM)
+ #define NO_WRITEV
+ #define NO_KILLPG
+ #define NEED_INITGROUPS
+ #define NO_SLACK
+ 
  #else
  /* Unknown system - Edit these to match */
  #ifdef BSD
***************
*** 957,964 ****
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
  #include "ap_ctype.h"
! #if !defined(MPE) && !defined(WIN32) && !defined(TPF)
  #include <sys/file.h>
  #endif
  #ifndef WIN32
--- 963,973 ----
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
+ #ifdef __TANDEM
+ #include <strings.h>
+ #endif
  #include "ap_ctype.h"
! #if !defined(MPE) && !defined(WIN32) && !defined(TPF) &&
!defined(__TANDEM)
  #include <sys/file.h>
  #endif
  #ifndef WIN32
Only in /h/minoo/apache_1.3.6/src/include: ap_config_auto.h
diff -rc apache_1.3.6/src/include/hsregex.h
/h/minoo/apache_1.3.6/src/include/hsregex.h
*** apache_1.3.6/src/include/hsregex.h Thu Jul 27 22:58:14 2000
--- /h/minoo/apache_1.3.6/src/include/hsregex.h Sun Jul 23 01:28:31 2000
***************
*** 15,27 ****
  #define API_EXPORT(type)    type
  #endif
  #endif
- 
  #if defined(RHAPSODY)
  #define ap_private_extern __private_extern__
  #else
  #define ap_private_extern
  #endif
- 
  typedef off_t regoff_t;
  typedef struct {
  	int re_magic;
--- 15,25 ----
Only in /h/minoo/apache_1.3.6/src/main: Makefile
Only in /h/minoo/apache_1.3.6/src/main: alloc.o
Only in /h/minoo/apache_1.3.6/src/main: buff.o
Only in /h/minoo/apache_1.3.6/src/main: gen_test_char
Only in /h/minoo/apache_1.3.6/src/main: gen_test_char.o
Only in /h/minoo/apache_1.3.6/src/main: gen_uri_delims
Only in /h/minoo/apache_1.3.6/src/main: gen_uri_delims.o
Only in /h/minoo/apache_1.3.6/src/main: http_config.o
Only in /h/minoo/apache_1.3.6/src/main: http_core.o
Only in /h/minoo/apache_1.3.6/src/main: http_log.o
Only in /h/minoo/apache_1.3.6/src/main: http_main.o
Only in /h/minoo/apache_1.3.6/src/main: http_protocol.o
Only in /h/minoo/apache_1.3.6/src/main: http_request.o
Only in /h/minoo/apache_1.3.6/src/main: http_vhost.o
Only in /h/minoo/apache_1.3.6/src/main: libmain.a
Only in /h/minoo/apache_1.3.6/src/main: rfc1413.o
Only in /h/minoo/apache_1.3.6/src/main: test_char.h
Only in /h/minoo/apache_1.3.6/src/main: uri_delims.h
diff -rc apache_1.3.6/src/main/util.c /h/minoo/apache_1.3.6/src/main/util.c
*** apache_1.3.6/src/main/util.c Thu Jul 27 22:58:20 2000
--- /h/minoo/apache_1.3.6/src/main/util.c Sun Jul 23 01:13:11 2000
***************
*** 1708,1714 ****
  #ifdef NEED_INITGROUPS
  int initgroups(const char *name, gid_t basegid)
  {
! #if defined(QNX) || defined(MPE) || defined(BEOS) || defined(_OSD_POSIX)
|| defined(TPF)
  /* QNX, MPE and BeOS do not appear to support supplementary groups. */
      return 0;
  #else /* ndef QNX */
--- 1708,1714 ----
  #ifdef NEED_INITGROUPS
  int initgroups(const char *name, gid_t basegid)
  {
! #if defined(QNX) || defined(MPE) || defined(BEOS) || defined(_OSD_POSIX)
|| defined(TPF) || defined(__TANDEM)
  /* QNX, MPE and BeOS do not appear to support supplementary groups. */
      return 0;
  #else /* ndef QNX */
Only in /h/minoo/apache_1.3.6/src/main: util.o
Only in /h/minoo/apache_1.3.6/src/main: util_date.o
Only in /h/minoo/apache_1.3.6/src/main: util_md5.o
Only in /h/minoo/apache_1.3.6/src/main: util_script.o
Only in /h/minoo/apache_1.3.6/src/main: util_uri.o
Only in /h/minoo/apache_1.3.6/src/modules: Makefile
Only in /h/minoo/apache_1.3.6/src/modules/proxy: Makefile
diff -rc apache_1.3.6/src/modules/proxy/proxy_cache.c
/h/minoo/apache_1.3.6/src/modules/proxy/proxy_cache.c
*** apache_1.3.6/src/modules/proxy/proxy_cache.c Thu Jul 27 22:58:23 2000
--- /h/minoo/apache_1.3.6/src/modules/proxy/proxy_cache.c Tue Jul 25
09:45:18 2000
***************
*** 69,74 ****
--- 69,78 ----
  #endif /* WIN32 */
  #include "multithread.h"
  #include "ap_md5.h"
+ #ifdef __TANDEM
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #endif
  
  DEF_Explain
  
***************
*** 1106,1111 ****
--- 1110,1117 ----
  	    *p = '\0';
  #ifdef WIN32
  	    if (mkdir(c->filename) < 0 && errno != EEXIST)
+ #elif defined(__TANDEM)
+ 	    if (mkdir(c->filename, S_IRWXU | S_IRWXG | S_IRWXO) < 0 && errno
!= EEXIST)
  #else
  	    if (mkdir(c->filename, S_IREAD | S_IWRITE | S_IEXEC) < 0 &&
errno != EEXIST)
  #endif /* WIN32 */
Only in /h/minoo/apache_1.3.6/src/modules/standard: Makefile
Only in /h/minoo/apache_1.3.6/src/modules/standard: libstandard.a
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_access.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_actions.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_alias.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_asis.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_auth.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_autoindex.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_cgi.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_dir.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_env.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_imap.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_include.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_log_config.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_mime.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_negotiation.o
diff -rc apache_1.3.6/src/modules/standard/mod_rewrite.h
/h/minoo/apache_1.3.6/src/modules/standard/mod_rewrite.h
*** apache_1.3.6/src/modules/standard/mod_rewrite.h Thu Jul 27 22:58:29 2000
--- /h/minoo/apache_1.3.6/src/modules/standard/mod_rewrite.h Tue Jul 25
09:32:07 2000
***************
*** 149,155 ****
  #endif
  #if !defined(USE_FCNTL) && !defined(USE_FLOCK)
  #define USE_FLOCK 1
! #if !defined(MPE) && !defined(WIN32)
  #include <sys/file.h>
  #endif
  #ifndef LOCK_UN
--- 149,155 ----
  #endif
  #if !defined(USE_FCNTL) && !defined(USE_FLOCK)
  #define USE_FLOCK 1
! #if !defined(MPE) && !defined(WIN32) && !defined(__TANDEM)
  #include <sys/file.h>
  #endif
  #ifndef LOCK_UN
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_setenvif.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_status.o
Only in /h/minoo/apache_1.3.6/src/modules/standard: mod_userdir.o
Only in /h/minoo/apache_1.3.6/src/os/unix: Makefile
Only in /h/minoo/apache_1.3.6/src/os/unix: libos.a
Only in /h/minoo/apache_1.3.6/src/os/unix: os-inline.o
Only in /h/minoo/apache_1.3.6/src/os/unix: os.o
Only in /h/minoo/apache_1.3.6/src/regex: Makefile
Only in /h/minoo/apache_1.3.6/src/regex: libregex.a
Only in /h/minoo/apache_1.3.6/src/regex: regcomp.o
Only in /h/minoo/apache_1.3.6/src/regex: regerror.o
Only in /h/minoo/apache_1.3.6/src/regex: regexec.o
Only in /h/minoo/apache_1.3.6/src/regex: regfree.o
Only in /h/minoo/apache_1.3.6/src/support: Makefile
Only in /h/minoo/apache_1.3.6/src/support: ab
Only in /h/minoo/apache_1.3.6/src/support: ab.o
Only in /h/minoo/apache_1.3.6/src/support: apxs
Only in /h/minoo/apache_1.3.6/src/support: htdigest
diff -rc apache_1.3.6/src/support/htdigest.c
/h/minoo/apache_1.3.6/src/support/htdigest.c
*** apache_1.3.6/src/support/htdigest.c Thu Jul 27 22:58:46 2000
--- /h/minoo/apache_1.3.6/src/support/htdigest.c Sun Jul 23 01:13:39 2000
***************
*** 12,18 ****
  
  #include "ap_config.h"
  #include <sys/types.h>
! #if defined(MPE) || defined(QNX)
  #include <signal.h>
  #else
  #include <sys/signal.h>
--- 12,18 ----
  
  #include "ap_config.h"
  #include <sys/types.h>
! #if defined(MPE) || defined(QNX) || defined(__TANDEM)
  #include <signal.h>
  #else
  #include <sys/signal.h>
Only in /h/minoo/apache_1.3.6/src/support: htdigest.o
Only in /h/minoo/apache_1.3.6/src/support: htpasswd
Only in /h/minoo/apache_1.3.6/src/support: htpasswd.o
Only in /h/minoo/apache_1.3.6/src/support: logresolve
Only in /h/minoo/apache_1.3.6/src/support: logresolve.o
Only in /h/minoo/apache_1.3.6/src/support: rotatelogs
Only in /h/minoo/apache_1.3.6/src/support: rotatelogs.o

Mime
View raw message