diff --git a/common/shlibs b/common/shlibs index 0effa3cd1ca..e6178540327 100644 --- a/common/shlibs +++ b/common/shlibs @@ -981,3 +981,6 @@ libminiupnpc.so.8 miniupnpc-1.6_1 libxbps.so.0 libxbps-0.16.3_2 libatf-c.so.0 atf-libs-0.16_1 libatf-c++.so.0 atf-libs-0.16_1 +libvdeplug.so.3 libvde2-2.3.2_1 +libvdemgmt.so.0 libvde2-2.3.2_1 +libvdehist.so.0 libvde2-2.3.2_1 diff --git a/srcpkgs/libvde2 b/srcpkgs/libvde2 new file mode 120000 index 00000000000..d61c81b1776 --- /dev/null +++ b/srcpkgs/libvde2 @@ -0,0 +1 @@ +vde2 \ No newline at end of file diff --git a/srcpkgs/vde2-devel b/srcpkgs/vde2-devel new file mode 120000 index 00000000000..d61c81b1776 --- /dev/null +++ b/srcpkgs/vde2-devel @@ -0,0 +1 @@ +vde2 \ No newline at end of file diff --git a/srcpkgs/vde2/libvde2.rshlibs b/srcpkgs/vde2/libvde2.rshlibs new file mode 100644 index 00000000000..d02f93f9161 --- /dev/null +++ b/srcpkgs/vde2/libvde2.rshlibs @@ -0,0 +1,2 @@ +libdl.so.2 +libc.so.6 diff --git a/srcpkgs/vde2/libvde2.template b/srcpkgs/vde2/libvde2.template new file mode 100644 index 00000000000..784a1867078 --- /dev/null +++ b/srcpkgs/vde2/libvde2.template @@ -0,0 +1,10 @@ +# Template file for 'libvde2'. +# +short_desc="${short_desc} -- runtime libraries" +long_desc="${long_desc} + + This package contains the runtime shared libraries." + +do_install() { + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/vde2/template b/srcpkgs/vde2/template new file mode 100644 index 00000000000..1800d933295 --- /dev/null +++ b/srcpkgs/vde2/template @@ -0,0 +1,30 @@ +# Template file for 'vde2' +pkgname=vde2 +version=2.3.2 +revision=1 +build_style=gnu-configure +disable_parallel_build=yes +configure_args="--disable-static --enable-experimental +--disable-python --enable-kernel-switch" +makedepends="libpcap-devel openssl-devel" +subpackages="libvde2 vde2-devel" +short_desc="Virtual Distributed Ethernet" +maintainer="Juan RP " +license="GPL-2, LGPL-2.1, BSD" +homepage="http://sourceforge.net/projects/vde/" +distfiles="${SOURCEFORGE_SITE}/vde/vde2-$version.tar.bz2" +checksum=cbea9b7e03097f87a6b5e98b07890d2275848f1fe4b9fcda77b8994148bc9542 +long_desc=" + VDE is an ethernet compliant virtual network that can be spawned over a set of + physical computer over the Internet." + +conf_files=" +/etc/vdecmd +/etc/libvdemgmt/asyncrecv.rc +/etc/libvdemgmt/closemachine.rc +/etc/libvdemgmt/openmachine.rc +/etc/libvdemgmt/sendcmd.rc" + +post_install() { + vinstall COPYING.slirpvde 644 usr/share/licenses/vde2 +} diff --git a/srcpkgs/vde2/vde2-devel.template b/srcpkgs/vde2/vde2-devel.template new file mode 100644 index 00000000000..a50d96df88e --- /dev/null +++ b/srcpkgs/vde2/vde2-devel.template @@ -0,0 +1,13 @@ +# Template file for 'vde2-devel'. +# +noarch=yes +depends="vde2>=$version" +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/vde2/vde2.rshlibs b/srcpkgs/vde2/vde2.rshlibs new file mode 100644 index 00000000000..05ad0f08036 --- /dev/null +++ b/srcpkgs/vde2/vde2.rshlibs @@ -0,0 +1,8 @@ +libdl.so.2 +libc.so.6 +libpcap.so.1 +libcrypto.so.1 +libm.so.6 +libvdeplug.so.3 +libvdemgmt.so.0 +libvdehist.so.0