summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-10-26 16:03:08 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-10-26 16:03:08 +0000
commit584ca47fc5ab40d3f7b7bf90590667d3a380419e (patch)
tree0f8d7d511e6eea5d6f138d35881d9286c164b592 /sbin/isakmpd/sysdep
parenta3f7845787d1e46bae8b58dc85770168877fc029 (diff)
Update for FreeBSD port. Noted by olof@crt.se.
Diffstat (limited to 'sbin/isakmpd/sysdep')
-rw-r--r--sbin/isakmpd/sysdep/freebsd/Makefile.sysdep6
-rw-r--r--sbin/isakmpd/sysdep/freebsd/sysdep-os.h7
2 files changed, 4 insertions, 9 deletions
diff --git a/sbin/isakmpd/sysdep/freebsd/Makefile.sysdep b/sbin/isakmpd/sysdep/freebsd/Makefile.sysdep
index cedb1adb30a..7a99372b989 100644
--- a/sbin/isakmpd/sysdep/freebsd/Makefile.sysdep
+++ b/sbin/isakmpd/sysdep/freebsd/Makefile.sysdep
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sysdep,v 1.5 2001/08/13 14:33:35 itojun Exp $
+# $OpenBSD: Makefile.sysdep,v 1.6 2001/10/26 16:03:07 ho Exp $
#
# Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -34,7 +34,7 @@
#
# Override default features
-FEATURES= tripledes des blowfish cast ec aggressive debug
+FEATURES= tripledes des blowfish cast x509 ec aggressive debug
.if defined(TOPDIR)
LIBSYSDEPDIR= ${TOPDIR}/sysdep/common/libsysdep
@@ -42,7 +42,7 @@ LIBSYSDEPDIR= ${TOPDIR}/sysdep/common/libsysdep
LIBSYSDEPDIR= ${.CURDIR}/sysdep/common/libsysdep
.endif
-LDADD+= -lgmp ${LIBSYSDEPDIR}/libsysdep.a -L/usr/local/lib
+LDADD+= -lgmp ${LIBSYSDEPDIR}/libsysdep.a -lipsec -L/usr/local/lib
DPADD+= ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a
CFLAGS+= -DHAVE_GETNAMEINFO -DHAVE_GETIFADDRS \
diff --git a/sbin/isakmpd/sysdep/freebsd/sysdep-os.h b/sbin/isakmpd/sysdep/freebsd/sysdep-os.h
index 81875b5d2cb..ee5c318da31 100644
--- a/sbin/isakmpd/sysdep/freebsd/sysdep-os.h
+++ b/sbin/isakmpd/sysdep/freebsd/sysdep-os.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysdep-os.h,v 1.2 2001/01/28 22:38:48 niklas Exp $ */
+/* $OpenBSD: sysdep-os.h,v 1.3 2001/10/26 16:03:07 ho Exp $ */
/*
* Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved.
@@ -41,11 +41,6 @@
#include <netinet6/ipsec.h>
-/* We need in_addr_t, in_port_t & socklen_t. */
-typedef u_int32_t in_addr_t;
-typedef u_int16_t in_port_t;
-typedef u_int32_t socklen_t;
-
#if 0
/* OpenSSL differs from OpenBSD very slightly... */