Importing crypto libraries

- crypto/external/bsd/heimdal
 - crypto/external/bsd/libsaslc
 - crypto/external/bsd/netpgp
 - crypto/external/bsd/openssl

Change-Id: I91dbf05f33e637edf5b9bb408d5baddd7ba8cf75
This commit is contained in:
2015-10-07 00:45:38 +00:00
parent b1d068470b
commit ebfedea0ce
5082 changed files with 1472353 additions and 12 deletions

View File

@@ -60,11 +60,11 @@ SUBDIR+=mld6query route6d rtadvd traceroute6
.if !defined(__MINIX)
# ATM PVC
SUBDIR+=pvcsif pvctxctl
.endif
.if (${MKCRYPTO} != "no")
SUBDIR+= racoon racoonctl
.endif
.endif # !defined(__MINIX)
# NPF
.if (${MKNPF} != "no")

View File

@@ -19,11 +19,11 @@ SYMLINKS= /var/run/log /dev/log
.PATH.c: ${NETBSDSRCDIR}/usr.bin/who
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP -Wredundant-decls
.if !defined(__MINIX)
.if (${USE_INET6} != "no")
CPPFLAGS+=-DINET6
.endif
.if !defined(__MINIX)
CPPFLAGS+=-DLIBWRAP
LDADD+= -lwrap
DPADD+= ${LIBWRAP}

View File

@@ -852,6 +852,7 @@ socksetup_tls(const int af, const char *bindhostname, const char *port)
continue;
}
s->af = r->ai_family;
#if defined(__minix) && defined(INET6)
if (r->ai_family == AF_INET6
&& setsockopt(s->fd, IPPROTO_IPV6, IPV6_V6ONLY,
&on, sizeof(on)) == -1) {
@@ -860,6 +861,7 @@ socksetup_tls(const int af, const char *bindhostname, const char *port)
close(s->fd);
continue;
}
#endif /* defined(__minix) && defined(INET6) */
if (setsockopt(s->fd, SOL_SOCKET, SO_REUSEADDR,
&on, sizeof(on)) == -1) {
DPRINTF(D_NET, "Unable to setsockopt(): %s\n",