pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/30852: net/openvpn-current is outdated
The following reply was made to PR pkg/30852; it has been noted by GNATS.
From: Masao Uebayashi <uebayasi%brains.co.jp@localhost>
To: pancake%phreaker.net@localhost
Cc: wiz%NetBSD.org@localhost, gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/30852: net/openvpn-current is outdated
Date: Fri, 29 Jul 2005 16:50:52 +0900 (JST)
----Next_Part(Fri_Jul_29_16_50_52_2005_319)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
> It builds fine in my GNU/Linux system.
>
> Can anybody test USE_OLD_DES_API tip on other systems?
After glancing at the comments in pkgsrc/security/openssl/builtin.mk,
I think that what we need is to teach openvpn that ``NetBSD doesn't
need des_old.h to use that old DES API''. I attach a patch.
We may investigate the #ifdef more considering NetBSD versions, but
I'm not sure.
Masao
----Next_Part(Fri_Jul_29_16_50_52_2005_319)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=patch-aa
$NetBSD$
--- crypto.h.orig 2005-04-11 12:43:55.000000000 +0900
+++ crypto.h
@@ -52,8 +52,10 @@
#endif
#if SSLEAY_VERSION_NUMBER >= 0x00907000L
+#if !defined(__NetBSD__)
#include <openssl/des_old.h>
#endif
+#endif
#include "basic.h"
#include "buffer.h"
----Next_Part(Fri_Jul_29_16_50_52_2005_319)----
Home |
Main Index |
Thread Index |
Old Index