Building VFS modules out of tree

Andrew Bartlett abartlet at samba.org
Sun Mar 30 21:39:05 MDT 2014


On Sun, 2014-03-30 at 19:26 -0700, Richard Sharpe wrote:
> On Sun, Mar 30, 2014 at 6:42 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> > On Sun, 2014-03-30 at 16:48 -0700, Richard Sharpe wrote:
> 
> [Some stuff deleted]
> 
> >> The question then is, for those people who have their own VFS modules
> >> and do not want to place them in the Samba source tree, how do they
> >> build with waf? How to the gain access to all the configuration stuff
> >> and so forth.
> >
> > I think you would have to patch them or at least the reference to them
> > in a matching Samba source tree.
> 
> This is a very much less than ideal situation for many OEMs it seems to me.
> 
> Something that worked very well with Samba 3.5. and 3.6 is that OEMs
> who only needed a VFS module or two could use RPMs or other packages
> supplied by RedHat, Debian, SuSE, etc, and could then add their VFS
> module as a separate RPM and could build their VFS module without
> modifying the Samba source tree for the main package.

How did they do that?  As I see it, they would have needed a built
source tree to get the config.h file that was used, and the full source
to get at the headers, because we have never published them as public
headers. 

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list