On Tue, 2023-04-18 at 17:16 +0200, Olle E. Johansson wrote:
Hi! Sorry if I’ve brought this up before. Was looking at the package definitions in our repo today and did go through Alpine. It’s not following the template set by the Debian packages,
Correct. It tries to follow (as closely as possible) Makefile.groups Please see https://git.alpinelinux.org/aports/tree/main/kamailio/APKBUILD, lines 45-58)
it’s one huge package with all possible dependencies.
? It is one abuild that builds 44 sub packages: https://pkgs.alpinelinux.org/package/edge/main/x86_64/kamailio
Since there’s a cost and a risk with adding dependencies and very few Kamailio installs use all modules this doesn’t look good to me.
Alpine tries to follow Makefile.groups which honestly doesn't make sense to me either.
I personally don’t know the details of Alpine packaging, but can help trying to define a set of packages like in Debian and test them in Alpine.
See above.
It would be good for the project overall if we can fix this.
Ok. I'm listed as the package manager.
Btw, the same goes for the docker image that is built with scripts in the packaging repository. Being able to minimise the build would be a good thing.
Out of my scope. The docker images people do crazy things. :)
Kamailio greetings! /O
Kamailio is a Hawaiian word for to "talk, converse" - Yeah, let's talk, my friend.