head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2009.08.07.18.04.52; author rse; state dead; branches; next 1.1; commitid kxYtk0arAjtR6NYt; 1.1 date 2007.10.17.13.45.21; author rse; state Exp; branches; next ; commitid IKFGi3pLcwo9TWBs; desc @@ 1.2 log @remove openvpn21 package @ text @Index: sample-scripts/verify-cn --- sample-scripts/verify-cn.orig 2005-02-07 03:08:16 +0100 +++ sample-scripts/verify-cn 2005-08-25 19:37:04 +0200 @@@@ -36,7 +36,8 @@@@ if ($x509 =~ /\/CN=([^\/]+)/) { # Accept the connection if the X509 common name # string matches the passed cn argument. - if ($cn eq $1) { + my $x509_cn = $1; + if ($x509_cn =~ m/^${cn}$/s) { exit 0; } } Index: tun.c --- tun.c.orig 2005-08-04 06:46:17.000000000 +0200 +++ tun.c 2005-09-28 20:31:17.062344594 +0200 @@@@ -1168,7 +1168,8 @@@@ #elif defined(TARGET_SOLARIS) #ifndef TUNNEWPPA -#error I need the symbol TUNNEWPPA from net/if_tun.h +#warning I usually need the symbol TUNNEWPPA from net/if_tun.h -- using a shameless local copy taken from TUN 1.1 +#define TUNNEWPPA (('T'<<16) | 0x0001) #endif void @ 1.1 log @new package: openvpn21 2.1rc4 (Virtual Private Network Facility) @ text @@