[arch-commits] Commit in xe-guest-utilities (25 files)

Daniel Wallace dwallace at nymeria.archlinux.org
Sun May 12 03:10:12 EDT 2013


    Date: Sunday, May 12, 2013 @ 09:10:12
  Author: dwallace
Revision: 90393

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

Added:
  xe-guest-utilities/repos/community-i686/PKGBUILD
    (from rev 90392, xe-guest-utilities/trunk/PKGBUILD)
  xe-guest-utilities/repos/community-i686/ip_address.patch
    (from rev 90392, xe-guest-utilities/trunk/ip_address.patch)
  xe-guest-utilities/repos/community-i686/proc-xen.mount
    (from rev 90392, xe-guest-utilities/trunk/proc-xen.mount)
  xe-guest-utilities/repos/community-i686/tmpfile
    (from rev 90392, xe-guest-utilities/trunk/tmpfile)
  xe-guest-utilities/repos/community-i686/xe-daemon.service
    (from rev 90392, xe-guest-utilities/trunk/xe-daemon.service)
  xe-guest-utilities/repos/community-i686/xe-linux-distribution.service
    (from rev 90392, xe-guest-utilities/trunk/xe-linux-distribution.service)
  xe-guest-utilities/repos/community-x86_64/PKGBUILD
    (from rev 90392, xe-guest-utilities/trunk/PKGBUILD)
  xe-guest-utilities/repos/community-x86_64/ip_address.patch
    (from rev 90392, xe-guest-utilities/trunk/ip_address.patch)
  xe-guest-utilities/repos/community-x86_64/proc-xen.mount
    (from rev 90392, xe-guest-utilities/trunk/proc-xen.mount)
  xe-guest-utilities/repos/community-x86_64/tmpfile
    (from rev 90392, xe-guest-utilities/trunk/tmpfile)
  xe-guest-utilities/repos/community-x86_64/xe-daemon.service
    (from rev 90392, xe-guest-utilities/trunk/xe-daemon.service)
  xe-guest-utilities/repos/community-x86_64/xe-linux-distribution.service
    (from rev 90392, xe-guest-utilities/trunk/xe-linux-distribution.service)
Deleted:
  xe-guest-utilities/repo/
  xe-guest-utilities/repos/community-i686/PKGBUILD
  xe-guest-utilities/repos/community-i686/ip_address.patch
  xe-guest-utilities/repos/community-i686/proc-xen.mount
  xe-guest-utilities/repos/community-i686/tmpfile
  xe-guest-utilities/repos/community-i686/xe-daemon.service
  xe-guest-utilities/repos/community-i686/xe-linux-distribution.service
  xe-guest-utilities/repos/community-x86_64/PKGBUILD
  xe-guest-utilities/repos/community-x86_64/ip_address.patch
  xe-guest-utilities/repos/community-x86_64/proc-xen.mount
  xe-guest-utilities/repos/community-x86_64/tmpfile
  xe-guest-utilities/repos/community-x86_64/xe-daemon.service
  xe-guest-utilities/repos/community-x86_64/xe-linux-distribution.service

------------------------------------------------------+
 /community-i686/PKGBUILD                             |   74 ++++++++++++++++
 /community-i686/ip_address.patch                     |   16 +++
 /community-i686/proc-xen.mount                       |    9 +
 /community-i686/tmpfile                              |    1 
 /community-i686/xe-daemon.service                    |   12 ++
 /community-i686/xe-linux-distribution.service        |   11 ++
 /community-x86_64/PKGBUILD                           |   74 ++++++++++++++++
 /community-x86_64/ip_address.patch                   |   16 +++
 /community-x86_64/proc-xen.mount                     |    9 +
 /community-x86_64/tmpfile                            |    1 
 /community-x86_64/xe-daemon.service                  |   12 ++
 /community-x86_64/xe-linux-distribution.service      |   11 ++
 repos/community-i686/PKGBUILD                        |   77 -----------------
 repos/community-i686/ip_address.patch                |   16 ---
 repos/community-i686/proc-xen.mount                  |    9 -
 repos/community-i686/tmpfile                         |    1 
 repos/community-i686/xe-daemon.service               |   12 --
 repos/community-i686/xe-linux-distribution.service   |   11 --
 repos/community-x86_64/PKGBUILD                      |   77 -----------------
 repos/community-x86_64/ip_address.patch              |   16 ---
 repos/community-x86_64/proc-xen.mount                |    9 -
 repos/community-x86_64/tmpfile                       |    1 
 repos/community-x86_64/xe-daemon.service             |   12 --
 repos/community-x86_64/xe-linux-distribution.service |   11 --
 24 files changed, 246 insertions(+), 252 deletions(-)

