On Thu, Jun 10, 2010 at 06:24:59PM +0200, Jean-Fran?ois Mertens wrote:
> 
> On 10 Jun 2010, at 17:34, Alexander Hansen wrote:
> 
> > On 6/10/10 11:28 AM, Pepe Barbe wrote:
> >> Hello,
> >>
> >> I am trying to update the sleepwatcher. This package links against  
> >> carbon so it is 32-bits only. I would like to make the package so  
> >> that it could be installed also from within the 64-bit branch, but  
> >> I don't what is the policy in this regard.
> >
> > I believe that if it won't build in the 64-bit tree, then it is not
> > allowed to exist in that tree.
> 
> Just built it on 32bit, to see.
> The pkg links ONLY against the system; so with
> SetCC: /usr/bin/cc
> should "build in the 64-bit tree" _ though not in 64-bit mode ...
> And nothing can link against it ...
> So _ is there a policy for such cases ?

Sounds reasonable.

Unrelatedly, while fixing that package, the following is a little problem:

  install -o root -g wheel -m 755 rc.sleep %i/etc/
  install -o root -g wheel -m 755 rc.wakeup %i/etc/

because it prevents --build-as-nobody from being used. By default
(either with or without --b-a-n) all files are installed owned by
root:admin. If that's acceptible for these rc.* files, then you can
omit the -o and -g games here. If you really need them group=wheel,
better would be to omit -o/-g here and have a 'chgrp' command in
PostInstScript--and definitely a DescPackaging note about this group
requirement so others can figure out why there are non-standard
ownership flags and/or build-unusual-actions here.

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to