<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/shadow/Makefile, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-05-22T03:57:39Z</updated>
<entry>
<title>shadow: update to 4.19.4</title>
<updated>2026-05-22T03:57:39Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-04-22T09:42:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=dc5289490488fb2dc4b91b63baf651518ba2bcfc'/>
<id>urn:sha1:dc5289490488fb2dc4b91b63baf651518ba2bcfc</id>
<content type='text'>
Large version jump from 4.8.1 to 4.19.4 (latest upstream LTS).

Build changes:
- Refresh patches/004-fix-su-controoling-term.patch: su.c moved the
  ioctl() call from line 1122 to 1169 and changed (char *) 0 to
  (char *) NULL; update patch context and re-canonicalise through
  quilt (blank context line spacing).
- New CONFIGURE_ARGS:
  * --disable-logind: 4.19.4 added an optional libsystemd-based
    logind integration which OpenWrt doesn't ship.
  * --without-libbsd: shadow's configure now hard-fails on missing
    readpassphrase() unless libbsd is found; the in-tree
    lib/readpassphrase.c fallback is enabled by --without-libbsd.
  * --without-sssd: avoid dragging in an sssd build dep.
  * --disable-subordinate-ids: 4.19.4 builds libsubid (subuid/subgid
    runtime API) unconditionally when subids are enabled, and its
    libtool -export-symbols-regex generates a version script that
    binutils 2.40+ rejects against libxcrypt's versioned
    crypt_checksalt@@XCRYPT_4.3 symbol. Disabling subordinate-ids
    skips libsubid entirely; OpenWrt doesn't ship libsubid.
- Drop newgidmap, newuidmap, lastlog and groups from SHADOW_APPLETS:
  newgidmap/newuidmap are only built when subordinate-ids are
  enabled, lastlog defaults to disabled in 4.19.4, and the groups
  binary was removed from shadow upstream (use coreutils).

Test coverage:
- Replace the per-applet --version check in test.sh with per-applet
  functional tests:
    pwck     -&gt; 'pwck -r' read-only consistency check; accept
                 non-zero exit since the CI container's /etc/passwd
                 trips minor warnings.
    grpck    -&gt; 'grpck -r' read-only consistency check.
    chage    -&gt; 'chage -l root' lists password aging info.
    useradd  -&gt; 'useradd -D' dumps defaults without modifying state.
    passwd   -&gt; 'passwd -S root' prints the password status line.
    faillog  -&gt; create empty /var/log/faillog then 'faillog -a'
                must emit a header line.
    login/su -&gt; PAM-interactive; presence covered by generic tests.
    Other applets -&gt; verify binary presence (CI's generic tests
                 already check stripped, no build paths, linked-libs).
- Add test-version.sh as a generic-version-check override: shadow
  tools don't honour --version (only --help), so the framework's
  probe finds no PKG_VERSION match in any binary and would otherwise
  fail Generic tests for every sub-package.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>treewide: set me where PKG_MAINTAINER empty</title>
<updated>2026-04-16T18:48:36Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-04-13T07:50:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8d3c00421392c9c4c6c920977959ab7fae237261'/>
<id>urn:sha1:8d3c00421392c9c4c6c920977959ab7fae237261</id>
<content type='text'>
Seems a lot of packages are just getting abandoned by people.
Will pick these up and see them through.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>shadow: restore PKG_BUILD_DEPENDS to libxcrypt</title>
<updated>2025-07-09T09:01:07Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2025-07-09T08:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=3d1003956548ee801531f1f0210f56cd60b6e72a'/>
<id>urn:sha1:3d1003956548ee801531f1f0210f56cd60b6e72a</id>
<content type='text'>
This reverts commit f18594a00f6324045a7019863a5278a3f6f52e64.

The whole libxcrypt package was reworked in the base repo to fix
libcrypto-compat and the name was restored to libxcrypt.

Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>shadow: update build dependencies</title>
<updated>2025-06-29T09:17:31Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2025-06-28T14:21:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f18594a00f6324045a7019863a5278a3f6f52e64'/>
<id>urn:sha1:f18594a00f6324045a7019863a5278a3f6f52e64</id>
<content type='text'>
The package libxcrypt was renamed to xcrypt when added to
the core repo [1].

