[arch-commits] Commit in virt-manager/repos/community-any (6 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Wed Apr 3 09:46:17 UTC 2013
Date: Wednesday, April 3, 2013 @ 11:46:17
Author: spupykin
Revision: 87569
archrelease: copy trunk to community-any
Added:
virt-manager/repos/community-any/PKGBUILD
(from rev 87568, virt-manager/trunk/PKGBUILD)
virt-manager/repos/community-any/openbsd-netcat-default.patch
(from rev 87568, virt-manager/trunk/openbsd-netcat-default.patch)
virt-manager/repos/community-any/virt-manager.install
(from rev 87568, virt-manager/trunk/virt-manager.install)
Deleted:
virt-manager/repos/community-any/PKGBUILD
virt-manager/repos/community-any/openbsd-netcat-default.patch
virt-manager/repos/community-any/virt-manager.install
------------------------------+
PKGBUILD | 118 ++++++++++++++++++++---------------------
openbsd-netcat-default.patch | 60 ++++++++++----------
virt-manager.install | 58 ++++++++++----------
3 files changed, 118 insertions(+), 118 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-03 09:46:05 UTC (rev 87568)
+++ PKGBUILD 2013-04-03 09:46:17 UTC (rev 87569)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jonathan Wiersma <archaur at jonw dot org>
-
-pkgname=virt-manager
-pkgver=0.9.4
-pkgrel=4
-pkgdesc="Desktop user interface for managing virtual machines"
-arch=('any')
-url="http://virt-manager.et.redhat.com"
-license=('GPL')
-depends=('dbus-python' 'libvirt' 'libxml2' 'vte' 'virtinst' 'gtk-vnc' 'rarian'
- 'gconf' 'yajl' 'librsvg' 'python2' 'python2-gconf' 'libuser'
- 'python2-ipy' 'newt-syrup' 'openbsd-netcat' 'x11-ssh-askpass'
- 'hicolor-icon-theme' 'graphite')
-makedepends=('gnome-doc-utils' 'intltool>=0.35.0')
-
-# When executables that comes with the package crash, are deps optional?
-# It may be a matter of taste, but we got at least one crash bug report.
-#optdepends=('x11-ssh-askpass: for ssh authentication to remote servers'
-# 'libuser: for virt-manager-tui'
-# 'python2-ipy: for virt-manager-tui'
-# 'newt-syrup: for virt-manager-tui'
-# 'openbsd-netcat: for remote server access')
-
-install=virt-manager.install
-source=("http://virt-manager.et.redhat.com/download/sources/$pkgname/$pkgname-$pkgver.tar.gz"
- "openbsd-netcat-default.patch")
-md5sums=('7f724839749f6d8d2e57ce8bb8a6a76f'
- '76d5a0d6c3bf60e98df3ffe76248745e')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- export LDFLAGS=-lX11
- sed -i 's#python#python2#' src/virt-manager.in src/virt-manager-tui.in
-# patch -p1 < "$srcdir/openbsd-netcat-default.patch"
- [ -f install-sh ] || automake --add-missing || true
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexec="/usr/lib/$pkgname" \
- --localstatedir=/var
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
- # Set-up schema file in correct location
- install -m755 -d "$pkgdir/usr/share/gconf/schemas"
- gconf-merge-schema \
- "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" \
- "$pkgdir/etc/gconf/schemas/"*.schemas
- rm -rf "$pkgdir/etc/gconf/schemas"
- rmdir --ignore-fail-on-non-empty "$pkgdir/etc/gconf" "$pkgdir/etc"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: virt-manager/repos/community-any/PKGBUILD (from rev 87568, virt-manager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-04-03 09:46:17 UTC (rev 87569)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jonathan Wiersma <archaur at jonw dot org>
+
+pkgname=virt-manager
+pkgver=0.9.5
+pkgrel=1
+pkgdesc="Desktop user interface for managing virtual machines"
+arch=('any')
+url="http://virt-manager.et.redhat.com"
+license=('GPL')
+depends=('dbus-python' 'libvirt' 'libxml2' 'vte' 'virtinst' 'gtk-vnc' 'rarian'
+ 'gconf' 'yajl' 'librsvg' 'python2' 'python2-gconf' 'libuser'
+ 'python2-ipy' 'newt-syrup' 'openbsd-netcat' 'x11-ssh-askpass'
+ 'hicolor-icon-theme' 'graphite')
+makedepends=('gnome-doc-utils' 'intltool>=0.35.0')
+
+# When executables that comes with the package crash, are deps optional?
+# It may be a matter of taste, but we got at least one crash bug report.
+#optdepends=('x11-ssh-askpass: for ssh authentication to remote servers'
+# 'libuser: for virt-manager-tui'
+# 'python2-ipy: for virt-manager-tui'
+# 'newt-syrup: for virt-manager-tui'
+# 'openbsd-netcat: for remote server access')
+
+install=virt-manager.install
+source=("http://virt-manager.et.redhat.com/download/sources/$pkgname/$pkgname-$pkgver.tar.gz"
+ "openbsd-netcat-default.patch")
+md5sums=('2b622a0f4cd53f83665d9841b5a3cefa'
+ '76d5a0d6c3bf60e98df3ffe76248745e')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ export LDFLAGS=-lX11
+ sed -i 's#python#python2#' src/virt-manager.in src/virt-manager-tui.in
+# patch -p1 < "$srcdir/openbsd-netcat-default.patch"
+ [ -f install-sh ] || automake --add-missing || true
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexec="/usr/lib/$pkgname" \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+ # Set-up schema file in correct location
+ install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+ gconf-merge-schema \
+ "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" \
+ "$pkgdir/etc/gconf/schemas/"*.schemas
+ rm -rf "$pkgdir/etc/gconf/schemas"
+ rmdir --ignore-fail-on-non-empty "$pkgdir/etc/gconf" "$pkgdir/etc"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: openbsd-netcat-default.patch
===================================================================
--- openbsd-netcat-default.patch 2013-04-03 09:46:05 UTC (rev 87568)
+++ openbsd-netcat-default.patch 2013-04-03 09:46:17 UTC (rev 87569)
@@ -1,30 +0,0 @@
-diff -wbBur virt-manager-0.9.2/src/virtManager/console.py virt-manager-0.9.2.my/src/virtManager/console.py
---- virt-manager-0.9.2/src/virtManager/console.py 2012-07-09 16:09:02.000000000 +0400
-+++ virt-manager-0.9.2.my/src/virtManager/console.py 2012-07-12 12:52:26.000000000 +0400
-@@ -140,11 +140,11 @@
- nc_params = "%s %s" % (ginfo.gaddr, ginfo.gport)
-
- nc_cmd = (
-- """nc -q 2>&1 | grep "requires an argument" >/dev/null;"""
-+ """nc.openbsd -q 2>&1 | grep "requires an argument" >/dev/null;"""
- """if [ $? -eq 0 ] ; then"""
-- """ CMD="nc -q 0 %(nc_params)s";"""
-+ """ CMD="nc.openbsd -q 0 %(nc_params)s";"""
- """else"""
-- """ CMD="nc %(nc_params)s";"""
-+ """ CMD="nc.openbsd %(nc_params)s";"""
- """fi;"""
- """eval "$CMD";""" %
- {'nc_params': nc_params})
-diff -wbBur virt-manager-0.9.2/src/virtManager/manager.py virt-manager-0.9.2.my/src/virtManager/manager.py
---- virt-manager-0.9.2/src/virtManager/manager.py 2012-07-09 16:09:02.000000000 +0400
-+++ virt-manager-0.9.2.my/src/virtManager/manager.py 2012-07-12 12:52:17.000000000 +0400
-@@ -653,7 +653,7 @@
-
- if conn.is_remote():
- logging.debug(conn.get_transport())
-- if re.search(r"nc: .* -- 'U'", tb):
-+ if re.search(r"nc.openbsd: .* -- 'U'", tb):
- hint += _("The remote host requires a version of netcat/nc\n"
- "which supports the -U option.")
- show_errmsg = False
Copied: virt-manager/repos/community-any/openbsd-netcat-default.patch (from rev 87568, virt-manager/trunk/openbsd-netcat-default.patch)
===================================================================
--- openbsd-netcat-default.patch (rev 0)
+++ openbsd-netcat-default.patch 2013-04-03 09:46:17 UTC (rev 87569)
@@ -0,0 +1,30 @@
+diff -wbBur virt-manager-0.9.2/src/virtManager/console.py virt-manager-0.9.2.my/src/virtManager/console.py
+--- virt-manager-0.9.2/src/virtManager/console.py 2012-07-09 16:09:02.000000000 +0400
++++ virt-manager-0.9.2.my/src/virtManager/console.py 2012-07-12 12:52:26.000000000 +0400
+@@ -140,11 +140,11 @@
+ nc_params = "%s %s" % (ginfo.gaddr, ginfo.gport)
+
+ nc_cmd = (
+- """nc -q 2>&1 | grep "requires an argument" >/dev/null;"""
++ """nc.openbsd -q 2>&1 | grep "requires an argument" >/dev/null;"""
+ """if [ $? -eq 0 ] ; then"""
+- """ CMD="nc -q 0 %(nc_params)s";"""
++ """ CMD="nc.openbsd -q 0 %(nc_params)s";"""
+ """else"""
+- """ CMD="nc %(nc_params)s";"""
++ """ CMD="nc.openbsd %(nc_params)s";"""
+ """fi;"""
+ """eval "$CMD";""" %
+ {'nc_params': nc_params})
+diff -wbBur virt-manager-0.9.2/src/virtManager/manager.py virt-manager-0.9.2.my/src/virtManager/manager.py
+--- virt-manager-0.9.2/src/virtManager/manager.py 2012-07-09 16:09:02.000000000 +0400
++++ virt-manager-0.9.2.my/src/virtManager/manager.py 2012-07-12 12:52:17.000000000 +0400
+@@ -653,7 +653,7 @@
+
+ if conn.is_remote():
+ logging.debug(conn.get_transport())
+- if re.search(r"nc: .* -- 'U'", tb):
++ if re.search(r"nc.openbsd: .* -- 'U'", tb):
+ hint += _("The remote host requires a version of netcat/nc\n"
+ "which supports the -U option.")
+ show_errmsg = False
Deleted: virt-manager.install
===================================================================
--- virt-manager.install 2013-04-03 09:46:05 UTC (rev 87568)
+++ virt-manager.install 2013-04-03 09:46:17 UTC (rev 87569)
@@ -1,29 +0,0 @@
-pkgname=virt-manager
-
-post_install() {
- rm -f /usr/share/virt-manager/virtManager/*.pyc
- usr/sbin/gconfpkg --install $pkgname
- [ -x usr/bin/update-desktop-database ] && update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- /bin/true
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- rm -f /usr/share/virt-manager/virtManager/*.pyc
- usr/sbin/gconfpkg --uninstall $pkgname
- /bin/true
-}
-
-post_remove() {
- [ -x usr/bin/update-desktop-database ] && update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- /bin/true
-}
Copied: virt-manager/repos/community-any/virt-manager.install (from rev 87568, virt-manager/trunk/virt-manager.install)
===================================================================
--- virt-manager.install (rev 0)
+++ virt-manager.install 2013-04-03 09:46:17 UTC (rev 87569)
@@ -0,0 +1,29 @@
+pkgname=virt-manager
+
+post_install() {
+ rm -f /usr/share/virt-manager/virtManager/*.pyc
+ usr/sbin/gconfpkg --install $pkgname
+ [ -x usr/bin/update-desktop-database ] && update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ /bin/true
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ rm -f /usr/share/virt-manager/virtManager/*.pyc
+ usr/sbin/gconfpkg --uninstall $pkgname
+ /bin/true
+}
+
+post_remove() {
+ [ -x usr/bin/update-desktop-database ] && update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ /bin/true
+}
More information about the arch-commits
mailing list