Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2016 06:41:22 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        Cy Schubert <cy@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r422481 - in head/net/vtun: . files
Message-ID:  <201609231341.u8NDfMNw032591@slippy.cwsent.com>
In-Reply-To: Message from Mathieu Arnold <mat@FreeBSD.org> of "Fri, 23 Sep 2016 15:09:38 %2B0200." <ac54e402-804a-3e23-f634-405af30334a4@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multipart MIME message.

--==_Exmh_1474637959_545860
Content-Type: text/plain; charset=us-ascii

In message <ac54e402-804a-3e23-f634-405af30334a4@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@FreeBSD.org>
> To: Cy Schubert <cy@FreeBSD.org>, ports-committers@freebsd.org,
>  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
> Message-ID: <ac54e402-804a-3e23-f634-405af30334a4@FreeBSD.org>
> Subject: Re: svn commit: r422481 - in head/net/vtun: . files
> References: <201609200340.u8K3ejdV095689@repo.freebsd.org>
> In-Reply-To: <201609200340.u8K3ejdV095689@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.




--==_Exmh_1474637959_545860
Content-Type: text/plain ; name="vtun.diff"; charset=us-ascii
Content-Description: vtun.diff
Content-Disposition: attachment; filename="vtun.diff"

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 \

--==_Exmh_1474637959_545860
Content-Type: text/plain; charset=us-ascii

Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

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

--==_Exmh_1474637959_545860--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609231341.u8NDfMNw032591>