From dfa8b72de9589a3e6d55d869625aa82c207df77f Mon Sep 17 00:00:00 2001 From: itojun Date: Tue, 10 Oct 2000 09:47:50 +0000 Subject: aupdate to 2000/10/10a. - always use random number from /dev/urandom, instead of random(3). - OpenSSL dependency is simplified - just use USE_SSL, and assume that RSA function is there. pkgsrc does not really support intermediate netbsd-current codebase. per discussion on packages@netbsd.org. approved by packages@netbsd.org --- security/racoon/Makefile | 18 ++++++------------ security/racoon/files/md5 | 4 ++-- 2 files changed, 8 insertions(+), 14 deletions(-) (limited to 'security') diff --git a/security/racoon/Makefile b/security/racoon/Makefile index 7e9c520d766..d38728db9d7 100644 --- a/security/racoon/Makefile +++ b/security/racoon/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2000/10/04 00:31:48 itojun Exp $ +# $NetBSD: Makefile,v 1.24 2000/10/10 09:47:50 itojun Exp $ # -DISTNAME= racoon-20001004a +DISTNAME= racoon-20001010a CATEGORIES= security net MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/ @@ -18,18 +18,12 @@ IGNORE+= "${PKGNAME} requires ipsec-ready NetBSD" .include "../../mk/bsd.prefs.mk" BUILD_DEFS+= USE_INET6 -# openssl is necessary for RSA libraries -# if PATENTEDOPENSSLSRC is defined, then we assume that -# RSA already exists in the OpenSSL built as part of the -# base distribution. -# XXX the check chokes with cross build -.if !defined(PATENTEDOPENSSLSRC) && !exists(/usr/include/openssl/rsa.h) -DEPENDS+= openssl-0.9.*:../../security/openssl +# we rely upon 1.5-based /usr/lib/libcrypto, or pkgsrc/security/openssl. +# between 1.4 and 1.5, there were period where we had RSA-less +# /usr/lib/libcrypto. we do not support that configuration in the pkgsrc. +USE_SSL= yes CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include CFLAGS=-I${LOCALBASE}/include \ LIBS="-L${LOCALBASE}/lib -L${WRKSRC}/../libipsec" -.else -CONFIGURE_ENV+= LIBS="-L${WRKSRC}/../libipsec" -.endif CONFLICTS+= racoon-* diff --git a/security/racoon/files/md5 b/security/racoon/files/md5 index a65557ae777..2ccea314402 100644 --- a/security/racoon/files/md5 +++ b/security/racoon/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.11 2000/10/04 00:31:48 itojun Exp $ +$NetBSD: md5,v 1.12 2000/10/10 09:47:51 itojun Exp $ -MD5 (racoon-20001004a.tar.gz) = 2eff084009c2b4234ff0cfd84c2297b0 +MD5 (racoon-20001010a.tar.gz) = 576d5d88b0f83162fa37f20f8541a405 -- cgit v1.2.3