summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-12-22 00:54:25 +0300
committerkx <kx@radix.pro>2023-12-22 00:54:25 +0300
commit57dc33aacb746f1d8639cd2a754e03eec0686a90 (patch)
treee5ea90349113b99dc51c473bc7d76e7337326585
parentdd51bbfd53a9a111a1848a1996a9befa54ea77ae (diff)
downloadtimedated-57dc33aacb746f1d8639cd2a754e03eec0686a90.tar.xz
requirements and Readme.md
-rw-r--r--README.md57
-rw-r--r--meson.build2
2 files changed, 58 insertions, 1 deletions
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'