> I would not expect to see any package updates from Louis for sometime.I'd like to try building packages, at least for the Debian family distributions. I'm not great at packaging, but I did build some .debs in the past, so I'd like to give it a try. And now that I know Michael is on the channel, I might ping him for issues :D Unfortunately, I have no big idea of what Louis was packaging. I suppose they were vanilla sources. I had a look at Debian sources, and I see a lot of patches being applied. I'd start from there and strip out the unnecessary stuff, in order to keep full compatibility with Debian system but with plain source. Unless Michael has suggestions on what should be mandatory included... If anyone else has experience with packaging, I'll be happy to join efforts. thanks. -- Lorenzo Milesi - lorenzo.milesi at yetopen.com CTO @ YetOpen Srl YetOpen - https://www.yetopen.com/ Corso Martiri della Liberazione 114 - 23900 Lecco - ITALY - | 4801 Glenwood Avenue - Suite 200 - Raleigh, NC 27612 - USA - Tel +39 0341 220 205 - info.it at yetopen.com | Phone +1 919-817-8106 - info.us at yetopen.com Think green - Non stampare questa e-mail se non necessario / Don't print this email unless necessary -------- D.Lgs. 196/2003 e GDPR 679/2016 -------- Tutte le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere confidenziali e riservate secondo i termini del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 - GDPR - e quindi ne e' proibita l'utilizzazione ulteriore non autorizzata. Nel caso in cui questo messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo, stamparlo, a non inoltrarlo a terzi e ad avvertirci non appena possibile. Grazie. Confidentiality notice: this email message including any attachment is for the sole use of the intended recipient and may contain confidential and privileged information; pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 - GDPR - any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recepient please delete this message without copying, printing or forwarding it to others, and alert us as soon as possible. Thank you.
Andrew Bartlett
2022-Oct-21 18:17 UTC
[Samba] Building Samba backports for Debian-like systems.
On Fri, 2022-10-21 at 15:49 +0200, Lorenzo Milesi via samba wrote:> > I would not expect to see any package updates from Louis for > > sometime. > > I'd like to try building packages, at least for the Debian family > distributions. I'm not great at packaging, but I did build some .debs > in the past, so I'd like to give it a try. And now that I know > Michael is on the channel, I might ping him for issues :D > > Unfortunately, I have no big idea of what Louis was packaging. I > suppose they were vanilla sources. I had a look at Debian sources, > and I see a lot of patches being applied. > I'd start from there and strip out the unnecessary stuff, in order to > keep full compatibility with Debian system but with plain source. > Unless Michael has suggestions on what should be mandatory > included... > > If anyone else has experience with packaging, I'll be happy to join > efforts.In general, the Debian packages have not included much unnecessary stuff. Michael includes a few more patches prior to acceptance upstream, but previously there was quite a strict line that patches were only included once already accepted upstream. So I would generally work to do any backports with the minimum changes strictly required. I would also look carefully at the package sources from Louis and work from there, to avoid extra rework. Samba packaging is a pain, watch our for the need for a matching LDB (finally bundled in modern Debian, via a patch I need to upstream). Andrew Bartlett -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions
21.10.2022 16:49, Lorenzo Milesi via samba wrote:> >> I would not expect to see any package updates from Louis for sometime. > > I'd like to try building packages, at least for the Debian family distributions. I'm not great at packaging, but I did build some .debs in the past, so I'd like to give it a try. And now that I know Michael is on the channel, I might ping him for issues :DWhat exactly do you want to achieve? For debian itself I do provide backport of current samba for the stable distribution, for stable systems. It is not the latest - like there's no 4.17 for bullseye currently (as in $subject), but it will be available once it feels like 4.17 is settled down a bit. I think debian is "covered". There's no issue whatsoever to provide backports for ubuntu, it is trivial to do, I can build and upload them to my site if there's a need - together with debian packages. Ubuntu tend to perform some modifications (like branding and changes to default smb.conf), which definitely aren't mandatory, - just a rebuild of debian package on ubuntu will do the trick. I don't think there's a real need to provide older samba versions (eg 4.15 currently, or 4.16 once 4.17 is available). Also I don't think there's a real need to provide current samba packages for older distributions (eg debian buster) - maybe, just maybe the ubuntu lts, but even that one is questionable, - maybe ubuntu guys can do this rather easy work. Is there anything else I'm missing? Thanks, /mjt