Debian Patches

Status for shadow/1:4.16.0-4

Patch Description Author Forwarded Bugs Origin Last update
debian/Set-group-and-mode-for-g-shadow-files.patch Set group and mode for [g]shadow files
Set group 'shadow' and mode 0400.
Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org> no 2024-06-22
debian/Keep-using-Debian-adduser-defaults.patch Keep using Debian's adduser defaults

Upstream's bbf4b79bc49fd1826eb41f6629669ef0b647267b commit
in 4.9 merged those values from upstream's default configuration file
which is not shipped in Debian.
This patch keeps the program's compiled in defaults in sync with the
configuration files shipped in Debian (debian/default/useradd).
Balint Reczey <balint@balintreczey.hu> not-needed debian upstream 2024-06-22
debian/Document-the-shadowconfig-utility.patch Document the shadowconfig utility
Status wrt upstream: The shadowconfig utility is debian specific.
Its man page also (but it used to be distributed)
Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org> no 2024-06-22
debian/Recommend-using-adduser-and-deluser.patch Recommend using adduser and deluser

Status wrt upstream: Debian specific patch.
Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org> no 2024-06-22
debian/Relax-usernames-groupnames-checking.patch Relax usernames/groupnames checking
Allows any non-empty user/grounames that don't contain ':', ',', '\\' or
'\n' characters and don't start with '-', '+', or '~'. This patch is
more restrictive than original Karl's version. closes: #264879 Also

Comments from Karl Ramm (shadow 1:4.0.3-9, 20 Aug 2003 02:06:50 -0400):

I can't come up with a good justification as to why characters other
than ':'s and '\0's should be disallowed in group and usernames (other
than '-' as the leading character). Thus, the maintenance tools don't
anymore. closes: #79682, #166798, #171179

Status wrt upstream: Debian specific. Not to be used upstream
Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org> no 2024-06-22
upstream/tests-Support-run_some-from-exported-tarball.patch tests/: Support run_some from exported tarball
common/config.sh currently tries to find the top directory by looking
for .git. There are also many places under tests/ where we use
hard-coded ../../.. to find things like ${TOP_DIR}/lib.

We don't actually ship the tests with 'make dist'. So we will
be exporting tests/ as a separate tarball. In particular, I want
to then import this in the debian package. However, there it will
be under shadow.git/debian/tests, not shadow.git/tests.

To support this, accept the environment variable BUILD_BASE_DIR,
which should point to shadow.git.

An alternative would be to move the tests to their own git
tree. However, keeping tests in separate git tree tends to
lead to repos getting out of sync. And we'd still need to accept
something like BUILD_BASE_DIR.

Note there are a lot of tests under run-all, which I'm not converting
as they currently are not being run in CI, so I'm more likely to
break something.

Changelog:
2024 05 26: Incorporate feedback from alejandro-colomar
Serge Hallyn <serge@hallyn.com> no 2024-05-25
debian/tests-disable-su.patch upstream testsuite: disable su tests
Debian uses su from util-linux, pointless/impossible to test shadow's su
here.
Serge Hallyn <serge@hallyn.com> no 2024-06-27
debian/tests-libsubid-04_nss-fix-setting-basedir.patch tests/libsubid/04_nss: fix setting basedir Chris Hofstaedtler <zeha@debian.org> no 2024-07-06
debian/Adapt-login.defs-for-Debian.patch Adapt login.defs for Debian
Remove settings only applicable to shadow's su, which we do not use.
Remove settings only applicable without PAM support enabled.
Remove obscure commented-out settings.
Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org> no 2024-07-07
debian/Define-LOGIN_NAME_MAX-on-HURD.patch Define LOGIN_NAME_MAX on HURD Chris Hofstaedtler <zeha@debian.org> no 2024-08-06
debian/Stop-building-programs-we-do-not-install.patch Stop building programs we do not install Chris Hofstaedtler <zeha@debian.org> no 2024-08-06

All known versions for source package 'shadow'

Links