| Summary: | net-misc/olsrd-0.4.10 (New Package) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Daniel Webert <rockoo> |
| Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | benkstein, cedk, chrissicool, deelkar, gismo, herber, mobile+disabled, phaidros |
| Priority: | High | Keywords: | EBUILD, InOverlay |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://www.olsr.org/ | ||
| Whiteboard: | [sunrise-overlay] | ||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
basic olsrd ebuild
net-wireless/olsrd-0.4.9 files/olsrd-init.d new ebuild |
||
|
Description
Daniel Webert
2005-01-04 08:23:30 UTC
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 |