summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Jobin2018-01-30 23:23:48 +0900
committerMathieu Jobin2018-01-30 23:31:52 +0900
commitd8ce2e3a6b068a663a3d25ec8e9110f6c248b1ec (patch)
treefa18938e424565737e7cee463f3a20e0f9910000
parentf3c253b4402890925503dd95efd9c3643e41344c (diff)
downloadaur-d8ce2e3a6b068a663a3d25ec8e9110f6c248b1ec.tar.gz
build beta branch
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD23
2 files changed, 10 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1f3c19f78ea..4f09f5e2691 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
-pkgbase = netvirt-agent-git
+pkgbase = netvirt-agent-beta-git
pkgdesc = NetVirt is an open source network virtualization platform (NVP).
- pkgver = 0.6.r20.g3798298
+ pkgver = 0.99.r20.g3798298
pkgrel = 3798298
url = http://netvirt.org
arch = i686
@@ -9,9 +9,8 @@ pkgbase = netvirt-agent-git
makedepends = git
makedepends = scons
makedepends = cmake
- makedepends = libcap
source = netvirt-agent-git::git+https://github.com/netvirt/netvirt.git
md5sums = SKIP
-pkgname = netvirt-agent-git
+pkgname = netvirt-agent-beta-git
diff --git a/PKGBUILD b/PKGBUILD
index 8df5778e831..aa9b8534226 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: somekool <somekool _ at _ gmail _ dot _com>
-pkgname=netvirt-agent-git
-srcgiturl=https://github.com/mathieujobin/netvirt
-pkgver=v0.6.r173.758f816
+pkgname=netvirt-agent-beta-git
+srcgiturl=https://github.com/netvirt/netvirt
+pkgver=v0.6.r174.gfc16fbe
pkgrel=1
pkgdesc="NetVirt is an open source network virtualization platform (NVP)."
arch=('i686' 'x86_64')
url="http://netvirt.org"
license=('GPLv3')
depends=()
-optdepends=()
-makedepends=('git' 'scons' 'cmake' 'libcap') # 'libqt4-dev' 'libssl-dev')
+optdepends=('qt4')
+makedepends=('git' 'scons' 'cmake' 'libevent' 'openssl')
source=("${pkgname}::git+${srcgiturl}.git")
md5sums=('SKIP')
@@ -25,18 +25,9 @@ pkgver() {
prepare() {
cd ${srcdir}/${pkgname}
set -e
+ git checkout proto1.2
git submodule update --init --recursive
- pushd udt4
- make > /dev/null
- popd
-
- pushd libconfig
- #fix_libconfig_git
- [ ! -f Makefile ] && ./configure
- make > /dev/null
- popd
-
pushd tapcfg
./buildall.sh linuxonly || true > /dev/null
popd
@@ -48,7 +39,7 @@ build() {
[ -d ${srcdir}/${pkgname}/build ] && rm -fr ${srcdir}/${pkgname}/build
mkdir ${srcdir}/${pkgname}/build
cd ${srcdir}/${pkgname}/build
- cmake .. -DCMAKE_INSTALL_PREFIX:PATH=${pkgdir}/usr -DWITH_GUI=OFF -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so -DOPENSSL_ROOT_DIR=/usr/lib/openssl-1.0 -DOPENSSL_LIBRARIES=/usr/lib/openssl-1.0
+ cmake .. -DCMAKE_INSTALL_PREFIX:PATH=${pkgdir}/usr -DWITH_GUI=OFF
make nvagent
echo ======================== build completed ========================
}