diff options
author | Robin Gloster <mail@glob.in> | 2016-07-15 14:41:01 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-07-15 14:41:01 +0000 |
commit | 5185bc177309c62e53dad1ad346d1220f0e77bd4 (patch) | |
tree | 52f5878b394abf2ef326765d46880ccbabd84903 /pkgs/tools/system | |
parent | 07615735077db344539eb9131823600593f0eddf (diff) | |
parent | f402c6321aa3c6e56f5e1f1e36c4ad459c881309 (diff) | |
download | nixlib-5185bc177309c62e53dad1ad346d1220f0e77bd4.tar nixlib-5185bc177309c62e53dad1ad346d1220f0e77bd4.tar.gz nixlib-5185bc177309c62e53dad1ad346d1220f0e77bd4.tar.bz2 nixlib-5185bc177309c62e53dad1ad346d1220f0e77bd4.tar.lz nixlib-5185bc177309c62e53dad1ad346d1220f0e77bd4.tar.xz nixlib-5185bc177309c62e53dad1ad346d1220f0e77bd4.tar.zst nixlib-5185bc177309c62e53dad1ad346d1220f0e77bd4.zip |
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/augeas/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/system/collectd/default.nix | 3 | ||||
-rw-r--r-- | pkgs/tools/system/cron/default.nix | 16 | ||||
-rw-r--r-- | pkgs/tools/system/dcfldd/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/system/dfc/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/system/di/default.nix | 8 | ||||
-rw-r--r-- | pkgs/tools/system/evemu/default.nix | 5 | ||||
-rw-r--r-- | pkgs/tools/system/facter/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/system/fio/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/system/hiera-eyaml/Gemfile | 3 | ||||
-rw-r--r-- | pkgs/tools/system/hiera-eyaml/Gemfile.lock | 17 | ||||
-rw-r--r-- | pkgs/tools/system/hiera-eyaml/default.nix | 28 | ||||
-rw-r--r-- | pkgs/tools/system/hiera-eyaml/gemset.nix | 26 | ||||
-rw-r--r-- | pkgs/tools/system/s6-rc/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/system/safecopy/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/system/stress-ng/default.nix | 8 | ||||
-rw-r--r-- | pkgs/tools/system/tm/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/system/tree/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/system/ts/default.nix | 2 |
19 files changed, 113 insertions, 27 deletions
diff --git a/pkgs/tools/system/augeas/default.nix b/pkgs/tools/system/augeas/default.nix index 7f35551f2ee9..c8a4c2616de8 100644 --- a/pkgs/tools/system/augeas/default.nix +++ b/pkgs/tools/system/augeas/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "augeas-${version}"; - version = "1.2.0"; + version = "1.5.0"; src = fetchurl { url = "http://download.augeas.net/${name}.tar.gz"; - sha256 = "1q41yilxc0nvjz5h9phm38k2b73k2v0b9jg11y92228bps7b5bpl"; + sha256 = "0gzpafrflkr0incq58vjkabfncrpc97d7mdgglkr57iyzvkbcfr2"; }; buildInputs = [ pkgconfig readline libxml2 ]; diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix index 8676ce31c66f..7c889d89303b 100644 --- a/pkgs/tools/system/collectd/default.nix +++ b/pkgs/tools/system/collectd/default.nix @@ -29,6 +29,7 @@ , udev ? null , varnish ? null , yajl ? null +, net_snmp ? null }: stdenv.mkDerivation rec { version = "5.5.1"; @@ -43,7 +44,7 @@ stdenv.mkDerivation rec { pkgconfig curl iptables libatasmart libcredis libdbi libgcrypt libmemcached cyrus_sasl libmodbus libnotify gdk_pixbuf liboping libpcap libsigrok libvirt lm_sensors libxml2 lvm2 libmysql postgresql protobufc rabbitmq-c rrdtool - varnish yajl jdk libtool python udev + varnish yajl jdk libtool python udev net_snmp ]; # for some reason libsigrok isn't auto-detected diff --git a/pkgs/tools/system/cron/default.nix b/pkgs/tools/system/cron/default.nix index 26f088fd54a2..3d03f19cb6f8 100644 --- a/pkgs/tools/system/cron/default.nix +++ b/pkgs/tools/system/cron/default.nix @@ -16,9 +16,19 @@ stdenv.mkDerivation { makeFlags="DESTROOT=$out" # We want to ignore the $glibc/include/paths.h definition of - # sendmail path - echo "#undef _PATH_SENDMAIL" >> pathnames.h - echo '#define _PATH_SENDMAIL "${sendmailPath}"' >> pathnames.h + # sendmail path. + # Also set a usable default PATH (#16518). + cat >> pathnames.h <<__EOT__ + #undef _PATH_SENDMAIL + #define _PATH_SENDMAIL "${sendmailPath}" + + #undef _PATH_DEFPATH + #define _PATH_DEFPATH "/var/setuid-wrappers:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/run/current-system/sw/bin:/run/current-system/sw/sbin:/usr/bin:/bin" + __EOT__ + + # Implicit saved uids do not work here due to way NixOS uses setuid wrappers + # (#16518). + echo "#undef HAVE_SAVED_UIDS" >> externs.h ''; preInstall = "mkdir -p $out/bin $out/sbin $out/share/man/man1 $out/share/man/man5 $out/share/man/man8"; diff --git a/pkgs/tools/system/dcfldd/default.nix b/pkgs/tools/system/dcfldd/default.nix index 27ebbf3518fc..240cc36f7266 100644 --- a/pkgs/tools/system/dcfldd/default.nix +++ b/pkgs/tools/system/dcfldd/default.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { buildInputs = [ ]; meta = with stdenv.lib; { - description = "an enhanced version of GNU dd"; + description = "An enhanced version of GNU dd"; homepage = http://dcfldd.sourceforge.net/; diff --git a/pkgs/tools/system/dfc/default.nix b/pkgs/tools/system/dfc/default.nix index 63a6e7e1fa30..1876bac496da 100644 --- a/pkgs/tools/system/dfc/default.nix +++ b/pkgs/tools/system/dfc/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://projects.gw-computing.net/projects/dfc"; - description = "displays file system space usage using graphs and colors"; + description = "Displays file system space usage using graphs and colors"; license="free"; maintainers = with stdenv.lib.maintainers; [qknight]; platforms = with stdenv.lib.platforms; all; diff --git a/pkgs/tools/system/di/default.nix b/pkgs/tools/system/di/default.nix index 9af1f8192c3c..baacfe6969e7 100644 --- a/pkgs/tools/system/di/default.nix +++ b/pkgs/tools/system/di/default.nix @@ -1,17 +1,17 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "di-4.37"; + name = "di-4.42"; src = fetchurl { url = "http://gentoo.com/di/${name}.tar.gz"; - sha256 = "1ljamhbpfps5b3n6gsk11znjv2f0cqfy7imda2qmzrlb8dipjs0h"; + sha256 = "1i6m9zdnidn8268q1lz9fd8payk7s4pgwh5zlam9rr4dy6h6a67n"; }; - makeFlags = "INSTALL_DIR=$(out)"; + makeFlags = [ "INSTALL_DIR=$(out)" ]; meta = with stdenv.lib; { - description = "A disk information utility, displaying everything (and more) that your 'df' command does"; + description = "Disk information utility; displays everything 'df' does and more"; homepage = http://www.gentoo.com/di/; license = licenses.zlib; maintainers = with maintainers; [ manveru ]; diff --git a/pkgs/tools/system/evemu/default.nix b/pkgs/tools/system/evemu/default.nix index 2da9a7d035de..2a2340a21525 100644 --- a/pkgs/tools/system/evemu/default.nix +++ b/pkgs/tools/system/evemu/default.nix @@ -4,14 +4,14 @@ stdenv.mkDerivation rec { name = "evemu-${version}"; - version = "2.0.0"; + version = "2.4.0"; # We could have downloaded a release tarball from cgit, but it changes hash # each time it is downloaded :/ src = fetchgit { url = git://git.freedesktop.org/git/evemu; rev = "refs/tags/v${version}"; - sha256 = "0qv2ib3rb0wp881sfkzmhpkfc3nbrswdmll3087pmzpwd701g42l"; + sha256 = "07iha13xrpf4z59rzl9cm2h1zkc5xhyipbd3ajd3c1d4hhpn9w9s"; }; buildInputs = [ @@ -33,5 +33,6 @@ stdenv.mkDerivation rec { repositories.git = git://git.freedesktop.org/git/evemu; license = licenses.gpl2; maintainers = [ maintainers.amorsillo ]; + platforms = platforms.linux; }; } diff --git a/pkgs/tools/system/facter/default.nix b/pkgs/tools/system/facter/default.nix index 7176b491afaf..0ebfe36f59dc 100644 --- a/pkgs/tools/system/facter/default.nix +++ b/pkgs/tools/system/facter/default.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { name = "facter-${version}"; - version = "3.1.6"; + version = "3.1.8"; src = fetchurl { url = "https://downloads.puppetlabs.com/facter/${name}.tar.gz"; - sha256 = "1kv4k9zqpsiw362kk1rw1a4sixd0pmnh57ghd4k4pffr2dkmdfsv"; + sha256 = "1fhfjf5bm5kyjiady14fxhpp7hdrkgx56vsvdbqj82km0xqcxpj9"; }; cmakeFlags = [ "-DFACTER_RUBY=${ruby}/lib/libruby.so" ]; diff --git a/pkgs/tools/system/fio/default.nix b/pkgs/tools/system/fio/default.nix index 0ec141a7b356..2c051bb5e78c 100644 --- a/pkgs/tools/system/fio/default.nix +++ b/pkgs/tools/system/fio/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchFromGitHub, libaio, python, zlib }: let - version = "2.9"; - sha256 = "10x5b1f1pdsh33kqzc8yf2v4mijlmkh72lmh9za6kz7hb3hp1nvi"; + version = "2.12"; + sha256 = "1m0fx0x1v2375vyxhd2i12b9w1qy4yh75f6qhwlcr78himcsmpp9"; in stdenv.mkDerivation rec { diff --git a/pkgs/tools/system/hiera-eyaml/Gemfile b/pkgs/tools/system/hiera-eyaml/Gemfile new file mode 100644 index 000000000000..18c7cde2a086 --- /dev/null +++ b/pkgs/tools/system/hiera-eyaml/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'hiera-eyaml', '2.1.0' diff --git a/pkgs/tools/system/hiera-eyaml/Gemfile.lock b/pkgs/tools/system/hiera-eyaml/Gemfile.lock new file mode 100644 index 000000000000..a6d1c1f872e9 --- /dev/null +++ b/pkgs/tools/system/hiera-eyaml/Gemfile.lock @@ -0,0 +1,17 @@ +GEM + remote: https://rubygems.org/ + specs: + hiera-eyaml (2.1.0) + highline (~> 1.6.19) + trollop (~> 2.0) + highline (1.6.21) + trollop (2.1.2) + +PLATFORMS + ruby + +DEPENDENCIES + hiera-eyaml (= 2.1.0) + +BUNDLED WITH + 1.11.2 diff --git a/pkgs/tools/system/hiera-eyaml/default.nix b/pkgs/tools/system/hiera-eyaml/default.nix new file mode 100644 index 000000000000..615a66f86551 --- /dev/null +++ b/pkgs/tools/system/hiera-eyaml/default.nix @@ -0,0 +1,28 @@ +{ lib, bundlerEnv, stdenv }: + +let + name = "hiera-eyaml-${env.gems.hiera-eyaml.version}"; + + env = bundlerEnv { + inherit name; + gemfile = ./Gemfile; + lockfile = ./Gemfile.lock; + gemset = ./gemset.nix; + }; + +in stdenv.mkDerivation { + inherit name; + + buildCommand = '' + mkdir -p $out/bin + ln -s ${env}/bin/eyaml $out/bin/eyaml + ''; + + meta = with lib; { + description = "Per-value asymmetric encryption of sensitive data for Hiera"; + homepage = https://github.com/TomPoulton/hiera-eyaml; + license = licenses.mit; + maintainers = [ maintainers.benley ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/tools/system/hiera-eyaml/gemset.nix b/pkgs/tools/system/hiera-eyaml/gemset.nix new file mode 100644 index 000000000000..ab6d5307ebb8 --- /dev/null +++ b/pkgs/tools/system/hiera-eyaml/gemset.nix @@ -0,0 +1,26 @@ +{ + hiera-eyaml = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1h25pfv89macjf3sjdrx7slhlq1af4zybai42ci3gj02b6hli4a6"; + type = "gem"; + }; + version = "2.1.0"; + }; + highline = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "06bml1fjsnrhd956wqq5k3w8cyd09rv1vixdpa3zzkl6xs72jdn1"; + type = "gem"; + }; + version = "1.6.21"; + }; + trollop = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0415y63df86sqj43c0l82and65ia5h64if7n0znkbrmi6y0jwhl8"; + type = "gem"; + }; + version = "2.1.2"; + }; +} \ No newline at end of file diff --git a/pkgs/tools/system/s6-rc/default.nix b/pkgs/tools/system/s6-rc/default.nix index b6f3de5f5cde..02c76798fd77 100644 --- a/pkgs/tools/system/s6-rc/default.nix +++ b/pkgs/tools/system/s6-rc/default.nix @@ -35,7 +35,7 @@ in stdenv.mkDerivation rec { meta = { homepage = http://skarnet.org/software/s6-rc/; - description = "a service manager for s6-based systems"; + description = "A service manager for s6-based systems"; platforms = stdenv.lib.platforms.all; license = stdenv.lib.licenses.isc; maintainers = with stdenv.lib.maintainers; [ pmahoney ]; diff --git a/pkgs/tools/system/safecopy/default.nix b/pkgs/tools/system/safecopy/default.nix index 304d8f21eb28..5e7ec51bf107 100644 --- a/pkgs/tools/system/safecopy/default.nix +++ b/pkgs/tools/system/safecopy/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { }; meta = { - description = "data recovery tool for damaged hardware"; + description = "Data recovery tool for damaged hardware"; longDescription = '' Safecopy is a data recovery tool which tries to extract as much data as possible from a diff --git a/pkgs/tools/system/stress-ng/default.nix b/pkgs/tools/system/stress-ng/default.nix index 0d55d1e7ca8a..c45cc8a596b1 100644 --- a/pkgs/tools/system/stress-ng/default.nix +++ b/pkgs/tools/system/stress-ng/default.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { name = "stress-ng-${version}"; - version = "0.06.01"; + version = "0.06.11"; src = fetchurl { - sha256 = "1bk3sj6gyrgp5qfxiz6k7zml28m01iljgvxhp4yq391xzfyvrlg9"; + sha256 = "0481aji9hdq8qbslrrc87r2p2pn8jxf913ac8wm5kxj02yqf7ccv"; url = "http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${name}.tar.gz"; }; @@ -24,8 +24,8 @@ stdenv.mkDerivation rec { longDescription = '' Stress test a system in various selectable ways, exercising both various physical subsystems and various operating system kernel interfaces: - - over 60 different stress tests - - over 50 CPU specific stress tests that exercise floating point, + - over 130 different stress tests + - over 70 CPU specific stress tests that exercise floating point, integer, bit manipulation and control flow - over 20 virtual memory stress tests stress-ng was originally intended to make a machine work hard and trip diff --git a/pkgs/tools/system/tm/default.nix b/pkgs/tools/system/tm/default.nix index 58036af1a947..a297f9371001 100644 --- a/pkgs/tools/system/tm/default.nix +++ b/pkgs/tools/system/tm/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation { meta = with stdenv.lib; { homepage = "http://vicerveza.homeunix.net/~viric/soft/tm"; - description = "terminal mixer - multiplexer for the i/o of terminal applications"; + description = "Terminal mixer - multiplexer for the i/o of terminal applications"; license = licenses.gpl2; maintainers = with maintainers; [ viric ]; platforms = platforms.all; diff --git a/pkgs/tools/system/tree/default.nix b/pkgs/tools/system/tree/default.nix index a5050047256b..00df3c45f4ff 100644 --- a/pkgs/tools/system/tree/default.nix +++ b/pkgs/tools/system/tree/default.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation { meta = { homepage = "http://mama.indstate.edu/users/ice/tree/"; - description = "command to produce a depth indented directory listing"; + description = "Command to produce a depth indented directory listing"; license = stdenv.lib.licenses.gpl2; longDescription = '' diff --git a/pkgs/tools/system/ts/default.nix b/pkgs/tools/system/ts/default.nix index 8e65eda8f540..cad1230ac87a 100644 --- a/pkgs/tools/system/ts/default.nix +++ b/pkgs/tools/system/ts/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { homepage = "http://vicerveza.homeunix.net/~viric/soft/ts"; - description = "task spooler - batch queue"; + description = "Task spooler - batch queue"; license = licenses.gpl2; maintainers = with maintainers; [ viric ]; platforms = platforms.all; |