Commit Graph

63 Commits

Author SHA1 Message Date
pacien
1593b2344f msmtp: add meta.mainProgram 2023-12-17 18:24:48 +01:00
Peter Hoeg
1156cd9e9b msmtp: support not bringing in the additional scripts 2023-11-20 18:42:18 +01:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Adam Joseph
2761db99f5 msmtp: allow building only the binaries
This commit exposes the `binaries` attribute of the `msmtp`
expression, to allow building just the binaries without the scripts.

The scripts have a gigantic dependency set; the binaries don't.
2023-01-01 15:56:56 -08:00
Sandro Jäckel
da75629e34
msmtp: little cleanups 2022-12-16 20:16:11 +01:00
Peter Hoeg
c33bbab891 msmtp: we always provide a path to msmtp 2022-08-25 10:50:36 +08:00
Peter Hoeg
f0f76224f4 drop commit text 2022-08-18 00:01:49 +08:00
Peter Hoeg
8e35fb01ab msmtp: 1.8.20 -> 1.8.22 2022-08-18 00:01:49 +08:00
Peter Hoeg
70220e79b1 WIP 2022-08-09 08:38:37 +08:00
Peter Hoeg
603b6f6be1 msmtp: resholve queue scripts 2022-08-09 08:38:37 +08:00
Ruben Maher
1a96f49e8d
msmtp: 1.8.19 -> 1.8.20 2022-06-13 10:13:59 +09:00
markuskowa
f5a78628ac
Merge pull request #145158 from andersk/msmtp-gsasl
msmtp: Fix GSSAPI support
2021-11-09 23:39:27 +01:00
Anders Kaseorg
bf9447721d msmtp: Fix GSSAPI support
We already have gsasl as a build input, but it was not being used
because we were missing the --with-libgsasl configure flag.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-11-08 18:23:48 -08:00
Fabian Affolter
ef8eb42db5 msmtp: 1.8.18 -> 1.8.19 2021-11-07 00:57:58 +01:00
Fabian Affolter
e198a1d720 msmtp: 1.8.17 -> 1.8.18 2021-10-31 12:45:51 +01:00
Fabian Affolter
49f6430240 msmtp: 1.8.16 -> 1.8.17 2021-10-19 13:03:11 +02:00
Robert Helgesson
27d1ef1c95
msmtp: 1.8.15 -> 1.8.16 2021-09-22 20:49:47 +02:00
R. RyanTM
c90a78506e msmtp: 1.8.14 -> 1.8.15 2021-03-14 13:36:03 +00:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
yoctocell
e833bc0473
msmtp: 1.8.13 -> 1.8.14 2021-01-01 10:51:57 +01:00
R. RyanTM
1160d58c8d msmtp: 1.8.12 -> 1.8.13 2020-11-19 05:26:22 +00:00
R. RyanTM
70c20723ca msmtp: 1.8.11 -> 1.8.12 2020-08-26 16:20:00 +00:00
R. RyanTM
01b73a01e7 msmtp: 1.8.10 -> 1.8.11 2020-06-10 15:58:12 +00:00
Michael Weiss
4f17832abf
msmtp: 1.8.8 -> 1.8.10 (#86027)
This update contains the full fix for the unfortunate and very annoying
msmtpq regression [0]. #YAY
This successfully reduces the amount of spam my setup generates :)
(Note: SCNR)

Relevant patches:
- c78f24347e
- dfb39595a5

[0]: https://marlam.de/msmtp/news/
2020-04-26 01:08:31 +02:00
Peter Hoeg
920c51e408
msmtp: fix for broken queueing
PR #85846
2020-04-23 10:59:41 +02:00
Robert Helgesson
730ecad048
msmtp: 1.8.7 -> 1.8.8 2020-04-18 10:46:11 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Katharina Fey
b3e6d205b8
msmtp: adding texinfo to buildInputs (#83497) 2020-03-28 12:40:30 +01:00
R. RyanTM
4068a753d5 msmtp: 1.8.6 -> 1.8.7 2020-01-06 18:00:04 -08:00
R. RyanTM
9651b3e2b1 msmtp: 1.8.5 -> 1.8.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/msmtp/versions
2019-10-07 21:23:22 -07:00
Tmplt
588513f1c6 msmtp: 1.8.4 -> 1.8.5 2019-07-19 13:20:29 +02:00
Rok Garbas
65781e204d
Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
Will Dietz
030efbb1d8 msmtp: 1.8.3 -> 1.8.4
https://marlam.de/msmtp/news/msmtp-1-8-4/

Drop unnecessary `name = ..` as well.
2019-04-25 23:27:59 -05:00
R. RyanTM
6cfacc5ba4 msmtp: 1.8.2 -> 1.8.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/msmtp/versions
2019-02-16 10:25:31 +01:00
Vladimír Čunát
5effa4e0f9
Merge branch 'master' into staging-next
Comments on conflicts:
- llvm: d6f401e1 vs. 469ecc70 - docs for 6 and 7 say the default is
  to build all targets, so we should be fine
- some pypi hashes: they were equivalent, just base16 vs. base32
2019-02-01 09:22:29 +01:00
Christian Kampka
25acd14ddf msmtp: Configure sysconfdir to point to /etc
The current build lets the SYSCONFDIR of msmtp point to the nix store /nix/.../msmtp-1.81/etc, which is not very useful.
This change will allow for system wide configuration to be placed in /etc instead.
2019-01-20 13:54:20 +01:00
R. RyanTM
d584043f05 msmtp: 1.8.1 -> 1.8.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/msmtp/versions
2019-01-17 01:25:04 -08:00
Will Dietz
5aca804758 msmtp: 1.6.8 -> 1.8.1 (#51693)
* msmtp: 1.6.8 -> 1.8.0

https://marlam.de/msmtp/news/msmtp-1-8-0/

Uses libidn2 now instead of libidn.

* msmtp: 1.8.0 -> 1.8.1

* msmtp: drop openssl per upstream recommendation

... and reviewer request :)

See:
https://github.com/NixOS/nixpkgs/pull/51693#pullrequestreview-182938553
2018-12-16 19:06:23 +01:00
Robert Helgesson
2bcb700b05
msmtp: support passwordeval without final '\n'
This applies an upstream patch that removes the requirement for
passwordeval commands to print a `\n` character after the password.
2018-08-21 21:36:06 +02:00
Robert Helgesson
3727609834 msmtp: 1.6.6 -> 1.6.8
Also update homepage to match new project location.
2018-08-14 22:10:26 +02:00
Jörg Thalheim
011e69ea3f
Merge pull request #31789 from flokli/msmtp-sendmail
msmtp: add sendmail symlink to $out/bin
2017-11-18 19:43:04 +00:00
Florian Klink
3afa503882 msmtp: add sendmail symlink to $out/bin
This is useful for applications expecting a 'sendmail' binary in $PATH,
similar how nullmailer and ssmtp do it, too.
2017-11-18 09:39:58 +01:00
Florian Klink
7c737cb506 msmtp: install docs and examples (#31769)
* msmtp: install docs and examples

* msmtp: nitpick
2017-11-17 16:35:01 +00:00
Matthieu Coudron
cd4df565ef msmtp: compiles with keyring support by default (#30584)
* msmtp: compiles with keyring support by default

As it is recommended by msmtp http://msmtp.sourceforge.net/doc/msmtp.html#Authentication
2017-10-24 15:56:06 +08:00
Peter Hoeg
d81601065d Revert "msmtp: add nonblocking support"
This reverts commit 5f29e9fdbf.
2017-10-14 14:42:48 +08:00
Peter Hoeg
5f29e9fdbf msmtp: add nonblocking support 2017-10-14 14:38:04 +08:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Peter Hoeg
6f68eb7c7e msmtp: use netcat-gnu to unbreak darwin 2017-03-08 16:02:35 +08:00