1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

net/vde2: fix build error: use of undeclared identifier 'BIOCSHDRCMPLT'

- fix build
- change WWW to github
- pet portlint

PR:		229525
Reported by:	O. Hartmann <ohartmann@walstatt.org>
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
This commit is contained in:
Kurt Jaeger 2019-09-04 19:05:22 +00:00
parent b213a9a8cd
commit bfee28c0e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511146
4 changed files with 21 additions and 9 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= vde2
PORTVERSION= 2.3.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF/vde/${PORTNAME}/${PORTVERSION}
@ -13,13 +13,15 @@ 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
@ -28,7 +30,7 @@ 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

View File

@ -1,6 +1,6 @@
--- 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);

View File

@ -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 <errno.h>
#include <string.h>
#include <sys/ioctl.h>
+#include <net/bpf.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>

View File

@ -4,4 +4,4 @@ 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