Commit graph

67 commits

Author SHA1 Message Date
Sergei Trofimovich 0c3c0fee1f shadow: 4.14.5 -> 4.14.6
Changes: https://github.com/shadow-maint/shadow/releases/tag/4.14.6
2024-03-03 10:06:30 +00:00
Sergei Trofimovich 8e4a4e54f8 shadow: 4.14.3 -> 4.14.5
Changes:
- https://github.com/shadow-maint/shadow/releases/tag/4.14.4
- https://github.com/shadow-maint/shadow/releases/tag/4.14.5
2024-02-14 22:14:20 +00:00
Sergei Trofimovich 6c28096c16 shadow: 4.14.2 -> 4.14.3
Changes: https://github.com/shadow-maint/shadow/releases/tag/4.14.3
2024-01-16 12:01:16 +00:00
Mario Rodas b92067592b
Merge pull request #271756 from trofi/shadow-clang-fix
shadow: backport `clang-16` build fix
2023-12-03 11:12:29 -05:00
Sergei Trofimovich 2730bc7f8d shadow: backport clang-16 build fix
Without the change build fails on `clang-16` as:

    $ nix build --impure --expr 'with import ./. {}; shadow.override { stdenv = clangStdenv; }' -L
    ...
    shadow> vipw.c:549:8: error: call to undeclared function 'getdef_bool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    shadow>                         if (getdef_bool ("USE_TCB") && (NULL != user)) {
    shadow>                             ^
2023-12-02 21:03:32 +00:00
Sergei Trofimovich 5f3a2d687e shadow: 4.14.1 -> 4.14.2
Changes: https://github.com/shadow-maint/shadow/releases/tag/4.14.2
2023-12-01 00:48:24 +00:00
Sergei Trofimovich fc7cadb57a shadow: 4.14.0 -> 4.14.1
The main change is merge of libmisc into libshadow.
2023-10-08 20:25:59 +01:00
Sergei Trofimovich dde4c871e1 shadow: 4.13 -> 4.14.0
Changes: https://github.com/shadow-maint/shadow/releases/tag/4.14.0
2023-09-09 02:20:22 +01:00
Alyssa Ross 0debb0b193 shadow: only use tcb where available
Fixes pkgsMusl.shadow.

Fixes: 0e32191623 ("shadow: add tcb support")
2023-01-13 04:19:29 +00:00
Izorkin 05046655d8
shadow: cleanup 2022-12-17 12:10:59 +03:00
Izorkin 0e32191623
shadow: add tcb support 2022-12-17 12:10:59 +03:00
Izorkin 931fc456de
shadow: 4.11.1 -> 4.13 2022-12-16 12:31:00 +03:00
Franz Pletz 74424224fd
shadow: fix build with libxcrypt 2022-10-09 18:09:40 +02:00
Alyssa Ross 8d35d7e2bf shadow: 4.8.1 -> 4.8.11 2022-03-16 09:21:02 +00:00
Scott Worley f998cd7e54 Fix broken sources.gentoo.org fetch URLs
sources.gentoo.org is deprecated:
https://gitweb.gentoo.org/sites/www.git/commit/_includes/layout/header.html?id=526ebb46632332d44b91e0cc5a517d137845053a
2022-02-01 22:48:42 -08:00
Matthew Bauer fbb26ab536 shadow: add runtime-shell.patch
This gets the right shell in the closure.

By default, shadow wants to pull in the bash we are building it with,
while we would prefer it used the runtime bash.
2021-04-11 02:42:53 +02:00
Ben Siraphob 16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +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
Tim Steinbach 1539732cc6
shadow: Add test 2020-12-23 13:28:52 -05:00
TredwellGit 17d4902614 shadow: 4.8 -> 4.8.1
https://nvd.nist.gov/vuln/detail/CVE-2019-19882
2020-10-06 10:14:45 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Will Dietz 734132e55f shadow: 4.7 -> 4.8 2019-12-05 10:27:22 +01:00
Frederik Rietdijk b4270a7e79 shadow: replace gnome-doc-utils with itstool
gnome-doc-utils is no longer supported and requires Python 2.
2019-11-03 14:00:23 +01:00
Will Dietz ea04f6a718
shadow: 4.6 -> 4.7
https://github.com/shadow-maint/shadow/releases/tag/4.7
2019-10-07 18:10:54 -05:00
volth 7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00: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
Jan Tojnar e2e3f6b6a6
shadow: rely on propagated findXMLCatalogs hook
shadow uses a copy of m4 from gtk-doc so we need to apply the same
fix as in 407db7b019.

