1 |
On Sun, Dec 08, 2019 at 02:13:47AM +0100, Marc Joliet wrote |
2 |
> |
3 |
> openrdate does not appear to be in the portage tree (it was removed on |
4 |
> 2019-09-17, specifically because of its dependency on automake 1.9). |
5 |
> I suppose you put it in a local overlay or something? |
6 |
|
7 |
======================================================= |
8 |
[i660][waltdnes][~] emerge -pv openrdate |
9 |
|
10 |
These are the packages that would be merged, in order: |
11 |
|
12 |
Calculating dependencies... done! |
13 |
|
14 |
emerge: there are no ebuilds to satisfy "openrdate". |
15 |
======================================================= |
16 |
|
17 |
That explains that. "net-misc/rdate-1.4-r4" shows up if I run |
18 |
emerge -pv rdate |
19 |
|
20 |
I have a local script that syncs my machine like so... |
21 |
|
22 |
[i660][waltdnes][~] cat bin/settime |
23 |
#!/bin/bash |
24 |
date |
25 |
/usr/bin/sudo /usr/bin/openrdate -n -s ca.pool.ntp.org |
26 |
/usr/bin/sudo /sbin/hwclock --systohc |
27 |
date |
28 |
|
29 |
...with appropriate entries in /etc/sudoers.d The "-n" parameter says |
30 |
"Use SNTP (RFC 2030) instead of the RFC 868 time protocol." "-n" isn't |
31 |
mentioned in https://linux.die.net/man/1/rdate This brings up the |
32 |
question... is "rdate" a drop-in substitute for "openrdate"? |
33 |
|
34 |
-- |
35 |
Walter Dnes <waltdnes@××××××××.org> |
36 |
I don't run "desktop environments"; I run useful applications |