Summary: | New ebuild: cdfs 2.4.20 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | CJ Kucera <pez> |
Component: | New packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED LATER | ||
Severity: | enhancement | CC: | chutz+bugs.gentoo.org, mmueller12345, yvasilev |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
cdfs-2.4.20.ebuild
Kernel version checking and auto umount/rmmod. Few other things too. Kernel version checking and auto umount/rmmod. Few other things too. Kernel version checking and auto umount/rmmod. Few other things too. cdfs-2.6.3a.ebuild sys-fs/cdfs-2.6.12.ebuild |
Description
CJ Kucera
2003-05-12 15:19:16 UTC
Created attachment 11839 [details]
cdfs-2.4.20.ebuild
Here's the ebuild. Oh, I forgot to mention this earlier:
To use CDfs, "modprobe cdfs" and then do something along the lines of:
mount -t cdfs /dev/cdrom /mnt/cdfs
And that'll do it...
Created attachment 15186 [details]
Kernel version checking and auto umount/rmmod. Few other things too.
I don't know if this is the same as the previous bugzilla page... just in case,
I add my comments here also. It's my 1st time :( Don't know how this work.
---
Added pkg_setup that:
- validates kernel version. The versionning is synced with the kernel.
- umount cdfs is it's mounted.
- unload module from memry if it's inserted.
I think I tested pretty much all the possibilities and it works. Hope I did
not over did it.
I removed the auto inserting at the end and instead added instructions for the
user. I don't think it's the ebuild's job to inser
t the module.
I tried using make DESTDIR=${D} install || die, but it spitted at my face with
a ACCESS DENIED when it tried to do whatever operati
on in the modules folder. So I commented my line and I simply corrected the
original command's folder destination that was incorre
ct and now points to .../${KV}/kernel/fs/cdfs and it gives the same result as
if it had been installed with make.
This is my first attemps at an ebuild. Be gentle with me.
The ebuild works on my box.
Created attachment 15187 [details]
Kernel version checking and auto umount/rmmod. Few other things too.
I don't know if this is the same as the previous bugzilla page... just in case,
I add my comments here also. It's my 1st time :( Don't know how this work.
---
Added pkg_setup that:
- validates kernel version. The versionning is synced with the kernel.
- umount cdfs is it's mounted.
- unload module from memry if it's inserted.
I think I tested pretty much all the possibilities and it works. Hope I did
not over did it.
I removed the auto inserting at the end and instead added instructions for the
user. I don't think it's the ebuild's job to inser
t the module.
I tried using make DESTDIR=${D} install || die, but it spitted at my face with
a ACCESS DENIED when it tried to do whatever operati
on in the modules folder. So I commented my line and I simply corrected the
original command's folder destination that was incorre
ct and now points to .../${KV}/kernel/fs/cdfs and it gives the same result as
if it had been installed with make.
This is my first attemps at an ebuild. Be gentle with me.
The ebuild works on my box.
Created attachment 15188 [details]
Kernel version checking and auto umount/rmmod. Few other things too.
I don't know if this is the same as the previous bugzilla page... just in case,
I add my comments here also. It's my 1st time :( Don't know how this work.
---
Added pkg_setup that:
- validates kernel version. The versionning is synced with the kernel.
- umount cdfs is it's mounted.
- unload module from memry if it's inserted.
I think I tested pretty much all the possibilities and it works. Hope I did
not over did it.
I removed the auto inserting at the end and instead added instructions for the
user. I don't think it's the ebuild's job to inser
t the module.
I tried using make DESTDIR=${D} install || die, but it spitted at my face with
a ACCESS DENIED when it tried to do whatever operati
on in the modules folder. So I commented my line and I simply corrected the
original command's folder destination that was incorre
ct and now points to .../${KV}/kernel/fs/cdfs and it gives the same result as
if it had been installed with make.
This is my first attemps at an ebuild. Be gentle with me.
The ebuild works on my box.
Sorry for the multi-posts. Buzilla reported an error. I'll test and commit an ebuild for the latest version once they have fixed the major problem described on the homepage with recent kernels: "Warning: the latest version of cdfs will crash if you read audio CDs with kernels>2.6.3" Please reopen bug when that happens and I'll look into it. Created attachment 47094 [details] cdfs-2.6.3a.ebuild Here is an ebuild for the 2.6.3a version. I modified it to use the linux-mod.eclass, which made the ebuild very, very short. This ebuild currently depends on bug #76004, but that bug should be fixed in no time. (In reply to comment #6) > I'll test and commit an ebuild for the latest version once they have fixed the major problem described on the homepage with recent kernels: > > "Warning: the latest version of cdfs will crash if you read audio CDs with kernels>2.6.3" > > Please reopen bug when that happens and I'll look into it. There is a version 2.6.12 of cdfs, and the big fat warning about the crash with audio CDs has been removed from the homepage. I don't have an audio CD to test right now, but maybe if it works OK, maybe it's time to add the package to portage? Created attachment 70953 [details]
sys-fs/cdfs-2.6.12.ebuild
CDFS 2.6.12 ebuild I propose sys-fs as caregorie
|