FreeBSD issues and fix

Dominik Brettnacher domi at saargate.de
Mon May 1 21:28:42 EST 2000


Hi,

in order to make openssh-1.2.3 compile successfully on FreeBSD 4.0-STABLE
with IPv6 support, configure has to be changed to include <sys.types.h> in
the ipv6 checks. Maybe this patch can be applied the openssh distribution:

--- configure.orig      Mon May  1 12:06:56 2000
+++ configure   Mon May  1 12:09:16 2000
@@ -2455,6 +2455,7 @@
 cat > conftest.$ac_ext <<EOF
 #line 2457 "configure"
 #include "confdefs.h"
+#include <sys/types.h>
 #include <netinet/in.h>
 int main() {
 struct sockaddr_in6 s; s.sin6_family = 0;
@@ -2483,6 +2484,7 @@
 cat > conftest.$ac_ext <<EOF
 #line 2485 "configure"
 #include "confdefs.h"
+#include <sys/types.h>
 #include <netinet/in.h>
 int main() {
 struct in6_addr s; s.s6_addr[0] = 0;


Another problem is the "scp: command not found" issue: in my opinion it
would be good to include "/usr/local/bin" in the default PATH because
"/usr/local" is also the default prefix.


-- 
Dominik - http://www.brettnacher.org/users/dominik/






More information about the openssh-unix-dev mailing list