Skip to content

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



Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options