cvs commit: apache/support Makefile.tmpl suexec.c

1997-07-20 Thread Dean Gaudet
dgaudet 97/07/20 16:44:50

  Modified:support   Makefile.tmpl suexec.c
  Log:
  htdigest needs $(LIBS).  QNX doesn't support initgroups.
  
  Submitted by: Igor N Kovalenko [EMAIL PROTECTED]
  Reviewed by:  Dean Gaudet
  
  Revision  ChangesPath
  1.4   +1 -1  apache/support/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===
  RCS file: /export/home/cvs/apache/support/Makefile.tmpl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -C3 -r1.3 -r1.4
  *** Makefile.tmpl 1997/07/14 11:56:08 1.3
  --- Makefile.tmpl 1997/07/20 23:44:49 1.4
  ***
  *** 19,25 
$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)

htdigest: htdigest.c
  ! $(CC) $(CFLAGS) htdigest.c -o htdigest

httpd_monitor: httpd_monitor.c
$(CC) $(INCLUDES) $(CFLAGS) httpd_monitor.c -o httpd_monitor
  --- 19,25 
$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)

htdigest: htdigest.c
  ! $(CC) $(CFLAGS) htdigest.c -o htdigest $(LIBS)

httpd_monitor: httpd_monitor.c
$(CC) $(INCLUDES) $(CFLAGS) httpd_monitor.c -o httpd_monitor
  
  
  
  1.24  +18 -0 apache/support/suexec.c
  
  Index: suexec.c
  ===
  RCS file: /export/home/cvs/apache/support/suexec.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -C3 -r1.23 -r1.24
  *** suexec.c  1997/06/23 22:48:48 1.23
  --- suexec.c  1997/07/20 23:44:49 1.24
  ***
  *** 81,86 
  --- 81,104 
#include time.h
#include sys/stat.h

  + /*
  +  ***
  +  * There is no initgroups() in QNX, so I believe this is safe :-)
  +  * Use cc -osuexec -3 -O -mf -DQNX suexec.c to compile.
  +  *
  +  * May 17, 1997.
  +  * Igor N. Kovalenko -- [EMAIL PROTECTED]
  +  ***
  +  */
  + 
  + #if defined(QNX)
  + int initgroups(const char *name, gid_t basegid)
  + {
  + /* QNX and MPE do not appear to support supplementary groups. */
  + return 0;
  + }
  + #endif
  + 
#if defined(PATH_MAX)
#define AP_MAXPATH PATH_MAX
#elif defined(MAXPATHLEN)
  
  
  


cvs commit: apache/support Makefile.tmpl

1997-07-14 Thread Rodent of Unusual Size
coar97/07/14 04:56:09

  Modified:support   Makefile.tmpl
  Log:
Change occurrences of LFLAGS* to LDFLAGS* to match the recent
changes in the main Configuration and Makefile area.  LFLAGS is
for Lex; LDFLAGS is for the loader.
  
  Revision  ChangesPath
  1.3   +1 -1  apache/support/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===
  RCS file: /export/home/cvs/apache/support/Makefile.tmpl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** Makefile.tmpl 1997/03/10 09:31:34 1.2
  --- Makefile.tmpl 1997/07/14 11:56:08 1.3
  ***
  *** 6,12 
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
LIBS=$(EXTRA_LIBS) $(LIBS1)
INCLUDES=-I../src -I../src/regex $(INCLUDES1) $(EXTRA_INCLUDES)
  ! LFLAGS=$(LFLAGS1) $(EXTRA_LFLAGS)

.c.o: 
$(CC) -c $(CFLAGS) $(INCLUDES) $
  --- 6,12 
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
LIBS=$(EXTRA_LIBS) $(LIBS1)
INCLUDES=-I../src -I../src/regex $(INCLUDES1) $(EXTRA_INCLUDES)
  ! LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)

.c.o: 
$(CC) -c $(CFLAGS) $(INCLUDES) $