Deleted: repos/community-i686/PKGBUILD
===================================================================
--- repos/community-i686/PKGBUILD	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-i686/PKGBUILD	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,77 +0,0 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at code gtmanfred com>
-# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
-# Contributor: Krzysztof Raczkowski <raczkow at gnu-tech.pl>
-
-pkgbase=xe-guest-utilities
-pkgname=('xe-guest-utilities' 'xenstore')
-pkgver=6.1.0
-pkgrel=4
-pkgdesc="Citrix XenServer Tools"
-arch=('i686' 'x86_64')
-url="http://citrix.com/English/ps2/products/product.asp?contentID=683148&ntref=hp_nav_US"
-license=('GPL' 'LGPL')
-makedepends=(python2)
-optdepends=('linux: DomU kernel for x86_64'
-	          'linux-xen: DomU kernel for i686'
-            'kernel-lts-xen: DomU kernel for i686')
-source=("ftp://ftp.archlinux.org/other/community/$pkgbase/${pkgbase}_${pkgver}-1033.tar.gz"
-      	'ip_address.patch'
-        'xe-linux-distribution.service'
-        'xe-daemon.service'
-        'proc-xen.mount'
-        'tmpfile')
-md5sums=('26fd52ffc5ddeb7d3e510e6f272c2860'
-         '9bd39e95384056069f7faa870a28413a'
-         'abf49bd0925142e51ce2875cd5e5ad45'
-         '43264c6954c9c036b260521653ade41f'
-         '3252fa21362fd55246f9d8b923070151'
-         'cadad1eb5b1fa6d5fe463a1a0fd82fff')
-
-prepare(){
-  patch -d $srcdir/$pkgname-$pkgver -Np1 -i $srcdir/ip_address.patch
-  bsdtar xf "$srcdir/$pkgname-$pkgver/xenstore-sources.tar.bz2"
-}
-
-build() {
-  export CC=gcc
-  CFLAGS='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
-  export CFLAGS
-  export PYTHON=python2
-  cd "$srcdir/uclibc-sources"
-  make -C tools/include
-  make -C tools/libxc
-  make -C tools/xenstore
-}
-
-package_xenstore() {
-  depends=(bzip2 lzo2 zlib xz)
-  export CFLAGS+='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
-  if [[ $CARCH == x86_64 ]]; then
-    export LIBLEAFDIR_x86_64=lib
-  fi
-  for f in include libxc xenstore; do
-    [[ ! -d "$srcdir"/uclibc-sources/tools/$f ]] && continue
-    make -C ""$srcdir"/uclibc-sources/tools/$f" DESTDIR="$pkgdir" install
-  done
-  cd "$srcdir/$pkgbase-$pkgver"
-  install -Dm644 "COPYING.LGPL" "$pkgdir/usr/share/licenses/$pkgname/COPYING.LGPL"
-  install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-  install -Dm644 $srcdir/proc-xen.mount "$pkgdir/usr/lib/systemd/system/proc-xen.mount"
-  install -Dm644 $srcdir/tmpfile "$pkgdir/usr/lib/tmpfiles.d/30-xenstored.conf"
-  rm -r "$pkgdir"/var
-}
-
-package_xe-guest-utilities(){
-  cd "$srcdir/$pkgname-$pkgver"
-  depends=('xenstore' 'bash')
-  install -Dm755 xe-linux-distribution "$pkgdir/usr/sbin/xe-linux-distribution"
-  install -Dm755 xe-update-guest-attrs "$pkgdir/usr/sbin/xe-update-guest-attrs"
-  install -Dm755 xe-daemon "$pkgdir/usr/sbin/xe-daemon"
-  install -Dm644 xen-vcpu-hotplug.rules "$pkgdir/usr/lib/udev/rules.d/10-xen-vcpu-hotplug.rules"
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-  install -Dm644 $srcdir/xe-daemon.service "$pkgdir/usr/lib/systemd/system/xe-daemon.service"
-  install -Dm644 $srcdir/xe-linux-distribution.service "$pkgdir/usr/lib/systemd/system/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xe-guest-utilities/repos/community-i686/PKGBUILD (from rev 90392, xe-guest-utilities/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at code gtmanfred com>
+# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
+# Contributor: Krzysztof Raczkowski <raczkow at gnu-tech.pl>
+
+pkgbase=xe-guest-utilities
+pkgname=('xe-guest-utilities' 'xenstore')
+pkgver=6.1.0
+pkgrel=5
+pkgdesc="Citrix XenServer Tools"
+arch=('i686' 'x86_64')
+url="http://citrix.com/English/ps2/products/product.asp?contentID=683148&ntref=hp_nav_US"
+license=('GPL' 'LGPL')
+makedepends=(python2)
+source=("ftp://ftp.archlinux.org/other/community/$pkgbase/${pkgbase}_${pkgver}-1033.tar.gz"
+      	'ip_address.patch'
+        'xe-linux-distribution.service'
+        'xe-daemon.service'
+        'proc-xen.mount'
+        'tmpfile')
+md5sums=('26fd52ffc5ddeb7d3e510e6f272c2860'
+         '9bd39e95384056069f7faa870a28413a'
+         '95064a7d8a32cd3aaca14e3b48c69599'
+         '173fed74c76817702b062ed653002db0'
+         '3252fa21362fd55246f9d8b923070151'
+         'cadad1eb5b1fa6d5fe463a1a0fd82fff')
+
+prepare(){
+  patch -d $srcdir/$pkgname-$pkgver -Np1 -i $srcdir/ip_address.patch
+  bsdtar xf "$srcdir/$pkgname-$pkgver/xenstore-sources.tar.bz2"
+}
+
+build() {
+  export CC=gcc
+  CFLAGS='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
+  export CFLAGS
+  export PYTHON=python2
+  cd "$srcdir/uclibc-sources"
+  make -C tools/include
+  make -C tools/libxc
+  make -C tools/xenstore
+}
+
+package_xenstore() {
+  depends=(bzip2 lzo2 zlib xz)
+  export CFLAGS+='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
+  if [[ $CARCH == x86_64 ]]; then
+    export LIBLEAFDIR_x86_64=lib
+  fi
+  for f in include libxc xenstore; do
+    [[ ! -d "$srcdir"/uclibc-sources/tools/$f ]] && continue
+    make -C ""$srcdir"/uclibc-sources/tools/$f" DESTDIR="$pkgdir" SBINDIR=/usr/bin install
+  done
+  cd "$srcdir/$pkgbase-$pkgver"
+  install -Dm644 "COPYING.LGPL" "$pkgdir/usr/share/licenses/$pkgname/COPYING.LGPL"
+  install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 $srcdir/proc-xen.mount "$pkgdir/usr/lib/systemd/system/proc-xen.mount"
+  install -Dm644 $srcdir/tmpfile "$pkgdir/usr/lib/tmpfiles.d/30-xenstored.conf"
+  rm -r "$pkgdir"/var
+}
+
+package_xe-guest-utilities(){
+  cd "$srcdir/$pkgname-$pkgver"
+  depends=('xenstore' 'bash')
+  install -Dm755 xe-linux-distribution "$pkgdir/usr/bin/xe-linux-distribution"
+  install -Dm755 xe-update-guest-attrs "$pkgdir/usr/bin/xe-update-guest-attrs"
+  install -Dm755 xe-daemon "$pkgdir/usr/bin/xe-daemon"
+  install -Dm644 xen-vcpu-hotplug.rules "$pkgdir/usr/lib/udev/rules.d/10-xen-vcpu-hotplug.rules"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 $srcdir/xe-daemon.service "$pkgdir/usr/lib/systemd/system/xe-daemon.service"
+  install -Dm644 $srcdir/xe-linux-distribution.service "$pkgdir/usr/lib/systemd/system/"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: repos/community-i686/ip_address.patch
===================================================================
--- repos/community-i686/ip_address.patch	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-i686/ip_address.patch	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,16 +0,0 @@
-diff -uNr a/xe-update-guest-attrs b/xe-update-guest-attrs
---- a/xe-update-guest-attrs	2012-09-25 12:45:14.000000000 +0200
-+++ b/xe-update-guest-attrs	2012-11-21 16:46:35.000000000 +0100
-@@ -177,9 +177,9 @@
- #           collisions:0 txqueuelen:0 
- #           RX bytes:3604609 (3.4 MiB)  TX bytes:3604609 (3.4 MiB)
- 
--ifs=`/sbin/ifconfig | sed -n -e 's/^\([a-z0-9]\+\).*/name \1/p' \
--    -e 's/.*inet addr:\('$IPADDR_RE'\) .*/ipv4 \1/p' \
--    -e 's+.*inet6 addr: \('$IPADDR6_RE'\)/.*+ipv6 \1+p' | \
-+ifs=`ip addr show | sed -n -e 's/^[[:digit:]]*: \([a-z0-9]*\): .*/name \1 /gp;' \
-+    -e 's/^[[:space:]]\{4\}inet \('${IPADDR_RE}'\)\/.*/ipv4 \1 /gp;' \
-+    -e 's/^[[:space:]]\{4\}inet6 \('${IPADDR6_RE}'\)\/.*/ipv6 \1 /gp;' | \
- while read tag value; do
-     case "${tag}" in
-         name)

Copied: xe-guest-utilities/repos/community-i686/ip_address.patch (from rev 90392, xe-guest-utilities/trunk/ip_address.patch)
===================================================================
--- repos/community-i686/ip_address.patch	                        (rev 0)
+++ repos/community-i686/ip_address.patch	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,16 @@
+diff -uNr a/xe-update-guest-attrs b/xe-update-guest-attrs
+--- a/xe-update-guest-attrs	2012-09-25 12:45:14.000000000 +0200
++++ b/xe-update-guest-attrs	2012-11-21 16:46:35.000000000 +0100
+@@ -177,9 +177,9 @@
+ #           collisions:0 txqueuelen:0 
+ #           RX bytes:3604609 (3.4 MiB)  TX bytes:3604609 (3.4 MiB)
+ 
+-ifs=`/sbin/ifconfig | sed -n -e 's/^\([a-z0-9]\+\).*/name \1/p' \
+-    -e 's/.*inet addr:\('$IPADDR_RE'\) .*/ipv4 \1/p' \
+-    -e 's+.*inet6 addr: \('$IPADDR6_RE'\)/.*+ipv6 \1+p' | \
++ifs=`ip addr show | sed -n -e 's/^[[:digit:]]*: \([a-z0-9]*\): .*/name \1 /gp;' \
++    -e 's/^[[:space:]]\{4\}inet \('${IPADDR_RE}'\)\/.*/ipv4 \1 /gp;' \
++    -e 's/^[[:space:]]\{4\}inet6 \('${IPADDR6_RE}'\)\/.*/ipv6 \1 /gp;' | \
+ while read tag value; do
+     case "${tag}" in
+         name)

