[Pkg-samba-maint] updating samba to current upstream
Andrew Bartlett
abartlet at samba.org
Wed Mar 23 09:34:12 GMT 2022
On Wed, 2022-03-23 at 12:20 +0300, Michael Tokarev wrote:
> 23.03.2022 11:37, L. van Belle wrote:
> > Good morning,
>
> Hi!
>
> > If we have these extra steps to import the sources of the subpackages,
> > i can easly use my package and changes for the debian.tar.gz
> > It does save some time here.
>
> That doesn't really work, for at least 2 reasons. First, I really prefer
> to have each change separately in the debian git tree - besides the final
> state in debian.tar.*. And second, importing you packages prevents me
> from learning.. :)) The most important here to me is to understand
> what's going on and what do we have here and why, this is done only in
> the process. Later on it can be benefitical to have ready-to-use import-
> ready stuff, but having in mind the current packaging nuances I prefer
> to try to do it myself.
>
> > For my packages of samba i use this order to build packages.
> >
> > 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-salsa 11-samba
>
> > (* optional or needed als build deb)
> > 12-cifs-utils 12-liburing-ubuntu 12-wsdd2 13-dwz 14-debhelper
>
> Um. I haven't heard of all the *-wrapper packages. Are they somehow
> related to samba? And what about salsa, is it tied with samba too?
Developed in conjunction with Samba, but hosted external to our
samba.git tree (eg what was hoped for tdb etc), included in Samba in
third_party and only needed for a selftest build.
> > At least its for me a clear and good work order.
>
> Yes, that should work: first the base blocks, more complex things later.
>
> > Based on the ldb 2.5.0, your prepairing for samba 4.16.0 correct?
> > I had a small look here.
> > https://salsa.debian.org/mjt/ldb/-/blob/master/debian/changelog
> > I noticed tdb 1.4.5
>
> Yes. My original plan was to update to 4.15 first and later update
> to 4.16. But I didn't know how all the samba-related sources are
> organized in debian. Now I know, and despite 4.16 is shiny new
> release, I changed my initial plan and intend to package this one
> instead of 4.15.x.
>
> > Keep in mind that samba 4.16 needs tdb 1.4.6
> > Something im always wondering about, in these cases..
> > Like ldb needs minimal tdb 1.4.5, and samba minimal 1.4.6
> > Whats preffered here to keep the ldb with its minimal version
> > Or up the version to same as what samba needs, since these are tight
> > togeter.
>
> This does not really matter. I looked at the changes between several
> pairs of minor versions of tdb - these are rather minor indeed, mostly
> bugfixes. So ldb which works with 1.4.5 will work with 1.4.6 just fine.
> I can have specified >>1.4.6 in ldb's build-deps, - for ldb this is
> irrelevant. I'll update tdb before trying to update samba.
>
> Also, all these will just go away once ldb will be built from samba
> source as it apparently should. I plan to address this once we'll
> have 4.16 in.
>
> > I see great work here michael.
> > 1 question, can you add the steps in the sub packages, like the example of
> > samba ;
> > https://salsa.debian.org/samba-team/samba/blob/master/debian/README.source.md
>
> Yes. samba's README.source needs some update too. But lemme get
> familiar with the process myself ;) The ldb repository is my first
> attempt, and I'm not completely sure yet if I did everything right :)
>
> > If thats done, i can add all sub packages in, since i already have them.
> > Im preparing to chipin also here as soon i can.
> > But as said, i need some more instuctions on these subpackages.
> > you *(and offcoure the other guys in here) have the skills i miss.
> >
> > Like, im stuck myself with 4.16.0 and the office is claiming my time
> > currently,
> > the change is to big for me to make in the time i have.
> > All my sub packages are done, i have them in internal apt repo.
> > If you want i can upload these to the external one, it might save you some
> > time.
>
> Yeah, that might be interesting. 4.16 should need some extra work due to
> the new dcerpc binary. And they also updated bundled heimdal which needs
> some attention too. I'll come to that next :)
Yes, a massive update there. Have fun making the new massive import
DFSG-safe, as we now take the full tree, not just the files we were
building.
Andrew Bartlett
--
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba
More information about the Pkg-samba-maint
mailing list