1. https://github.com/openwrt/openwrt/commit/f544392fc3c6c435e4b9acaca5744abb8ccb0a55

Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
</content>
</entry>
<entry>
<title>shadow: use libxcrypt</title>
<updated>2020-06-23T01:33:17Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-06-17T00:46:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=adf9c249498fe526e2d6afd19bf7985f116c8531'/>
<id>urn:sha1:adf9c249498fe526e2d6afd19bf7985f116c8531</id>
<content type='text'>
Since size is not a problem here, use libxcrypt to avoid algorithm
availability. Changed default to bcrypt as that's the strongest
supported by shadow-utils.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>shadow: don't compile bcrypt for unsupported platforms</title>
<updated>2020-06-16T22:23:17Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-06-16T22:23:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4e8b1887600ac3431957c98071a863dfc14684e7'/>
<id>urn:sha1:4e8b1887600ac3431957c98071a863dfc14684e7</id>
<content type='text'>
If musl has no bcrypt:

passwd: failed to crypt password with salt '$2a$13$w8EJ0Yfz5bGsG4U/0m7bk/': Function not implemented
The password for root is unchanged.

glibc output as it has no bcrypt:

passwd: failed to crypt password with salt '$2a$13$xbpmAYmq6Q/rZN5jOlNxJZ': Invalid argument
The password for root is unchanged.

--without-bcrypt output:

Invalid ENCRYPT_METHOD value: 'BCRYPT'.
Defaulting to DES.
passwd: password changed.

The solution was tested on glibc despite using a musl specific variable
Still works.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>shadow: update to 4.8.1</title>
<updated>2020-02-02T21:07:52Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-01-31T03:07:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=87e5ded04cf65fbaa398568efe41830c4b60397a'/>
<id>urn:sha1:87e5ded04cf65fbaa398568efe41830c4b60397a</id>
<content type='text'>
Fixed license information.

Removed patch requiring autoreconf and replaced with a configure variable.

Removed faulty patch that broke systems without a disabled crypt size hack.
Replaced with using a SED command as well as bcrypt, which works in musl.

Removed su patch and converted it to a SED command in the Makefile.

Added new shadow utilities.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>shadow: change default encryption method from DES to SHA512</title>
<updated>2019-12-18T10:37:39Z</updated>
<author>
<name>Karel Kočí</name>
</author>
<published>2019-05-13T11:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f27ce05a5859a6cea24eb290e27ed904a67fe2e5'/>
<id>urn:sha1:f27ce05a5859a6cea24eb290e27ed904a67fe2e5</id>
<content type='text'>
Busybox in default uses SHA512 as well.

On big ditribution this default is sourced from PAM. That means that
shadow reads pam settings and uses that. OpenWrt in most cases does not
have PAM installed and in such case shadow fallbacks to its own default
which is DES. This just changes that default to SHA512 which is
consistent with rest of the system.

Signed-off-by: Karel Kočí &lt;karel.koci@nic.cz&gt;
</content>
</entry>
<entry>
<title>treewide: add PKG_CPE_ID for better cvescanner coverage</title>
<updated>2019-09-17T10:40:26Z</updated>
<author>
<name>Jan Pavlinec</name>
</author>
<published>2019-09-12T12:13:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=299e5b0a9bce19d6e96cb9ff217028b36ee2dd36'/>
<id>urn:sha1:299e5b0a9bce19d6e96cb9ff217028b36ee2dd36</id>
<content type='text'>
Signed-off-by: Jan Pavlinec &lt;jan.pavlinec@nic.cz&gt;
</content>
</entry>
<entry>
<title>shadow: Update to 4.6</title>
<updated>2018-08-16T01:31:34Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2018-08-11T06:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=2192c572a33ed05c5f0481d5bf5971d31e74bead'/>
<id>urn:sha1:2192c572a33ed05c5f0481d5bf5971d31e74bead</id>
<content type='text'>
Switched dead URLs to new upstream.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
</feed>
