[Samba] Debian Buster Samba 4.12.5 + extra patches. (amd64/i386/armhf)

L.P.H. van Belle belle at bazuin.nl
Mon Jul 6 10:09:50 UTC 2020


Hai Joris, 
 
Sure, no problem, 
 
wget https://apt.van-belle.nl/debian/pool/main/s/samba/samba_4.12.5+dfsg-2.1buster1.debian.tar.xz   
 
Extract it and look at debian/rules file, that one shows the debian parameters. 
it might be handy to look at the changes i made to the packages which are not in debian. 
these : 
* d/control, re-added acl as Recommands to samba package
* d/control added libicu-dev,add Missing support for Unicode normalisation.
* d/rules & d/control re-enabled spotlight support
* Update samba-common.{dirs,install)
  Install elasticsearch_mappings.json for Spotlight
* d/patches, added bz14213.patch. fix, Windows Explorer crashes on
  S-1-22-* Unix-SIDs when accessing security tab (experimental patch)
 
Last, this one, it just changed in debian's -3 version, i'll adjust that in a next release. 
Fix Bug#963985: smbclient:/usr/bin/mdfind is already shipped by mdfinder.app
     d/control Added: smblcient Replaces : mdfinder.app
 
 
If i may ask, can you show the /configure settings you want to use? 
 
Or use below and you have all sources in build order from my or Debian Sid its repo. 
Do note, building/packaging samba is not a small task.. 
 
#!/bin/bash
 
echo -n "For which OS are we building? (debian/ubuntu/all)(default:debian) : "
read OsBuildVer
OsBuildVer="${OsBuildVer:-debian}"
 
echo -n "For which OS Distro are we building? (buster/stretch/bionic/focal)(default:buster): "
read OsDistBuildVer
OsDistBuildVer="${OsDistBuildVer:-buster}"
 
echo -n "For which package are we building? example samba squid (default samba) : "
read BLD_PKGIN
BLD_PKG="${BLD_PKGIN:-samba}"
 
echo -n "For which version of that package $BLD_PGK are we building? example 412 411 410 49 48 (default 412): "
read BLD_VER
PackageBuildingFor="${BLD_PKG}${BLD_VER:-412}"
 
# add the remote van-belle repo also to the host to allow you to get the correct sources if needed.
echo "deb http://apt.van-belle.nl/debian ${OsDistBuildVer}-${PackageBuildingFor} main contrib non-free" | sudo tee /etc/apt/sources.list.d/van-belle.list
echo "deb-src http://apt.van-belle.nl/debian ${OsDistBuildVer}-${PackageBuildingFor} main contrib non-free" | sudo tee -a /etc/apt/sources.list.d/van-belle.list
 
# By default we also enable the debian SID repo.
echo "deb-src http://deb.debian.org/debian sid main contrib non-free" | sudo tee -a /etc/apt/sources.list.d/van-belle.list

echo "running apt update, please wait"
sudo apt-get -qq update
echo "----------------------------"
echo

for x in 01-talloc 02-tevent 03-tdb 04-cmocka 05-ldb 06-nss-wrapper 07-resolv-wrapper 08-uid-wrapper 09-socket-wrapper 10-pam-wrapper 11-samba
do  
    mkdir $x 
    cd $x 
    apt-get source $(echo $x | cut -c4-20)
    cd ..
done
 
echo "Sources are ready to rebuild, start with 01.. "
echo "Verify the minimal version, you might be able to skip some rebuilds, please wait, getting info."
echo
echo
 
cd $(ls -ltr|grep "drwx" |awk '{ print $NF }')
grep ^VERSION lib/{talloc,tdb,tevent,ldb}/wscript
cat   buildtools/wafsamba/samba_third_party.py | grep minversion | awk -F"(" '{ print $2 }'
echo
echo
cd ..

## Fin.. 
 
Greetz, 
 
Louis
 
 
 
 
 

Van: commandline at protonmail.com [mailto:commandline at protonmail.com] 
Verzonden: maandag 6 juli 2020 11:33
Aan: L.P.H. van Belle; samba at lists.samba.org
Onderwerp: Re: [Samba] Debian Buster Samba 4.12.5 + extra patches. (amd64/i386/armhf)



Thanks Louis

I had just finished building last night myself with a specific ./configure settings.

Can I compare what I am building to what your ./configure looks like ? I attempt to build Debian packages specific to this setup.

Br,

Joris

- - -

mailto:commandline at protonmail.com














-------- Oorspronkelijk bericht --------
Aan 6 jul. 2020 09:06, L.P.H. van Belle via samba < samba at lists.samba.org> schreef: 

Hai,

The latest update is now online.

Debian Buster Samba 4.12.5 + extra patches for amd64/i386/armhf.

samba (2:4.12.5+dfsg-2.1buster1) buster; urgency=medium

* Rebuild from Debian Sid for Debian Buster
* d/control, re-added acl as Recommands to samba package
* d/control added libicu-dev,add Missing support for Unicode normalisation.
* d/patches, fix debian bug #964165 with temp-fix-is-is-litteral.patch
* d/rules & d/control re-enabled spotlight support
* Update samba-common.{dirs,install)
Install elasticsearch_mappings.json for Spotlight
* Fix Bug#963985: smbclient:/usr/bin/mdfind is already shipped by mdfinder.app
d/control Added: smblcient Replaces : mdfinder.app
* Added d/libwbclient0.lintian-overrides false positive on libgenrand.so.0
* d/patches, added bz14213.patch. fix, Windows Explorer crashes on
S-1-22-* Unix-SIDs when accessing security tab (experimental patch)


Setup info on apt repo : https://apt.van-belle.nl



Have fun with them.

Greetz,

Louis


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba




More information about the samba mailing list