I write ebuild for netxms 0.2.22, it still incomplete, but enough for me, i using it on server with mysql and clients (agents).
Created attachment 165104 [details] netxms-0.2.22 ebuild
Created attachment 165105 [details] netxmsd init script
Created attachment 165107 [details] netxmsd initial (empty) config
Created attachment 165109 [details] nxagentd init script
Created attachment 165111 [details] nxagentd initial (empty) config
1) Use variables in SRC_URI for ease of upgrading the ebuild. 2) What the.., it requires no deps to RUN but all those to build. Unlikely, probably need RDEPEND=${DEPEND} 3) eautoreconf instead of all those seperate eauto's in src_unpack 4) use_with not useq blah && echo in src_compile 5) You don't need to check for conf files existence, CFG_PROTECT takes care of that for you. it should anyway. www.devmanual.gentoo.org might help in the future. Thanks for submitting the ebuild. Aditionally, you could fix it up and submit it to sunrise http://www.gentoo.org/proj/en/sunrise/ Thanks.
thx for useful link, i will rewrite ebuild and update it
due to configure script (bug ?), i can't use use_with..., i tried it, and i do not found info about CFG_PROTECT
Created attachment 165153 [details] netxms 0.2.22 ebuild ebuild correction