Skip to content

Openssl 0.9.8a in BSD/OS 4.3.1

Here is an entry I hope openssl will add in their Configure file:



"debug-bsdi-x86-elf", "gcc:-DPERL5 -DL_ENDIAN -DTERMIOS -fomit-frame-pointer -O9 -march=i686 -Wall -g::${BSDthreads}::-ldl:THIRY_TWO_BIT_LONG RC4_CHUNK BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",





Additonal, 16 May 2006, I found this patch from the BSD/OS CD



! "bsdi-x86elf-gcc", "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486

-Wall::(unknown):-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlf

cn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",



Configuring OpenSSH to work in BSD/OS 4.3.X

This script works for BSD/OS



CC=/usr/bin/gcc CFLAGS="-g -O3 -Wall -mcpu=i686" ./configure --prefix=/usr/contrib --sysconfdir=/usr/contrib/etc --localstatedir=/var --infodir=/usr/share/info\

--mandir=/usr/share/man --with-low-memory --with-elf --with-ncurses\

--with-ssl=/usr/contrib\

--with-ssl-dir=/usr/contrib\

--with-openssl=/usr/contrib --with-bsd-auth



I further 16 May 2006 found a patch on the BSD/OS CD-ROM:



Index: openbsd-compat/mktemp.c

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

RCS file: /master/core_contrib/openssh/openbsd-compat/mktemp.c,v

retrieving revision 1.5

diff -c -r1.5 mktemp.c

** openbsd-compat/mktemp.c 16 Sep 2003 17:30:32 -0000 1.5

--- openbsd-compat/mktemp.c 17 Sep 2003 22:18:50 -0000

**************


** 55,60 ****

--- 55,61 ----

return (_gettemp(path, &fd, 0, slen) ? fd : -1);

}



+ #ifndef __bsdi__

int

mkstemp(path)

char path;

**************


** 63,68 ****

--- 64,70 ----



return (_gettemp(path, &fd, 0, 0) ? fd : -1);

}

+ #endif



char


mkdtemp(path)

Index: configure

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

RCS file: /master/core_contrib/openssh/configure,v

retrieving revision 1.9

diff -c -r1.9 configure

** configure 16 Sep 2003 17:30:18 -0000 1.9

--- configure 17 Sep 2003 22:38:56 -0000

**************


**
14586,14592 ****

cat conftest.$ac_ext >&5

echo "$as_me:14587: result: no" >&5

echo "${ECHO_T}no" >&6

! K5LIBS="-lkrb5 -lk5crypto -lcom_err"



fi

rm -f conftest.$ac_objext conftest.$ac_ext

--- 14586,14592 ----

cat conftest.$ac_ext >&5

echo "$as_me:14587: result: no" >&5

echo "${ECHO_T}no" >&6

! K5LIBS="-lkrb5 -lk5crypto -lcom_err -

lprofile"



fi

rm -f conftest.$ac_objext conftest.$ac_ext