Changes of Revision 4
[-] | Added | cdemu-daemon.changes |
x 1
2 +------------------------------------------------------------------- 3 +Sun Jun 9 14:37:29 UTC 2013 - jengelh@inai.de 4 + 5 +- Update to new upstream release 2.1.0 6 +* Use non-blocking I/O on VHBA control device, implemented device 7 + restart on kernel/userspace I/O errors 8 +* Added support for device addition/removal. To preserve device 9 + numbering, devices can only be appended, and only the last device 10 + can be removed. 11 +* Auto-started daemon now creates only a single device by default. 12 +* Fixed device ID reported by INQUIRY, where last letters were 13 + missing 14 +* Session autostart script now uses "default" instead of "pulse" 15 + for audio driver. 16 +* If audio device initialization fails, fallback to "null" instead 17 + of just stopping the playback thread. 18 + 19 +------------------------------------------------------------------- 20 +Sat Apr 13 21:03:26 UTC 2013 - jengelh@inai.de 21 + 22 +- Resolve build failure with glib 2.36 by allowing deprecated 23 + functions for the time being (-UG_DISABLE_DEPRECATED) 24 + 25 +------------------------------------------------------------------- 26 +Sat Dec 22 08:23:15 UTC 2012 - jengelh@inai.de 27 + 28 +- Update to new upstream release 2.0.0 (up from 1.5.0) 29 +* Support for ISZ, CSO, DMG, GBI, ECM, gzip and xz formats 30 +* Partial support for 1-track MDX 31 +- Resolves a problem with autostarting cdemu-daemon 32 + (bnc#809181, bnc#809862) 33 + 34 +------------------------------------------------------------------- 35 +Mon Nov 19 20:02:02 UTC 2012 - jengelh@inai.de 36 + 37 +- Remove cdemud-launch helper, this caused too much confusion. 38 + 39 +------------------------------------------------------------------- 40 +Tue May 29 08:47:19 UTC 2012 - jengelh@inai.de 41 + 42 +- Remove dbus autostart and systemd unit file for system-bus mode. 43 + Place system logfile in proper place (bnc#764063) 44 + 45 +------------------------------------------------------------------- 46 +Tue May 8 22:39:47 UTC 2012 - jengelh@inai.de 47 + 48 +- Initial package for build.opensuse.org 49 |
||
[-] | Added | cdemu-daemon.spec ^ |
86 1
2 +# 3 +# spec file for package cdemu-daemon 4 +# 5 +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. 6 +# 7 +# All modifications and additions to the file contributed by third parties 8 +# remain the property of their copyright owners, unless otherwise agreed 9 +# upon. The license for this file, and modifications and additions to the 10 +# file, is the same license as for the pristine package itself (unless the 11 +# license for the pristine package is not an Open Source License, in which 12 +# case the license is the MIT License). An "Open Source License" is a 13 +# license that conforms to the Open Source Definition (Version 1.9) 14 +# published by the Open Source Initiative. 15 + 16 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ 17 +# 18 + 19 + 20 +Name: cdemu-daemon 21 +Version: 2.1.0 22 +Release: 0 23 +Summary: Device daemon for cdemu, a virtual CD-ROM device emulator 24 +License: GPL-2.0+ 25 +Group: System/Daemons 26 +Url: http://cdemu.sf.net/ 27 + 28 +#Freecode-URL: https://freecode.com/projects/cdemu-for-linux 29 +#Git-Clone: git://git.code.sf.net/p/cdemu/code 30 +#DL-URL: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 31 +Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 32 +Source3: cdemu-daemon.sysconfig 33 +Patch1: logfile.diff 34 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 35 +BuildRequires: cmake >= 2.8.5 36 +BuildRequires: pkgconfig 37 +BuildRequires: pkgconfig(ao) >= 0.8.0 38 +BuildRequires: pkgconfig(gio-2.0) >= 2.28 39 +BuildRequires: pkgconfig(glib-2.0) >= 2.28 40 +BuildRequires: pkgconfig(gmodule-2.0) >= 2.28 41 +BuildRequires: pkgconfig(gobject-2.0) >= 2.28 42 +BuildRequires: pkgconfig(gthread-2.0) >= 2.28 43 +BuildRequires: pkgconfig(libmirage) >= 2.1.0 44 + 45 +%description 46 +cdemu-daemon receives SCSI commands from kernel module thorugh the 47 +VHBA module and processes them, passing the requested data back to 48 +the kernel. The daemon implements the actual virtual device; one 49 +instance per each device registered by kernel module. It uses 50 +libmirage for the image access (e.g. sector reading). 51 + 52 +The daemon registers itself on D-BUS's system or session bus 53 +(depending on the options passed to it) where it exposes an interface 54 +that can be used by clients to control it. 55 + 56 +%prep 57 +%setup -q 58 +%patch -P 1 -p1 59 + 60 +%build 61 +# cdemu-daemon still uses deprecated g_thread_init, so use 62 +# G_DISABLE_DEPRECATED. 63 +cmake . -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \ 64 + -DCMAKE_INSTALL_LIBEXECDIR:PATH="%_libexecdir" \ 65 + -DCMAKE_C_FLAGS:STRING="%optflags -UG_DISABLE_DEPRECATED"; 66 +make %{?_smp_mflags}; 67 + 68 +%install 69 +b="%buildroot"; 70 +make install DESTDIR="$b"; 71 +mkdir -p "$b/%_sbindir"; 72 +mkdir -p "$b/%_localstatedir/adm/fillup-templates"; 73 +install -pm0644 "%{S:3}" "$b/%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon"; 74 +# Not desired 75 +rm -Rf "$b/%_datadir/dbus-1/system-services" "$b/%_sysconfdir/dbus-1/system.d"; 76 + 77 +%files 78 +%defattr(-,root,root) 79 +%_bindir/cdemu-daemon 80 +%_libexecdir/cdemu-daemon-session.sh 81 +%_datadir/dbus-1 82 +%_mandir/man8/cdemu-daemon.8* 83 +%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon 84 + 85 +%changelog 86 |
||
[+] | Added | logfile.diff ^ |
@@ -0,0 +1,17 @@ +--- + system/cdemu-daemon-system.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: cdemu-daemon-2.1.0/system/cdemu-daemon-system.sh +=================================================================== +--- cdemu-daemon-2.1.0.orig/system/cdemu-daemon-system.sh ++++ cdemu-daemon-2.1.0/system/cdemu-daemon-system.sh +@@ -6,7 +6,7 @@ + # Default settings + NUM_DEVICES=1 + AUDIO_DRIVER=null +-LOG_FILE=/tmp/cdemu-daemon.log ++LOG_FILE=/var/log/cdemu-daemon.log + + # Read the settings + CONFIG_FILE=/etc/sysconfig/cdemu-daemon | ||
Added | cdemu-daemon-2.1.0.tar.bz2 ^ | |
[+] | Added | cdemu-daemon.sysconfig ^ |
@@ -0,0 +1,11 @@ +# Module to insert +MODULE=vhba + +# Number of devices +DEVICES=1 + +# Control device +CTL_DEVICE=/dev/vhba_ctl + +# Audio backend: pulse, alsa, oss, null (any driver supported by libao) +AUDIO_BACKEND=null |