-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
opensmtpd: 5.4.5p1 -> 5.7.1p1 #9955
Conversation
One common solution is patch it for an environment variable, then provide a wrapper-function |
c6ead86
to
d5d95d7
Compare
Okay, now we patch opensmtpd to read the environment variable The nixos module then takes an extra option for the packages that contain filters (no default due to #10039), and passes that as an environment variable to the smtpd daemon. |
d5d95d7
to
594880b
Compare
Now extras are packaged with all dependencies enabled. |
Awesome work! Please check the travis failure. Make sure you enable chroot builds when building packages. |
594880b
to
0dfddc5
Compare
I'm on NixOS, and it works with or without chroot enabled. I have now added the path to libevent to the configure flags, as the was the library which was used from |
opensmtpd: 5.4.5p1 -> 5.7.1p1
Travis passed thanks. |
OpenSMTPD now supports external filters, which are distributed in a separate
opensmtpd-extras
package, and usually installed as binaries in/usr/libexec/opensmtpd/filter-*
. However they don't work with our package yet since OpenSMTPD looks for them in/nix/store/*-opensmtpd-5.7.1p1/libexec/opensmtpd/
, where you can't install them:Any ideas on how to fix that? Look in
/run/current-system/sw/libexec
? Add an environment variable?