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

Andrew Bartlett abartlet at samba.org
Tue May 22 06:07:14 MDT 2012


On Tue, 2012-05-22 at 13:29 +0300, Andriy Syrovenko wrote:
> 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?

Either is fine, as is IRC: https://www.samba.org/samba/irc.html

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list