Commit Graph

50 Commits

Author SHA1 Message Date
Michael Hanley
26afe025c7 smartmontools: fix lib.optional -> lib.optionals
Fixes the following errror when `enableMail=true`:
```
error: cannot coerce a list to a string
```

See: https://discourse.nixos.org/t/lib-optional-considered-harmful/7081
2022-08-28 08:25:53 -04:00
Michael Hanley
58e0d95c3a smartmontools: fix missing sed w/o enableMail
Fixes #185095.

Added gnused to smartmontools regardless of `enableMail`.

The previous fix only works when `enableMail = true`.

Also fixing this while I'm at it:
```
warning: String 'configureFlags' is deprecated and will be removed in release 23.05. Please use a list of strings.
```
2022-08-23 19:55:16 +02:00
Michael Hanley
7d1867e864 smartmontools: fix missing sed
Fixes #185095.

Added `gnused` to `smartmontools`.

`/etc/smartd_warning.sh` requires `sed` to be in the path.

Previously failing with:
```
Test of /nix/store/134ckj3riid6ss5iy91b6b14bqyi7qf3-smartd-notify.sh to <nomailer> produced unexpected output (118 bytes) to STDOUT/STDERR:
/nix/store/hhfr3ih96hzgxhhmjxbns726qx6mfff1-smartmontools-7.3/etc/smartd_warning.sh: line 125: sed: command not found
Test of /nix/store/134ckj3riid6ss5iy91b6b14bqyi7qf3-smartd-notify.sh to <nomailer>: failed (32-bit/8-bit exit status: 32512/127)
```
2022-08-15 16:57:38 -04:00
Thomas Watson
408e72fb38 smartmontools: 7.2 -> 7.3, update drivedb to latest 2022-06-22 20:57:04 -05:00
Peter Simons
476635afe1 Drop myself from meta.maintainers for most packages.
I'd like to reduce the number of Github notifications and
review requests I receive.
2021-10-14 11:01:27 +02:00
Sandro Jäckel
db805c9d36 smartmontools: format, cleanup 2021-08-12 12:00:10 +09:00
Bernardo Meurer
e62d2b750c
Merge pull request #113303 from midchildan/fix/smartmontools
smartmontools: drop mailutils dependency by default
2021-08-09 21:15:55 +00:00
Kid
14d592728d
smartmontools: add meta.mainProgram 2021-07-18 17:28:33 +08:00
Felix Buehler
1e9baed56b various: cleanup of 'inherit version;' 2021-07-16 00:17:12 +02:00
Arnout Engelen
230d58d30f
smartmontools: update drivedb to r5171
Not so much because newer is better, but it seems the behavior of the
sourceforge raw download changed with respect to `$Id$`, so this gets
things in sync again (#113894)
2021-02-21 13:51:06 +01:00
midchildan
24499bbc6e
smartmontools: drop mailutils dependency by default
mailutils depends on OpenSSL 1.0.2, which is marked as insecure and thus
prevents this package from being built on Hydra. Excluding it by default
should re-enable binary builds for users who don't need the email
feature.

This change is unlikely to cause a major disruption because there's an
existing NixOS module for smartd that handles email notifications. It
works without this package being dependant on mailutils. Since mailutils
isn't used for any other purpose besides providing email notification
for smartd, it's possible to drop it without feature loss.

This change also makes the dependance on inetutils optional. inetutils
is needed for the 'hostname' command, and is only used for providing
email support.
2021-02-18 09:59:23 +09:00
Cole Helbling
a206194b4e
smartmontools: make mail support optional
It's enabled by default since that's how it was before this change.
2021-02-06 22:03:59 -08:00
eropleco
822e677f0a
smartmontools: 7.1 -> 7.2 and devicedb updated to latest (#109566)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-18 00:09:10 +01:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +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
pacien
f1922cdbdc smartmontools: fix missing hostname in notifications
This properly registers some missing dependencies of smartd_warning.sh.
2020-08-16 20:48:03 +02:00
Sergey Lukjanov
ece733fe59 smartmontools-db: 4883 -> 5033 2020-06-01 16:47:48 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Sergey Lukjanov
e85f0a8970 smartmontools: add Frostman to maintainers 2020-02-25 23:10:05 -08:00
Sergey Lukjanov
38b0c55601 smartmontools: 7.0 -> 7.1 and devicedb updated to latest 2020-02-25 22:54:03 -08:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
8f8c7ecc7f smartmontools: 6.6 -> 7.0 (#53115)
https://listi.jpberlin.de/pipermail/smartmontools-announce/2018-December/000001.html
2019-01-01 19:02:47 +01:00
Andreas Rammhold
acf738bc54
smartmontools: drivedb 4548 -> 4852 2018-12-09 21:14:04 +01:00
c0bw3b
0ea604ac1d Treewide: use https for SourceForge 2018-11-24 19:58:03 +01:00
Will Dietz
f48258fed2 smartmontools: patch from upstream project 2018-02-13 09:44:56 -06:00
Tuomas Tynkkynen
7ebacd1a43 smartmontools: 6.5 -> 6.6 2017-11-10 05:49:48 +02:00
Peter Hoeg
be73e42f14 smartmontools: drive DB 4394 -> 4548 2017-10-17 11:03:07 +08:00
Peter Hoeg
497e04a698 smartmontools: use slightly newer drive DB 2017-07-31 14:15:05 +08:00
Peter Simons
7803a696cd smartmontools: update drivedb.h to latest SVN version 4391 2017-02-23 00:18:40 +01:00
Jake Waksbaum
a9afa48915
smartmontools: 6.4 -> 6.5 and fix segfault on darwin 2017-01-30 22:09:21 -05:00
Matthew Bauer
c92227f5cc smartmontools: fix darwin build
needs IOKit
2016-08-16 19:25:46 +00:00
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Fabian Schmitthenner
a936b602b5 smartmontools: 6.3 -> 6.4, update driverdb to r4179 2015-11-29 00:31:13 +01:00
Henry Till
8b580fb9d1 smartmontools: clean up meta, add darwin to meta.platforms 2015-05-15 12:41:33 -04:00
Aristid Breitkreuz
78da0ea8d6 smartmontools: update from 6.2 to 6.3 2014-10-07 21:08:46 +02:00
Rickard Nilsson
4f6b248e16 smartmontools: Update driverdb to r3849, and fix broken url 2013-08-28 16:58:07 +02:00
Peter Simons
30e9f13d81 smartmontools: update to version 6.2 2013-07-27 11:05:59 +02:00
Peter Simons
bee4c41e13 smartmontools: update drive database to the latest version 2013-07-23 10:40:40 +02:00
Peter Simons
ac022ec7af smartmontools: update to version 6.1 (using latest drivedb.h revision 3797 from trunk) 2013-03-18 12:17:26 +01:00
Peter Simons
f59aaaed4b smartmontools: update drivedb.h to the latest version 2013-03-10 00:43:08 +01:00
Peter Simons
1f07564f8b smartmontools: update drive database to the latest version 2013-01-12 15:41:44 +01:00
Peter Simons
f0bd33556f smartmontools: update drivedb file to trunk revision 3605 2012-11-20 11:16:32 +01:00
Peter Simons
6ef73f57c3 smartmontools: update to version 6.0 2012-10-10 19:26:02 +02:00
Peter Simons
570dcf6788 smartmontools: update drivedb.h to latest version 2012-09-18 19:35:24 +02:00
Peter Simons
3d660e4598 smartmontools: update to version 5.43 2012-07-02 10:42:42 +02:00
Peter Simons
68198ed18d smartmontools: updated to version 5.42
svn path=/nixpkgs/trunk/; revision=29966
2011-10-21 17:00:03 +00:00
Peter Simons
8e79697a84 smartmontools: updated to version 5.41
svn path=/nixpkgs/trunk/; revision=27671
2011-07-08 10:51:18 +00:00
Eelco Dolstra
64b833face * smartmontools updated to 5.38.
svn path=/nixpkgs/trunk/; revision=16635
2009-08-10 06:44:08 +00:00
Eelco Dolstra
8d4986e2e8 * Added smartmontools.
svn path=/nixpkgs/trunk/; revision=9466
2007-10-18 13:05:43 +00:00