Success story with patch: Samba4 on FreeBSD - one year in production

Andriy Syrovenko andriys at gmail.com
Tue May 22 04:29:03 MDT 2012


Hi Andrew,

Thank you for your response.

>> Please consider the possibility to include this patch into the main
>> source tree. I can work on some changes if required.
>
> I would very much appreciate it if you could, but understand if it's too
> much.

I'm interested in Samba4 supporting FreeBSD out of the box, so I'll
try to find some time to work on it. I think I should start from the
following:

>> 1. Quite a few of Samba's external dependencies are not in the base on
>> FreeBSD, but rather installed from ports/packages, and thus reside in
>> /usr/local (/usr/local/include for headers and /usr/local/lib for
>> shared objects). These are, for instance, gettext, iconv, popt just to
>> name a few. So I modified 'buildtools/wafsamba/samba_optimisation.py'
>> to append the required paths to _CCINCFLAGS and LINKFLAGS.
>
> I've started work on this.  See how in master --with-libiconv now takes
> an argument and defaults to /usr/local?  This we need to do for all the
> other packages you list.

I'm fairly certain I will have some questions, so the question is
should I send them to the list or to someone in person?

Regards,
Andrey.


More information about the samba-technical mailing list