summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoka2017-12-26 22:26:44 +0100
committerjoka2017-12-26 22:26:44 +0100
commit244adff4b180945b04b97408f27cc223d7518d74 (patch)
tree0fd19eba31a4dad5328b941ee5eee730f548772d
parenta236c8a1abb4508387f8e84780ae928d355a6b6d (diff)
downloadaur-244adff4b180945b04b97408f27cc223d7518d74.tar.gz
libvirt enabled version of containernet
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD18
-rw-r--r--containernet-libvirt-git.install (renamed from containernet-git.install)0
3 files changed, 21 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9503d60ff3a..0ddffc6c664 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
-pkgbase = containernet-git
- pkgdesc = Mininet with added Docker support
+pkgbase = containernet-libvirt-git
+ pkgdesc = Mininet with added Docker, and libvirt support
pkgver = 20171220
pkgrel = 1
url = https://github.com/containernet/containernet/
- install = containernet-git.install
+ install = containernet-libvirt-git.install
arch = i686
arch = x86_64
license = custom
@@ -22,10 +22,14 @@ pkgbase = containernet-git
depends = python2-urllib3
depends = python-iptables
optdepends = xorg-xhost
+ optdepends = libvirt-python: needed for libvirt support
+ optdepends = libvirt: needed for libvirt support
+ optdepends = qemu: for running VMs using qemu
+ optdepends = python2-paramiko: for the SSH management network
provides = mininet
conflicts = mininet
- source = containernet-git::git+http://github.com/containernet/containernet
+ source = containernet-libvirt-git::git+http://github.com/containernet/containernet#branch=libvirt_support
md5sums = SKIP
-pkgname = containernet-git
+pkgname = containernet-libvirt-git
diff --git a/PKGBUILD b/PKGBUILD
index 6651c7a0edc..dbd8efebc2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,26 @@
# Contributor: Pedro Martinez-Julia <pedromj@gmail.com>
# Contributor: Walter Dworak <preparationh67@gmail.com>
-pkgname=containernet-git
-pkgver=20171220
+pkgname=containernet-libvirt-git
+pkgver=20171217
pkgrel=1
-pkgdesc="Mininet with added Docker support"
+pkgdesc="Mininet with added Docker, and libvirt support"
url="https://github.com/containernet/containernet/"
license=('custom')
-depends=('bash' 'python2' 'python2-networkx' 'net-tools' 'iputils' 'iperf' 'openvswitch' 'docker' 'python2-pytest' 'python2-urllib3' 'python-iptables')
+depends=('bash' 'python2' 'python2-networkx' 'net-tools' 'iputils' 'iperf' 'openvswitch' 'docker' 'python2-pytest' 'python2-urllib3' 'python-iptables')
provides=('mininet')
-optdepends=('xorg-xhost')
+optdepends=(
+ 'xorg-xhost'
+ 'libvirt-python2: needed for libvirt support'
+ 'libvirt: needed for libvirt support'
+ 'qemu: for running VMs using qemu'
+ 'python2-paramiko: for the SSH management network'
+)
makedepends=('help2man' 'python2-setuptools' 'git')
install="${pkgname}.install"
arch=('i686' 'x86_64')
conflicts=('mininet')
-source=("$pkgname::git+http://github.com/containernet/containernet")
+source=("$pkgname::git+http://github.com/containernet/containernet#branch=libvirt_support")
md5sums=('SKIP')
prepare () {
diff --git a/containernet-git.install b/containernet-libvirt-git.install
index 404cf69e3b7..404cf69e3b7 100644
--- a/containernet-git.install
+++ b/containernet-libvirt-git.install