Commit Graph

47 Commits

Author SHA1 Message Date
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
R. RyanTM
db0d5e59e7 munin: 2.0.64 -> 2.0.65 2020-11-03 11:03:14 +00:00
R. RyanTM
a3f18b3e1a munin: 2.0.63 -> 2.0.64 2020-07-14 06:43:03 +02:00
R. RyanTM
fdbe373e57 munin: 2.0.61 -> 2.0.63 2020-06-17 12:28:02 -07:00
R. RyanTM
1d54df9517 munin: 2.0.59 -> 2.0.61 2020-05-06 10:33:35 -07:00
R. RyanTM
f34ccf118c munin: 2.0.51 -> 2.0.59 2020-04-07 10:56:53 -07:00
R. RyanTM
406f983101 munin: 2.0.49 -> 2.0.51
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/munin/versions
2020-03-14 04:57:22 +00:00
Robin Gloster
8fb0e16133
munin: *Flags are lists 2019-12-30 12:15:29 +01:00
Marwan Aljubeh
d88f4efd0b munin: Use outPath for packages in makeFlags
With this change, evaluating the `makeFlags` attribute does not result in building the referenced packages.

This makes it possible for users to override `buildInputs` and remove inputs they don't want without having to also make a modified copy of the `makeFlags` attribute.

