aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2022-11-08 17:51:31 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2022-11-08 17:51:31 +0000
commitdea8b5a8aaf0137b65441be83930e676ce102770 (patch)
tree3667b7e7855a9e98c80ece97e3d997ccd461aa50
parent07b08f309322728db448e787787e69e11bf0dcf9 (diff)
downloadports-dea8b5a8aaf0137b65441be83930e676ce102770.tar.gz
ports-dea8b5a8aaf0137b65441be83930e676ce102770.zip
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.
-rw-r--r--net/Makefile1
-rw-r--r--net/nqptp/Makefile26
-rw-r--r--net/nqptp/distinfo3
-rw-r--r--net/nqptp/pkg-descr6
4 files changed, 36 insertions, 0 deletions
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.