Deleted: repos/community-i686/proc-xen.mount
===================================================================
--- repos/community-i686/proc-xen.mount	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-i686/proc-xen.mount	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Mount /proc/xen files
-ConditionPathExists=/proc/xen
-RefuseManualStop=true
-
-[Mount]
-What=xenfs
-Where=/proc/xen
-Type=xenfs

Copied: xe-guest-utilities/repos/community-i686/proc-xen.mount (from rev 90392, xe-guest-utilities/trunk/proc-xen.mount)
===================================================================
--- repos/community-i686/proc-xen.mount	                        (rev 0)
+++ repos/community-i686/proc-xen.mount	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Mount /proc/xen files
+ConditionPathExists=/proc/xen
+RefuseManualStop=true
+
+[Mount]
+What=xenfs
+Where=/proc/xen
+Type=xenfs

Deleted: repos/community-i686/tmpfile
===================================================================
--- repos/community-i686/tmpfile	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-i686/tmpfile	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1 +0,0 @@
-d /run/xenstored 0755 - - -

Copied: xe-guest-utilities/repos/community-i686/tmpfile (from rev 90392, xe-guest-utilities/trunk/tmpfile)
===================================================================
--- repos/community-i686/tmpfile	                        (rev 0)
+++ repos/community-i686/tmpfile	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1 @@
+d /run/xenstored 0755 - - -