An example use case is to remove the `jre` dependency.
2019-09-16 07:03:49 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
97b78363e3 munin: 2.0.43 -> 2.0.49
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/munin/versions
2019-06-17 21:41:57 +02:00
Ben Kelly
85cdd06e0c munin: 2.0.37 -> 2.0.43
Also creates the RELEASE file in preBuild so that munin knows its own
version number at runtime.
2019-02-04 20:18:25 -05:00
volth
fed7914539
Merge branch 'staging' into make-perl-pathd 2018-12-18 17:13:27 +00:00
volth
bb9557eb7c lib.makePerlPath -> perlPackages.makePerlPath 2018-12-15 03:50:31 +00:00
volth
6d2edfb0b8 treewide: remove aliases evaluated to null 2018-12-14 16:27:53 +00:00
volth
5f91657ad1 remove support for pre-5.26 Perl 2018-10-03 19:29:58 +00:00
Uli Baum
da0ce8ca52 munin: fix build
fallout from perl 5.24 -> 5.28 update
2018-08-25 01:00:05 +02:00
volth
cc55a3ebcb treewide: fix build with disallowed aliases (#43872)
fixes build with disallowed aliases
2018-07-21 22:03:24 -04:00
R. RyanTM
10f02ad446 munin: 2.0.34 -> 2.0.37
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped -h’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped --help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check -h’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check --help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-cron-wrapped --help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-cron --help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-node-configure help’ got 0 exit code
- found 2.0.37 with grep in /nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37
- directory tree listing: https://gist.github.com/44aa9c5969938bba7e7a4e9710568ae9
2018-04-17 18:49:38 +02:00
Frederik Rietdijk
0cd857bffd Merge remote-tracking branch 'upstream/master' into HEAD 2017-11-25 11:38:13 +01:00
Kjetil Orbekk
a2dc37c7d1 munin-node: patch to configure plugin-conf.d
Add a new patch (adding_sconfdir_munin-node.patch) to be able to
configure the location of plugin-conf.d (otherwise it has to be
configured at build time).  This patch is very similar to the
existing 'adding_servicedir_munin-node.patch'.
2017-11-25 11:23:56 +01:00
Kjetil Orbekk
c164d83536 munin-node: add patch to preserve environment variables 2017-11-25 11:23:56 +01:00
Kjetil Orbekk
e36962a002 munin: 2.0.33 -> 2.0.34 2017-11-25 11:23:56 +01:00
John Ericson
da19c34d0f stdenv setup: Always use both propagated files
This continues #23374, which always kept around both attributes, by
always including both propagated files: `propgated-native-build-inputs`
and `propagated-build-inputs`. `nativePkgs` and `crossPkgs` are still
defined as before, however, so this change should only barely
observable.

This is an incremental step to fully keeping the dependencies separate
in all cases.
2017-11-21 10:44:44 -05:00
ndowens
2e06a585bc munin: 2.0.30 -> 2.0.33; for CVE-2017-6188 2017-03-21 16:41:38 -05:00
Bjørn Forsman
46e44222d6 munin: add 'bc' (needed by 'acpi' and 'snort_pkts' plugins) 2017-02-25 14:17:08 +01:00
Jean-Pierre PRUNARET
fc6622a098 munin: 2.0.29 -> 2.0.30 2017-01-24 15:23:46 +01:00
Jean-Pierre PRUNARET
319879354b munin: fetchurl -> fetchFromGithub 2017-01-24 15:23:43 +01:00
Jean-Pierre PRUNARET
8abce1dbfb munin: 2.0.25 -> 2.0.29 2017-01-18 14:52:46 +01:00
Domen Kožar
b49bf121b8 rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
Domen Kožar
b4e2172ad4 fix munin (and the test), refs #12801 #13999
(cherry picked from commit 7877e33af8c0ec7f3a91c650ae4da6288b7dfe49)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-03-28 10:26:35 +01:00
Bjørn Forsman
412cb5a3a2 munin: remove /usr/{bin,sbin}/ references from plugins
Instead, run things out of $PATH.

Fixes errors like these (on NixOS):
  munin-available-plugins/.mysql_slowqueries-wrapped: line 67: /usr/bin/printf: No such file or directory

(Basically, this unbreaks some plugins.)
2015-01-18 14:39:57 +01:00
William A. Kennington III
c82410eeda java: Normalize to the default jre / jdk 2015-01-07 14:55:41 -08:00
Domen Kožar
7f021fe566 munin: 2.0.21 -> 2.0.25 2014-11-30 20:42:06 +01:00
Bjørn Forsman
4f220bd0c3 munin: add missing dependency on 'NetCIDR'
Fixes

  munin-node[30100]: Can't locate Net/CIDR.pm in @INC (@INC contains: [...])

when using the 'cidr_allow' configuration directive.
2014-11-05 22:27:27 +01:00
Domen Kožar
f70acd2584 munin: fix test 2014-08-31 16:54:09 +02:00
Bjørn Forsman
f2d5fe86bd munin: simplify setting of PERL5PATH
Use lib.makePerlPath instead of manually duplicating
"/lib/perl5/site_perl" all over.
2014-07-18 12:37:36 +02:00
Bjørn Forsman
5e460b2dee munin: update 2.0.20 -> 2.0.21 (bug fix) 2014-05-25 13:55:20 +02:00
Domen Kožar
d2efe82eaa munin: 2.0.19 -> 2.0.20 2014-04-09 11:29:47 +02:00
Rok Garbas
a39490d709 fixing munin (broken by latest version update) also switch to fetchgit 2014-01-16 18:07:16 +00:00
Nixpkgs Monitor
36c0702156 munin: update from 2.0.17 to 2.0.19, potentially fixes CVE-2013-6048, CVE-2013-6359 2014-01-14 11:59:41 +01:00
Bjørn Forsman
4d6605e882 Whitespace fixes in package expressions I maintain 2014-01-02 17:58:08 +01:00
Domen Kožar
9230ae6522 munin: refactor package and add nixos service 2013-10-20 15:08:07 +02:00
Domen Kožar
43333ae57d munin: 2.0.14 -> 2.0.17 2013-09-29 22:02:45 +02:00
Bjørn Forsman
05bb66ce20 Add myself as maintainer for several packages
And set missing meta.platforms for the packages I've added earlier.
2013-05-20 20:28:15 +02:00
Bjørn Forsman
1578fd3c1f munin: add missing dependencies
* Add needed dependencies:
  coreutils, python, ruby, java and several Perl modules (Time::HiRes
  1.9.724 is no longer available, bump to 1.9725)
* Use sha256 instead of md5 (more secure)
* Wrap munin perl scripts so they find their dependencies at runtime
* Rework meta description attributes.

FIXME/TODO: munin is still not usable; it tries to write log files and
web graphs to its installation path.
2013-05-20 19:10:44 +02:00
Domen Kozar
c9bae2bcbe munin: add the package, WIP 2013-05-20 11:18:40 +02:00