Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133548 - New ebuild: fuse4bsd-0.3.0 and patch for fuse-2.6.0_pre2.ebuild
Summary: New ebuild: fuse4bsd-0.3.0 and patch for fuse-2.6.0_pre2.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High enhancement (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-05-16 15:39 UTC by Robert Sebastian Gerus
Modified: 2006-05-22 05:45 UTC (History)
2 users (show)

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


Attachments
fuse-2.6.0_pre2.ebuild_patch (fuse-2.6.0_pre2.ebuild_patch,1.46 KB, patch)
2006-05-16 15:39 UTC, Robert Sebastian Gerus
Details | Diff
fuse4bsd-0.3.0.ebuild (fuse4bsd-0.3.0.ebuild,1.02 KB, text/plain)
2006-05-16 15:40 UTC, Robert Sebastian Gerus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Sebastian Gerus 2006-05-16 15:39:29 UTC
Ebuild for sys-fs/fuse4bsd-0.3.0 and changes in fuse-2.6.0_pre2 required by it.
Comment 1 Robert Sebastian Gerus 2006-05-16 15:39:56 UTC
Created attachment 86891 [details, diff]
fuse-2.6.0_pre2.ebuild_patch
Comment 2 Robert Sebastian Gerus 2006-05-16 15:40:26 UTC
Created attachment 86892 [details]
fuse4bsd-0.3.0.ebuild
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-16 23:48:47 UTC
There's no conditional inherit, especially use in global scope can't be used at all.
I suppose the only way to fix this is to split fuse's module from fuse's libraries that are cross-platforms.

Stefan what you think, is it feasible to have a new version of fuse with only the userland, and one with only the module? This would also follow how things are done with other packages (and minimise the need of rebuild after a kernel update).
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-17 10:14:53 UTC
johnm I am putting you on CC here to ok the linux-mod patch, includes bsd-dep and linux-postinst-conditional-depmod:
http://genstef.homelinux.org/linux-mod-postinst-and-linux-only.diff


ok flameeyes, the problem with splitting out the module is that I want users to be able to emerge fuse and have it working (and that includes a kernel module).

A fuse->fuse-module DEPEND is not possible, because portage doe snot allow kernel-config-confitional DEPENDs whcih would be needed to cover all cases.

However fixing the fuse module in conjunction with the above linux-mod patch is pretty easy:
http://genstef.homelinux.org/fuse-bsd.patch

My patches are a modified version of arachnist's and have been tested by him. Thanks arachnist!
Comment 5 John Mylchreest (RETIRED) gentoo-dev 2006-05-22 02:11:38 UTC
Assuming its been tested, (and im sure it has been) this all looks fine.
My availability over the past week or so has been a little stodgy at best, so please feel free to commit this direct to the tree.

Regards,
John
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-22 02:34:03 UTC
ok, I added both my patches to the tree. Leaving it to the bsd team to add fuse4bsd and the keyword to fuse. Thanks all :)
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-22 05:45:01 UTC
Ebuild and keywords added, thanks Robert, Stefan and John :)