Also patch it to use the correct DocBook version.
2019-04-30 23:19:32 +02:00
John Ericson 0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Markus Kowalewski 827e959a6f
shadow: update meta data 2018-08-18 00:28:13 +02:00
Tim Steinbach 71680eb127
shadow: 4.5 -> 4.6 2018-08-05 15:03:13 -04:00
aszlig 99ba1cb424
Increase max group name length to 32 characters
With #36556, a check was introduced to make sure the user and group
names do not exceed their respective maximum length. This is in part
because systemd also enforces that length, but only at runtime.

So in general it's a good idea to catch as much as we can during
evaluation time, however the maximum length of the group name was set to
16 characters according groupadd(8).

The maximum length of the group names however is a compile-time option
and even systemd allows more than 16 characters. In the mentioned pull
request (#36556) there was already a report that this has broken
evaluation for people out there.

I have also checked what other distributions are doing and they set the
length to either 31 characters or 32 characters, the latter being more
common.

Unfortunately there is a difference between the maximum length enforced
by the shadow package and systemd, both for user name lengths and group
name lengths. However, systemd enforces both length to have a maximum of
31 characters and I'm not sure if this is intended or just a off-by-one
error in systemd.

Nevertheless, I choose 32 characters simply to bring it in par with the
maximum user name length.

For the NixOS assertion however, I use a maximum length of 31 to make
sure that nobody accidentally creates services that contain group names
that systemd considers invalid because of a length of 32 characters.

Signed-off-by: aszlig <aszlig@nix.build>
Closes: #38548
Cc: @vcunat, @fpletz, @qknight
2018-04-08 12:51:33 +02:00
Jan Tojnar a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Will Dietz d9b8f17341 shadow: fix attempt to access 'stdenv.glibc' 2018-02-13 09:45:01 -06:00
Will Dietz b9b57dada7 shadow: disable nscd on non-glibc (musl) 2018-02-13 09:44:28 -06:00
Rickard Nilsson 5f8a45c136 shadow: 4.4 -> 4.5
Fixes CVE-2017-12424
2017-08-17 13:23:56 +02:00
hsloan a291194d2f shadow: Don't use stdenv ? cross 2017-06-28 21:28:34 -04:00
Vladimír Čunát 833bc78dcf
shadow: fixup setuid/setgid build problems, hopefully 2017-06-07 14:21:04 +02:00
Eelco Dolstra e2700861fb
shadow: Fix hash 2017-05-08 16:56:05 +02:00
Eelco Dolstra 7f6abddcd7
shadow: Fix using default shell in useradd
This caused "useradd xyzzy" to produce a user with no shell:

  xyzzy1002💯:/home/xyzzy:

https://github.com/shadow-maint/shadow/pull/33
2017-05-08 15:10:50 +02:00
Michael Raskin d6710e3d66 shadow: 4.2.1 -> 4.4 2017-02-03 13:14:39 +01:00
danbst ac51528df8 shadow: fix collision with coreutils (man groups.1.gz)
The `groups.1.gz` collides with one from coreutils. The code to fix this
was already present in expression, but wrongly assumes that share/man/man1
directory will be copied to `man` output after `installPhase`.

It turned out, that man directory is set at configure step, so we should
remove file from `man` output.
2016-11-30 01:44:28 +02:00
Eelco Dolstra e8315cb1ca shadow: Separate man output
This removes ~2 MiB from the minimal config.
2016-09-05 14:53:27 +02:00
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
zimbatm c1a202de05 shadow: fix passthru
The shadow package's shellPath wasn't detected properly

Fixes #16428
2016-07-04 15:12:27 +01:00
zimbatm e2413ad5a8 shadow: add shellPath passthru
This one is a bit special, it's used to deny users from logging in.
2016-06-12 20:13:32 +01:00
Vladimír Čunát 3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
Paul Colomiets fb948c4f28 Upgrade shadow package 2014-08-01 21:19:21 +03:00
Luca Bruno 9e7e3978f9 shadow: Fix lastlog and faillog to find logs in /var/log
Fixes #2575 and closes #2586.
2014-05-13 11:32:10 +02:00
William A. Kennington III 28ab3acb58 su: Make the su package a provider of only the su binary
Additionally, provide su with the base system and remove su from the
util-linux package as it is now provided by shadow.
2014-04-05 16:01:52 -05:00
Rob Vermaas 265a0563fa Apply patch to shadow which allows dots (.) in user names. 2012-09-18 23:56:51 +02:00