[openssl.org #1958] [PATCH] qnx diffs against HEAD and OpenSSL_1_0_0-stable

2009-06-17 Thread Sean Boudreau via RT

Hi:

The following patch provides better qnx6 support against the
HEAD and OpenSSL_1_0_0-stable branches.

Regards,

-seanb

diff -ur openssl/Configure openssl_work/Configure
--- openssl/Configure   2009-06-16 18:17:28.0 -0500
+++ openssl_work/Configure  2009-06-16 18:18:56.0 -0500
@@ -400,7 +400,8 @@
 
 # QNX
 qnx4,cc:-DL_ENDIAN -DTERMIO::(unknown):::${x86_gcc_des} 
${x86_gcc_opts}:,
-qnx6,cc:-DL_ENDIAN -DTERMIOS::(unknown)::-lsocket:${x86_gcc_des} 
${x86_gcc_opts}:,
+QNX6,   
gcc:-DTERMIOS-lsocket::${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR),
+QNX6-i386,  gcc:-DL_ENDIAN -DTERMIOS -O2 -Wall-lsocket:${x86_gcc_des} 
${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR),
 
 # BeOS
 beos-x86-r5,   gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer 
-mcpu=pentium -Wall::-D_REENTRANT:BEOS:-lbe -lnet:BN_LLONG ${x86_gcc_des} 
${x86_gcc_opts}:${x86_elf_asm}:beos:beos-shared:-fPIC -DPIC:-shared:.so,
diff -ur openssl/config openssl_work/config
--- openssl/config  2009-06-16 18:17:28.0 -0500
+++ openssl_work/config 2009-06-16 18:18:56.0 -0500
@@ -798,6 +798,8 @@
   j90-cray-unicos) OUT=cray-j90 ;;
   nsr-tandem-nsk) OUT=tandem-c89 ;;
   beos-*) OUT=$GUESSOS ;;
+  x86pc-*-qnx6) OUT=QNX6-i386 ;;
+  *-*-qnx6) OUT=QNX6 ;;
   *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
 esac
 
diff -ur openssl/ssl/dtls1.h openssl_work/ssl/dtls1.h
--- openssl/ssl/dtls1.h 2009-06-16 14:06:23.0 -0500
+++ openssl_work/ssl/dtls1.h2009-06-16 18:29:12.0 -0500
@@ -67,6 +67,8 @@
 #include winsock.h
 #elif defined(OPENSSL_SYS_NETWARE)  !defined(_WINSOCK2API_)
 #include sys/timeval.h
+#else
+#include sys/time.h
 #endif
 
 #ifdef  __cplusplus
diff -ur openssl/util/shlib_wrap.sh openssl_work/util/shlib_wrap.sh
--- openssl/util/shlib_wrap.sh  2009-06-16 18:18:05.0 -0500
+++ openssl_work/util/shlib_wrap.sh 2009-06-16 18:18:56.0 -0500
@@ -80,7 +80,7 @@
# it into a script makes it possible to do so on multi-ABI
# platforms.
case $SYSNAME in
-   *BSD)   LD_PRELOAD=$LIBCRYPTOSO:$LIBSSLSO ;;  # *BSD
+   *BSD|QNX)   LD_PRELOAD=$LIBCRYPTOSO:$LIBSSLSO ;;  # *BSD, QNX
*)  LD_PRELOAD=$LIBCRYPTOSO $LIBSSLSO ;;  # SunOS, Linux, ELF 
HP-UX
esac
_RLD_LIST=$LIBCRYPTOSO:$LIBSSLSO:DEFAULT  # Tru64, o32 IRIX


[openssl.org #1955] [PATCH] openssl 0.9.8k qnx diffs

2009-06-16 Thread Sean Boudreau via RT

Hi:

Here's a small patch that provides better support on QNX6.

Regards,

-seanb

--- Configure.orig  2009-02-16 03:44:22.0 -0500
+++ Configure   2009-05-25 10:31:04.0 -0500
@@ -390,7 +390,8 @@
 
 # QNX
 qnx4,cc:-DL_ENDIAN -DTERMIO::(unknown):::${x86_gcc_des} 
${x86_gcc_opts}:,
-qnx6,cc:-DL_ENDIAN -DTERMIOS::(unknown)::-lsocket:${x86_gcc_des} 
${x86_gcc_opts}:,
+QNX6,   
gcc:-DTERMIOS-lsocket::${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR),
+QNX6-i386,  gcc:-DL_ENDIAN -DTERMIOS -O2 -Wall-lsocket:${x86_gcc_des} 
${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR),
 
  SCO/Caldera targets.
 #
--- config.orig 2009-02-16 03:43:41.0 -0500
+++ config  2009-05-25 10:33:21.0 -0500
@@ -769,6 +769,8 @@
   t3e-cray-unicosmk) OUT=cray-t3e ;;
   j90-cray-unicos) OUT=cray-j90 ;;
   nsr-tandem-nsk) OUT=tandem-c89 ;;
