Hi all,
I created a Gentoo ebuild file for owfs v.2.6p4. This is my first attempt
at creating an ebuild file, but it seems to work fine on my system. There
was already a bug filed in Gentoo's Bugzilla to get an ebuild put in the
official portage tree, but it's been silent for a long while. I submitted
my ebuild there, and hopefully it will make its way to the official tree.
Until then you can grab it from the bugzilla bug:
http://bugs.gentoo.org/show_bug.cgi?id=77174
To get the default configuration (what you'd get if you ran ./configure with
no options), specify the "vanilla" use flag in the /etc/portage/package.use
file.
I also included use flags for debug, fuse, ftp, httpd, parport, perl, php,
python, server, tcl, and usb. That list probably needs to be expanded to
include more config options. Specifying vanilla will cause portage to
ignore all the other use flags for owfs.
I put a ~x86 flag on it, so you'll need to add that to
/etc/portage/package.keywords also. I listed all the other architectures
with the same testing status although I have no idea whether they work or
not.
Here are step-by-step directions to installing using the ebuild file:
1. If you don't already have a portage overlay directory, add the following
line to your /etc/make.conf file so portage knows where to look:
PORTDIR_OVERLAY="/usr/local/portage"
2. Download the file from the above link and put it in
/usr/local/portage/sys-fs/owfs/ (If you already had a different overlay
directory replace /usr/local/portage with that, and also do the same in the
next step.)
3. Run the following to generate the manifest: ebuild
/usr/local/portage/sys-fs/owfs-2.6_p4.ebuild digest
4. Specify that owfs should use the vanilla use flag (or others from the
list above if you want) by adding this line to /etc/portage/package.use:
sys-fs/owfs vanilla
5. Add to /etc/portage/package.keywords the following line: sys-fs/owfs
~x86
6. emerge -av owfs
When a new version of owfs is released all that needs to be done is to copy
the ebuild file to a new file name that reflects the new version number.
Use the same naming format. The contents of the file are not version
specific. You'll also need to re-do step 3 for the new ebuild.
Gentoo users, give it a try and post your results!
Thanks,
Ben
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers