1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
Commit graph

356 commits

Author SHA1 Message Date
Léo Gaspard 02e1f00ffd
dovecot, opensmtpd: add link to test in meta.tests
Rationale
---------

Currently, tests are hard to discover. For instance, someone updating
`dovecot` might not notice that the interaction of `dovecot` with
`opensmtpd` is handled in the `opensmtpd.nix` test.

And even for someone updating `opensmtpd`, it requires manual work to go
check in `nixos/tests` whether there is actually a test, especially
given not so many packages in `nixpkgs` have tests and this is thus most
of the time useless.

Finally, for the reviewer, it is much easier to check that the “Tested
via one or more NixOS test(s)” has been checked if the file modified
already includes the list of relevant tests.

Implementation
--------------

Currently, this commit only adds the metadata in the package. Each
element of the `meta.tests` attribute is a derivation that, when it
builds successfully, means the test has passed (ie. following the same
convention as NixOS tests).

Future Work
-----------

In the future, the tools could be made aware of this `meta.tests`
attribute, and for instance a `--with-tests` could be added to
`nix-build` so that it also builds all the tests. Or a `--without-tests`
to build without all the tests. @Profpatsch described in his NixCon talk
such systems.

Another thing that would help in the future would be the possibility to
reasonably easily have cross-derivation nix tests without the whole
NixOS VM stack. @7c6f434c already proposed such a system.

