Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150364831
D36067.id108968.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36067.id108968.diff
View Options
Index: sysutils/Makefile
===================================================================
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -353,6 +353,7 @@
SUBDIR += f2
SUBDIR += f3
SUBDIR += facter
+ SUBDIR += fakertc
SUBDIR += fand
SUBDIR += fanout
SUBDIR += fatback
Index: sysutils/fakertc/Makefile
===================================================================
--- /dev/null
+++ sysutils/fakertc/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= fakertc
+DISTVERSIONPREFIX= v
+DISTVERSION= 1
+CATEGORIES= sysutils
+
+MAINTAINER= ronald-lists@klop.ws
+COMMENT= Save real-time clock on reboot
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= ronaldklop
+
+NO_ARCH= yes
+NO_BUILD= yes
+PLIST_FILES= etc/rc.d/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/etc/rc.d/${PORTNAME} \
+ ${STAGEDIR}${PREFIX}/etc/rc.d
+
+.include <bsd.port.mk>
Index: sysutils/fakertc/distinfo
===================================================================
--- /dev/null
+++ sysutils/fakertc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1659382845
+SHA256 (ronaldklop-fakertc-v1_GH0.tar.gz) = 25461cd62f1578c2733c00776078e99f7f9ded4f811f9fa558cdd2455ece25b8
+SIZE (ronaldklop-fakertc-v1_GH0.tar.gz) = 1586
Index: sysutils/fakertc/pkg-descr
===================================================================
--- /dev/null
+++ sysutils/fakertc/pkg-descr
@@ -0,0 +1,11 @@
+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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 1, 2:09 PM (45 m, 15 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30658461
Default Alt Text
D36067.id108968.diff (1 KB)
Attached To
Mode
D36067: sysutils/fakertc: Add new port
Attached
Detach File
Event Timeline
Log In to Comment