[Aide] Darwin / OSX support

Axel Rau Axel.Rau at Chaos1.DE
Thu Apr 6 12:31:51 EEST 2006


Am 06.04.2006 um 09:03 schrieb Richard van den Berg:

> Axel Rau wrote:
>> while using aide since 2002 on Mac OS X, I see that 0.11 (besides
>> many bug fixes
>> and enhancements) has -static linking hard wired in for systems with
>> gcc.
>
> IIRC static linking was accidentally disabled in aide 0.10. Aide  
> should
> really be statically linked statically for security reasons. This was
> the default before aide 0.10 and will be in the future.
No question.
>
>> This does not and will never fit with Darwin / OSX because of its
>> architecture.
>
> Which of course is a design flaw of OSX.
Like the mach kernel with 227  loadable kernel extensions in the  
default install?
All that stuff is vulnerable.
>
>> With the following patch and the inclusion of config.subs and
>> config.guess, aide
>> did build fine on my OSX 10.4.6 box:
>
> Thanks for the patch, but I don't like the idea of disabling static
> linking in a default configure run. If a user choses to disable static
> linking, it should be a manual override.
I agree.
> For this reason I added the
> --disable-static option to configure. I might modify your patch to  
> print
>   a warning when configure is run on a darwin system.
A line in the README would be enough.
> According to
> http://developer.apple.com/qa/qa2001/qa1118.html static linking can
> work, but it requires quite some effort.
I'm not sure how fast one of the monthly updates of OSX would break it.
>
> See also the discussion at
> http://sourceforge.net/tracker/index.php? 
> func=detail&aid=1450522&group_id=86976&atid=581580
I see...
>
> You can use the CVS snapshot at
> http://aide.sourceforge.net/aide-CVS-snapshot.tar.gz to use the
> --disable-static configure option.
This works perfect on Tiger.

Thanks for taking the time, Axel
Axel Rau, ☀Frankfurt , Germany                       +49-69-951418-0




More information about the Aide mailing list