Commit Graph

127 Commits

Author SHA1 Message Date
Felix Buehler
bcad3669e8 util-linuxMinimal: remove appendToName to have a consistent package name for repology 2022-03-02 11:07:45 -08:00
Martin Weinelt
05d293c2bf
util-linux: 2.37.3 -> 2.37.4
Fixes: CVE-2022-0563
2022-02-14 14:33:59 +01:00
Martin Weinelt
87f2bae5ee
util-linux: 2.37.2 -> 2.37.3 2022-01-24 16:40:27 +01:00
Dmitry Kalinkin
984f2b02ca
Merge pull request #149530 from alyssais/util-linux-static
[staging-next] Revert "util-linux: fix static build"
2021-12-19 12:26:26 -05:00
Alyssa Ross
4809bd5bd0
Revert "util-linux: fix static build"
This reverts commit 1f0ef842ca.  The
underlying issue was fixed in 2ebeb02a99 ("stdenv/setup: tell libtool
about library paths"), so we don't need a workaround in util-linux any
more.
2021-12-08 05:42:08 +00:00
Alyssa Ross
ebd4e0ee01
util-linux: add debug output 2021-12-08 04:40:37 +00:00
SCOTT-HAMILTON
1f0ef842ca util-linux: fix static build 2021-11-26 16:38:42 +01:00
R. Ryantm
92a74926fa util-linux: 2.36.2 -> 2.37.2 2021-11-09 22:22:56 +00:00
Alyssa Ross
6490cd06af
util-linux: remove redundant configureFlags
These programs are both still built even when we don't pass the
flags.  (It appears that this was not the case when they were added to
the expression.)
2021-11-05 15:08:22 +00:00
Alyssa Ross
5a963f1d97 util-linux: replace "minimal" opt with more outputs
The "minimal" argument just removed some files to reduce package
size.  Now that we have multiple output derivations in Nixpkgs (we
didn't when "minimal" was added), we can just throw more outputs at
this problem and get the same effect, with the advantage that those
files are actually there, available for download without a rebuild, if
they're ever needed.

I've tested that with this change, there's no difference in the
closure size of util-linuxMinimal.bin.

We have to set SYSCONFSTATICDIR to stop $bin/bin/agetty looking in
$out for issue or issue.d.  SYSCONFSTATICDIR is supposed to be for
configuration that comes with a package, but it's currently only used
for finding an issue, and util-linux doesn't come with any issue
files, so I'm not really sure what the point is...
2021-10-11 15:15:14 +00:00
Alyssa Ross
acb63e654e util-linux: disable locales properly
Removing the locales after they've been built and installed is a big
hack when util-linux gives us an option to disable them directly.
This way, the code in util-linux that deals with locales can be
disabled as well, leading to a (very small) size reduction.
2021-10-11 15:15:14 +00:00
Alyssa Ross
93aac5dac0 util-linux: fix uuidd runtime directory
Quoting uuidd(8), as generated prior to this commit:

> By default, the pid file is written to
> /nix/store/6ig1awrlxd‐nadna38kxgfvds9kfr6ny2-util-linux-2.36.2/var/run/uuidd/uuidd.pid.

That's not right...
2021-10-11 15:15:14 +00:00
Alyssa Ross
5bd56cc236
util-linux: remove unnecessary perl build input
This was probably needed for scriptrelay(1) before it was rewritten
from Perl to C in util-linux 2.14.  I've checked with Diffoscope that
after removing the build input, the result is bit-for-bit identical
except for the different prefix.
2021-10-05 13:11:01 +00:00
ajs124
79aa8089cc util-linux: adjust meta.license 2021-04-09 19:42:27 +00:00
uosis
4acadd5e6d util-linux: add missing libcap dependency 2021-04-09 19:42:27 +00:00
ajs124
d031d68892 util-linux: 2.36.1 -> 2.36.2 2021-04-09 19:42:27 +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
sjau
c12fdec39d util-linux: removing symfollow 2020-12-27 09:19:20 +01:00
ajs124
93195c4db5 util-linux: 2.36 -> 2.36.1
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.1-ReleaseNotes
2020-12-17 07:30:02 +01:00
Arthur Gautier
68c7c5a804 util-linux: 2.35.2 -> 2.36 2020-08-24 11:58:19 +02:00
R. RyanTM
45b6a97ad6 utillinux: 2.35.1 -> 2.35.2 2020-07-02 17:11:32 +02:00
oxalica
7760cff5d7 util-linux: 2.33.2 -> 2.35.1 2020-04-21 08:12:29 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthew Bauer
8d72e6bd5f util-linux: use $bin output for umount
This wasn’t updated when adding the bin output.
2020-03-06 07:14:20 +01:00
Jan Tojnar
760be1f4b2
utillinux: no-rebuild clean up 2019-12-25 05:10:48 +01:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Will Dietz
42c100985a utillinux: 2.33.1 -> 2.33.2
https://lkml.org/lkml/2019/4/9/474
2019-05-07 13:10:29 +02:00
Will Dietz
3b7ea8a7b9 utillinux: placeholder, touchup how su is disabled 2019-05-07 13:10:29 +02:00
Bob van der Linden
81318908a5
util-linux: /var/run -> /run 2019-04-11 20:05:35 +02:00
Will Dietz
b836b43078 utillinux; 2.33 -> 2.33.1
https://www.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33.1-ReleaseNotes
https://www.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33.1-ChangeLog
2019-01-09 11:02:18 -06:00
Will Dietz
d690ccee63 utillinux: 2.32.1 -> 2.33
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33-ReleaseNotes
2018-11-15 19:38:44 -06:00
Vladimír Čunát
ded9a4b1aa
Merge branch 'staging-next' into staging
Commits from master, conflict resolutions, etc.
2018-08-13 20:57:50 +02:00
Vladimír Čunát
ed45e731c2
util-linux: fixup bad shell expansion
Introduced in that f83b5e4 refactoring as well.
Thanks Dezgeg for noticing!
2018-08-13 13:09:35 +02:00
Michael Raskin
a68e5e918e
Merge pull request #44825 from oxij/docheck/continues-in-a-big-way
treewide: enable working, fix fixable, disable broken tests
2018-08-11 16:34:22 +00:00
Jan Malakhovski
7cd8fdbf63 utillinux: make tests run, but disable 2018-08-11 09:35:32 +00:00
Will Dietz
cdfa550ca5 utillinux: fix build w/ncurses, which is ncursesw 2018-08-07 20:07:54 -05:00
John Ericson
f83b5e4f7a util-linux: Clean up to use less bash 2018-08-02 15:12:11 -04:00
John Ericson
519e87a449 util-linux: No more crossAttrs
More cleanup will come later
2018-07-24 19:40:46 -04:00
Frederik Rietdijk
099c13da1b Merge staging-next into master (#44009)
* substitute(): --subst-var was silently coercing to "" if the variable does not exist.

* libffi: simplify using `checkInputs`

* pythonPackges.hypothesis, pythonPackages.pytest: simpify dependency cycle fix

* utillinux: 2.32 -> 2.32.1

https://lkml.org/lkml/2018/7/16/532

* busybox: 1.29.0 -> 1.29.1

* bind: 9.12.1-P2 -> 9.12.2

https://ftp.isc.org/isc/bind9/9.12.2/RELEASE-NOTES-bind-9.12.2.html

* curl: 7.60.0 -> 7.61.0

* gvfs: make tests run, but disable

* ilmbase: disable tests on i686. Spooky!

* mdds: fix tests

* git: disable checks as tests are run in installcheck

* ruby: disable tests

* libcommuni: disable checks as tests are run in installcheck

* librdf: make tests run, but disable

* neon, neon_0_29: make tests run, but disable

* pciutils: 3.6.0 -> 3.6.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/pciutils/versions.

* mesa: more include fixes

mostly from void-linux (thanks!)

* npth: 1.5 -> 1.6

minor bump

* boost167: Add lockfree next_prior patch

* stdenv: cleanup darwin bootstrapping

Also gets rid of the full python and some of it's dependencies in the
stdenv build closure.

* Revert "pciutils: use standardized equivalent for canonicalize_file_name"

This reverts commit f8db20fb3a.
Patching should no longer be needed with 3.6.1.

* binutils-wrapper: Try to avoid adding unnecessary -L flags

(cherry picked from commit f3758258b8895508475caf83e92bfb236a27ceb9)
Signed-off-by: Domen Kožar <domen@dev.si>

* libffi: don't check on darwin

libffi usages in stdenv broken darwin. We need to disable doCheck for that case.

* "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook

* python.pkgs.pytest: setupHook to prevent creation of .pytest-cache folder, fixes #40273

When `py.test` was run with a folder as argument, it would not only
search for tests in that folder, but also create a .pytest-cache folder.
Not only is this state we don't want, but it was also causing
collisions.

* parity-ui: fix after merge

* python.pkgs.pytest-flake8: disable test, fix build

* Revert "meson: 0.46.1 -> 0.47.0"

With meson 0.47.0 (or 0.47.1, or git)
things are very wrong re:rpath handling
resulting in at best missing libs but
even corrupt binaries :(.

When we run patchelf it masks the problem
by removing obviously busted paths.
Which is probably why this wasn't noticed immediately.

Unfortunately the binary already
has a long series of paths scribbled
in a space intended for a much smaller string;
in my testing it was something like
lengths were 67 with 300+ written to it.

I think we've reported the relevant issues upstream,
but unfortunately it appears our patches
are what introduces the overwrite/corruption
(by no longer being correct in what they assume)

This doesn't look so bad to fix but it's
not something I can spend more time on
at the moment.

--

Interestingly the overwritten string data
(because it is scribbled past the bounds)
remains in the binary and is why we're suddenly
seeing unexpected references in various builds
-- notably this is is the reason we're
seeing the "extra-utils" breakage
that entirely crippled NixOS on master
(and probably on staging before?).

Fixes #43650.

This reverts commit 305ac4dade.

(cherry picked from commit 273d68eff8)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-07-24 15:04:48 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Dietz
0a74845ce3 util-linux: 2.31.1 -> 2.32 2018-03-25 18:39:06 -05:00
Shea Levy
085bfcefb9
utillinux: Fix cross-compiling when building with systemd 2018-02-28 15:01:30 -05:00
Tuomas Tynkkynen
b1c1190f36 utillinux: 2.31 -> 2.31.1 2018-01-17 12:53:22 +02:00
adisbladis
7b64943e8b
util-linux: 2.30.2 -> 2.31 2017-10-27 22:01:07 +08:00
Tuomas Tynkkynen
7b4db5da18 utillinux: 2.30 -> 2.30.2 2017-10-22 01:40:58 +03:00
Tobias Geerinckx-Rice
46dc5394cd
Update e-mail address for nckx 2017-07-10 20:54:18 +02:00
Franz Pletz
5389caab83
utillinux: 2.29.2 -> 2.30 2017-06-22 00:38:44 +02:00
gnidorah
286c36d737 utillinux: fix "fstrim --all" 2017-06-15 14:05:50 +03:00
Vladimír Čunát
1aac1fe5dd
util-linux: fixup setuid/setgid build problems
... hopefully.  Also refactor some nix code a little.
2017-06-07 15:17:40 +02:00
gnidorah
a996fe849f fstrim: Add service 2017-05-30 16:39:27 +03:00