Simple test to check the recently implemented logind functionality. It
also contains the changes to the build infrastructure, and the
Signed-off-by: Iker Pedrosa <firstname.lastname@example.org>
The separation was unnecessary, and caused build problems. Let's go
wild and obliterate the library. The files are moved to libshadow.
$ find libmisc/ -type f \
| grep '\.[chy]$' \
| xargs mv -t lib;
Plus updating the Makefile and other references. While at it, I've
sorted the sources lists.
Reported-by: David Seifert <email@example.com>
Cc: Sam James <firstname.lastname@example.org>
Cc: Christian Bricart <email@example.com>
Cc: Michael Vetter <firstname.lastname@example.org>
Cc: Robert Förster <Dessa@gmake.de>
[ soap tested the Gentoo package ]
Tested-by: David Seifert <email@example.com>
Acked-by: David Seifert <firstname.lastname@example.org>
Acked-by: Serge Hallyn <email@example.com>
Acked-by: Iker Pedrosa <firstname.lastname@example.org>
Signed-off-by: Alejandro Colomar <email@example.com>
Currently this has three functions: one which returns the
list of subuid ranges for a user, one returning the subgids,
and one which frees the ranges lists.
I might be mistaken about what -disable-man means; some of
the code suggests it means just don't re-generate them, but
not totally ignore them. But that doesn't seem to really work,
so let's just ignore man/ when -disable-man.
Remove --disable-shared. I'm not sure why it was there, but it stems
from long, long ago, and I suspect it comes from some ancient
Create a tests/run_some, a shorter version of run_all. I'll
slowly add tests to this as I verify they work, then I can
work on fixing the once which don't.
Also, don't touch man/ if not -enable-man.
Apr 22: change the subid list api as recomended by Dan Walsh.
Apr 23: implement get_subid_owner
Apr 24: implement range add/release
Apr 25: finish tests and rebase
May 10: make @owner const
Signed-off-by: Serge Hallyn <firstname.lastname@example.org>
Since xz is fairly common nowadays, and is typically smaller/faster than
bzip2 for people to decompress, switch shadow over too. We also merge
the two init locations into configure.ac to match newer autotools style.
The min automake version is bumped to 1.11 too since that's when xz was