aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-08-15 12:46:58 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-08-15 12:46:58 +0200
commit457325442c60430be7661e0986c9c945f00d6379 (patch)
tree537cc2cc5e18b343a135ea5eb8570167ab49af85
parent9337c0511310b03e5b75b968ca58ced5667d3883 (diff)
downloadaports-457325442c60430be7661e0986c9c945f00d6379.tar.bz2
aports-457325442c60430be7661e0986c9c945f00d6379.tar.xz
testing/openvswitch: upgrade to 2.3.0
-rw-r--r--testing/openvswitch/APKBUILD36
1 files changed, 20 insertions, 16 deletions
diff --git a/testing/openvswitch/APKBUILD b/testing/openvswitch/APKBUILD
index 3a63228f60..41534fcaa5 100644
--- a/testing/openvswitch/APKBUILD
+++ b/testing/openvswitch/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=openvswitch
-pkgver=2.1.2
+pkgver=2.3.0
pkgrel=0
pkgdesc="A production quality, multilayer virtual switch - includes Kernel Modules for best performance."
url="http://openvswitch.org/"
@@ -9,8 +9,7 @@ arch="all"
license="GPL"
depends=""
depends_dev="openssl-dev"
-depends_monitor="py-twisted py-twisted-web2 py-qt"
-makedepends="perl $depends_dev $depends_monitor"
+makedepends="$depends_dev perl python"
install="openvswitch.post-install openvswitch.post-upgrade"
subpackages="$pkgname-doc $pkgname-monitor"
source="http://openvswitch.org/releases/$pkgname-$pkgver.tar.gz
@@ -37,8 +36,6 @@ prepare() {
build() {
cd "$_builddir"
- ./boot.sh \
- ./configure # must be run twice to generate & update makefile or build fails
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -46,13 +43,15 @@ build() {
--localstatedir=/var \
--enable-ndebug \
|| return 1
- make CONFIG_DEBUG_SECTION_MISMATCH=y || return 1
+ make || return 1
}
monitor() {
- depends="openvswitch $depends_monitor"
+ depends="openvswitch py-twisted py-twisted-web2 py-qt"
+ arch="noarch"
mkdir -p "$subpkgdir"/usr/share/openvswitch
- mv "$pkgdir"/usr/share/openvswitch/python "$subpkgdir"/usr/share/openvswitch/python
+ mv "$pkgdir"/usr/share/openvswitch/python \
+ "$subpkgdir"/usr/share/openvswitch/python
}
package() {
@@ -60,28 +59,33 @@ package() {
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
rm -f "$pkgdir"/usr/lib/*.a
- install -Dm755 "$srcdir"/ovsdb-server.initd "$pkgdir"/etc/init.d/ovsdb-server
- install -Dm755 "$srcdir"/ovs-vswitchd.initd "$pkgdir"/etc/init.d/ovs-vswitchd
- install -Dm755 "$srcdir"/ovs-modules.initd "$pkgdir"/etc/init.d/ovs-modules
- install -Dm644 "$srcdir"/ovsdb-server.confd "$pkgdir"/etc/conf.d/ovsdb-server
- install -Dm644 "$srcdir"/ovs-vswitchd.confd "$pkgdir"/etc/conf.d/ovs-vswitchd
+ install -Dm755 "$srcdir"/ovsdb-server.initd \
+ "$pkgdir"/etc/init.d/ovsdb-server || return 1
+ install -Dm755 "$srcdir"/ovs-vswitchd.initd \
+ "$pkgdir"/etc/init.d/ovs-vswitchd || return 1
+ install -Dm755 "$srcdir"/ovs-modules.initd \
+ "$pkgdir"/etc/init.d/ovs-modules || return 1
+ install -Dm644 "$srcdir"/ovsdb-server.confd \
+ "$pkgdir"/etc/conf.d/ovsdb-server || return 1
+ install -Dm644 "$srcdir"/ovs-vswitchd.confd \
+ "$pkgdir"/etc/conf.d/ovs-vswitchd
}
-md5sums="430ff6d1e1fc81e9c5ebc2e641cfc953 openvswitch-2.1.2.tar.gz
+md5sums="9c4d1471a56718132e0157af1bfc9310 openvswitch-2.3.0.tar.gz
464eafc0e07aada01495470f5f816f36 ovsdb-server.initd
f10a8ac784654bec359bda52779f16fe ovsdb-server.confd
003297c9ec93877508812332101c2bf5 ovs-vswitchd.initd
2d1e0111ea62779f49e14d62678294b2 ovs-vswitchd.confd
ae128e5c349710c0fb3849b2d3b3aa40 ovs-modules.initd
6e17032bd6e7caf6e6e844b5a84d7080 musl-if_packet.patch"
-sha256sums="875429b052c4001815b6cb38616c7a6cb212df4bba74602164ee0a99b172079b openvswitch-2.1.2.tar.gz
+sha256sums="011052645cd4c7afee2732e87d45e589a0540ac7b7523027d3be2d7c7db7c899 openvswitch-2.3.0.tar.gz
b58a4bdab9ca035a9271067edadb19598985c55820f020d8aefe71b516a3e7f6 ovsdb-server.initd
d0d8a6a7256f4cc47ab1b9f9f7657202388133bcfff3668e7c1d4adbcc572261 ovsdb-server.confd
591d8c10080ba2fa2ddf5bf8da281d931421c95ff728f56fbaa10be7c3d8431c ovs-vswitchd.initd
cc189d5ca24708ff775a4de312df3f611c65714724b8901ec6527c9e3f22e14a ovs-vswitchd.confd
94f4dba5e2ddedb9c91911b02dbfc41a5114e8a5066a8db3ef4444ebb5400173 ovs-modules.initd
d0e9e3e30b2943b10e7efa59c41c3bf8d5b599d55fc99198146bf4761df4d8ae musl-if_packet.patch"
-sha512sums="000a95fc5bbd0bb424db5b3a51d125d22d9a9b7acf717862e86eb506d84680d4ffcca326c969fc88cbb3040da33e940100588a64cb454536e7b8a331b6684ef5 openvswitch-2.1.2.tar.gz
+sha512sums="f3a665bc84d8a6e282928db61ae648a826f273e44e34311a60e6f0e74a6ab10c8410cb374f0ce80abe7c58b9559a97388cdbfe2ef28ac4bedd2f5e52b3cd6ed1 openvswitch-2.3.0.tar.gz
6d660c986666b3f3b052d5ff6a8555c8bf5234fee8c4740d70974b1ac00ee2a0711e931494556290e18fce820ce8f2d4a5f25e40e9c863da9b639c18c0515763 ovsdb-server.initd
b1588d076bbfc7ef2dd46fce8e46186f40cbbc4667697f7ac13ddc68e34568fdab315fde47838de7f6d32916853190336cfe3735f672ad7cb624ae14dbff55a5 ovsdb-server.confd
3d493047a6729b7e0742438de828a2530acbcdac9c1c410786bf1eefb5e9f09850fb479f45245f550d1077146d4545fb91a845ae79f673b6c1c2902220920e33 ovs-vswitchd.initd