On 18.09.2012 19:12:01, Alexander V. Nikolaev wrote:
> On Tue, Sep 18, 2012 at 06:37:20PM +0600, Ildar Mulyukov wrote:
> > My approach is different:
> >    * any RPM with a rock excludes manifest because obviously it is  
> the
> > shared manifest of all rocks installed in this tree
> >    * installation/update/removal of an RPM which contains a rock
> > triggers the RPM filetrigger (the unique ALTLinux technology) which
> > regenerates the manifest. No postinstall scripts required.
> >
> > Hence it
> > 1. "just works" for rocks RPMs installed into one single rock tree  
> and
> 
> And you "system" rocks invisible for luarocks, our approach make it
> visible.

Why do you think so?
No, rocks in RPMs are installed exactly into the main system rocks  
tree. Hence they are visible and countable with LR dep checking. An  
admin can manually install a rock into the system tree that depends on  
rock_in_RPM. But of course you cannot install an RPM rock that depends  
on rocks in a tree that were installed manually because RPM does not  
see that rocks.
With LR for ALT there's only one system tree: /usr/lib/luarocks/ and it  
is single-arch.

> Also I believe you can hit a problem to build rocks with dependencies
> (luasec for example, without patching luasec pull own copy of  
> loasocket
> into buildtree)

We in ALTLinux have an approach: dynamical linking as much as possible  
and libraries duplication as less as possible. This is done with  
patching sources.
I didn't pack luasec yet but the sequence would be (in spec):

1. unpack the source
2. cut off luasocket (with "rm -rf")
3. fix build to use th preinstalled luasocket.
4. build and pack

Regards,
-- 
Ildar Mulyukov,  free SW designer/programmer
================================================
email: [email protected]
blog: http://johan-notes.blogspot.com/
ALT Linux Sisyphus
================================================
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to