summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/virt-manager/DESCR7
-rw-r--r--sysutils/virt-manager/Makefile44
-rw-r--r--sysutils/virt-manager/PLIST195
-rw-r--r--sysutils/virt-manager/distinfo10
-rw-r--r--sysutils/virt-manager/patches/patch-configure15
-rw-r--r--sysutils/virt-manager/patches/patch-src_Makefile.in15
-rw-r--r--sysutils/virt-manager/patches/patch-src_virt-manager-launch.in11
-rw-r--r--sysutils/virt-manager/patches/patch-src_virt-manager-tui.in11
-rw-r--r--sysutils/virt-manager/patches/patch-src_virt-manager.in11
9 files changed, 319 insertions, 0 deletions
diff --git a/sysutils/virt-manager/DESCR b/sysutils/virt-manager/DESCR
new file mode 100644
index 00000000000..b827da5e21b
--- /dev/null
+++ b/sysutils/virt-manager/DESCR
@@ -0,0 +1,7 @@
+The "Virtual Machine Manager" application (virt-manager for short package name)
+is a desktop user interface for managing virtual machines. It presents a
+summary view of running domains, their live performance & resource utilization
+statistics. The detailed view graphs performance & utilization over time.
+Wizards enable the creation of new domains, and configuration & adjustment of a
+domain's resource allocation & virtual hardware. An embedded VNC client viewer
+presents a full graphical console to the guest domain.
diff --git a/sysutils/virt-manager/Makefile b/sysutils/virt-manager/Makefile
new file mode 100644
index 00000000000..d14cfdf5206
--- /dev/null
+++ b/sysutils/virt-manager/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2012/09/05 21:15:16 gls Exp $
+#
+
+DISTNAME= virt-manager-0.9.4
+CATEGORIES= sysutils
+MASTER_SITES= http://virt-manager.org/download/sources/virt-manager/
+
+MAINTAINER= gls@NetBSD.org
+HOMEPAGE= http://virt-manager.org/
+COMMENT= GUI to manage virtual machines
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-libvirt-package-names=libvirt
+
+USE_TOOLS+= gmake intltool
+USE_PKGLOCALEDIR= yes
+
+GCONF_SCHEMAS+= virt-manager.schemas
+
+DEPENDS= libvirt>=0.9.3:../../sysutils/libvirt
+DEPENDS+= ${PYPKGPREFIX}-gtk2>=2.24:../../x11/py-gtk2
+DEPENDS+= virtinst>=0.600.3:../../sysutils/virtinst
+DEPENDS+= ${PYPKGPREFIX}-libxml2>=2.8.0:../../textproc/py-libxml2
+DEPENDS+= urlgrabber>=3.1.0:../../www/urlgrabber
+DEPENDS+= ${PYPKGPREFIX}-dbus>=1.1.1:../../sysutils/py-dbus
+DEPENDS+= gtk-vnc>=0.5.1:../../net/gtk-vnc
+
+SUBST_CLASSES+= python
+SUBST_STAGE.python= pre-configure
+SUBST_MESSAGE.python= Fixing hard-coded config file paths.
+SUBST_FILES.python= src/virt-manager.in src/virt-manager-tui.in src/virt-manager-launch.in
+SUBST_SED.python= -e 's,@@PYTHONBIN@@,${PYTHONBIN},'
+
+REPLACE_PYTHON= src/virtManagerTui/startnetwork.py
+
+.include "../../lang/python/application.mk"
+.include "../../devel/GConf/schemas.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/py-gnome2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/virt-manager/PLIST b/sysutils/virt-manager/PLIST
new file mode 100644
index 00000000000..8e545db7ee8
--- /dev/null
+++ b/sysutils/virt-manager/PLIST
@@ -0,0 +1,195 @@
+@comment $NetBSD: PLIST,v 1.1 2012/09/05 21:15:16 gls Exp $
+bin/virt-manager
+bin/virt-manager-tui
+libexec/virt-manager-launch
+man/man1/virt-manager.1
+share/applications/virt-manager.desktop
+share/dbus-1/services/virt-manager.service
+share/gconf/schemas/virt-manager.schemas
+share/icons/hicolor/16x16/apps/virt-manager.png
+share/icons/hicolor/22x22/apps/virt-manager.png
+share/icons/hicolor/24x24/apps/virt-manager.png
+share/icons/hicolor/256x256/apps/virt-manager.png
+share/icons/hicolor/32x32/apps/virt-manager.png
+share/icons/hicolor/48x48/apps/virt-manager.png
+share/locale/as/LC_MESSAGES/virt-manager.mo
+share/locale/bg/LC_MESSAGES/virt-manager.mo
+share/locale/bn_IN/LC_MESSAGES/virt-manager.mo
+share/locale/bs/LC_MESSAGES/virt-manager.mo
+share/locale/ca/LC_MESSAGES/virt-manager.mo
+share/locale/cs/LC_MESSAGES/virt-manager.mo
+share/locale/da/LC_MESSAGES/virt-manager.mo
+share/locale/de/LC_MESSAGES/virt-manager.mo
+share/locale/es/LC_MESSAGES/virt-manager.mo
+share/locale/fi/LC_MESSAGES/virt-manager.mo
+share/locale/fr/LC_MESSAGES/virt-manager.mo
+share/locale/gu/LC_MESSAGES/virt-manager.mo
+share/locale/hi/LC_MESSAGES/virt-manager.mo
+share/locale/hr/LC_MESSAGES/virt-manager.mo
+share/locale/hu/LC_MESSAGES/virt-manager.mo
+share/locale/is/LC_MESSAGES/virt-manager.mo
+share/locale/it/LC_MESSAGES/virt-manager.mo
+share/locale/ja/LC_MESSAGES/virt-manager.mo
+share/locale/kn/LC_MESSAGES/virt-manager.mo
+share/locale/ko/LC_MESSAGES/virt-manager.mo
+share/locale/ml/LC_MESSAGES/virt-manager.mo
+share/locale/mr/LC_MESSAGES/virt-manager.mo
+share/locale/ms/LC_MESSAGES/virt-manager.mo
+share/locale/nb/LC_MESSAGES/virt-manager.mo
+share/locale/nl/LC_MESSAGES/virt-manager.mo
+share/locale/or/LC_MESSAGES/virt-manager.mo
+share/locale/pa/LC_MESSAGES/virt-manager.mo
+share/locale/pl/LC_MESSAGES/virt-manager.mo
+share/locale/pt/LC_MESSAGES/virt-manager.mo
+share/locale/pt_BR/LC_MESSAGES/virt-manager.mo
+share/locale/ro/LC_MESSAGES/virt-manager.mo
+share/locale/ru/LC_MESSAGES/virt-manager.mo
+share/locale/sr/LC_MESSAGES/virt-manager.mo
+share/locale/sr@latin/LC_MESSAGES/virt-manager.mo
+share/locale/sv/LC_MESSAGES/virt-manager.mo
+share/locale/ta/LC_MESSAGES/virt-manager.mo
+share/locale/te/LC_MESSAGES/virt-manager.mo
+share/locale/tr/LC_MESSAGES/virt-manager.mo
+share/locale/uk/LC_MESSAGES/virt-manager.mo
+share/locale/zh_CN/LC_MESSAGES/virt-manager.mo
+share/locale/zh_TW/LC_MESSAGES/virt-manager.mo
+share/virt-manager/icons/hicolor/16x16/actions/icon_console.png
+share/virt-manager/icons/hicolor/16x16/actions/vm_new.png
+share/virt-manager/icons/hicolor/22x22/actions/icon_console.png
+share/virt-manager/icons/hicolor/22x22/actions/icon_details.png
+share/virt-manager/icons/hicolor/22x22/actions/vm_new.png
+share/virt-manager/icons/hicolor/22x22/devices/device_cpu.png
+share/virt-manager/icons/hicolor/22x22/devices/device_mem.png
+share/virt-manager/icons/hicolor/22x22/devices/device_pci.png
+share/virt-manager/icons/hicolor/22x22/devices/device_serial.png
+share/virt-manager/icons/hicolor/22x22/devices/device_usb.png
+share/virt-manager/icons/hicolor/24x24/actions/icon_console.png
+share/virt-manager/icons/hicolor/24x24/actions/vm_new.png
+share/virt-manager/icons/hicolor/32x32/actions/icon_console.png
+share/virt-manager/icons/hicolor/32x32/actions/vm_new.png
+share/virt-manager/icons/hicolor/32x32/status/state_paused.png
+share/virt-manager/icons/hicolor/32x32/status/state_running.png
+share/virt-manager/icons/hicolor/32x32/status/state_shutoff.png
+share/virt-manager/icons/hicolor/48x48/actions/vm_clone_wizard.png
+share/virt-manager/icons/hicolor/48x48/actions/vm_delete_wizard.png
+share/virt-manager/icons/hicolor/48x48/actions/vm_import_wizard.png
+share/virt-manager/icons/hicolor/48x48/actions/vm_new_wizard.png
+share/virt-manager/virt-manager-tui.py
+share/virt-manager/virt-manager.py
+share/virt-manager/virtManager/IPy.py
+share/virt-manager/virtManager/__init__.py
+share/virt-manager/virtManager/about.py
+share/virt-manager/virtManager/addhardware.py
+share/virt-manager/virtManager/asyncjob.py
+share/virt-manager/virtManager/autodrawer.py
+share/virt-manager/virtManager/baseclass.py
+share/virt-manager/virtManager/choosecd.py
+share/virt-manager/virtManager/cli.py
+share/virt-manager/virtManager/clone.py
+share/virt-manager/virtManager/config.py
+share/virt-manager/virtManager/connect.py
+share/virt-manager/virtManager/connectauth.py
+share/virt-manager/virtManager/connection.py
+share/virt-manager/virtManager/console.py
+share/virt-manager/virtManager/create.py
+share/virt-manager/virtManager/createinterface.py
+share/virt-manager/virtManager/createnet.py
+share/virt-manager/virtManager/createpool.py
+share/virt-manager/virtManager/createvol.py
+share/virt-manager/virtManager/delete.py
+share/virt-manager/virtManager/details.py
+share/virt-manager/virtManager/domain.py
+share/virt-manager/virtManager/engine.py
+share/virt-manager/virtManager/error.py
+share/virt-manager/virtManager/graphwidgets.py
+share/virt-manager/virtManager/guidiff.py
+share/virt-manager/virtManager/halhelper.py
+share/virt-manager/virtManager/host.py
+share/virt-manager/virtManager/inspection.py
+share/virt-manager/virtManager/interface.py
+share/virt-manager/virtManager/keyring.py
+share/virt-manager/virtManager/libvirtglib.py
+share/virt-manager/virtManager/libvirtobject.py
+share/virt-manager/virtManager/manager.py
+share/virt-manager/virtManager/mediadev.py
+share/virt-manager/virtManager/migrate.py
+share/virt-manager/virtManager/netdev.py
+share/virt-manager/virtManager/network.py
+share/virt-manager/virtManager/nodedev.py
+share/virt-manager/virtManager/packageutils.py
+share/virt-manager/virtManager/preferences.py
+share/virt-manager/virtManager/remote.py
+share/virt-manager/virtManager/secret.py
+share/virt-manager/virtManager/serialcon.py
+share/virt-manager/virtManager/storagebrowse.py
+share/virt-manager/virtManager/storagepool.py
+share/virt-manager/virtManager/storagevol.py
+share/virt-manager/virtManager/systray.py
+share/virt-manager/virtManager/uihelpers.py
+share/virt-manager/virtManager/util.py
+share/virt-manager/virtManagerTui/__init__.py
+share/virt-manager/virtManagerTui/adddomain.py
+share/virt-manager/virtManagerTui/addhost.py
+share/virt-manager/virtManagerTui/addnetwork.py
+share/virt-manager/virtManagerTui/addpool.py
+share/virt-manager/virtManagerTui/addvolume.py
+share/virt-manager/virtManagerTui/changehost.py
+share/virt-manager/virtManagerTui/createmeter.py
+share/virt-manager/virtManagerTui/createuser.py
+share/virt-manager/virtManagerTui/domainconfig.py
+share/virt-manager/virtManagerTui/domainlistconfigscreen.py
+share/virt-manager/virtManagerTui/hostconnect.py
+share/virt-manager/virtManagerTui/hostlistconfigscreen.py
+share/virt-manager/virtManagerTui/hostmenu.py
+share/virt-manager/virtManagerTui/importblacklist/__init__.py
+share/virt-manager/virtManagerTui/importblacklist/gconf.py
+share/virt-manager/virtManagerTui/importblacklist/gobject.py
+share/virt-manager/virtManagerTui/importblacklist/gtk.py
+share/virt-manager/virtManagerTui/libvirtworker.py
+share/virt-manager/virtManagerTui/listdomains.py
+share/virt-manager/virtManagerTui/listnetworks.py
+share/virt-manager/virtManagerTui/listpools.py
+share/virt-manager/virtManagerTui/mainmenu.py
+share/virt-manager/virtManagerTui/migratedomain.py
+share/virt-manager/virtManagerTui/netmenu.py
+share/virt-manager/virtManagerTui/networkconfig.py
+share/virt-manager/virtManagerTui/networklistconfigscreen.py
+share/virt-manager/virtManagerTui/nodeadmin.py
+share/virt-manager/virtManagerTui/nodemenu.py
+share/virt-manager/virtManagerTui/pausedomain.py
+share/virt-manager/virtManagerTui/poolconfig.py
+share/virt-manager/virtManagerTui/removedomain.py
+share/virt-manager/virtManagerTui/removehost.py
+share/virt-manager/virtManagerTui/removenetwork.py
+share/virt-manager/virtManagerTui/removepool.py
+share/virt-manager/virtManagerTui/removevolume.py
+share/virt-manager/virtManagerTui/startdomain.py
+share/virt-manager/virtManagerTui/startnetwork.py
+share/virt-manager/virtManagerTui/startpool.py
+share/virt-manager/virtManagerTui/stopdomain.py
+share/virt-manager/virtManagerTui/stopnetwork.py
+share/virt-manager/virtManagerTui/stoppool.py
+share/virt-manager/virtManagerTui/storagelistconfigscreen.py
+share/virt-manager/virtManagerTui/storagemenu.py
+share/virt-manager/virtManagerTui/userworker.py
+share/virt-manager/virtManagerTui/vmmconfigscreen.py
+share/virt-manager/virtManagerTui/volumeconfig.py
+share/virt-manager/vmm-about.ui
+share/virt-manager/vmm-add-hardware.ui
+share/virt-manager/vmm-choose-cd.ui
+share/virt-manager/vmm-clone.ui
+share/virt-manager/vmm-create-interface.ui
+share/virt-manager/vmm-create-net.ui
+share/virt-manager/vmm-create-pool.ui
+share/virt-manager/vmm-create-vol.ui
+share/virt-manager/vmm-create.ui
+share/virt-manager/vmm-delete.ui
+share/virt-manager/vmm-details.ui
+share/virt-manager/vmm-host.ui
+share/virt-manager/vmm-manager.ui
+share/virt-manager/vmm-migrate.ui
+share/virt-manager/vmm-open-connection.ui
+share/virt-manager/vmm-preferences.ui
+share/virt-manager/vmm-progress.ui
+share/virt-manager/vmm-storage-browse.ui
+@pkgdir share/virt-manager/pixmaps
diff --git a/sysutils/virt-manager/distinfo b/sysutils/virt-manager/distinfo
new file mode 100644
index 00000000000..1632cfe14cc
--- /dev/null
+++ b/sysutils/virt-manager/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2012/09/05 21:15:16 gls Exp $
+
+SHA1 (virt-manager-0.9.4.tar.gz) = 1c36a95242c83ea82925c0e0f3844a32b37b8247
+RMD160 (virt-manager-0.9.4.tar.gz) = 15b3d1da4e2571ef91899bcca14354cbf656242c
+Size (virt-manager-0.9.4.tar.gz) = 1709809 bytes
+SHA1 (patch-configure) = 4fd7620c1f28b9507d0a38c25cb8256595bfdd4c
+SHA1 (patch-src_Makefile.in) = 718a5f26c3d8f920ac680fc38cb10a07b6e47ef7
+SHA1 (patch-src_virt-manager-launch.in) = f5264467c86a2967d300aabd4bf91f86d57472a2
+SHA1 (patch-src_virt-manager-tui.in) = 4a067455c3b4bb952b6c8569b1de9d750bceda16
+SHA1 (patch-src_virt-manager.in) = 7fe731b375224b08225ac8a16ed36f653b18c59e
diff --git a/sysutils/virt-manager/patches/patch-configure b/sysutils/virt-manager/patches/patch-configure
new file mode 100644
index 00000000000..4c5f11b646e
--- /dev/null
+++ b/sysutils/virt-manager/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2012/09/05 21:15:16 gls Exp $
+
+Portability fix.
+
+--- configure.orig 2012-07-29 20:28:50.000000000 +0000
++++ configure
+@@ -5778,7 +5778,7 @@ fi
+
+ # Check whether --enable-unsupported-rhel-options was given.
+ if test "${enable_unsupported_rhel_options+set}" = set; then :
+- enableval=$enable_unsupported_rhel_options; test "x$enableval" == "xno" && \
++ enableval=$enable_unsupported_rhel_options; test "x$enableval" = "xno" && \
+ ENABLE_UNSUPPORTED_RHEL_OPTS=0 ||
+ ENABLE_UNSUPPORTED_RHEL_OPTS=1
+ else
diff --git a/sysutils/virt-manager/patches/patch-src_Makefile.in b/sysutils/virt-manager/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..925b6605424
--- /dev/null
+++ b/sysutils/virt-manager/patches/patch-src_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2012/09/05 21:15:16 gls Exp $
+
+Install GConf schemas where pkgsrc expects them.
+
+--- src/Makefile.in.orig 2012-07-29 20:28:51.000000000 +0000
++++ src/Makefile.in
+@@ -272,7 +272,7 @@ desktop_DATA = $(PACKAGE).desktop
+ dbusdir = $(datadir)/dbus-1/services
+ dbus_DATA_IN = $(PACKAGE).service.in
+ dbus_DATA = $(PACKAGE).service
+-schemadir = $(sysconfdir)/gconf/schemas
++schemadir = $(datadir)/gconf/schemas
+ schema_DATA_IN = $(PACKAGE).schemas.in
+ schema_DATA = $(PACKAGE).schemas
+ CLEANFILES = $(bin_SCRIPTS) $(desktop_DATA) $(dbus_DATA) $(python_DATA) $(libexec_SCRIPTS) $(schema_DATA) $(PACKAGE).desktop.in
diff --git a/sysutils/virt-manager/patches/patch-src_virt-manager-launch.in b/sysutils/virt-manager/patches/patch-src_virt-manager-launch.in
new file mode 100644
index 00000000000..26282de7b0d
--- /dev/null
+++ b/sysutils/virt-manager/patches/patch-src_virt-manager-launch.in
@@ -0,0 +1,11 @@
+$NetBSD: patch-src_virt-manager-launch.in,v 1.1 2012/09/05 21:15:16 gls Exp $
+
+Do not harcode "python" interpreter, use PYTHONBIN instead.
+
+--- src/virt-manager-launch.in.orig 2012-07-29 20:20:46.000000000 +0000
++++ src/virt-manager-launch.in
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+
+-exec python "::PYTHONDIR::/::PACKAGE::.py"
++exec @@PYTHONBIN@@ "::PYTHONDIR::/::PACKAGE::.py"
diff --git a/sysutils/virt-manager/patches/patch-src_virt-manager-tui.in b/sysutils/virt-manager/patches/patch-src_virt-manager-tui.in
new file mode 100644
index 00000000000..19bac294eba
--- /dev/null
+++ b/sysutils/virt-manager/patches/patch-src_virt-manager-tui.in
@@ -0,0 +1,11 @@
+$NetBSD: patch-src_virt-manager-tui.in,v 1.1 2012/09/05 21:15:16 gls Exp $
+
+Do not hardcode "python" interpreter, use PYTHONBIN instead.
+
+--- src/virt-manager-tui.in.orig 2012-07-29 20:20:46.000000000 +0000
++++ src/virt-manager-tui.in
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+
+-exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
++exec @@PYTHONBIN@@ "::PYTHONDIR::/::PACKAGE::.py" "$@"
diff --git a/sysutils/virt-manager/patches/patch-src_virt-manager.in b/sysutils/virt-manager/patches/patch-src_virt-manager.in
new file mode 100644
index 00000000000..8bfed6ae77b
--- /dev/null
+++ b/sysutils/virt-manager/patches/patch-src_virt-manager.in
@@ -0,0 +1,11 @@
+$NetBSD: patch-src_virt-manager.in,v 1.1 2012/09/05 21:15:17 gls Exp $
+
+Do not hardcode "python" interpreter, use PYTHONBIN instead.
+
+--- src/virt-manager.in.orig 2012-07-29 20:20:46.000000000 +0000
++++ src/virt-manager.in
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+
+-exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
++exec @@PYTHONBIN@@ "::PYTHONDIR::/::PACKAGE::.py" "$@"