Deleted: repos/community-i686/xe-daemon.service
===================================================================
--- repos/community-i686/xe-daemon.service	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-i686/xe-daemon.service	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,12 +0,0 @@
-[Unit]
-Description=xen daemon file
-After=xe-linux-distribution.service
-Requires=proc-xen.mount
-
-[Service]
-PIDFile=/run/xe-daemon.pid
-ExecStart=/usr/sbin/xe-daemon -p /run/xe-daemon.pid
-ExecStop=/bin/pkill -TERM  -F /run/xe-daemon.pid
-
-[Install]
-WantedBy=multi-user.target

Copied: xe-guest-utilities/repos/community-i686/xe-daemon.service (from rev 90392, xe-guest-utilities/trunk/xe-daemon.service)
===================================================================
--- repos/community-i686/xe-daemon.service	                        (rev 0)
+++ repos/community-i686/xe-daemon.service	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,12 @@
+[Unit]
+Description=xen daemon file
+After=xe-linux-distribution.service
+Requires=proc-xen.mount
+
+[Service]
+PIDFile=/run/xe-daemon.pid
+ExecStart=/usr/bin/xe-daemon -p /run/xe-daemon.pid
+ExecStop=/usr/bin/pkill -TERM  -F /run/xe-daemon.pid
+
+[Install]
+WantedBy=multi-user.target

