Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 237318

Summary: netxms-0.2.22 ebuild
Product: Gentoo Linux Reporter: Alexandr Gluzskiy <sss123next>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.netxms.org/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: netxms-0.2.22 ebuild
netxmsd init script
netxmsd initial (empty) config
nxagentd init script
nxagentd initial (empty) config
netxms 0.2.22 ebuild

Description Alexandr Gluzskiy 2008-09-10 13:16:25 UTC
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).
Comment 1 Alexandr Gluzskiy 2008-09-10 13:17:05 UTC
Created attachment 165104 [details]
netxms-0.2.22 ebuild
Comment 2 Alexandr Gluzskiy 2008-09-10 13:17:35 UTC
Created attachment 165105 [details]
netxmsd init script
Comment 3 Alexandr Gluzskiy 2008-09-10 13:18:07 UTC
Created attachment 165107 [details]
netxmsd initial (empty) config
Comment 4 Alexandr Gluzskiy 2008-09-10 13:18:27 UTC
Created attachment 165109 [details]
nxagentd init script
Comment 5 Alexandr Gluzskiy 2008-09-10 13:18:56 UTC
Created attachment 165111 [details]
nxagentd initial (empty) config
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-10 17:37:13 UTC
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.
Comment 7 Alexandr Gluzskiy 2008-09-10 17:48:26 UTC
thx for useful link, i will rewrite ebuild and update it
Comment 8 Alexandr Gluzskiy 2008-09-10 18:33:18 UTC
due to configure script (bug ?), i can't use use_with..., i tried it, and i do not found info about CFG_PROTECT
Comment 9 Alexandr Gluzskiy 2008-09-10 18:34:32 UTC
Created attachment 165153 [details]
netxms 0.2.22 ebuild

ebuild correction