Add new port net/timed.

This port is a slightly modified version of the code as distributed with
FreeBSD up to version 12.

This software is only useful to provide time synchronization for devices
that do not support a more modern time synchronization protocol (e.g., ntp).

Approved by:	antoine (mentor)
This commit is contained in:
Stefan Eßer 2019-01-30 10:46:24 +00:00
parent cd20db1bdd
commit d7652795b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491618
5 changed files with 43 additions and 0 deletions

View file

@ -1440,6 +1440,7 @@
SUBDIR += throttled SUBDIR += throttled
SUBDIR += tigervnc SUBDIR += tigervnc
SUBDIR += tightvnc SUBDIR += tightvnc
SUBDIR += timed
SUBDIR += tintin++ SUBDIR += tintin++
SUBDIR += tiny-network-utilities SUBDIR += tiny-network-utilities
SUBDIR += tinyfugue SUBDIR += tinyfugue

28
net/timed/Makefile Normal file
View file

@ -0,0 +1,28 @@
# $FreeBSD$
PORTNAME= timed
PORTVERSION= 8.1
CATEGORIES= net
MAINTAINER= se@FreeBSD.org
COMMENT= Old time synchronisation service superseded by more modern protocols
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= freebsd
post-build:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/rc.d/timed
do-install:
.for f in timed timedc
${INSTALL_PROGRAM} ${WRKSRC}/${f}/${f} \
${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${f}/${f}.8 \
${STAGEDIR}${MAN8PREFIX}/man/man8/
.endfor
${INSTALL_DATA} ${WRKSRC}/rc.d/timed \
${STAGEDIR}${PREFIX}/etc/rc.d/
.include <bsd.port.mk>

3
net/timed/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1548844195
SHA256 (freebsd-timed-8.1_GH0.tar.gz) = 3e0882c602f2b1a618f172810c4f5369c7fd978f76c4fa1ab697bfdd12765665
SIZE (freebsd-timed-8.1_GH0.tar.gz) = 48014

5
net/timed/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
This port preserves the timed time synchronisation daemon and the timedc
control command, which have been declared deprecated in FreeBSD-12.1 and
removed from the FreeBSD sources in version 13.
WWW: https://github.com/freebsd/timed

6
net/timed/pkg-plist Normal file
View file

@ -0,0 +1,6 @@
etc/rc.d/timed
man/man8/timed.8.gz
man/man8/timedc.8.gz
sbin/timed
@mode 4555
sbin/timedc