Hi Natanael,
>>
>> Couple of questions, while we're doing the 3.0 flag day, would it be OK
>>  if we made the package dependancies explicit, not part of the help
>> file?
>>
>> /var/lib/apkg/<packagename>.depend
>>
>
> I have this implemented in apk-tools. Take a look there how it can be
> implemented and feel free to reuse the code if possible.
>
> http://apk-tools.sourceforge.net
>
>
> (use svn version. I have made some progress since latest oficial
> release)
>
Thanks for the heads-up, I will take a look.

<snip>

>> I propose modifying the XML to formalize the dependancies instead of
>> putting them in the help file, and creating <packagename>.depend control
>>  files.
>>
>> What do you guys think?
>>
>
> Its relatively easy to automatically find out the dependencies.
>
>
> find [ all elf files ] | while read elffile ; do for so in `readelf -d
> $elffile |\
> grep NEEDED |\ sed 's/.*Shared library: //; s/\[\(.*\)\]/\1/'` ; do
>
> dep=`find_lrp_that_has_file $so` add_dependency $dep done done
>
> So you shouldn't need to figure out all dependencies by hand.
>
Ok, thanks! That should be easy implementable in buildtool.

>
> --
> Natanael Copa
>
Eric Spakman


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to