[arch-commits] Commit in openstack-guest-agents-unix/repos (6 files)

Daniel Wallace dwallace at archlinux.org
Wed Feb 18 15:11:56 UTC 2015


    Date: Wednesday, February 18, 2015 @ 16:11:56
  Author: dwallace
Revision: 127927

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

Added:
  openstack-guest-agents-unix/repos/community-i686/PKGBUILD
    (from rev 127926, openstack-guest-agents-unix/trunk/PKGBUILD)
  openstack-guest-agents-unix/repos/community-i686/default-source.patch
    (from rev 127926, openstack-guest-agents-unix/trunk/default-source.patch)
  openstack-guest-agents-unix/repos/community-x86_64/PKGBUILD
    (from rev 127926, openstack-guest-agents-unix/trunk/PKGBUILD)
  openstack-guest-agents-unix/repos/community-x86_64/default-source.patch
    (from rev 127926, openstack-guest-agents-unix/trunk/default-source.patch)
Deleted:
  openstack-guest-agents-unix/repos/community-i686/PKGBUILD
  openstack-guest-agents-unix/repos/community-x86_64/PKGBUILD

---------------------------------------+
 /PKGBUILD                             |   78 ++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD               |   39 ----------------
 community-i686/default-source.patch   |   13 +++++
 community-x86_64/PKGBUILD             |   39 ----------------
 community-x86_64/default-source.patch |   13 +++++
 5 files changed, 104 insertions(+), 78 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-02-18 15:11:26 UTC (rev 127926)
+++ community-i686/PKGBUILD	2015-02-18 15:11:56 UTC (rev 127927)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-pkgname=openstack-guest-agents-unix
-pkgver=1.39.0
-epoch=1
-pkgrel=3
-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')
-options=(!emptydirs)
-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 --prefix=/usr --sbindir=/usr/bin --bindir=/usr/bin
-  make sbindir=/usr/bin/
-}
-
-package() {
-  make -C "$srcdir/$pkgname" bintar
-  tar -C "$pkgdir" -xf $srcdir/$pkgname/nova-agent-Linux-$CARCH-${pkgver}.tar.gz
-  install -dm755 $pkgdir/usr/bin
-  mv $pkgdir/usr/sbin/* $pkgdir/usr/bin/
-  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-i686/PKGBUILD (from rev 127926, openstack-guest-agents-unix/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-18 15:11:56 UTC (rev 127927)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+pkgname=openstack-guest-agents-unix
+pkgver=1.39.1
+epoch=1
+pkgrel=1
+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')
+options=(!emptydirs)
+source=("$pkgname::git://github.com/rackerlabs/${pkgname%-git}#tag=$pkgver" 'default-source.patch')
+md5sums=('SKIP'
+         'b23830e3ea12db0b5e9568df02629e7e')
+
+prepare(){
+  cd "$srcdir/$pkgname"
+  git apply $srcdir/default-source.patch
+  find . -name \*.py -exec sed -i '1s/python$/&2/' {} +
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  sh autogen.sh
+  ./configure CC=gcc --prefix=/usr --sbindir=/usr/bin --bindir=/usr/bin
+  make sbindir=/usr/bin/
+}
+
+package() {
+  make -C "$srcdir/$pkgname" bintar
+  tar -C "$pkgdir" -xf $srcdir/$pkgname/nova-agent-Linux-$CARCH-${pkgver}.tar.gz
+  install -dm755 $pkgdir/usr/bin
+  mv $pkgdir/usr/sbin/* $pkgdir/usr/bin/
+  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-i686/default-source.patch (from rev 127926, openstack-guest-agents-unix/trunk/default-source.patch)
===================================================================
--- community-i686/default-source.patch	                        (rev 0)
+++ community-i686/default-source.patch	2015-02-18 15:11:56 UTC (rev 127927)
@@ -0,0 +1,13 @@
+diff --git a/lib/agentlib.c b/lib/agentlib.c
+index cced430..9398ca1 100644
+--- a/lib/agentlib.c
++++ b/lib/agentlib.c
+@@ -17,7 +17,7 @@
+  *    under the License.
+  */
+ 
+-#define _BSD_SOURCE
++#define _DEFAULT_SOURCE
+ 
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-02-18 15:11:26 UTC (rev 127926)
+++ community-x86_64/PKGBUILD	2015-02-18 15:11:56 UTC (rev 127927)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-pkgname=openstack-guest-agents-unix
-pkgver=1.39.0
-epoch=1
-pkgrel=3
-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')
-options=(!emptydirs)
-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 --prefix=/usr --sbindir=/usr/bin --bindir=/usr/bin
-  make sbindir=/usr/bin/
-}
-
-package() {
-  make -C "$srcdir/$pkgname" bintar
-  tar -C "$pkgdir" -xf $srcdir/$pkgname/nova-agent-Linux-$CARCH-${pkgver}.tar.gz
-  install -dm755 $pkgdir/usr/bin
-  mv $pkgdir/usr/sbin/* $pkgdir/usr/bin/
-  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 127926, openstack-guest-agents-unix/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-18 15:11:56 UTC (rev 127927)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+pkgname=openstack-guest-agents-unix
+pkgver=1.39.1
+epoch=1
+pkgrel=1
+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')
+options=(!emptydirs)
+source=("$pkgname::git://github.com/rackerlabs/${pkgname%-git}#tag=$pkgver" 'default-source.patch')
+md5sums=('SKIP'
+         'b23830e3ea12db0b5e9568df02629e7e')
+
+prepare(){
+  cd "$srcdir/$pkgname"
+  git apply $srcdir/default-source.patch
+  find . -name \*.py -exec sed -i '1s/python$/&2/' {} +
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  sh autogen.sh
+  ./configure CC=gcc --prefix=/usr --sbindir=/usr/bin --bindir=/usr/bin
+  make sbindir=/usr/bin/
+}
+
+package() {
+  make -C "$srcdir/$pkgname" bintar
+  tar -C "$pkgdir" -xf $srcdir/$pkgname/nova-agent-Linux-$CARCH-${pkgver}.tar.gz
+  install -dm755 $pkgdir/usr/bin
+  mv $pkgdir/usr/sbin/* $pkgdir/usr/bin/
+  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/default-source.patch (from rev 127926, openstack-guest-agents-unix/trunk/default-source.patch)
===================================================================
--- community-x86_64/default-source.patch	                        (rev 0)
+++ community-x86_64/default-source.patch	2015-02-18 15:11:56 UTC (rev 127927)
@@ -0,0 +1,13 @@
+diff --git a/lib/agentlib.c b/lib/agentlib.c
+index cced430..9398ca1 100644
+--- a/lib/agentlib.c
++++ b/lib/agentlib.c
+@@ -17,7 +17,7 @@
+  *    under the License.
+  */
+ 
+-#define _BSD_SOURCE
++#define _DEFAULT_SOURCE
+ 
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>



More information about the arch-commits mailing list