-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Github Actions to distribute releases #143
Comments
I'm not making any promises, but I added some support to build and link PostSRSd with musl. It seems to work okay except for the milter support, because the Sendmail libMilter library is unhappy without some OS-specific headers such as |
No pressure :) I'm not too familiar with the build issue, are the headers only required during the build or does it matter where the binary is run? In Docker for example the kernel is used from the host, not part of the image, so I imagine software running in the container can't depend on a specific kernel (but a minimum kernel version requirement could be fine). I recall musl can have a few gotchas vs glibc. I also recall the I'm also trying to work with Docker upstream to prevent that problem (their default |
Note that it's effectively 1.11, as the only actual code change in 1.11 has been backported to the 1.10 package in Debian. None of the changes in 1.12 should be relevant on Debian either. But yeah, I haven't gotten around to packaging 2.x for Debian yet. Part of the issue is that I no longer administer any mailservers, so I'd be happy if someone else could take over package maintenance. |
It's relevant to Docker containers. 1.12 fixes a bug on hosts where On affected hosts, Unrelated to that, Debian also packages Postfix with some post-install script that doesn't play well when building containers, so we had to work around it by messing with the
No worries, I understand! :) Thanks for all the effort thus far! 😀 |
I've created merge request at Debian repository to package 2.x (https://salsa.debian.org/debian/postsrsd/-/merge_requests/3) and notified maintainers (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017361). It's still missing some stuff (ie migration path from 1.x) and I'm not confident about init file, but I hope it can set some baseline from which it can be taken forward to packaging 2.x. |
This is something I've seen some projects doing.
Often with a portable (statically linked with musl?) binary when viable (rust, go, or languages with minimal dependencies like Python projects,
fail2ban
at least does this), along with a.deb
/.rpm
package.I'm not sure how much work that is for
postsrsd
and I personally don't have experience with packaging releases like that. So totally understandable if this request is out of scope 👍Main motivation was that it seems Debian's next release (Bookworm) later this year will remain on
postsrsd
1.10, and that also appears to be the same version in their testing + unstable repos presently.Meanwhile other distros often have at least 1.12, and some (Alpine Edge, OpenSUSE TumbleWeed) are providing 2.x. So it's mostly a Debian issue.
One alternative (since it would be used in a Docker project) would be to build
postsrsd
ourselves with Docker I guess 😅The text was updated successfully, but these errors were encountered: