SHA256
1
0
forked from pool/libvirt
OBS User unknown 2008-01-07 15:31:17 +00:00 committed by Git OBS Bridge
parent 845bf6072a
commit e5e909cdc4
5 changed files with 50 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16a768338a261659cf3278f502a8741578cd654ecfee6dcd6a5425b6e1d18927
size 1497646

3
libvirt-0.4.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dba8a3e9481d368efff1e4964e6876221ebb569e41285b82b9fb30c27a888e05
size 1857289

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Jan 4 11:06:25 MST 2008 - jfehlig@novell.com
- Updated to libvirt-0.4.0
- SASL based authentication for libvirt remote support
- PolicyKit authentication
- Documentation: example files for QEMU and libvirtd configuations,
authentication documentation updates
- Bug fixes, improvements and code cleanup
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 9 14:00:25 MDT 2007 - jfehlig@novell.com Tue Oct 9 14:00:25 MDT 2007 - jfehlig@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libvirt (Version 0.3.3) # spec file for package libvirt (Version 0.4.0)
# #
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -11,16 +11,27 @@
# norootforbuild # norootforbuild
Name: libvirt Name: libvirt
BuildRequires: bridge-utils fdupes gettext gnutls-devel libxml2-devel ncurses-devel pkg-config python-devel readline-devel xen-devel xhtml-dtd BuildRequires: PolicyKit-devel avahi-devel bridge-utils cyrus-sasl-devel fdupes gettext gnutls-devel libxml2-devel ncurses-devel pkg-config python-devel readline-devel xen-devel xhtml-dtd
# Only for directory ownership: # Only for directory ownership:
BuildRequires: gtk-doc BuildRequires: gtk-doc
Url: http://libvirt.org/ Url: http://libvirt.org/
License: LGPL v2 or later License: LGPL v2.1 or later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
AutoReqProv: yes AutoReqProv: yes
Version: 0.3.3 Version: 0.4.0
Release: 1 Release: 1
Summary: A C toolkit to interract with the virtualization capabilities of Linux Summary: A C toolkit to interract with the virtualization capabilities of Linux
Requires: dnsmasq
Requires: bridge-utils
Requires: iptables
# So remote clients can access libvirt over SSH tunnel
# (client invokes 'nc' against the UNIX socket on the server)
Requires: nc
Requires: cyrus-sasl
# Not technically required, but makes 'out-of-box' config
# work correctly & doesn't have onerous dependancies
Requires: cyrus-sasl-md5
Requires: PolicyKit >= 0.6
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Source1: libvirtd.init Source1: libvirtd.init
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -114,7 +125,10 @@ rm po/no.*
%build %build
autoreconf -f -i autoreconf -f -i
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure %configure --with-init-script=none \
--with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
--with-remote-file=%{_localstatedir}/run/libvirtd.pid \
--with-xen-proxy=no
make DOCS_DIR=%{_docdir}/%{name}-python EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name} make DOCS_DIR=%{_docdir}/%{name}-python EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
cd docs/examples ; make index.html ; cd ../.. cd docs/examples ; make index.html ; cd ../..
@ -124,6 +138,9 @@ cp -a AUTHORS ChangeLog COPYING NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{nam
cp -a docs/{*.html,*.gif,*.rng,libvirt*.xml} $RPM_BUILD_ROOT%{_docdir}/%{name} cp -a docs/{*.html,*.gif,*.rng,libvirt*.xml} $RPM_BUILD_ROOT%{_docdir}/%{name}
mkdir $RPM_BUILD_ROOT%{_docdir}/%{name}/examples mkdir $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
install -m 0644 docs/examples/{*.c,*.html} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples install -m 0644 docs/examples/{*.c,*.html} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
# remove currently unsupported locale
rm -rf $RPM_BUILD_ROOT/usr/share/locale/sr@latin
# for now, do not install the default network definition
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
mkdir -p $RPM_BUILD_ROOT/var/run/libvirtd mkdir -p $RPM_BUILD_ROOT/var/run/libvirtd
@ -146,11 +163,6 @@ ln_dupes()
ln_dupes .%{_docdir}/%{name} ln_dupes .%{_docdir}/%{name}
ln_dupes ./usr/share/locale ln_dupes ./usr/share/locale
) )
#mkdir -p $RPM_BUILD_ROOT/etc/permissions.d
#cat > $RPM_BUILD_ROOT/etc/permissions.d/libvirt <<EOF
#%{_libdir}/libvirt_proxy root.root 4755
#EOF
rm $RPM_BUILD_ROOT%{_libexecdir}/libvirt_proxy
# init script # init script
mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/etc/init.d
install %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/libvirtd install %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/libvirtd
@ -189,6 +201,10 @@ rm -rf $RPM_BUILD_ROOT
%dir /var/run/libvirt/ %dir /var/run/libvirt/
%config /etc/init.d/libvirtd %config /etc/init.d/libvirtd
%{_sbindir}/rclibvirtd %{_sbindir}/rclibvirtd
%config %{_sysconfdir}/libvirt/libvirtd.conf
%config %{_sysconfdir}/libvirt/qemu.conf
%config %{_sysconfdir}/sasl2/libvirt.conf
%{_datadir}/PolicyKit/policy/libvirtd.policy
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
@ -210,7 +226,15 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_docdir}/%{name}-python %doc %{_docdir}/%{name}-python
%{py_sitedir}/libvirt.py* %{py_sitedir}/libvirt.py*
%{py_sitedir}/libvirtmod* %{py_sitedir}/libvirtmod*
%changelog %changelog
* Fri Jan 04 2008 - jfehlig@novell.com
- Updated to libvirt-0.4.0
- SASL based authentication for libvirt remote support
- PolicyKit authentication
- Documentation: example files for QEMU and libvirtd configuations,
authentication documentation updates
- Bug fixes, improvements and code cleanup
* Tue Oct 09 2007 - jfehlig@novell.com * Tue Oct 09 2007 - jfehlig@novell.com
- Updated to libvirt 0.3.3 - Updated to libvirt 0.3.3
- Avahi mDNS daemon export - Avahi mDNS daemon export

View File

@ -5,7 +5,7 @@
# #
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: libvirtd # Provides: libvirtd
# Should-Start: $remote_fs xend # Should-Start: xend
# Default-Start: 3 5 # Default-Start: 3 5
# Default-Stop: 0 1 2 4 6 # Default-Stop: 0 1 2 4 6
# Short-Description: daemon for libvirt virtualization API # Short-Description: daemon for libvirt virtualization API
@ -28,7 +28,7 @@ rc_reset
case "$1" in case "$1" in
start) start)
echo -n "Starting libvirtd " echo -n "Starting libvirtd "
startproc $LIBVIRTD_BIN startproc $LIBVIRTD_BIN -d
rc_status -v rc_status -v
;; ;;
stop) stop)