Commit graph

7 commits

Author SHA1 Message Date
Rosen Penev
87e5ded04c
shadow: update to 4.8.1
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 <rosenp@gmail.com>
2020-02-02 13:07:52 -08:00
Karel Kočí
f27ce05a58
shadow: change default encryption method from DES to SHA512
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čí <karel.koci@nic.cz>
2019-12-18 11:37:39 +01:00
Rosen Penev
2192c572a3 shadow: Update to 4.6
Switched dead URLs to new upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-15 18:31:34 -07:00
Rafał Miłecki
f7c0dcb4c4 shadow: use proper fix for checking subordinate IDs support
During 4.2.1 version update support for subordinate IDs has been
disabled. It was handled by:

1) Adding --disable-subordinate-ids to avoid:
configure: error: cannot run test program while cross compiling

2) Adding patch 003-fix-disabling-subids.patch to avoid:
usermod.c: In function 'process_flags':
usermod.c:1364:10: error: 'vflg' undeclared (first use in this function)
  if (   (vflg || Vflg)
          ^

This commit adds a patch with a proper configure.in fix. We don't need
to disable subordinate IDs anymore.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-11-15 19:08:42 +01:00
Pelle Johnsen
a14b3c8651 shadow: fix su controlling terminal #1521
Signed-off-by: Pelle Johnsen <pelle.johnsen@gmail.com>
2015-07-03 13:44:10 +02:00
Steven Barth
7cf7c8675a shadow: update to 4.2.1, add PKG_LICENSE
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-12 08:49:34 +02:00
Steven Barth
7766038afb shadow: adopt here
Signed-off-by: Steven Barth <steven@midlink.org>
2014-07-18 16:27:31 +02:00