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-extraspackage, 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?