Re: [PATCH] Patch to compile apache-1.3.20+ on LynxOS-3.0.1

2002-07-17 Thread Fulvio Bille`

Hi,
I have LynxOS-3.0.1 and if you try to use find with -depth obtain a syntax
error!

find . -depth -print
find: syntax error at -depth

Maybe it is possible (I don't try to do this) to install the GNU findutils and
this can resolve the problem but the find distributed
with this version of the LynxOS doesn't support -depth option.

Bye,
Fulvio Bille`


Jim Jagielski wrote:

 Not sure if they went through, or if I just missed the reply.

 These patches look good but I have a question about this:

 At 1:51 PM +0200 7/10/02, Fulvio Bille` wrote:
 diff -ruN ./src/helpers/mkshadow.sh
 ../apache_1.3.26-patched/src/helpers/mkshadow.sh
 --- ./src/helpers/mkshadow.sh Tue Jun 29 15:43:15 1999
 +++ ../apache_1.3.26-patched/src/helpers/mkshadow.sh Fri Jul  5 14:11:19
 
 2002
 @@ -65,7 +65,7 @@
 
  #   fill directory tree with symlinks to files
  FILES=`cd $src; \
 -find . -depth -print |\
 +find . -print |\
  sed -e '/\.o$/d' \
  -e '/\.a$/d' \
  -e '/\.so$/d' \

 Why the change? Does LynxOS-3.0.1 find not support -depth?
 --
 ===
Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
   A society that will trade a little liberty for a little order
  will lose both and deserve neither - T.Jefferson




Re: [PATCH] Patch to compile apache-1.3.20+ on LynxOS-3.0.1

2002-07-17 Thread Jim Jagielski

At 8:49 AM +0200 7/17/02, Fulvio Bille` wrote:
Hi,
I have LynxOS-3.0.1 and if you try to use find with -depth obtain a syntax
error!

find . -depth -print
find: syntax error at -depth

Maybe it is possible (I don't try to do this) to install the GNU findutils and
this can resolve the problem but the find distributed
with this version of the LynxOS doesn't support -depth option.


Thanks! I'm curious why the problem didn't exist (or wasn't reported
to exist) in other LynxOS versions. I'll take a look.

Thanks again for the patches and for using Apache!
-- 
===
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
  A society that will trade a little liberty for a little order
 will lose both and deserve neither - T.Jefferson



Re: [PATCH] Patch to compile apache-1.3.20+ on LynxOS-3.0.1

2002-07-15 Thread Jim Jagielski

Not sure if they went through, or if I just missed the reply.

These patches look good but I have a question about this:

At 1:51 PM +0200 7/10/02, Fulvio Bille` wrote:
diff -ruN ./src/helpers/mkshadow.sh
../apache_1.3.26-patched/src/helpers/mkshadow.sh
--- ./src/helpers/mkshadow.sh Tue Jun 29 15:43:15 1999
+++ ../apache_1.3.26-patched/src/helpers/mkshadow.sh Fri Jul  5 14:11:19

2002
@@ -65,7 +65,7 @@

 #   fill directory tree with symlinks to files
 FILES=`cd $src; \
-find . -depth -print |\
+find . -print |\
 sed -e '/\.o$/d' \
 -e '/\.a$/d' \
 -e '/\.so$/d' \

Why the change? Does LynxOS-3.0.1 find not support -depth?
-- 
===
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
  A society that will trade a little liberty for a little order
 will lose both and deserve neither - T.Jefferson



Re: [PATCH] Patch to compile apache-1.3.20+ on LynxOS-3.0.1

2002-07-11 Thread Fulvio Bille`

Hi.
I have LynxOS 3.0.1 on 68k, and I confirm that find doesn't have the option
-depth.

I'm sorry but I think that the mailer have wrapped some line of the patch,
corrupting its.
So I re-send the patch as attachment.
Bye.

Jim Jagielski wrote:

 The patches look acceptable, except for the below... Why the change?
 '-depth' not supported in LynxOS's find?



diff -ruN ./src/Configure ../apache_1.3.26-patched/src/Configure
--- ./src/Configure Tue Jun 18 07:20:33 2002
+++ ../apache_1.3.26-patched/src/Configure  Fri Jul  5 14:11:18 2002
 -472,6 +472,13 