Deleted: repos/community-i686/xe-linux-distribution.service
===================================================================
--- repos/community-i686/xe-linux-distribution.service	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-i686/xe-linux-distribution.service	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,11 +0,0 @@
-[Unit]
-Description=xen linux distribution service
-Before=xend.service
-
-[Service]
-Type=simple
-RemainAfterExit=yes
-ExecStart=/usr/sbin/xe-linux-distribution /var/cache/xe-linux-distribution
-
-[Install]
-WantedBy=multi-user.target

Copied: xe-guest-utilities/repos/community-i686/xe-linux-distribution.service (from rev 90392, xe-guest-utilities/trunk/xe-linux-distribution.service)
===================================================================
--- repos/community-i686/xe-linux-distribution.service	                        (rev 0)
+++ repos/community-i686/xe-linux-distribution.service	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,11 @@
+[Unit]
+Description=xen linux distribution service
+Before=xend.service
+
+[Service]
+Type=simple
+RemainAfterExit=yes
+ExecStart=/usr/bin/xe-linux-distribution /var/cache/xe-linux-distribution
+
+[Install]
+WantedBy=multi-user.target

Deleted: repos/community-x86_64/PKGBUILD
===================================================================
--- repos/community-x86_64/PKGBUILD	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-x86_64/PKGBUILD	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,77 +0,0 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at code gtmanfred com>
-# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
-# Contributor: Krzysztof Raczkowski <raczkow at gnu-tech.pl>
-
-pkgbase=xe-guest-utilities
-pkgname=('xe-guest-utilities' 'xenstore')
-pkgver=6.1.0
-pkgrel=4
-pkgdesc="Citrix XenServer Tools"
-arch=('i686' 'x86_64')
-url="http://citrix.com/English/ps2/products/product.asp?contentID=683148&ntref=hp_nav_US"
-license=('GPL' 'LGPL')
-makedepends=(python2)
-optdepends=('linux: DomU kernel for x86_64'
-	          'linux-xen: DomU kernel for i686'
-            'kernel-lts-xen: DomU kernel for i686')
-source=("ftp://ftp.archlinux.org/other/community/$pkgbase/${pkgbase}_${pkgver}-1033.tar.gz"
-      	'ip_address.patch'
-        'xe-linux-distribution.service'
-        'xe-daemon.service'
-        'proc-xen.mount'
-        'tmpfile')
-md5sums=('26fd52ffc5ddeb7d3e510e6f272c2860'
-         '9bd39e95384056069f7faa870a28413a'
-         'abf49bd0925142e51ce2875cd5e5ad45'
-         '43264c6954c9c036b260521653ade41f'
-         '3252fa21362fd55246f9d8b923070151'
-         'cadad1eb5b1fa6d5fe463a1a0fd82fff')
-
-prepare(){
-  patch -d $srcdir/$pkgname-$pkgver -Np1 -i $srcdir/ip_address.patch
-  bsdtar xf "$srcdir/$pkgname-$pkgver/xenstore-sources.tar.bz2"
-}
-
-build() {
-  export CC=gcc
-  CFLAGS='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
-  export CFLAGS
-  export PYTHON=python2
-  cd "$srcdir/uclibc-sources"
-  make -C tools/include
-  make -C tools/libxc
-  make -C tools/xenstore
-}
-
-package_xenstore() {
-  depends=(bzip2 lzo2 zlib xz)
-  export CFLAGS+='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
-  if [[ $CARCH == x86_64 ]]; then
-    export LIBLEAFDIR_x86_64=lib
-  fi
-  for f in include libxc xenstore; do
-    [[ ! -d "$srcdir"/uclibc-sources/tools/$f ]] && continue
-    make -C ""$srcdir"/uclibc-sources/tools/$f" DESTDIR="$pkgdir" install
-  done
-  cd "$srcdir/$pkgbase-$pkgver"
-  install -Dm644 "COPYING.LGPL" "$pkgdir/usr/share/licenses/$pkgname/COPYING.LGPL"
-  install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-  install -Dm644 $srcdir/proc-xen.mount "$pkgdir/usr/lib/systemd/system/proc-xen.mount"
-  install -Dm644 $srcdir/tmpfile "$pkgdir/usr/lib/tmpfiles.d/30-xenstored.conf"
-  rm -r "$pkgdir"/var
-}
-
-package_xe-guest-utilities(){
-  cd "$srcdir/$pkgname-$pkgver"
-  depends=('xenstore' 'bash')
-  install -Dm755 xe-linux-distribution "$pkgdir/usr/sbin/xe-linux-distribution"
-  install -Dm755 xe-update-guest-attrs "$pkgdir/usr/sbin/xe-update-guest-attrs"
-  install -Dm755 xe-daemon "$pkgdir/usr/sbin/xe-daemon"
-  install -Dm644 xen-vcpu-hotplug.rules "$pkgdir/usr/lib/udev/rules.d/10-xen-vcpu-hotplug.rules"
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-  install -Dm644 $srcdir/xe-daemon.service "$pkgdir/usr/lib/systemd/system/xe-daemon.service"
-  install -Dm644 $srcdir/xe-linux-distribution.service "$pkgdir/usr/lib/systemd/system/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xe-guest-utilities/repos/community-x86_64/PKGBUILD (from rev 90392, xe-guest-utilities/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at code gtmanfred com>
+# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
+# Contributor: Krzysztof Raczkowski <raczkow at gnu-tech.pl>
+
+pkgbase=xe-guest-utilities
+pkgname=('xe-guest-utilities' 'xenstore')
+pkgver=6.1.0
+pkgrel=5
+pkgdesc="Citrix XenServer Tools"
+arch=('i686' 'x86_64')
+url="http://citrix.com/English/ps2/products/product.asp?contentID=683148&ntref=hp_nav_US"
+license=('GPL' 'LGPL')
+makedepends=(python2)
+source=("ftp://ftp.archlinux.org/other/community/$pkgbase/${pkgbase}_${pkgver}-1033.tar.gz"
+      	'ip_address.patch'
+        'xe-linux-distribution.service'
+        'xe-daemon.service'
+        'proc-xen.mount'
+        'tmpfile')
+md5sums=('26fd52ffc5ddeb7d3e510e6f272c2860'
+         '9bd39e95384056069f7faa870a28413a'
+         '95064a7d8a32cd3aaca14e3b48c69599'
+         '173fed74c76817702b062ed653002db0'
+         '3252fa21362fd55246f9d8b923070151'
+         'cadad1eb5b1fa6d5fe463a1a0fd82fff')
+
+prepare(){
+  patch -d $srcdir/$pkgname-$pkgver -Np1 -i $srcdir/ip_address.patch
+  bsdtar xf "$srcdir/$pkgname-$pkgver/xenstore-sources.tar.bz2"
+}
+
+build() {
+  export CC=gcc
+  CFLAGS='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
+  export CFLAGS
+  export PYTHON=python2
+  cd "$srcdir/uclibc-sources"
+  make -C tools/include
+  make -C tools/libxc
+  make -C tools/xenstore
+}
+
+package_xenstore() {
+  depends=(bzip2 lzo2 zlib xz)
+  export CFLAGS+='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
+  if [[ $CARCH == x86_64 ]]; then
+    export LIBLEAFDIR_x86_64=lib
+  fi
+  for f in include libxc xenstore; do
+    [[ ! -d "$srcdir"/uclibc-sources/tools/$f ]] && continue
+    make -C ""$srcdir"/uclibc-sources/tools/$f" DESTDIR="$pkgdir" SBINDIR=/usr/bin install
+  done
+  cd "$srcdir/$pkgbase-$pkgver"
+  install -Dm644 "COPYING.LGPL" "$pkgdir/usr/share/licenses/$pkgname/COPYING.LGPL"
+  install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 $srcdir/proc-xen.mount "$pkgdir/usr/lib/systemd/system/proc-xen.mount"
+  install -Dm644 $srcdir/tmpfile "$pkgdir/usr/lib/tmpfiles.d/30-xenstored.conf"
+  rm -r "$pkgdir"/var
+}
+
+package_xe-guest-utilities(){
+  cd "$srcdir/$pkgname-$pkgver"
+  depends=('xenstore' 'bash')
+  install -Dm755 xe-linux-distribution "$pkgdir/usr/bin/xe-linux-distribution"
+  install -Dm755 xe-update-guest-attrs "$pkgdir/usr/bin/xe-update-guest-attrs"
+  install -Dm755 xe-daemon "$pkgdir/usr/bin/xe-daemon"
+  install -Dm644 xen-vcpu-hotplug.rules "$pkgdir/usr/lib/udev/rules.d/10-xen-vcpu-hotplug.rules"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 $srcdir/xe-daemon.service "$pkgdir/usr/lib/systemd/system/xe-daemon.service"
+  install -Dm644 $srcdir/xe-linux-distribution.service "$pkgdir/usr/lib/systemd/system/"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: repos/community-x86_64/ip_address.patch
===================================================================
--- repos/community-x86_64/ip_address.patch	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-x86_64/ip_address.patch	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,16 +0,0 @@
-diff -uNr a/xe-update-guest-attrs b/xe-update-guest-attrs
---- a/xe-update-guest-attrs	2012-09-25 12:45:14.000000000 +0200
-+++ b/xe-update-guest-attrs	2012-11-21 16:46:35.000000000 +0100
-@@ -177,9 +177,9 @@
- #           collisions:0 txqueuelen:0 
- #           RX bytes:3604609 (3.4 MiB)  TX bytes:3604609 (3.4 MiB)
- 
--ifs=`/sbin/ifconfig | sed -n -e 's/^\([a-z0-9]\+\).*/name \1/p' \
--    -e 's/.*inet addr:\('$IPADDR_RE'\) .*/ipv4 \1/p' \
--    -e 's+.*inet6 addr: \('$IPADDR6_RE'\)/.*+ipv6 \1+p' | \
-+ifs=`ip addr show | sed -n -e 's/^[[:digit:]]*: \([a-z0-9]*\): .*/name \1 /gp;' \
-+    -e 's/^[[:space:]]\{4\}inet \('${IPADDR_RE}'\)\/.*/ipv4 \1 /gp;' \
-+    -e 's/^[[:space:]]\{4\}inet6 \('${IPADDR6_RE}'\)\/.*/ipv6 \1 /gp;' | \
- while read tag value; do
-     case "${tag}" in
-         name)

Copied: xe-guest-utilities/repos/community-x86_64/ip_address.patch (from rev 90392, xe-guest-utilities/trunk/ip_address.patch)
===================================================================
--- repos/community-x86_64/ip_address.patch	                        (rev 0)
+++ repos/community-x86_64/ip_address.patch	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,16 @@
+diff -uNr a/xe-update-guest-attrs b/xe-update-guest-attrs
+--- a/xe-update-guest-attrs	2012-09-25 12:45:14.000000000 +0200
++++ b/xe-update-guest-attrs	2012-11-21 16:46:35.000000000 +0100
+@@ -177,9 +177,9 @@
+ #           collisions:0 txqueuelen:0 
+ #           RX bytes:3604609 (3.4 MiB)  TX bytes:3604609 (3.4 MiB)
+ 
+-ifs=`/sbin/ifconfig | sed -n -e 's/^\([a-z0-9]\+\).*/name \1/p' \
+-    -e 's/.*inet addr:\('$IPADDR_RE'\) .*/ipv4 \1/p' \
+-    -e 's+.*inet6 addr: \('$IPADDR6_RE'\)/.*+ipv6 \1+p' | \
++ifs=`ip addr show | sed -n -e 's/^[[:digit:]]*: \([a-z0-9]*\): .*/name \1 /gp;' \
++    -e 's/^[[:space:]]\{4\}inet \('${IPADDR_RE}'\)\/.*/ipv4 \1 /gp;' \
++    -e 's/^[[:space:]]\{4\}inet6 \('${IPADDR6_RE}'\)\/.*/ipv6 \1 /gp;' | \
+ while read tag value; do
+     case "${tag}" in
+         name)

