git: dea8b5a8aaf0 - main - net/nqptp: Add new port

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Tue, 08 Nov 2022 18:15:37 UTC
The branch main has been updated by ehaupt:

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

commit dea8b5a8aaf0137b65441be83930e676ce102770
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-11-08 17:51:31 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-11-08 17:51:31 +0000

    net/nqptp: Add new port
    
    nqptp is a daemon that monitors timing data from any PTP clocks - up to
    64 - it sees on ports 319 and 320. It maintains records for each clock,
    identified by Clock ID and IP.
    
    It is a companion application to Shairport Sync and provides timing
    information for AirPlay 2 operation.
---
 net/Makefile        |  1 +
 net/nqptp/Makefile  | 26 ++++++++++++++++++++++++++
 net/nqptp/distinfo  |  3 +++
 net/nqptp/pkg-descr |  6 ++++++
 4 files changed, 36 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 6804034f2554..c8ee14d091ac 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -523,6 +523,7 @@
     SUBDIR += nncp
     SUBDIR += nng
     SUBDIR += norm
+    SUBDIR += nqptp
     SUBDIR += ns3
     SUBDIR += nsq
     SUBDIR += nss-pam-ldapd
diff --git a/net/nqptp/Makefile b/net/nqptp/Makefile
new file mode 100644
index 000000000000..654875b273ef
--- /dev/null
+++ b/net/nqptp/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	nqptp
+DISTVERSION=	1.1-dev-170
+DISTVERSIONSUFFIX=	-gc71b49a
+CATEGORIES=	net
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	Not Quite PTP
+WWW=		https://github.com/mikebrady/nqptp
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		autoreconf
+USE_GITHUB=	yes
+GH_ACCOUNT=	mikebrady
+
+GNU_CONFIGURE=	yes
+
+PLIST_FILES=	bin/nqptp \
+		etc/rc.d/nqptp
+
+post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/nqptp.freebsd \
+		${STAGEDIR}$/${PREFIX}/etc/rc.d/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net/nqptp/distinfo b/net/nqptp/distinfo
new file mode 100644
index 000000000000..d9f98f5b9804
--- /dev/null
+++ b/net/nqptp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1667926785
+SHA256 (mikebrady-nqptp-1.1-dev-170-gc71b49a_GH0.tar.gz) = e16f9b4e47462012a1555d24118250ad8705790ad48d58da31268df7b0eadc80
+SIZE (mikebrady-nqptp-1.1-dev-170-gc71b49a_GH0.tar.gz) = 34915
diff --git a/net/nqptp/pkg-descr b/net/nqptp/pkg-descr
new file mode 100644
index 000000000000..299a2339013a
--- /dev/null
+++ b/net/nqptp/pkg-descr
@@ -0,0 +1,6 @@
+nqptp is a daemon that monitors timing data from any PTP clocks - up to
+64 - it sees on ports 319 and 320. It maintains records for each clock,
+identified by Clock ID and IP.
+
+It is a companion application to Shairport Sync and provides timing
+information for AirPlay 2 operation.