LIBS=$LIBS -lbsd -lcrypt
DEF_WANTHSREGEX=yes
;;
+*-lynx-lynxos3)
+   OS='LynxOS 3.x'
+   CFLAGS=$CFLAGS -D__NO_INCLUDE_WARN__ -DLYNXOS3
+   LIBS=$LIBS -lbsd -lcrypt
+   DEF_WANTHSREGEX=yes
+   INCLUDES=-I/usr/include
+   ;;
 *486-*-bsdi*)
OS='BSDI w/486'
CFLAGS=$CFLAGS -m486
diff -ruN ./src/helpers/GuessOS ../apache_1.3.26-patched/src/helpers/GuessOS
--- ./src/helpers/GuessOS   Mon Oct  8 17:49:33 2001
+++ ../apache_1.3.26-patched/src/helpers/GuessOSFri Jul  5 14:11:18 2002
 -134,6 +134,10 
echo ${MACHINE}-GNU-GNU/Hurd; exit 0
;;
 
+LynxOS:3*:*)
+   echo ${MACHINE}-lynx-lynxos3; exit 0
+   ;;
+
 LynxOS:*)
echo ${MACHINE}-lynx-lynxos; exit 0
;;
diff -ruN ./src/helpers/mkshadow.sh ../apache_1.3.26-patched/src/helpers/mkshadow.sh
--- ./src/helpers/mkshadow.sh   Tue Jun 29 15:43:15 1999
+++ ../apache_1.3.26-patched/src/helpers/mkshadow.shFri Jul  5 14:11:19 2002
 -65,7 +65,7 
 
 #   fill directory tree with symlinks to files
 FILES=`cd $src; \
-find . -depth -print |\
+find . -print |\
 sed -e '/\.o$/d' \
 -e '/\.a$/d' \
 -e '/\.so$/d' \
diff -ruN ./src/include/ap_config.h ../apache_1.3.26-patched/src/include/ap_config.h
--- ./src/include/ap_config.h   Mon Jun  3 14:28:27 2002
+++ ../apache_1.3.26-patched/src/include/ap_config.hWed Jul 10 11:03:59 2002
 -787,6 +787,22 
 typedef int rlim_t;
 #define HAVE_SYSLOG 1
 
+#elif defined(LYNXOS3)
+#undef HAVE_GMTOFF
+#undef USE_MMAP_SCOREBOARD
+#undef USE_SHMGET_SCOREBOARD
+#undef USE_POSIX_SCOREBOARD
+#define HAVE_FCNTL_SERIALIZED_ACCEPT
+#define USE_FCNTL_SERIALIZED_ACCEPT
+#define USE_LONGJMP
+#undef NO_KILLPG
+#undef NO_SETSID
+#undef NO_USE_SIGACTION
+#undef NO_LINGCLOSE
+extern char *crypt(char *pw, char *salt);
+typedef long rlim_t;
+#define HAVE_SYSLOG 1
+
 #elif defined(UXPDS)
 #undef NEED_STRCASECMP
 #undef NEED_STRNCASECMP



Re: [PATCH] Patch to compile apache-1.3.20+ on LynxOS-3.0.1

2002-07-10 Thread Jim Jagielski

The patches look acceptable, except for the below... Why the change?
'-depth' not supported in LynxOS's find?

At 1:51 PM +0200 7/10/02, Fulvio Bille` wrote:
Hi,
this patch enable to run configure and compile on LynxOS-3.0.1
Any source file is modified.
Only Configure, GuessOS, mkshadow.sh and ap_config.h are modified.
Bye.

--- ./src/helpers/mkshadow.sh Tue Jun 29 15:43:15 1999
+++ ../apache_1.3.26-patched/src/helpers/mkshadow.sh Fri Jul  5 14:11:19

2002
@@ -65,7 +65,7 @@

 #   fill directory tree with symlinks to files
 FILES=`cd $src; \
-find . -depth -print |\
+find . -print |\
 sed -e '/\.o$/d' \
 -e '/\.a$/d' \
 -e '/\.so$/d' \
diff -ruN ./src/include/ap_config.h
../apache_1.3.26-patched/src/include/ap_config.h

-- 
===
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
  A society that will trade a little liberty for a little order
 will lose both and deserve neither - T.Jefferson