Commit Graph

147 Commits

Author SHA1 Message Date
Sergei Trofimovich
02f7cdc1e4 util-linux: 2.39.2 -> 2.39.3
Changes: https://github.com/util-linux/util-linux/compare/v2.39.2...v2.39.3
2023-12-05 19:04:41 +00:00
Daniel Hill
d6bf8b47ec bcachefs: 2023-06-28 -> 2023-09-29
Includes prep work for mainline bcachefs release.
2023-10-03 22:00:26 +01:00
Sergei Trofimovich
a74411e309 util-linux: 2.39.1 -> 2.39.2
While at it added trivial updater.

Changes: https://github.com/util-linux/util-linux/compare/v2.39.1...v2.39.2
2023-08-18 10:39:04 +01:00
Sergei Trofimovich
6883e8826a util-linux: 2.39 -> 2.39.1
Changes: https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.39/v2.39.1-ChangeLog
2023-08-14 14:40:21 +01:00
sternenseemann
c995eb0c5e util-linux: add meta.pkgConfigModules annotation 2023-08-08 11:52:07 +02:00
Andrew Marshall
3d774b4453 util-linux: Fix build on non-Linux
Build logs show:

> configure: WARNING: non-linux system; not building mount
> configure: WARNING: non-linux system; not building swapon

So skip these on non-Linux

Using getOutput prevents eval failures on other platforms.
Things should stay eval'able with NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

Co-authored-by: Artturin <Artturin@artturin.com>
2023-07-20 22:03:15 +03:00
Linus Heckemann
4eca45085d util-linux: fix linking login and swap tools to bin output 2023-07-10 13:56:48 +00:00
Linus Heckemann
eb0b0131ce util-linux: split mount, login and swap utils into their own outputs 2023-06-12 10:26:04 +02:00
Alois Wohlschlager
de643091d7
util-linux: backport bcache checksum patches
In util-linux 2.39, blkid was improved to verify the checksums for
several types of block devices. In the bcache case, this calculation was
incorrect, leading to a regression where valid bcache cache devices
would not be detected any more. In some cases, this can even break the
boot because a required bcache device does not come up any more.

In https://github.com/util-linux/util-linux/pull/2293, a fix was
introduced upstream. Include these patches to make bcache detection work
properly again.
2023-06-03 20:59:06 +02:00
K900
01e06549c6 util-linux: backport patches fixing mount on older kernels 2023-06-01 11:13:35 +03:00
Elias Naur
b1a49db914 util-linux: add darwin support 2023-05-22 10:28:03 +03:00
Elias Naur
7b61a60758 util-linux: 2.38.1 -> 2.39 2023-05-21 19:11:53 -06:00
laalsaas
7d9ab620de util-linux: install completion 2023-02-07 16:19:56 +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
Martin Weinelt
73ffee8978
util-linux: pass libxcrypt, so sulogin gets built
Util-linux does not fail when crypt() isn't available. It just doesn't
build sulogin, which in turn breaks the initrd-builder for the
systemd-stage-1 tests.
2022-10-09 18:14:35 +02:00
R. Ryantm
a73156c64c util-linux: 2.38 -> 2.38.1 2022-08-06 09:14:39 +00:00
Robert Schütz
9112270b93 util-linux: 2.37.4 -> 2.38
https://kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes
2022-06-27 05:32:34 +00:00
Dmitry Bogatov
39773cc073 util-linux: make dependencies on pam and libcap optional
Introduce new boolean arguments "pamSupport" and "capabilitiesSupport" that
control whether "pam" and "libcap" are compiled in. These flags are true by
default, so this commit does not cause any rebuilds.
2022-05-22 07:34:02 -04:00
Guillaume Girol
b79ebdec9b util-linux: fix static build by disabling systemd support 2022-04-24 23:20:48 +02:00
Adam Joseph
dacbee2182
util-linux: remove ? null from inputs and convert to boolean flags
Prior to this commit, util-linux supported compilation without systemd
if systemd==null.  This commit preserves that behavior, and
additionally triggers it when the global systemdSupport attr is set to
false.  The systemdSupport argument is understood by many other
nixpkgs expressions and can be set globally in
~/.config/nixpkgs/config.nix.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-04-12 14:34:35 +02:00
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