Bug 265556 - [new port] sysutils/fakertc
Summary: [new port] sysutils/fakertc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Felix Palmen
URL: https://github.com/ronaldklop/fakertc...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-01 20:21 UTC by Ronald Klop
Modified: 2022-08-08 10:53 UTC (History)
1 user (show)

See Also:


Attachments
diff with new files against /var/empty (2.06 KB, patch)
2022-08-01 20:24 UTC, Ronald Klop
ronald-lists: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop 2022-08-01 20:21:15 UTC

    
Comment 1 Ronald Klop 2022-08-01 20:24:05 UTC
Created attachment 235612 [details]
diff with new files against /var/empty

Just a simple rc.d script to keep the time of small computers without a RTC more in sync.
See the github repo for more information.
Comment 2 Felix Palmen freebsd_committer freebsd_triage 2022-08-07 10:09:16 UTC
Hello Ronald,

I would suggest to shorten pkg-descr, so it comes straight to the point explaining what the tool does (and anyone interested can always find more details following the WWW link):

---
Save real-time clock on reboot

For computers without a real-time clock, this utility enables to store
the wall-clock on shutdown and restore it on boot, in order to minimize
the drift as far as possible until e.g. NTP is used to set the correct
date/time again.

Note that systems using UFS for the root fs won't need this, as the
clock is already restored from info in the UFS superblock.

WWW: https://github.com/ronaldklop/fakertc
---

Would you be fine with that change?

BR, Felix
Comment 3 Ronald Klop 2022-08-08 09:09:12 UTC
(In reply to Felix Palmen from comment #2)
Yes, I'm fine with the change of the pkg-descr. Thanks for looking into it.
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-08-08 10:52:13 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c3571b9118b183c825404caa665152208058c53

commit 6c3571b9118b183c825404caa665152208058c53
Author:     Ronald Klop <ronald-lists@klop.ws>
AuthorDate: 2022-08-01 19:58:46 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2022-08-08 10:50:27 +0000

    sysutils/fakertc: Add new port

    fakertc is a simple rc.d script to keep the time of computers without an
    RTC across reboots.

    PR:                     265556
    Approved by:            tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D36067

 sysutils/Makefile                |  1 +
 sysutils/fakertc/Makefile (new)  | 23 +++++++++++++++++++++++
 sysutils/fakertc/distinfo (new)  |  3 +++
 sysutils/fakertc/pkg-descr (new) | 11 +++++++++++
 4 files changed, 38 insertions(+)
Comment 5 Felix Palmen freebsd_committer freebsd_triage 2022-08-08 10:53:03 UTC
Committed, thanks!