Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203736 - cdemu-1.0.0 (New Packages and Update)
Summary: cdemu-1.0.0 (New Packages and Update)
Status: RESOLVED DUPLICATE of bug 198672
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-30 02:52 UTC by Jan Bessai
Modified: 2007-12-30 03:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild for the cdemu-client (cdemu-1.0.0.ebuild,627 bytes, text/plain)
2007-12-30 02:54 UTC, Jan Bessai
Details
Ebuld for the cdemu-daemon (cdemud-1.0.0.ebuild,756 bytes, text/plain)
2007-12-30 02:55 UTC, Jan Bessai
Details
Ebuild for the cdemu development lib libmirage (libmirage-1.0.0.ebuild,771 bytes, text/plain)
2007-12-30 02:55 UTC, Jan Bessai
Details
Ebuild for the cdemu kernel module vhba (vhba-1.0.0.ebuild,1.41 KB, text/plain)
2007-12-30 02:56 UTC, Jan Bessai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Bessai 2007-12-30 02:52:28 UTC
Hi,
the virtual CD drive suite cdemu has gone through big changes recently. These changes include a split into 4 programs: an user space daemon (cdemu-daemon), a client (cdemu-client), a library (libmirage) and a kernel module (vhba-module). Details can be found on cdemu.org. I've made ebuilds for these new parts of cdemu.
My cdemu-1.0.0.ebuild merges the client application. I think it's most convenient to have the client using the naming structures of the old ebuild, as this will make updating easy (the client pulls in the rest of cdemu as dependencies).
cdemud-1.0.0.ebuild is the userspace daemon, which will talk to the new kernel module. The cdemu crew calls the package cdemu-daemon, but the executable is named cdemud, so cdemud will cause less confusion and is shorter. The ebuild is designed to be placed in app-cdr, like the client.
libmirage-1.0.0.ebuild is for the new library, which is needed for the daemon and development purposes. The ebuild should be placed in dev-libs. It has a use flag for installing advanced developer documentation.
vhba-1.0.0.ebuild installs a kernel module, which emulates SCSI CD-ROM devices.
The cdemu suite needs the kernel to have BLK_DEV_SR (SCSI CD-ROM support) and CHR_DEV_SG (SCSI generic support) options set to work properly. This is checked by vhba-1.0.0.ebuild and produces a non fatal warning if missing (packages complie and even execute without these kernel options). Furthermore vhba-1.0.0.ebuild adds a new group called cdemu with next avail. gid and creates an udev rule to give this group write access to a control device created by the vhba module. Documentation on this can be found at http://cdemu.sourceforge.net/pkg_vhba.php in the packaging guidelines. I think vhba-1.0.0.ebuild should go to sys-fs.


I've tested all packages and ebuilds on AMD64, free of errors so far. They are supposed to work on x68, ppc and hppa, too.

These were my first ebuilds, so I hope everything (including my rusty English) is acceptable.

Best regards and happy new year,
Jan
Comment 1 Jan Bessai 2007-12-30 02:54:31 UTC
Created attachment 139601 [details]
New ebuild for the cdemu-client
Comment 2 Jan Bessai 2007-12-30 02:55:07 UTC
Created attachment 139602 [details]
Ebuld for the cdemu-daemon
Comment 3 Jan Bessai 2007-12-30 02:55:36 UTC
Created attachment 139604 [details]
Ebuild for the cdemu development lib libmirage
Comment 4 Jan Bessai 2007-12-30 02:56:00 UTC
Created attachment 139605 [details]
Ebuild for the cdemu kernel module vhba
Comment 5 Jan Bessai 2007-12-30 02:58:18 UTC
cdemu-1.0.0 depends on cdemud-1.0.0, which depends on vhba-1.0.0 and libmirage-1.0.0.
Comment 6 Jan Bessai 2007-12-30 03:08:22 UTC

*** This bug has been marked as a duplicate of bug 198672 ***
Comment 7 Jan Bessai 2007-12-30 03:08:53 UTC
Sry... created ebuilds without looking at the existing ones.