Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/racoon/racoon support idea/rc5 if they are availabl...
details: https://anonhg.NetBSD.org/src/rev/2a960143973e
branches: trunk
changeset: 549051:2a960143973e
user: itojun <itojun%NetBSD.org@localhost>
date: Fri Jul 04 05:17:25 2003 +0000
description:
support idea/rc5 if they are available. add missing #define.
VS: ----------------------------------------------------------------------
diffstat:
usr.sbin/racoon/racoon/Makefile | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 938bb0ab8a00 -r 2a960143973e usr.sbin/racoon/racoon/Makefile
--- a/usr.sbin/racoon/racoon/Makefile Fri Jul 04 04:56:27 2003 +0000
+++ b/usr.sbin/racoon/racoon/Makefile Fri Jul 04 05:17:25 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/11/20 03:35:58 itojun Exp $
+# $NetBSD: Makefile,v 1.14 2003/07/04 05:17:25 itojun Exp $
.include <bsd.own.mk>
@@ -24,13 +24,23 @@
LDADD+= -lgssapi -lkrb5 -lcom_err -lroken -lasn1
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBCOM_ERR} ${LIBROKEN} ${LIBASN1}
.endif
+.if (${MKCRYPTO_IDEA} != "no")
+CPPFLAGS+=-DHAVE_OPENSSL_IDEA_H
+LDADD+= -lcrypto_idea
+LDADD+= ${LIBCRYPTO_IDEA}
+.endif
+.if (${MKCRYPTO_RC5} != "no")
+CPPFLAGS+=-DHAVE_OPENSSL_RC5_H
+LDADD+= -lcrypto_rc5
+LDADD+= ${LIBCRYPTO_RC5}
+.endif
LDADD+= -lipsec -ly -ll -lcrypto
DPADD+= ${LIBIPSEC} ${LIBY} ${LIBL} ${LIBCRYPTO}
#CFLAGS+=-g
OPTFLAG+=-DHAVE_PFKEYV2 -DYIPS_DEBUG
CPPFLAGS+=-DINET6 -DHAVE_FUNCTION_MACRO=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBL=1 -DHAVE_LIBY=1 -DENABLE_IPV6=1 -DADVAPI=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1
-DHAVE_LIMITS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_VARARGS_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1
-DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRDUP=1 -DHAVE_GETIFADDRS=1 -DHAVE_ARC4RANDOM=1 $(OPTFLAG) -DIPSEC -I. -I${RACOONSRCDIR} -Dss_family=__ss_family
-Dss_len=__ss_len -DSYSCONFDIR=\"$(ETCDIR)\"
-CPPFLAGS+=-DHAVE_OPENSSL_OPENSSLV_H=1
+CPPFLAGS+=-DHAVE_OPENSSL_OPENSSLV_H=1 -DHAVE_OPENSSL_EVP_H=1
CPPFLAGS+=-DYY_NO_UNPUT
CPPFLAGS+=-I${LIBPFKEYSRCDIR}
CPPFLAGS+=-I${RACOONSRCDIR}/missing
Home |
Main Index |
Thread Index |
Old Index