123 Commits
Author SHA1 Message Date
Chris Hofstaedtler 63645e1b11 Refresh patches, drop upstream-applied chkhask patches 2026-01-25 14:18:28 +01:00
Chris Hofstaedtler 5725327f6f Import upstream patches to fix hash check
Closes: #1124835
2026-01-08 00:08:53 +01:00
Chris Hofstaedtler d44d58db86 chpasswd: Disable broken hash check, bug #1124835 2026-01-07 11:08:05 +01:00
Chris Hofstaedtler 91f685dc95 Drop upstream-applied patches 2026-01-06 00:55:06 +01:00
Frans Spiesschaert c351eb41fc Update Dutch translations
Closes: #1115411
2025-09-17 00:45:58 +02:00
Chris Hofstaedtler d689ba2dfe Refresh patches 2025-08-26 22:58:37 +02:00
Chris Hofstaedtler 4660554e73 Allow LOGIN_ENV_SAFELIST (from util-linux) in /etc/login.defs
Using patch from upstream.

Gbp-Dch: full
2025-04-19 12:19:56 +02:00
Chris Hofstaedtler f62eb980d5 Rebase patches 2025-03-29 13:29:31 +01:00
Chris Hofstaedtler de176e27ed Accept /usr/sbin/nologin as an alternate to /sbin/nologin
Thanks: Marc Haber
2025-03-28 12:12:55 +01:00
Chris Hofstaedtler 0e6f426896 Do not warn about useradd --system with Debian-globally allocated uids 2025-03-16 13:48:32 +01:00
Chris Hofstaedtler 193bcdacf8 Explicitly pass {s,}bindir to configure
Avoids upstream hacks in configure.

Gbp-Dch: full
2025-02-24 23:26:20 +01:00
Chris Hofstaedtler 47ba166e47 Refresh patches and include upstream patch for getdate
Include https://github.com/shadow-maint/shadow/pull/1214 to fix
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095430 in the
way upstream intends to fix it.

Gbp-Dch: full
2025-02-24 23:21:38 +01:00
Chris Hofstaedtler da9ad99cc7 configure: always pick /usr/bin/passwd
Improve reproducibility, without Build-Depend:ing on ourselves.

