I created an ebuild for the ural-linux-0.8.2 wireless drivers. These drivers don't appear to be in portage as of now. I made these to go under net-wireless/ural-linux. Here is the ebuild snip - ural-linux-0.8.2.ebuild: --- start cut --- # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="ural-linux wireless drivers based on the RT2500USB chipset" HOMEPAGE="http://etudiants.insia.org/~jbobbio/ural-linux/" SRC_URI="http://etudiants.insia.org/~jbobbio/ural-linux/files/${P}.tar.bz2" SLOT="0" LICENSE="BSD/GPL" KEYWORDS="~x86 ~ppc" IUSE="" DEPEND="sys-apps/sed" src_compile() { # fix type-o in Makefile sed -e 's/sbif/sbin/' /var/tmp/portage/ural-linux-0.8.2/work/ural-linux-0.8.2/Makefile > /tmp/ural-Makefile && mv /tmp/ural-Makefile /var/tmp/portage/ural-linux-0.8.2/work/ural-linux-0.8.2/Makefile emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "install failed" dodoc FAQ NEWS README dohtml EXTENDING.html ctags.html } --- end cut --- Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 67896 [details] ural-linux-0.8.2.ebuild I attached the ebuild...
1/ License is invalid. 2/ The sed statement needs || die, has hardcoded paths and will break sandbox, it is not acceptable to do it this way. BTW, would be a good idea to report the typo upstream so that the patching may be dropped entirely. ;)
Please, fix the above problems and reopen then.
Created attachment 67941 [details] revised ural-linux ebuild
(In reply to comment #4) > Created an attachment (id=67941) [edit] > revised ural-linux ebuild > I have attached a revised ural-linux ebuild. This is the first ebuild I have written, so sorry for the errors :-)
The sed command is simply crazy. :=) src_compile() { # fix typo in Makefile cp Makefile Makefile.orig sed -e 's:sbif:sbin:g' Makefile.orig > Makefile || die "sed failed" emake || die "emake failed" } Does the above work for you? I cannot test this b/c the server does not respond, so I cannot download the tarball at all.
Created attachment 67945 [details] newer revised ebuild
(In reply to comment #6) > The sed command is simply crazy. :=) > > src_compile() { > # fix typo in Makefile > cp Makefile Makefile.orig > sed -e 's:sbif:sbin:g' Makefile.orig > Makefile || die "sed failed" > emake || die "emake failed" > } > > Does the above work for you? I cannot test this b/c the server does not respond, > so I cannot download the tarball at all. > Yes the above worked for me. I have created a new attachment with the changes. In addition to this being my first ebuild, I also only needed to use sed once before, so thanks for the simplification! I also noticed that the server is down today. Bad timing on my ebuild writing. Hopefully it comes back up soon.
Thanks. Just noticed that the license is still invalid. GPL is not a valid license, GPL-1 or GPL-2. http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap1
Created attachment 67977 [details] ebuild with license corrected The website says part is baed on the madwifi drivers, so I'm assuming it is GPL-2, since that is what the madwifi ebuild says.
BTW _ I checked this morning, and the site hosting hte drivers appears to be back up.
I tested now driver and tools 0.1_pre20051111. all compiles fine so far. putting the snippet in /etc/conf.d/net brings up ath0 ok. but: tiber ~ # iwconfig ath0 mode ad-hoc Error for wireless request "Set Mode" (8B06) : SET failed on device ath0 ; Invalid argument. its not capable of ad-hoc mode???
... this was not meant for this bug, sorry, firefox warped to next bug in my list, while i wanted to answer another one. apologizing!
During review of old requests I found out this bug is no longer relevant as the upstream was ceased in favor of in-kernel drivers. Closing as CANTFIX.