This RFC currently handles none of these concerns. Only the addition of
`meta.tests` as metadata to be used by maintainers to remember to run
relevant tests.
2018-10-30 21:31:39 +09:00
obadz 07db5f1c8c
Merge pull request #48901 from Ekleog/opensmtpd-6.4.0
opensmtpd: 6.0.3p1 -> 6.4.0
2018-10-28 13:00:57 +00:00
Renaud 96d2bf0d7f
Merge pull request #49144 from r-ryantm/auto-update/rspamd
rspamd: 1.8.0 -> 1.8.1
2018-10-27 13:38:06 +02:00
R. RyanTM 06e867291e nullmailer: 2.1 -> 2.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nullmailer/versions
2018-10-26 23:21:53 -07:00
Léo Gaspard 58f701ab74 opensmtpd: 6.0.3p1 -> 6.4.0p1 2018-10-27 12:15:09 +09:00
R. RyanTM ceae2c2d05 rspamd: 1.8.0 -> 1.8.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/rspamd/versions
2018-10-26 02:30:37 -07:00
Frederik Rietdijk 89349fdae9 Merge staging-next into staging 2018-10-17 08:36:28 +02:00
Jörg Thalheim c7214bd17e
postfix: enable openldap by default
Ldap authentication is fairly common in any reasonable sized mail setup.
Our dovecot also comes with ldap support.
Other distributions like debian, archlinux, ubuntu and fedora also
provide ldap support along with there postfix server.
It might be also useful to have database support, but this is a different pull request.
2018-10-15 13:02:01 +01:00
Peter Simons 7dec26dbac
Merge pull request #48396 from r-ryantm/auto-update/mailman
mailman: 2.1.24 -> 2.1.29
2018-10-14 16:03:39 +02:00
R. RyanTM 4cb7173651 mailman: 2.1.24 -> 2.1.29
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mailman/versions
2018-10-14 05:09:52 -07:00
volth f65dfb3caf buildPerlPackage -> perlPackages.buildPerlPackage 2018-10-14 09:10:41 +02:00
R. RyanTM f60759ab37 rspamd: 1.7.9 -> 1.8.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/rspamd/versions
2018-10-13 19:03:27 -07:00
R. RyanTM e00bfcd798 dovecot_pigeonhole: 0.5.2 -> 0.5.3 (#47820)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dovecot-pigeonhole/versions
2018-10-10 23:27:56 +02:00
R. RyanTM 5a6c4d39fb dovecot: 2.3.2.1 -> 2.3.3 (#47814)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dovecot/versions
2018-10-10 23:27:28 +02:00
Matthew Bauer a0a7da8781
Merge pull request #46859 from ju1m/dovecot
dovecot: allow sasl_bind=yes in the LDAP driver.
2018-10-05 22:41:16 -05:00
Matthew Bauer a4721b8411
Merge pull request #46883 from ju1m/postfix
postfix: add -DUSE_LDAP_SASL in CCARGS to support bind=sasl.
2018-09-29 00:55:06 -05:00
R. RyanTM e8719747a8 rspamd: 1.7.3 -> 1.7.9 (#46194)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
rspamd
2018-09-28 21:18:05 +02:00
Julien Moutinho 27f95f3f9c dovecot: allow sasl_bind=yes in the LDAP driver.
Dovecot has its own SASL implementation,
but needs Cyrus SASL's headers to bind to an LDAP server using SASL.

This is useful to avoid the need to manage a dnpass= in dovecot-ldap.conf
by using the Unix socket to authenticate.

This is done with sasl_mech=EXTERNAL in dovecot-ldap.conf, and some olcAccess: with
 by dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" read
in the slapd's cn=config for the LDAP database queried by dovecot/auth (which runs as root).
2018-09-19 17:20:29 +02:00
Julien Moutinho 6c4480b498 postfix: add -DUSE_LDAP_SASL in CCARGS to support bind=sasl. 2018-09-19 11:42:26 +02:00
pacien c3dd421a2e exim: enable LMTP support
This makes the LMTP transport available by default.
No additional dependency is required.
2018-09-17 22:01:11 +02:00
Notkea f607f45f33 exim: add optional support for PAM (#46744) 2018-09-17 10:50:14 +02:00
Frederik Rietdijk d9fa74ba78 Merge master into staging 2018-08-09 18:28:15 +02:00
rnhmjoj 1ba3d8b7d1
mailman: use python2 2018-08-08 02:20:54 +02:00
John Ericson db965063b3 treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
Jörg Thalheim 86d7d96da2
Merge pull request #44030 from ajs124/exim_mysql_dovecot
exim: add optional support for MySQL and the Dovecot authenticator
2018-07-30 11:48:28 +01:00
ajs124 3a14eb0e12 exim: add optional support for MySQL and the Dovecot authenticator 2018-07-23 23:00:50 +02:00
Lluís Batlle i Rossell 66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00
volth cc55a3ebcb treewide: fix build with disallowed aliases (#43872)
fixes build with disallowed aliases
2018-07-21 22:03:24 -04:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
R. RyanTM 2d1d17032b dovecot: 2.3.2 -> 2.3.2.1 (#43351)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dovecot/versions.
2018-07-11 17:51:32 +02:00
Jan Malakhovski f2e1998c13 Revert "rspamd: 1.7.3 -> 1.7.4"
Broken on aarch64.
2018-07-02 21:45:29 +00:00
Satoshi Shishiku 50d27311cc rspamd: 1.7.3 -> 1.7.4 2018-07-02 21:44:45 +00:00
Satoshi Shishiku f09b96b982 rspamd: cleanup 2018-07-02 21:43:49 +00:00
Jan Malakhovski d0dcc467db rspamd: 1.6.6 -> 1.7.3 2018-07-02 21:42:10 +00:00
Robert Schütz 21774be1bd dovecot: 2.3.1 -> 2.3.2, dovecot-pigeonhole: 0.5.1 -> 0.5.2 (#42779) 2018-06-30 13:41:39 +02:00
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Léo Gaspard c068e1ca9a
opensmtpd: fix interaction with dovecot-2.3.1
This has been merged upstream with
    https://github.com/OpenSMTPD/OpenSMTPD/pull/847
2018-06-18 17:51:21 +02:00
obadz 6081f514b6 opensmtpd: 6.0.2p1 -> 6.0.3p1 2018-06-07 20:29:43 +01:00
Robert Schütz b7c7360374 postfix: 3.3.0 -> 3.3.1 (#40912)
Release notes: http://www.postfix.org/announcements/postfix-3.3.1.html
2018-05-22 19:47:57 +02:00
R. RyanTM fd1ddcef00 exim: 4.90.1 -> 4.91
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/exim/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exipick --help’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exiqsumm -h’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exiqsumm --help’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exiqsumm help’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exigrep -h’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exigrep --help’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exigrep help’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exiqgrep -h’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exiqgrep help’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exinext -h’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exinext --help’ got 0 exit code
- ran ‘/nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91/bin/exinext help’ got 0 exit code
- found 4.91 with grep in /nix/store/8dn8r8szcjvgkaanp35ml2ms31r92jrd-exim-4.91
- directory tree listing: https://gist.github.com/a7b6b20ca1752c6525abd8e6d0cef9cc
2018-04-17 02:42:29 -07:00
Daiderd Jordan 2483f218cd
opensmtpd-extras: mark linux only 2018-04-05 20:06:03 +02:00
John Wiegley 80e730c9a4 Allow some packages to build on darwin as well 2018-03-30 15:39:25 -07:00
Franz Pletz 96d4f13fc5
dovecot_pigeonhole: 0.5.0.1 -> 0.5.1 2018-03-28 17:41:03 +02:00
Ryan Mulligan a668ca4aac dovecot: 2.3.0.1 -> 2.3.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/dovecot/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/c20ip7wyymd39l7zisx38ky3bxp1sybv-dovecot-2.3.1/bin/dovecot --help` got 0 exit code
- ran `/nix/store/c20ip7wyymd39l7zisx38ky3bxp1sybv-dovecot-2.3.1/bin/dovecot --version` and found version 2.3.1
- found 2.3.1 with grep in /nix/store/c20ip7wyymd39l7zisx38ky3bxp1sybv-dovecot-2.3.1
- directory tree listing: https://gist.github.com/6d90467ee7649d7efc0a48eeacfc42c8
2018-03-28 07:14:40 -07:00
Robert Schütz f38f3c289a
Merge pull request #36674 from ryantm/auto-update/postfix
postfix: 3.2.5 -> 3.3.0
2018-03-19 12:18:28 +01:00
xeji add347c8b2 archiveopteryx: fix build w/gcc7 2018-03-17 18:46:45 +01:00
Ryan Mulligan 7bb9d0bd87 postfix: 3.2.5 -> 3.3.0
Semi-automatic update. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.3.0 with grep in /nix/store/8h882s0l773xiwgwf6flkig4yskagi3b-postfix-3.3.0
- found 3.3.0 in filename of file in /nix/store/8h882s0l773xiwgwf6flkig4yskagi3b-postfix-3.3.0
2018-03-09 09:26:34 -08:00
Jörg Thalheim c1052bf9d9
Merge pull request #36329 from Ekleog/fix-clamsmtp
clamsmtp: fix build after linuxHeaders update to 4.15
2018-03-05 09:48:11 +00:00
Léo Gaspard 7d62c2c7ca
clamsmtp: fix build after linuxHeaders update to 4.15 2018-03-05 10:27:43 +01:00
Robert Schütz 515a6ad843 dovecot: 2.3.0 -> 2.3.0.1
Release notes: https://dovecot.org/list/dovecot-news/2018-February/000371.html

CVE-2017-15132 is patched in this release, so the patches were removed.
They were erroneously referencing CVE-2017-14132, but were indeed patches for CVE-2017-15132.
2018-03-03 12:08:25 +01:00