samba 4.11 rpmbuild on CentOS7

Denis Cardon dcardon at tranquil.it
Mon Oct 7 09:32:15 UTC 2019


Hi Dario,

Le 10/07/2019 à 11:03 AM, Dario Lesca via samba-technical a écrit :
> Il giorno dom, 06/10/2019 alle 23.59 +0200, Denis Cardon via samba-
> technical ha scritto:
>> I have given a look tonight at building rpm of Samba 4.11 for
>> CentOS7[1].
>
> Have you build it with MIT or Heimdal Kerberos?
>
> If you have build with MIT there is (yet) this problem
> https://bugzilla.redhat.com/show_bug.cgi?id=1748860

It is built against Heimdal kerberos. The samba.spec is taken from 
Fedora (thanks Günter and Andreas for doing all the hard work!) and 
modified to switch from MIT to Heimdal. Actually the hard part for 
building 4.11 on CentOS7 is the requirement gnutls>=3.4.7.

By the way, if you want to rebuild the srcrpm, for gnutls you'll have to 
add --without guile --without dane --without cxx (otherwise there are 
some conflicting filename with stock distro). And for rebuilding 
samba.spec, you'll have to copy over 
/usr/lib64/compat-gnutls34/pkgconfig/gnutls.pc and 
/usr/lib64/compat-nettle32/pkgconfig/nettle.pc over to 
/usr/lib64/pkgconfig/ as I was unable to get PKG_CONFIG_PATH being taken 
by the build scripts...

Cheers,

Denis

PS : Note : those rpm are not yet field tested and not deemed production 
ready, I just built a simple test domain to validate basic functionnality.

-- 
Denis Cardon
Tranquil IT
12 avenue Jules Verne (Bat. A)
44230 Saint Sébastien sur Loire (FRANCE)
tel : +33 (0) 240 975 755
http://www.tranquil.it

Tranquil IT recrute! https://www.tranquil.it/nous-rejoindre/
Samba install wiki for Frenchies : https://dev.tranquil.it
WAPT, software deployment made easy : https://wapt.fr



More information about the samba-technical mailing list