Deleted: repos/community-x86_64/proc-xen.mount
===================================================================
--- repos/community-x86_64/proc-xen.mount	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-x86_64/proc-xen.mount	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Mount /proc/xen files
-ConditionPathExists=/proc/xen
-RefuseManualStop=true
-
-[Mount]
-What=xenfs
-Where=/proc/xen
-Type=xenfs

Copied: xe-guest-utilities/repos/community-x86_64/proc-xen.mount (from rev 90392, xe-guest-utilities/trunk/proc-xen.mount)
===================================================================
--- repos/community-x86_64/proc-xen.mount	                        (rev 0)
+++ repos/community-x86_64/proc-xen.mount	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Mount /proc/xen files
+ConditionPathExists=/proc/xen
+RefuseManualStop=true
+
+[Mount]
+What=xenfs
+Where=/proc/xen
+Type=xenfs

Deleted: repos/community-x86_64/tmpfile
===================================================================
--- repos/community-x86_64/tmpfile	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-x86_64/tmpfile	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1 +0,0 @@
-d /run/xenstored 0755 - - -

Copied: xe-guest-utilities/repos/community-x86_64/tmpfile (from rev 90392, xe-guest-utilities/trunk/tmpfile)
===================================================================
--- repos/community-x86_64/tmpfile	                        (rev 0)
+++ repos/community-x86_64/tmpfile	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1 @@
+d /run/xenstored 0755 - - -

