R&D/VRouter

libvirt 패키징

sunshout 2009. 12. 8. 15:05

libvirt 관련 패키지 종류
파일목록의 진한색으로 칠해진 파일들은 수정된 파일임
 
1) libvirt0: libvirty for interfacing with different virtualizaiton system
(libvirt.so.0.6.1 파일 관련)

파일 목록 (Language : text)

/etc/ld.so.conf.d/libvirt.conf
/usr/local/lib/libvirt.so.0
/usr/local/lib/libvirt.so.0.6.1
/usr/local/share/doc/libvirt0/AUTHORS
/usr/local/share/doc/libvirt0/NEWS.gz
/usr/local/share/doc/libvirt0/README
/usr/local/share/doc/libvirt0/TODO
/usr/local/share/doc/libvirt0/changelog.Debian.gz
/usr/local/share/doc/libvirt0/copyright
 


control (Language : text)

Package: libvirt0
Source: libvirt
Version: 0.6.1-0ubuntu5_VRSim
Architecture: i386
Maintainer: VRSim Developers <sunshout@paran.com>
Depends: libc6 (>= 2.8), libgcrypt11 (>= 1.4.0), libgnutls26 (>= 2.4.0-0), libsasl2-2, libselinux1 (>= 2.0.59), libtasn1-3 (>= 0.3.4), libxen3, libxml2 (>= 2.6.27), zlib1g (>= 1:1.1.4)
Recommends: lvm2
Conflicts: libvirt0-dbg (<< 0.4.2-6ubuntu1)
Replaces: libvirt0-dbg (<< 0.4.2-6ubuntu1)
Section: libs
Priority: optional
Homepage: http://libvirt.org
Description: library for interfacing with different virtualization systems
 Libvirt is a C toolkit to interact with the virtualization capabilities
 of recent versions of Linux (and other OSes). The library aims at providing
 a long term stable C API for different virtualization mechanisms. It currently
 supports QEMU, KVM, and XEN.
 modified for Network interface connections using UDP unicast
Original-Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>
 


postinst (Language : text)

#!/bin/sh
set -e
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
        ldconfig
fi
# End automatically added section
 


postrm (Language : text)

#!/bin/sh
set -e
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
        ldconfig
fi
# End automatically added section
 



 

shlibs (Language : text)

libvirt 0 libvirt0 (>= 0.5.0)
 






 2) libvirt-bin : the programs for the libvirt library (libvirtd, virsh 관련 파일)

파일목록 (Language : text)

/etc/default/libvirt-bin
/etc/init.d/libvirt-bin
/etc/rc2.d/S25libvirt-bin
/etc/rc3.d/S25libvirt-bin
/etc/rc4.d/S25libvirt-bin
/etc/rc5.d/S25libvirt-bin
/usr/local/etc/libvirt/libvirtd.conf
/usr/local/etc/libvirt/qemu.conf
/usr/local/etc/libvirt/qemu/networks/autostart/default.xml
/usr/local/etc/libvirt/qemu/networks/default.xml
/usr/local/etc/logrotate.d/libvirtd
/usr/local/etc/sasl2/libvirt.conf
/usr/local/bin/virsh
/usr/local/sbin/libvirtd

/usr/local/share/PolicyKit/policy/org.libvirt.unix.policy
/usr/local/share/doc/libvirt-bin/AUTHORS
/usr/local/share/doc/libvirt-bin/NEWS.gz
/usr/local/share/doc/libvirt-bin/README
/usr/local/share/doc/libvirt-bin/README.Debian
/usr/local/share/doc/libvirt-bin/TODO
/usr/local/share/doc/libvirt-bin/changelog.Debian.gz
/usr/local/share/doc/libvirt-bin/copyright
/usr/local/share/doc/libvirt-bin/examples/libvirt-suspendonreboot
/usr/local/share/doc/libvirt-bin/examples/libvirtd.conf.gz
/usr/local/share/doc/libvirt-bin/examples/libvirtd.policy
/usr/local/share/doc/libvirt-bin/examples/libvirtd.sasl
/usr/local/share/man/man1/virsh.1.gz
 


