You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Fulvio Bille` <fu...@elettra.trieste.it> on 2002/07/10 13:51:46 UTC

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

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.

Fulvio Bille`

=======================================================================
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/GuessOS Fri 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.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
--- ./src/include/ap_config.h Mon Jun  3 14:28:27 2002
+++ ../apache_1.3.26-patched/src/include/ap_config.h Wed 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

=======================================================================

____________________________________________

Dr. Eng. Fulvio Bille`

Software Group
Experimental Division
Sincrotrone Trieste S.C.p.A.
Elettra Synchrotron Light Laboratory
S.S. 14 Km 163.5, in Area Science Park
34012 Basovizza - Trieste (Italy)

e-mail: fulvio.bille@elettra.trieste.it
URL:    http://www.elettra.trieste.it/
____________________________________________




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

Posted by Fulvio Bille` <fu...@elettra.trieste.it>.
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?
>

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

Posted by Jim Jagielski <ji...@jaguNET.com>.
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   [|]   jim@jaguNET.com   [|]   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

Posted by Jim Jagielski <ji...@jaguNET.com>.
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   [|]   jim@jaguNET.com   [|]   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

Posted by Fulvio Bille` <fu...@elettra.trieste.it>.
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   [|]   jim@jaguNET.com   [|]   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

Posted by Jim Jagielski <ji...@jaguNET.com>.
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   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson