Subject: Re: net/vpnc needs patch for if_tun.c revision >=1.80
To: None <tech-pkg@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: tech-pkg
Date: 04/07/2006 21:27:00
FYI:
Rui Paulo's recent [1]changes to the tunnel interface (thanks Rui,
BTW!) fixed the problem with vpnc I reported some weeks ago. This means
that vpnc works on -current NetBSD systems again without the patch I
sent. Actually, it doesn't work anymore when built with it applied.
Jukka
[1] http://mail-index.netbsd.org/source-changes/2006/04/03/0060.html
Jukka Salmi --> tech-pkg (2006-03-12 16:10:45 +0100):
> Hi,
>
> the attached patch is needed to make net/vpnc work on NetBSD systems
> with if_tun.c revision 1.80 and later. However, when built with this
> patch applied, vpnc does not work on systems with if_tun.c revision
> <1.80.
>
> How can this patch be conditionally included in pkgsrc? The relevant
> change to if_tun.c was committed about two days before NetBSD's release
> number was bumped to 3.99.16. Should we just check for this number?
>
>
> TIA, Jukka
>
> --
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~
> --- Makefile.orig 2005-05-01 22:30:35.000000000 +0200
> +++ Makefile 2006-03-12 15:44:47.000000000 +0100
> @@ -34,7 +34,7 @@
> SYSDEP=sysdep-bsd.o
> endif
> ifeq ($(shell uname -s), NetBSD)
> -CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN
> +CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN -DNEW_TUN
> SYSDEP=sysdep-bsd.o
> endif
> ifeq ($(shell uname -s), OpenBSD)
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~