mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
ptpd2 implements version 2 of the the Precision Time protocol as defined
by IEEE-1588-2008. PTP was developed to provide very precise time coordination of LAN connected computers. PTPd is a complete implementation of the IEEE 1588-2008 specification for a standard (non-boundary) clock
This commit is contained in:
parent
9adeac8d81
commit
855608db9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264647
@ -827,6 +827,7 @@
|
||||
SUBDIR += proxychains
|
||||
SUBDIR += prtunnel
|
||||
SUBDIR += ptpd
|
||||
SUBDIR += ptpd2
|
||||
SUBDIR += ptunnel
|
||||
SUBDIR += pvm
|
||||
SUBDIR += pvm++
|
||||
|
37
net/ptpd2/Makefile
Normal file
37
net/ptpd2/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: ptpd2
|
||||
# Date created: 16 November 2010
|
||||
# Whom: Steven Kreuzer <skreuzer@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ptpd
|
||||
DISTVERSION= 2.1.0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= skreuzer@FreeBSD.org
|
||||
COMMENT= Implementation of the precision time protocol IEEE 1588-2008
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
WRKSRC= ${WRKDIR}/ptpd-${DISTVERSION}/src
|
||||
|
||||
CFLAGS+= -DBSD_INTERFACE_FUNCTIONS
|
||||
|
||||
PLIST_FILES= sbin/ptpd2
|
||||
PORTDOCS= *
|
||||
|
||||
USE_RC_SUBR= ptpd2
|
||||
|
||||
MAN8= ptpd2.8
|
||||
|
||||
do-install::
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}2 ${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}2.8 ${MANPREFIX}/man/man8
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKDIR}/ptpd-${DISTVERSION}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/ptpd2/distinfo
Normal file
2
net/ptpd2/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ptpd-2.1.0.tar.gz) = f83ce9457175a41db859da99bdb1257123e1f42e6543022e75a57b962d2be449
|
||||
SIZE (ptpd-2.1.0.tar.gz) = 578758
|
24
net/ptpd2/files/ptpd2.in
Normal file
24
net/ptpd2/files/ptpd2.in
Normal file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: ptpd2
|
||||
# REQUIRE: NETWORKING DAEMON
|
||||
# KEYWORD: nojail
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable ptpd
|
||||
#
|
||||
# ptpd2_enable (bool): Set to "NO" by default
|
||||
# Set it to "YES" to enable ptpd
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="ptpd2"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
|
||||
ptpd_enable=${ptpd2_enable:-"NO"}
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
7
net/ptpd2/pkg-descr
Normal file
7
net/ptpd2/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
ptpd2 is an implementation of version 2 the Precision Time Protocol
|
||||
(IEEE 1588-2008)
|
||||
|
||||
PTP was developed to provide very precise time coordination of LAN connected
|
||||
computers.
|
||||
|
||||
WWW: http://ptpd.sourceforge.net/
|
Loading…
Reference in New Issue
Block a user