Subject: Re: net/vpnc needs patch for if_tun.c revision >=1.80
To: None <>
From: Jukka Salmi <>
List: tech-pkg
Date: 03/12/2006 18:58:52
Hubert Feyrer --> tech-pkg (2006-03-12 16:32:52 +0100):
> On Sun, 12 Mar 2006, Jukka Salmi wrote:
> >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?
> If there's nothing closer available, then let's use that.

Fine. But how do I conditionally include a patch? And how should I
check for a "release number newer than 3.99.15"?

BTW, in this case including a patch file is probably not needed at
all; instead, something like

.if ${OPSYS} == "NetBSD" && ${OS_VERSION} ...

could be used in the pkgsrc Makefile.

> Can you send me an updated patch? I don't have -current to test...

The patch was for vpnc-0.3.3/Makefile - you don't need -current to
test it...

Cheers, Jukka

bashian roulette:
$ ((RANDOM%6)) || rm -rf ~