diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-16 04:10:38 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-16 04:10:38 +0000 |
commit | 4f73192c45f7b9615f06144dcb71f8450d39b7fb (patch) | |
tree | cf3d6e41a808634a6b55e09464f37bea02cf4e7f /community/openvswitch | |
parent | 85be6f08e6368a31e9f971c043b11e8c12ce6545 (diff) |
Fri May 16 04:04:53 UTC 2014
Diffstat (limited to 'community/openvswitch')
-rw-r--r-- | community/openvswitch/PKGBUILD | 29 | ||||
-rw-r--r-- | community/openvswitch/openvswitch.install | 4 |
2 files changed, 7 insertions, 26 deletions
diff --git a/community/openvswitch/PKGBUILD b/community/openvswitch/PKGBUILD index d7f88b1d0..0744a8164 100644 --- a/community/openvswitch/PKGBUILD +++ b/community/openvswitch/PKGBUILD @@ -1,44 +1,27 @@ -# $Id: PKGBUILD 110682 2014-05-05 09:14:44Z spupykin $ +# $Id: PKGBUILD 111252 2014-05-15 14:55:44Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Pedro Martinez-Julia (pedromj@um.es) # Contributor: Matt Monaco <net 0x01b dgbaley27> pkgname=openvswitch pkgver=2.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Production Quality, Multilayer Open Virtual Switch" url="http://openvswitch.org" license=('APACHE') arch=(x86_64 i686) install=openvswitch.install source=("http://openvswitch.org/releases/openvswitch-$pkgver.tar.gz" - openvswitch.install openvswitch.tmpfiles ovsdb-server.service ovs-vswitchd.service) depends=('openssl') makedepends=('python2') optdepends=('python2') -sha256sums=('014907bcf2f98228dfa4472ea1547871d24b8fb8192dcfff3ead1af93c433a67' - '9d30ed859214f4cdeb6b6450d5c5defaf31f2c593c05201109df66fa9373ef0c' - 'e8dc21e50fc886bfd6aa55991bdb3cb66907e11b071045452bb12de01a3ecbd9' - '5900728bca0292ec66e6da234eaa6f32f28ead6bda163d89a480eac08558c657' - 'c2cb5e2685240ea50b1aba4e77784f4dd66d157e7cd05a17853868aa8d8a2a45') -sha256sums=('a032fcc3becd98802b4816488cb3a2441b6b88b510ec28a929e756f948eb48c0' - '9d30ed859214f4cdeb6b6450d5c5defaf31f2c593c05201109df66fa9373ef0c' - 'e8dc21e50fc886bfd6aa55991bdb3cb66907e11b071045452bb12de01a3ecbd9' - '5900728bca0292ec66e6da234eaa6f32f28ead6bda163d89a480eac08558c657' - 'c2cb5e2685240ea50b1aba4e77784f4dd66d157e7cd05a17853868aa8d8a2a45') -sha256sums=('43f228ac145f682a7c6681bae7b9bee004fcdd9d4a4503d87ca65c0e9fe1a04b' - '9d30ed859214f4cdeb6b6450d5c5defaf31f2c593c05201109df66fa9373ef0c' - 'e8dc21e50fc886bfd6aa55991bdb3cb66907e11b071045452bb12de01a3ecbd9' - '5900728bca0292ec66e6da234eaa6f32f28ead6bda163d89a480eac08558c657' - 'c2cb5e2685240ea50b1aba4e77784f4dd66d157e7cd05a17853868aa8d8a2a45') -sha256sums=('875429b052c4001815b6cb38616c7a6cb212df4bba74602164ee0a99b172079b' - '9d30ed859214f4cdeb6b6450d5c5defaf31f2c593c05201109df66fa9373ef0c' - 'e8dc21e50fc886bfd6aa55991bdb3cb66907e11b071045452bb12de01a3ecbd9' - '5900728bca0292ec66e6da234eaa6f32f28ead6bda163d89a480eac08558c657' - 'c2cb5e2685240ea50b1aba4e77784f4dd66d157e7cd05a17853868aa8d8a2a45') +md5sums=('430ff6d1e1fc81e9c5ebc2e641cfc953' + '0534c19ed27d2ff8c6b32d87c07bc76f' + '69b29d231bcc3002528fd29f1f78a37f' + 'c5338742b6667f7be611176afe209230') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/openvswitch/openvswitch.install b/community/openvswitch/openvswitch.install index a64353d02..b9ee27005 100644 --- a/community/openvswitch/openvswitch.install +++ b/community/openvswitch/openvswitch.install @@ -1,14 +1,12 @@ post_install() { - if [[ ! -f etc/openvswitch/conf.db ]]; then - cmd=(ovsdb-tool create etc/openvswitch/conf.db usr/share/openvswitch/vswitch.ovsschema) - printf "Running: %s\n" "${cmd[*]}" "${cmd[@]}" fi + systemd-tmpfiles --create openvswitch.conf } post_upgrade() { |