net-wireless/olsrd-0.4.8 ebuild request http://www.olsr.org/ The olsr.org OLSR daemon is an implementation of the Optimized Link State Routing protocol. OLSR is a routing protocol for mobile ad-hoc networks. The protocol is pro-active, table driven and utilizes a technique called multipoint relaying for message flooding. Currently the implementation compiles on GNU/Linux, Windows, OS X, FreeBSD and NetBSD systems. Olsrd is ment to be a well structured and well coded implementation that should be easy to maintain, expand and port to other platforms. The implementation is RFC3626 compliant with respect to both core and auxiliary functioning. Olsrd supports use of loadable plugins. These can be used to to handle and generate custom packettypes to be carried by OLSRs MPR flooding scheme or for any other desired functioning.
Created attachment 54421 [details] basic olsrd ebuild A basic olsrd ebuild. plugin dyn_gw will also be compiled and installed. init.d script still missing.
0.4.9 is out
Created attachment 60192 [details] net-wireless/olsrd-0.4.9 Updated ebuild: * installs all available plugins * provides /etc/init.d/olsrd script * builds gtk GUI if you have gtk in you use flags
Created attachment 60193 [details] files/olsrd-init.d init.d script for olsrd.
0.4.10 is out
Ok. Some feedback to improve your ebuild writing skills: SRC_URI="http://www.olsr.org/releases/0.4/${P}.tar.bz2" 0.4 should be automatically generated from ${PV} by using for example versionator.eclass KEYWORDS="x86 ~amd64" All ebuilds go in as ~arch. DEPEND="virtual/libc You do not need to depend on virtual/libc. http://dev.gentoo.org/~plasmaroo/devmanual//general-concepts/dependencies/ src_unpack() { unpack ${A} } This is redundant as the default src_unpack does this already emake OS=linux || die cd lib/dyn_gw emake OS=linux || die cd ../dot_draw emake OS=linux || die cd ../httpinfo This should be done using a for loop for example. if use gtk; then cd ../../gui/linux-gtk einfo "Building GUI ..." emake || die fi change the echo to einfo at most because noaways portage has the ability to log einfo messages. if use gtk; then dobin gui/linux-gtk/olsrd-gui fi this can be done as use gtk && dobin gui/linux-gtk/olsrd-gui src_install() { is there something wrong with upstream make install? I did not check myself but usually they do the job well enough. http://dev.gentoo.org/~plasmaroo/devmanual//ebuild-writing/functions/src_install/ insinto /etc/init.d newins "${FILESDIR}"/olsrd-init.d olsrd there is a a doinitd function for this
any chance for a woeking ebuild? and, btw. I think that olsr should go to portage tree .. its at least for mobile clients in modern meshed networks _the_ standard right now :)
Created attachment 79010 [details] new ebuild
Comment on attachment 79010 [details] new ebuild Here is a new ebuild with some changes suggested by Petteri R
Comment on attachment 79010 [details] new ebuild Here is a new ebuild with some changes suggested by Petteri Räty
*** Bug 132276 has been marked as a duplicate of this bug. ***
I would not suggest to put this ebuild into the category net-wireless. OLSR is a routing protocol and, as such, should be placed in the same category as all other network routing protocols. At the moment they all are in net-misc, like the quagga ebuild.
Thanks to tozzy this is now in the sunrise overlay. http://gentoo-sunrise.org/cgi-bin/trac.cgi/browser/sunrise/net-misc/olsrd/olsrd-0.4.10.ebuild
In portage now