util-linux/login-utils
Zbigniew Jędrzejewski-Szmek d4c880d5a4 meson: add second build system
To build: meson build && ninja -C build
To run tests: ninja -C build check
To install for packaging: DESTDIR=/var/tmp/inst ninja -C build install
To install for realz: sudo ninja -C build install

v2:
- Optional items are now based on the 'feature' feature in meson.
  Built libraries which are disabled turn into disabler() objects
  and also poison any executables which link to them.

What is there:
- building of the binaries and libs and the python module
- installation of binaries, libs, python module, localization files,
  man pages, pkgconfig files
- running of tests
- most options to configure build equivalently to the
  ./configure settings

Partially implemented:
- disabling of stuff when things missing. In the C code, the defines
  are all used, so that should be fine. In the build system, some
  files should be skipped, but that is probably not always done properly.
  Getting this right might require some testing of various build option
  combinations to get the details right.

Not implemented:
- static builds of fdisk and other binaries
- things marked with XXX or FIXME
- ???

Differences:
- .la files are not created. They are useless and everybody hates them.
- Requires.private in pkgconfig files are not present in the
  autogenerated .pc file. Not sure if they should be there or not. If
  necessary, they can be added by hand.
- man pages and systemd units are installed by the install target. Not
  sure why 'make install' doesn't do that.
- the split between / and /usr is probably wrong. But it's all pointless
  anyway, so maybe we could simplify things but not implementing it at
  all under meson?
2021-03-17 15:07:27 +01:00
..
Makemodule.am ci: deal with uninstrumented binaries using instrumented libs 2021-02-01 12:00:30 +01:00
auth.c include: move pamfail.h to auth.c 2017-08-05 09:58:18 +01:00
auth.h login-utils: add header file guards [lgtm scan] 2019-09-20 16:10:43 +02:00
ch-common.c chfn, chsh: share illegal_passwd_chars() function 2015-01-05 22:52:50 +00:00
ch-common.h chfn, chsh: share illegal_passwd_chars() function 2015-01-05 22:52:50 +00:00
chfn.1 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
chfn.c lib/selinux-utils: tiny cleanup 2021-01-13 15:04:02 +01:00
chsh.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
chsh.c chfs-chfn: remove deprecated selinux_check_passwd_access() 2021-01-13 14:27:15 +01:00
islocal.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
islocal.h login-utils: add header file guards [lgtm scan] 2019-09-20 16:10:43 +02:00
last.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
last.c fuzzers: make tests setup more robust 2020-12-01 11:35:02 +01:00
lastb.1 last: merge sysvinit last/lastb 2013-08-12 12:07:52 +02:00
libuser.c chsh-chfn: fix bugs, improve compilation 2013-02-13 13:44:34 +01:00
libuser.h login-utils: add header file guards [lgtm scan] 2019-09-20 16:10:43 +02:00
login.1 login: tidy up manual page 2020-12-03 20:09:15 +00:00
login.c login: move generic setting to ttyutils.h 2021-02-23 11:46:10 +01:00
logindefs.c login: fixed invalid sizeof usage 2020-06-19 20:37:44 +02:00
logindefs.h login-utils/logindefs: clenaup API 2019-01-11 12:15:22 +01:00
lslogins.1 Manual pages: lslogins.1: Minor wording and formatting fixres 2020-07-24 14:41:49 +02:00
lslogins.c build-sys: remove fallback for security_context_t 2021-01-13 13:12:19 +01:00
meson.build meson: add second build system 2021-03-17 15:07:27 +01:00
newgrp.1 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
newgrp.c cast NULL to char * when using execl 2020-10-29 19:49:07 +02:00
nologin.8 Manual pages: nologin.8: formatting fixes 2020-07-24 14:41:49 +02:00
nologin.c nologin: use ul_copy_file 2020-11-09 07:19:24 +02:00
runuser.1 Manual pages: runuser.1, su.1: miscellaneous wording and formatting fixes 2020-07-14 14:37:26 +02:00
runuser.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
setpwnam.c setpwnam: use more appropriate allocation size types 2019-08-21 15:00:16 +02:00
setpwnam.h chsh, chfn, vipw: fix filenames collision 2015-08-24 10:05:55 +02:00
su-common.c su: (pty) change owner and mode for pty 2021-02-23 11:52:45 +01:00
su-common.h su: move generic su code to su-common.c 2012-09-04 17:00:30 +02:00
su.1 su: fix man page typos 2021-02-25 09:34:30 +01:00
su.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
sulogin-consoles.c Fix minor typos 2020-07-09 20:14:32 +03:00
sulogin-consoles.h cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02:00
sulogin.8 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
sulogin.c build-sys: remove fallback for security_context_t 2021-01-13 13:12:19 +01:00
utmpdump.1 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
utmpdump.c utmpdup: Ensure flushing when using follow flag 2021-03-02 10:49:53 +01:00
vigr.8 Imported from util-linux-2.7.1 tarball. 2006-12-07 00:25:34 +01:00
vipw.8 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
vipw.c build-sys: remove fallback for security_context_t 2021-01-13 13:12:19 +01:00