svn commit: r422481 - in head/net/vtun: . files

Cy Schubert Cy.Schubert at komquats.com
Fri Sep 23 13:41:29 UTC 2016


In message <ac54e402-804a-3e23-f634-405af30334a4 at FreeBSD.org>, Mathieu 
Arnold w
rites:
> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
> --c7grfdndpMfPcMHIt3UsSR9LbJUgMXd9P
> Content-Type: multipart/mixed; boundary="6J0IIvC3PBLPDsPOGHxj6RaLkide0TXcs";
>  protected-headers="v1"
> From: Mathieu Arnold <mat at FreeBSD.org>
> To: Cy Schubert <cy at FreeBSD.org>, ports-committers at freebsd.org,
>  svn-ports-all at freebsd.org, svn-ports-head at freebsd.org
> Message-ID: <ac54e402-804a-3e23-f634-405af30334a4 at FreeBSD.org>
> Subject: Re: svn commit: r422481 - in head/net/vtun: . files
> References: <201609200340.u8K3ejdV095689 at repo.freebsd.org>
> In-Reply-To: <201609200340.u8K3ejdV095689 at repo.freebsd.org>
> 
> --6J0IIvC3PBLPDsPOGHxj6RaLkide0TXcs
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: quoted-printable
> 
> Le 20/09/2016 =C3=A0 05:40, Cy Schubert a =C3=A9crit :
> > Author: cy
> > Date: Tue Sep 20 03:40:45 2016
> > New Revision: 422481
> > URL: https://svnweb.freebsd.org/changeset/ports/422481
> >
> > Log:
> >   Document the previous -z and the new -e command line options.
> >
> 
> I don't know which of this commit broke vtund, but now, when I start it,
> I get a:
> 
> Sep 23 15:06:35 gw vtund[45465]: VTun client ver 3.X 09/21/2016 started
> Sep 23 15:06:35 gw vtund[45465]: Connecting to 1.2.3.4
> Sep 23 15:06:35 gw vtund[45465]: Remote Server sends <TuL5KE1> .
> Sep 23 15:06:35 gw vtund[45465]: Session name[1.2.3.4] opened
> Sep 23 15:06:35 gw vtund[45465]: Couldn't run up commands: fork() not
> available
> Sep 23 15:06:35 gw vtund[45465]: LZO compression[level 5] initialized
> Sep 23 15:06:35 gw vtund[45465]: Blowfish-128-ECB encryption initialized
> 
> 
> see the fork() not available thing ?
> 
> 
> So, it stops there, and does not establish a tunnel.

Just had a quick look at it before heading off to $JOB. It appears to 
detect that FreeBD doesn't have a working fork(). Can you try the attached 
patch?

I know the upline maintainer personally, he used to work at HP with me. 
I'll pass this on to him.



-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 422586)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	vtun
 PORTVERSION=	3.0.4
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net
 MASTER_SITES=	SF
 
@@ -14,7 +14,8 @@
 
 LIB_DEPENDS=	liblzo2.so:archivers/lzo2
 
-CFLAGS+=	-ansi -Wno-pointer-sign -I${LOCALBASE}/include
+CFLAGS+=	-ansi -Wno-pointer-sign -I${LOCALBASE}/include \
+		-DHAVE_WORKING_VFORK
 USES=		ssl
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=/var \
-------------- next part --------------
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.


More information about the svn-ports-head mailing list