]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Adding libvirt so that we can control VMs with it.
authorBen Schweikert <trikolon@ipfire.org>
Tue, 4 Aug 2009 10:56:56 +0000 (12:56 +0200)
committerBen Schweikert <trikolon@ipfire.org>
Tue, 4 Aug 2009 10:56:56 +0000 (12:56 +0200)
lfs/libvirt [new file with mode: 0644]
src/rootfiles/extras/libvirt [new file with mode: 0644]

diff --git a/lfs/libvirt b/lfs/libvirt
new file mode 100644 (file)
index 0000000..2267bf6
--- /dev/null
@@ -0,0 +1,92 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt           #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME   = libvirt
+PKG_VER    = 0.6.5
+PKG_REL    = 0
+
+THISAPP    = $(PKG_NAME)-$(PKG_VER)
+DL_FILE    = $(THISAPP).tar.gz
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+
+OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+MAINTAINER =
+GROUP      = Applications/Virtualization
+CORE       = no
+EXTRA      = yes
+DEBUG      = no
+BUILD_DEPS =
+DEPS       = gnutls
+
+URL        = http://www..org/
+LICENSE    = LGPLv2.1+
+SHORT_DESC = A library for controlling VMs.
+
+define LONG_DESC
+          A toolkit to interact with the virtualization capabilities of recent versions of Linux
+endef
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+download: $(objects)
+
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+packages: $(PACKAGES)
+
+$(PACKAGES): $(OBJECT)
+       @$(DO_PACKAGE)
+
+$(objects):
+       @$(LOAD)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(OBJECT): $(objects)
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && \
+               ./configure \
+                       $(CONFIGURE_ARCH) \
+                       --prefix=/usr \
+                       --disable-static \
+                       --with-xen=no \
+                        --with-qemu
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+       cd $(DIR_APP) && make install
+
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/src/rootfiles/extras/libvirt b/src/rootfiles/extras/libvirt
new file mode 100644 (file)
index 0000000..612b17b
--- /dev/null
@@ -0,0 +1,178 @@
+etc/libvirt
+etc/libvirt/libvirtd.conf
+etc/libvirt/qemu
+etc/libvirt/qemu.conf
+etc/libvirt/qemu/networks
+etc/libvirt/qemu/networks/autostart
+etc/libvirt/qemu/networks/autostart/default.xml
+etc/libvirt/qemu/networks/default.xml
+etc/logrotate.d
+etc/logrotate.d/libvirtd
+etc/sasl2
+etc/sasl2/libvirt.conf
+usr/bin/virsh
+usr/bin/virt-xml-validate
+usr/include/libvirt
+usr/include/libvirt/libvirt.h
+usr/include/libvirt/virterror.h
+usr/lib/libvirt
+usr/lib/libvirt.la
+usr/lib/libvirt.so
+usr/lib/libvirt.so.0
+usr/lib/libvirt.so.0.6.5
+usr/lib/libvirt/drivers
+usr/lib/pkgconfig/libvirt.pc
+usr/lib/python2.6/site-packages/libvirt.py
+usr/lib/python2.6/site-packages/libvirtmod.la
+usr/lib/python2.6/site-packages/libvirtmod.so
+usr/libexec
+usr/libexec/libvirt_lxc
+usr/libexec/libvirt_parthelper
+usr/sbin/libvirtd
+usr/share/augeas
+usr/share/augeas/lenses
+usr/share/augeas/lenses/libvirtd.aug
+usr/share/augeas/lenses/libvirtd_qemu.aug
+usr/share/augeas/lenses/tests
+usr/share/augeas/lenses/tests/test_libvirtd.aug
+usr/share/augeas/lenses/tests/test_libvirtd_qemu.aug
+usr/share/doc/libvirt-0.6.5
+usr/share/doc/libvirt-0.6.5/html
+usr/share/doc/libvirt-0.6.5/html/FAQ.html
+usr/share/doc/libvirt-0.6.5/html/Libxml2-Logo-90x34.gif
+usr/share/doc/libvirt-0.6.5/html/examples.xml
+usr/share/doc/libvirt-0.6.5/html/examples.xsl
+usr/share/doc/libvirt-0.6.5/html/html
+usr/share/doc/libvirt-0.6.5/html/html/home.png
+usr/share/doc/libvirt-0.6.5/html/html/index.html
+usr/share/doc/libvirt-0.6.5/html/html/left.png
+usr/share/doc/libvirt-0.6.5/html/html/libvirt-libvirt.html
+usr/share/doc/libvirt-0.6.5/html/html/libvirt-virterror.html
+usr/share/doc/libvirt-0.6.5/html/html/right.png
+usr/share/doc/libvirt-0.6.5/html/html/up.png
+usr/share/doc/libvirt-0.6.5/html/info1.c
+usr/share/doc/libvirt-0.6.5/html/suspend.c
+usr/share/doc/libvirt-python-0.6.5
+usr/share/doc/libvirt-python-0.6.5/TODO
+usr/share/doc/libvirt-python-0.6.5/examples
+usr/share/doc/libvirt-python-0.6.5/examples/basic.py
+usr/share/doc/libvirt-python-0.6.5/examples/create.py
+usr/share/doc/libvirt-python-0.6.5/examples/error.py
+sr/share/doc/libvirt-python-0.6.5/examples/node.py
+usr/share/doc/libvirt-python-0.6.5/examples/uuid.py
+usr/share/gtk-doc/html/libvirt
+usr/share/gtk-doc/html/libvirt/general.html
+usr/share/gtk-doc/html/libvirt/home.png
+usr/share/gtk-doc/html/libvirt/index.html
+usr/share/gtk-doc/html/libvirt/left.png
+usr/share/gtk-doc/html/libvirt/libvirt-libvirt.html
+usr/share/gtk-doc/html/libvirt/libvirt-virterror.html
+usr/share/gtk-doc/html/libvirt/libvirt.devhelp
+usr/share/gtk-doc/html/libvirt/right.png
+usr/share/gtk-doc/html/libvirt/style.css
+usr/share/gtk-doc/html/libvirt/up.png
+usr/share/libvirt
+usr/share/libvirt/schemas
+usr/share/libvirt/schemas/capability.rng
+usr/share/libvirt/schemas/domain.rng
+usr/share/libvirt/schemas/network.rng
+usr/share/libvirt/schemas/nodedev.rng
+usr/share/libvirt/schemas/storagepool.rng
+usr/share/libvirt/schemas/storagevol.rng
+usr/share/locale/af/LC_MESSAGES/libvirt.mo
+usr/share/locale/am/LC_MESSAGES/libvirt.mo
+usr/share/locale/ar/LC_MESSAGES/libvirt.mo
+usr/share/locale/as/LC_MESSAGES/libvirt.mo
+usr/share/locale/be/LC_MESSAGES/libvirt.mo
+usr/share/locale/bg/LC_MESSAGES/libvirt.mo
+usr/share/locale/bn/LC_MESSAGES/libvirt.mo
+usr/share/locale/bn_IN/LC_MESSAGES/libvirt.mo
+usr/share/locale/bs/LC_MESSAGES/libvirt.mo
+usr/share/locale/ca/LC_MESSAGES/libvirt.mo
+usr/share/locale/cs/LC_MESSAGES/libvirt.mo
+usr/share/locale/cy/LC_MESSAGES/libvirt.mo
+usr/share/locale/da/LC_MESSAGES/libvirt.mo
+usr/share/locale/de/LC_MESSAGES/libvirt.mo
+usr/share/locale/el/LC_MESSAGES/libvirt.mo
+usr/share/locale/en_GB/LC_MESSAGES/libvirt.mo
+usr/share/locale/es/LC_MESSAGES/libvirt.mo
+usr/share/locale/et/LC_MESSAGES/libvirt.mo
+usr/share/locale/eu_ES
+usr/share/locale/eu_ES/LC_MESSAGES
+usr/share/locale/eu_ES/LC_MESSAGES/libvirt.mo
+usr/share/locale/fa/LC_MESSAGES/libvirt.mo
+usr/share/locale/fi/LC_MESSAGES/libvirt.mo
+usr/share/locale/fr/LC_MESSAGES/libvirt.mo
+usr/share/locale/gl/LC_MESSAGES/libvirt.mo
+usr/share/locale/gu/LC_MESSAGES/libvirt.mo
+usr/share/locale/he/LC_MESSAGES/libvirt.mo
+usr/share/locale/hi/LC_MESSAGES/libvirt.mo
+usr/share/locale/hr/LC_MESSAGES/libvirt.mo
+usr/share/locale/hu/LC_MESSAGES/libvirt.mo
+usr/share/locale/hy/LC_MESSAGES/libvirt.mo
+usr/share/locale/id/LC_MESSAGES/libvirt.mo
+usr/share/locale/is/LC_MESSAGES/libvirt.mo
+usr/share/locale/it/LC_MESSAGES/libvirt.mo
+usr/share/locale/ja/LC_MESSAGES/libvirt.mo
+usr/share/locale/ka/LC_MESSAGES/libvirt.mo
+usr/share/locale/kn/LC_MESSAGES/libvirt.mo
+usr/share/locale/ko/LC_MESSAGES/libvirt.mo
+usr/share/locale/ku/LC_MESSAGES/libvirt.mo
+usr/share/locale/lo/LC_MESSAGES/libvirt.mo
+usr/share/locale/lt/LC_MESSAGES/libvirt.mo
+usr/share/locale/lv/LC_MESSAGES/libvirt.mo
+usr/share/locale/mk/LC_MESSAGES/libvirt.mo
+usr/share/locale/ml/LC_MESSAGES/libvirt.mo
+usr/share/locale/mr/LC_MESSAGES/libvirt.mo
+usr/share/locale/ms/LC_MESSAGES/libvirt.mo
+usr/share/locale/my/LC_MESSAGES/libvirt.mo
+usr/share/locale/nb/LC_MESSAGES/libvirt.mo
+usr/share/locale/nl/LC_MESSAGES/libvirt.mo
+usr/share/locale/nn/LC_MESSAGES/libvirt.mo
+usr/share/locale/nso
+usr/share/locale/nso/LC_MESSAGES
+usr/share/locale/nso/LC_MESSAGES/libvirt.mo
+usr/share/locale/or/LC_MESSAGES/libvirt.mo
+usr/share/locale/pa/LC_MESSAGES/libvirt.mo
+usr/share/locale/pl/LC_MESSAGES/libvirt.mo
+usr/share/locale/pt/LC_MESSAGES/libvirt.mo
+usr/share/locale/pt_BR/LC_MESSAGES/libvirt.mo
+usr/share/locale/ro/LC_MESSAGES/libvirt.mo
+usr/share/locale/ru/LC_MESSAGES/libvirt.mo
+usr/share/locale/si/LC_MESSAGES/libvirt.mo
+usr/share/locale/sk/LC_MESSAGES/libvirt.mo
+usr/share/locale/sl/LC_MESSAGES/libvirt.mo
+usr/share/locale/sq/LC_MESSAGES/libvirt.mo
+usr/share/locale/sr/LC_MESSAGES/libvirt.mo
+usr/share/locale/sr@latin/LC_MESSAGES/libvirt.mo
+usr/share/locale/sv/LC_MESSAGES/libvirt.mo
+usr/share/locale/ta/LC_MESSAGES/libvirt.mo
+usr/share/locale/te/LC_MESSAGES/libvirt.mo
+usr/share/locale/th/LC_MESSAGES/libvirt.mo
+usr/share/locale/tr/LC_MESSAGES/libvirt.mo
+usr/share/locale/uk/LC_MESSAGES/libvirt.mo
+usr/share/locale/ur/LC_MESSAGES/libvirt.mo
+usr/share/locale/vi/LC_MESSAGES/libvirt.mo
+usr/share/locale/zh_CN/LC_MESSAGES/libvirt.mo
+usr/share/locale/zh_TW/LC_MESSAGES/libvirt.mo
+usr/share/locale/zu/LC_MESSAGES/libvirt.mo
+usr/share/man/man1/virsh.1
+usr/share/man/man1/virt-xml-validate.1
+var/cache/libvirt
+var/lib/libvirt
+var/lib/libvirt/boot
+var/lib/libvirt/images
+var/lib/libvirt/iptables
+var/lib/libvirt/iptables/filter
+var/lib/libvirt/iptables/nat
+var/lib/libvirt/lxc
+var/lib/libvirt/network
+var/lib/libvirt/qemu
+var/lib/libvirt/uml
+var/log/libvirt
+var/log/libvirt/qemu
+var/run/libvirt
+var/run/libvirt/lxc
+var/run/libvirt/network
+var/run/libvirt/qemu
+var/run/libvirt/uml