shadow: use proper fix for checking subordinate IDs support
authorRafał Miłecki <rafal@milecki.pl>
Tue, 14 Nov 2017 12:14:24 +0000 (13:14 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 15 Nov 2017 18:08:42 +0000 (19:08 +0100)
commitf7c0dcb4c4f20c9aed3c33a1cc5ace29db63f37a
tree42c89be61e8dfb28fb6fa5e3204989555282faeb
parent62249d0a5de9fd8250f33b3ac0c2b56217e0629e
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>
utils/shadow/Makefile
utils/shadow/patches/003-Check-size-of-uid_t-and-gid_t-using-AC_CHECK_SIZEOF.patch [new file with mode: 0644]
utils/shadow/patches/003-fix-disabling-subids.patch [deleted file]
utils/shadow/patches/004-fix-su-controoling-term.patch