Thanks: Jochen Sprickerhof <jspricke@debian.org>
2025-02-24 12:02:34 +01:00
Chris Hofstaedtler 32a244b0ce Import upstream patch to fix chfn (#1096187)
https://github.com/shadow-maint/shadow/pull/1212
2025-02-17 19:41:19 +01:00
Chris Hofstaedtler fea713992d Warn about future --badname removal
Upstream PR 1158 plans to remove this flag, probably in the forky
timeframe. Warn users now.

Gbp-Dch: full
2025-02-17 18:20:54 +01:00
Chris Hofstaedtler a143aca1c9 Revert upstreams chfn.c strsep change
Closes: #1096187
2025-02-17 12:28:14 +01:00
Chris Hofstaedtler 477077497f Revert upstreams strtoday calculation "fix"
Closes: #1095430
2025-02-16 20:24:22 +01:00
Chris Hofstaedtler d39c5351ae Apply upstream revert of "Use local time for human-readable dates"
Closes: #1095430
2025-02-15 17:20:40 +01:00
Chris Hofstaedtler 52fc52e74a Apply upstream match from Marc Haber to document E_BAD_NAME 2025-02-09 18:13:17 +01:00
Chris Hofstaedtler 83ef3ff76d Remove Debian patch to relax username checks
Per discussion d-devel, with upstream, and the adduser maintainer.
2024-12-22 20:14:43 +01:00
Chris Hofstaedtler 32d53642f0 Refresh patches 2024-12-06 19:37:04 +01:00
Chris Hofstaedtler 24c35ea945 Add upstream patch for new return-code for bad usernames 2024-12-06 19:37:04 +01:00
Pino Toscano 1eaf9012b1 Include <utmpx.h>, fixing the build on GNU/Hurd 2024-09-12 19:15:27 +02:00
Chris Hofstaedtler 4885f58fde Stop building programs we do not install 2024-08-06 00:50:53 +02:00
Chris Hofstaedtler d390695b6d Define LOGIN_NAME_MAX on HURD 2024-08-06 00:50:53 +02:00
Chris Hofstaedtler 5a17bd19ad Stop patching login, not installed anymore 2024-08-06 00:50:53 +02:00
Chris Hofstaedtler b44052751e Drop Debian-only cppw, cpgr tools
Closes: #750752
2024-08-06 00:50:53 +02:00
Chris Hofstaedtler 75eb23ace8 Re-add workarounds for tests in tests/tests directory
4.15.3 fixed this, but 4.16.0 happened earlier.

Gbp-Dch: full
2024-08-05 02:58:01 +02:00
Chris Hofstaedtler 9b4bfac4ef Turn login.defs file into a patch
Gbp-Dch: ignore
2024-07-07 14:08:10 +02:00
Chris Hofstaedtler 43bf5f3b39 Fix setup of test libsubid-04_nss 2024-07-06 23:37:02 +02:00
Chris Hofstaedtler a6f8d25673 Rebase patches 2024-07-06 22:48:07 +02:00
Serge Hallyn aad21d4486 Add upstream tests to run in autopkgtests
Disable the su tests, since su in debian comes from util-linux.

[zeha@d.o: rebase on top of upstream applied patch, rework
debian/tests/*]
2024-06-27 01:27:24 +02:00
Chris Hofstaedtler 29f0e1dcf4 patches: fix gbp-pq topic annotation
Gbp-Dch: ignore
2024-06-27 01:20:09 +02:00
Chris Hofstaedtler e0d410ad6a Add upstream patch easing running testsuite 2024-06-27 01:18:32 +02:00
Chris Hofstaedtler 999c14c87b Revert "Use upstream's restrictions on user- and group names again"
This reverts commit 019ffd5126.
2024-06-26 12:40:15 +02:00
Chris Hofstaedtler 0a96fd2bf0 Drop useradd's backwards-compatibility -O flag
No users appear left in Debian.
2024-06-23 14:57:28 +02:00
Chris Hofstaedtler 019ffd5126 Use upstream's restrictions on user- and group names again
Upstream started supporting mixed-case names some time ago.
Purely numeric names (#79682) are now forbidden again, as there is no
way of distinguishing them from user/group IDs otherwise.

Gbp-Dch: full
2024-06-23 14:50:55 +02:00
Chris Hofstaedtler 771535fa07 useradd(8): Fix missing paragraph on username length 2024-06-22 18:05:22 +02:00
Chris Hofstaedtler 527b684a18 Rebase patches 2024-06-22 17:55:55 +02:00
Chris Hofstaedtler c154cb50fa Rename remaining patches to end with ".patch"
Gbp-Dch: ignore
2024-06-22 15:12:39 +02:00
Chris Hofstaedtler 3bf1270130 Rebase patch 542_useradd-O_option 2024-06-22 15:12:39 +02:00
Chris Hofstaedtler e3549c3f90 Rebase patch 506_relaxed_usernames 2024-06-22 15:12:39 +02:00
Chris Hofstaedtler ad3a822529 Rebase patch 502_debian_useradd_defaults 2024-06-22 15:12:39 +02:00
Chris Hofstaedtler 10c72480c0 Rebase patch 501_commonio_group_shadow 2024-06-22 15:12:39 +02:00
Chris Hofstaedtler 6c1c44f0fc Rebase patch 463_login_delay_obeys_to_PAM 2024-06-22 15:12:39 +02:00
Chris Hofstaedtler 23d33f4922 Use upstream FAILLOG_ENAB code, incompatible with PAM 2024-06-22 15:12:39 +02:00
Chris Hofstaedtler 0c8f801a7a Rename patch 402_cppw_selinux 2024-06-22 15:12:39 +02:00
Chris Hofstaedtler 4a109337ab Rebase patch 401_cppw_src.dpatch 2024-06-22 15:12:39 +02:00
Chris Hofstaedtler 584b0b6a36 Disable FTMP_FILE by default, drop login failure logging
lastb is gone, so it is pointless to write to the btmp file.
2024-06-22 15:12:39 +02:00
Chris Hofstaedtler 4e48f059e7 Drop upstream applied patches 2024-06-22 15:12:39 +02:00