control (Language : text)

Package: libvirt-bin
Source: libvirt
Version: 0.6.1-0ubuntu5.1_VRSim
Architecture: i386
Maintainer: VRSim Developers <sunshout@paran.com>
Depends: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.4), libdbus-1-3 (>= 1.1.1), libgcrypt11 (>= 1.4.0), libgnutls26 (>= 2.4.0-0), libhal1 (>= 0.5.8.1), libpolkit-dbus2 (>= 0.7), libpolkit2 (>= 0.7), libreadline5 (>= 5.2), libsasl2-2, libselinux1 (>= 2.0.59), libtasn1-3 (>= 0.3.4), libvirt0 (>= 0.6.1-0ubuntu5.1), libxen3, libxml2 (>= 2.6.27), zlib1g (>= 1:1.1.4), adduser, logrotate, bridge-utils, dnsmasq-base, netcat-openbsd, iptables
Recommends: kvm
Suggests: policykit
Enhances: kvm, qemu, xen
Section: admin
Priority: optional
Homepage: http://libvirt.org
Description: the programs for the libvirt library
 Libvirt is a C toolkit to interact with the virtualization capabilities
 of recent versions of Linux (and other OSes). The library aims at providing
 a long term stable C API for different virtualization mechanisms. It currently
 supports QEMU, KVM, and XEN.
 modified for Network interface connections using UDP unicast

 This package contains the supporting binaries to use with libvirt
Original-Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>
 


prerm (Language : text)

#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/libvirt-bin" ] && [ "$1" = remove ]; then
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d libvirt-bin stop || exit $?
        else
                /etc/init.d/libvirt-bin stop || exit $?
        fi
fi
# End automatically added section
 


postrm (Language : text)

#!/bin/sh
# postrm script for #PACKAGE#
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postrm> `remove'
#        * <postrm> `purge'
#        * <old-postrm> `upgrade' <new-version>
#        * <new-postrm> `failed-upgrade' <old-version>
#        * <new-postrm> `abort-install'
#        * <new-postrm> `abort-install' <old-version>
#        * <new-postrm> `abort-upgrade' <old-version>
#        * <disappearer's-postrm> `disappear' <overwriter>
#          <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    purge)
        if getent group libvirt >/dev/null; then
                delgroup libvirt || true
        fi

    ;;
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
        update-rc.d libvirt-bin remove >/dev/null || exit $?
fi
# End automatically added section


exit 0

 




postinst (Language : text)

#!/bin/sh
# postinst script for libvirt-bin
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#        * <old-postinst> `abort-upgrade' <new version>
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
#          <new-version>
#        * <postinst> `abort-remove'
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
#          <failed-install-package> <version> `removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    configure)
        if ! getent group libvirt >/dev/null; then
                addgroup --system libvirtd
        fi

        # libvirt from 0.6.0 on is safe to restart with running vms:
        if [ -n "$2" ] &&  dpkg --compare-versions "$2" ge 0.6.0; then
            if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d libvirt-bin stop
            else
                /etc/init.d/libvirt-bin stop
            fi
        fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installinit
if [ -x "/etc/init.d/libvirt-bin" ]; then
        update-rc.d libvirt-bin defaults >/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d libvirt-bin start || exit $?
        else
                /etc/init.d/libvirt-bin start || exit $?
        fi
fi
# End automatically added section


exit 0

 








 3) python-libvirt : libvirt 의 Python binding

파일 리스트 (Language : text)
/usr/lib/python2.6/dist-packages/libvirtmod.so
/usr/share/doc/python-libvirt/AUTHORS
/usr/share/doc/python-libvirt/NEWS.gz
/usr/share/doc/python-libvirt/README
/usr/share/doc/python-libvirt/TODO
/usr/share/doc/python-libvirt/changelog.Debian.gz
/usr/share/doc/python-libvirt/copyright
/usr/share/pyshared-data/python-libvirt
/usr/share/pyshared/libvirt.py