Thomas von Eyben wrote:
> On Sat, Apr 11, 2009 at 4:34 PM, Alexander Hansen
> <[email protected]> wrote:
>   
>> Thomas von Eyben wrote:
>>     
>>> Hi List,
>>>
>>> How do I change the fink supplied version of perl to enable the
>>> "setuid emulation" functionality?
>>>
>>> I know that I need to recompile, but am not sure where to make this change.
>>>
>>> Maybe this is all ready in an FAQ?
>>>
>>>
>>>
>>> BR TvE
>>>
>>>
>>>       
>> Nope:  we don't put too many special cases in the FAQ.
>>
>> I don't know how to do this, myself, but what I can tell you is to copy
>> the package description for whatever perl you're modifying into the
>> "local" area, e.g. by
>>
>> cp /sw/fink/dists/unstable/main/finkinfo/languages/perl586.info
>> /sw/fink/dists/local/main/finkinfo
>>     
>
> So does this mean that when I have a  file called
> /sw/fink/dists/local/main/finkinfo/perl586.info
> fink will use that file as opposed to
> /sw/fink/dists/stable/main/finkinfo/languages/perl586.info (I use the
> stable tree for now)
> when I run the command fink install perl586 ?
>
>
>
>   
>> and then apply whatever flags, etc. are needed on the "local" copy,
>> which won't get overwritten by fink updates.  You'd probably also want
>> to change the Revision, e.g. by adding ".0", to make sure your local
>> version is used,
>>     
>
> So you mean change line 3 from: Revision: 7
> to: Revision: 7.0
>
>   
Correct.  If you make such a change to the Revision, fink will use your
perl586 instead of the official one from the project.
>> and to distinguish it from the official version.
>>     
>
> Where can I distinguish this post installation?
>
>
> Do I need to refresh my fink installation somehow after creating this
> new local .info file or will fink recognise it right away?
>   
You might
> Maybe th e next question is more a Perl related question but perhaps
> you can help.
>
> In the backuppc documentation
> (http://backuppc.sourceforge.net/faq/BackupPC.html#item_standard_setup)
> the description of the way to get the setuid emulation into perl is:
> "...rebuild and reinstall perl with the setuid emulation turned on
> (answer ``y'' to the question ``Do you want to do setuid/setgid
> emulation?''"
>
> >From googling it seems that this question is asked during the make
> process, and I can't - yet - figure out how to populate the
> perl586.info file with this information.
>
>   
No clue.  Our build process is set up -not- to be interactive, but for
your own modification you're free not to do that.
>> --
>> Alexander Hansen
>> Fink User Liaison
>>     
>
> BR TvE
>
>   


-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to