[arch-commits] Commit in openstack-guest-agents-unix (5 files)

Daniel Wallace dwallace at nymeria.archlinux.org
Sat Apr 26 23:24:46 UTC 2014


    Date: Sunday, April 27, 2014 @ 01:24:46
  Author: dwallace
Revision: 110208

archrelease: copy trunk to community-i686, community-x86_64

Added:
  openstack-guest-agents-unix/repos/
  openstack-guest-agents-unix/repos/community-i686/
  openstack-guest-agents-unix/repos/community-i686/PKGBUILD
    (from rev 110207, openstack-guest-agents-unix/trunk/PKGBUILD)
  openstack-guest-agents-unix/repos/community-x86_64/
  openstack-guest-agents-unix/repos/community-x86_64/PKGBUILD
    (from rev 110207, openstack-guest-agents-unix/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: openstack-guest-agents-unix/repos/community-i686/PKGBUILD (from rev 110207, openstack-guest-agents-unix/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2014-04-26 23:24:46 UTC (rev 110208)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+pkgname=openstack-guest-agents-unix
+pkgver=1.39.0
+epoch=1
+pkgrel=2
+pkgdesc="This is the Unix Guest Agent for Openstack"
+arch=('i686' 'x86_64')
+url="https://github.com/rackerlabs/openstack-guest-agents-unix"
+license=('GPL')
+depends=('python2-simplejson' 'python2-crypto' 'patchelf' 'python2-xenstore')
+makedepends=('git')
+source=("$pkgname::git://github.com/rackerlabs/${pkgname%-git}#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare(){
+  cd "$srcdir/$pkgname"
+  find . -name \*.py -exec sed -i '1s/python$/&2/' {} +
+  git cherry-pick -n 387d4e77695598a07be9e4593c5b236b81a1aeea
+  git cherry-pick -n f9a365e7a9543d407ca9d75164688faa0ff53528
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  sh autogen.sh
+  ./configure CC=gcc --sbindir=/usr/bin
+  make
+}
+
+package() {
+  make -C "$srcdir/$pkgname" bintar
+  tar -C "$pkgdir" -xf $srcdir/$pkgname/nova-agent-Linux-$CARCH-${pkgver}.tar.gz
+  install -Dm644 $pkgname/scripts/systemd/nova-agent.service \
+    $pkgdir/usr/lib/systemd/system/nova-agent.service
+}
+
+# vim:set ts=2 sw=2 et:

Copied: openstack-guest-agents-unix/repos/community-x86_64/PKGBUILD (from rev 110207, openstack-guest-agents-unix/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2014-04-26 23:24:46 UTC (rev 110208)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+pkgname=openstack-guest-agents-unix
+pkgver=1.39.0
+epoch=1
+pkgrel=2
+pkgdesc="This is the Unix Guest Agent for Openstack"
+arch=('i686' 'x86_64')
+url="https://github.com/rackerlabs/openstack-guest-agents-unix"
+license=('GPL')
+depends=('python2-simplejson' 'python2-crypto' 'patchelf' 'python2-xenstore')
+makedepends=('git')
+source=("$pkgname::git://github.com/rackerlabs/${pkgname%-git}#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare(){
+  cd "$srcdir/$pkgname"
+  find . -name \*.py -exec sed -i '1s/python$/&2/' {} +
+  git cherry-pick -n 387d4e77695598a07be9e4593c5b236b81a1aeea
+  git cherry-pick -n f9a365e7a9543d407ca9d75164688faa0ff53528
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  sh autogen.sh
+  ./configure CC=gcc --sbindir=/usr/bin
+  make
+}
+
+package() {
+  make -C "$srcdir/$pkgname" bintar
+  tar -C "$pkgdir" -xf $srcdir/$pkgname/nova-agent-Linux-$CARCH-${pkgver}.tar.gz
+  install -Dm644 $pkgname/scripts/systemd/nova-agent.service \
+    $pkgdir/usr/lib/systemd/system/nova-agent.service
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list