From 57dc33aacb746f1d8639cd2a754e03eec0686a90 Mon Sep 17 00:00:00 2001 From: kx Date: Fri, 22 Dec 2023 00:54:25 +0300 Subject: requirements and Readme.md --- README.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ meson.build | 2 +- 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..53ce613 --- /dev/null +++ b/README.md @@ -0,0 +1,57 @@ + +# [Timedate Daemon](https://cgit.radix.pro/radix/timedated.git/) + +## Requirements: + +``` + glib-2.0 >= 2.76.0 + gobject-2.0 >= 2.76.0 + gio-2.0 >= 2.76.0 + polkit-gobject-1 >= 123 + libpcre2-8 >= 10.36 + dbus >= 1.13.18 +``` + +**TimeDate** Daemon is a system service that can be used to control the system time +and related settings. + +This is the replacement of systemd service that control the **org.freedesktop.timedate1** +D-Bus interface for GNU Linux distributions which does not have a systemd. + +You can find specification at: + https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.timedate1.html + +**TimeDate** Daemon does not support interactive parameter which can be used to control +whether PolKit should interactively ask the user for authentication credentials if required. +Instead of interactive way users permissions can be set by PolKit rules in the +/usr/share/polkit-1/rules.d/org.freedesktop.timedate1.rules file. For example, +a system administrator can add Desktop-users into **wheel** group to give them rights +to access the org.freedesktop.timedate1 D-Bus interface. + + +## How to Build: + +```Bash + $ meson setup --prefix=/usr . .. + $ ninja + $ ninja install +``` + +## Supported Distributions: + + - [Radix cross Linux](https://radix.pro) + - [Slackware](http://www.slackware.com) + (needed litle changes in timeconfig script) + +For other systems the special implementation of NTP daemon control should be developed. + + +## TODO: + + + - timedatectl (simply it can be writen in Bash). + + +# LICENSE: + + GNU GENERAL PUBLIC LICENSE Version 2, June 1991 diff --git a/meson.build b/meson.build index 70ac2e7..17d1a81 100644 --- a/meson.build +++ b/meson.build @@ -40,7 +40,7 @@ cdata.set_quoted('ADJTIME_CONF', get_option('adjtime_conf')) cdata.set_quoted('NTPD_CONF', get_option('ntpd_conf')) cdata.set_quoted('NTPD_RC', get_option('ntpd_rc')) -glib_min_version = '2.58' +glib_min_version = '2.76' polkit_min_version = '123' pcre_min_version = '10.36' -- cgit v1.2.3