Deleted: repos/community-x86_64/xe-daemon.service
===================================================================
--- repos/community-x86_64/xe-daemon.service	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-x86_64/xe-daemon.service	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,12 +0,0 @@
-[Unit]
-Description=xen daemon file
-After=xe-linux-distribution.service
-Requires=proc-xen.mount
-
-[Service]
-PIDFile=/run/xe-daemon.pid
-ExecStart=/usr/sbin/xe-daemon -p /run/xe-daemon.pid
-ExecStop=/bin/pkill -TERM  -F /run/xe-daemon.pid
-
-[Install]
-WantedBy=multi-user.target

Copied: xe-guest-utilities/repos/community-x86_64/xe-daemon.service (from rev 90392, xe-guest-utilities/trunk/xe-daemon.service)
===================================================================
--- repos/community-x86_64/xe-daemon.service	                        (rev 0)
+++ repos/community-x86_64/xe-daemon.service	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,12 @@
+[Unit]
+Description=xen daemon file
+After=xe-linux-distribution.service
+Requires=proc-xen.mount
+
+[Service]
+PIDFile=/run/xe-daemon.pid
+ExecStart=/usr/bin/xe-daemon -p /run/xe-daemon.pid
+ExecStop=/usr/bin/pkill -TERM  -F /run/xe-daemon.pid
+
+[Install]
+WantedBy=multi-user.target