+  x86pc-*-qnx6) OUT=QNX6-i386 ;;
+  *-*-qnx6) OUT=QNX6 ;;
   *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
 esac
 
--- util/shlib_wrap.sh.orig 2007-08-27 03:52:57.0 -0500
+++ util/shlib_wrap.sh  2009-05-25 10:31:49.0 -0500
@@ -80,7 +80,7 @@
# it into a script makes it possible to do so on multi-ABI
# platforms.
case $SYSNAME in
-   *BSD)   LD_PRELOAD=$LIBCRYPTOSO:$LIBSSLSO ;;  # *BSD
+   *BSD|QNX)   LD_PRELOAD=$LIBCRYPTOSO:$LIBSSLSO ;;  # *BSD, QNX
*)  LD_PRELOAD=$LIBCRYPTOSO $LIBSSLSO ;;  # SunOS, Linux, ELF 
HP-UX
esac
_RLD_LIST=$LIBCRYPTOSO:$LIBSSLSO:DEFAULT  # Tru64, o32 IRIX


Re: [PATCH] openssl 0.9.8k qnx diffs

2009-06-12 Thread Sean Boudreau
On Wed, Jun 10, 2009 at 08:59:34PM +0200, Ger Hobbelt wrote:
 Looks fine to me.
 
 
 Tip: to give this a chance of NOT disappearing into the background
 noise of the mailing lists, you might want to send this patch (as
 attachment, like you originally did on this ML) to the ticket tracker
 so this pops up on the screens of the core devs for sure.
 
 mailing address:
   r...@openssl.org
 
 You'll get an issue # with that, and it remains on the todo lists
 until someone on the core team actually processes this bit.

Done.  First I've heard of that address though.  The
README says send it here...

Thanks,

-seanb
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [PATCH] openssl 0.9.8k qnx diffs

2009-06-09 Thread Sean Boudreau
On Fri, May 29, 2009 at 02:00:52PM -0400, Sean Boudreau wrote:
 On Mon, May 25, 2009 at 01:22:02PM -0400, Sean Boudreau wrote:
  
  Hi:
  
  Here's a small patch that provides better support on QNX6.
  
 
 Does the patch look OK?
 

Any thoughts?

Thanks,

-seanb
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [PATCH] openssl 0.9.8k qnx diffs

2009-05-29 Thread Sean Boudreau
On Mon, May 25, 2009 at 01:22:02PM -0400, Sean Boudreau wrote:
 
 Hi:
 
 Here's a small patch that provides better support on QNX6.
 

Does the patch look OK?

Thanks,

-seanb
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


[PATCH] openssl 0.9.8k qnx diffs

2009-05-25 Thread Sean Boudreau

Hi:

Here's a small patch that provides better support on QNX6.

Regards,

-seanb
--- Configure.orig  2009-02-16 03:44:22.0 -0500
+++ Configure   2009-05-25 10:31:04.0 -0500
@@ -390,7 +390,8 @@
 
 # QNX
 qnx4,cc:-DL_ENDIAN -DTERMIO::(unknown):::${x86_gcc_des} 
${x86_gcc_opts}:,
-qnx6,cc:-DL_ENDIAN -DTERMIOS::(unknown)::-lsocket:${x86_gcc_des} 
${x86_gcc_opts}:,
+QNX6,   
gcc:-DTERMIOS-lsocket::${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR),
+QNX6-i386,  gcc:-DL_ENDIAN -DTERMIOS -O2 -Wall-lsocket:${x86_gcc_des} 
${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR),
 
  SCO/Caldera targets.
 #
--- config.orig 2009-02-16 03:43:41.0 -0500
+++ config  2009-05-25 10:33:21.0 -0500
@@ -769,6 +769,8 @@
   t3e-cray-unicosmk) OUT=cray-t3e ;;
   j90-cray-unicos) OUT=cray-j90 ;;
   nsr-tandem-nsk) OUT=tandem-c89 ;;
+  x86pc-*-qnx6) OUT=QNX6-i386 ;;
+  *-*-qnx6) OUT=QNX6 ;;
   *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
 esac
 
--- util/shlib_wrap.sh.orig 2007-08-27 03:52:57.0 -0500
+++ util/shlib_wrap.sh  2009-05-25 10:31:49.0 -0500
@@ -80,7 +80,7 @@
# it into a script makes it possible to do so on multi-ABI
# platforms.
case $SYSNAME in
-   *BSD)   LD_PRELOAD=$LIBCRYPTOSO:$LIBSSLSO ;;  # *BSD
+   *BSD|QNX)   LD_PRELOAD=$LIBCRYPTOSO:$LIBSSLSO ;;  # *BSD, QNX
*)  LD_PRELOAD=$LIBCRYPTOSO $LIBSSLSO ;;  # SunOS, Linux, ELF 
HP-UX
esac
_RLD_LIST=$LIBCRYPTOSO:$LIBSSLSO:DEFAULT  # Tru64, o32 IRIX