Index: head/net/vde2/Makefile =================================================================== --- head/net/vde2/Makefile (revision 511145) +++ head/net/vde2/Makefile (revision 511146) @@ -1,48 +1,50 @@ # Created by: Philip M. Gollucci # $FreeBSD$ PORTNAME= vde2 PORTVERSION= 2.3.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MASTER_SITES= SF/vde/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= User-mode virtual ethernet infrastructure LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= multi -CONFLICTS= vde-[0-9]* +LIB_DEPENDS= libpcap.so:net/libpcap +USES= gmake libtool pathfix shebangfix ssl +USE_LDCONFIG= yes + +CONFLICTS= vde-[0-9]* GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= gmake libtool pathfix shebangfix SHEBANG_FILES= src/lib/python/VdePlug.py -USE_LDCONFIG= yes MAKE_ENV= V=1 MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CONFIGURE_OFF= --disable-python -PYTHON_USES= python +PYTHON_USES= python gettext-runtime PYTHON_CPPFLAGS= -I${LOCALBASE}/include PYTHON_LDFLAGS= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e '/-Wall/s|-O2||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|$$(MAKE).*install-data-hook||g' \ ${WRKSRC}/man/Makefile.in @${REINPLACE_CMD} -e 's|^AM_CFLAGS|#AM_CFLAGS|g' \ ${WRKSRC}/src/slirpvde/Makefile.in post-install: ${LN} -sf unixcmd.1 ${STAGEDIR}${PREFIX}/man/man1/vdecmd.1 ${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/man/man1/vdeqemu.1 ${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/man/man1/vdekvm.1 .include Index: head/net/vde2/files/patch-src__dpipe.c =================================================================== --- head/net/vde2/files/patch-src__dpipe.c (revision 511145) +++ head/net/vde2/files/patch-src__dpipe.c (revision 511146) @@ -1,11 +1,11 @@ ---- src/dpipe.c.orig 2011-11-24 01:41:18.000000000 +0900 -+++ src/dpipe.c 2011-11-28 03:05:11.000000000 +0900 -@@ -201,7 +201,7 @@ +--- src/dpipe.c.orig 2011-11-23 16:41:18 UTC ++++ src/dpipe.c +@@ -201,7 +201,7 @@ int main(int argc, char *argv[]) if (daemonize != 0) daemon(0,0); - else if (setpgrp() != 0) { + else if (setpgrp(0,getpid()) != 0) { fprintf(stderr,"Err: cannot create pgrp\n"); exit(1); } Index: head/net/vde2/files/patch-src_vde__pcapplug.c =================================================================== --- head/net/vde2/files/patch-src_vde__pcapplug.c (nonexistent) +++ head/net/vde2/files/patch-src_vde__pcapplug.c (revision 511146) @@ -0,0 +1,10 @@ +--- src/vde_pcapplug.c.orig 2011-11-23 16:41:18 UTC ++++ src/vde_pcapplug.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + #include + #include Property changes on: head/net/vde2/files/patch-src_vde__pcapplug.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/vde2/pkg-descr =================================================================== --- head/net/vde2/pkg-descr (revision 511145) +++ head/net/vde2/pkg-descr (revision 511146) @@ -1,7 +1,7 @@ Virtual Distributed Ethernet is a user-mode virtual network (layer 2) infrastructure. It can be used for network simulations, joining multiple qemu instances together in a shared virtual network, or tunneling over the Internet. Physical hosts can be joined to the virtual network by means of the tap(4) driver. -WWW: http://vde.sourceforge.net/ +WWW: https://github.com/virtualsquare/vde-2