Deleted: repos/community-x86_64/xe-linux-distribution.service
===================================================================
--- repos/community-x86_64/xe-linux-distribution.service	2013-05-12 07:09:10 UTC (rev 90392)
+++ repos/community-x86_64/xe-linux-distribution.service	2013-05-12 07:10:12 UTC (rev 90393)
@@ -1,11 +0,0 @@
-[Unit]
-Description=xen linux distribution service
-Before=xend.service
-
-[Service]
-Type=simple
-RemainAfterExit=yes
-ExecStart=/usr/sbin/xe-linux-distribution /var/cache/xe-linux-distribution
-
-[Install]
-WantedBy=multi-user.target

Copied: xe-guest-utilities/repos/community-x86_64/xe-linux-distribution.service (from rev 90392, xe-guest-utilities/trunk/xe-linux-distribution.service)
===================================================================
--- repos/community-x86_64/xe-linux-distribution.service	                        (rev 0)
+++ repos/community-x86_64/xe-linux-distribution.service	2013-05-12 07:10:12 UTC (rev 90393)
@@ -0,0 +1,11 @@
+[Unit]
+Description=xen linux distribution service
+Before=xend.service
+
+[Service]
+Type=simple
+RemainAfterExit=yes
+ExecStart=/usr/bin/xe-linux-distribution /var/cache/xe-linux-distribution
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list