diff options
author | gnn <gnn@FreeBSD.org> | 2013-11-19 23:25:08 +0800 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2013-11-19 23:25:08 +0800 |
commit | ea0c7e410390083ce5ef3346f31a96a92cb82685 (patch) | |
tree | cff2f540bc91fd4a228188c8d77f702eadd6f4d2 /sysutils | |
parent | e807a6f698e61a20f1701e81788cf9d8cde8574b (diff) | |
download | freebsd-ports-gnome-ea0c7e410390083ce5ef3346f31a96a92cb82685.tar.gz freebsd-ports-gnome-ea0c7e410390083ce5ef3346f31a96a92cb82685.tar.zst freebsd-ports-gnome-ea0c7e410390083ce5ef3346f31a96a92cb82685.zip |
Port of the Meinberg tools for their GPS and PTP cards.
Includes the kernel driver and the control programs as
well as a service daemon.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/mbgtools/Makefile | 23 | ||||
-rw-r--r-- | sysutils/mbgtools/distinfo | 2 | ||||
-rw-r--r-- | sysutils/mbgtools/files/patch-mbgpccyc.h | 12 | ||||
-rw-r--r-- | sysutils/mbgtools/pkg-descr | 4 | ||||
-rw-r--r-- | sysutils/mbgtools/pkg-plist | 11 |
5 files changed, 52 insertions, 0 deletions
diff --git a/sysutils/mbgtools/Makefile b/sysutils/mbgtools/Makefile new file mode 100644 index 000000000000..b2d8364bafd2 --- /dev/null +++ b/sysutils/mbgtools/Makefile @@ -0,0 +1,23 @@ +# Created by: George Neville-Neil gnn@freebsd.org +# $FreeBSD$ + +PORTNAME= mbgtools +DISTVERSION= fbsd-dev-2013-06-26 +CATEGORIES= sysutils +MASTER_SITES= http://www.meinberg.de/download/drivers/ + +MAINTAINER= gnn@FreeBSD.org +COMMENT= Drivers and tools for Meinberg PTP/GPS cards + +LICENSE= BSD + +USES= kmod + +USE_RC_SUBR= mbgsvcd + +.include <bsd.port.pre.mk> + +post-extract: + ${CP} ${WRKSRC}/scripts/mbgsvcd ${FILESDIR}/mbgsvcd.in + +.include <bsd.port.post.mk> diff --git a/sysutils/mbgtools/distinfo b/sysutils/mbgtools/distinfo new file mode 100644 index 000000000000..a8aa027a9dc9 --- /dev/null +++ b/sysutils/mbgtools/distinfo @@ -0,0 +1,2 @@ +SHA256 (mbgtools-fbsd-dev-2013-06-26.tar.gz) = a676d5bf431e6bd9ed399c831a12d31f1ee9f466412534d439108c7aa4261c0a +SIZE (mbgtools-fbsd-dev-2013-06-26.tar.gz) = 345665 diff --git a/sysutils/mbgtools/files/patch-mbgpccyc.h b/sysutils/mbgtools/files/patch-mbgpccyc.h new file mode 100644 index 000000000000..cece873988f4 --- /dev/null +++ b/sysutils/mbgtools/files/patch-mbgpccyc.h @@ -0,0 +1,12 @@ +*** mbglib/common/mbgpccyc.h 2013-06-26 12:37:50.000000000 -0400 +--- mbglib/common/mbgpccyc.h 2013-11-18 13:24:31.653569000 -0500 +*************** +*** 39,44 **** +--- 39,45 ---- + #if defined( MBG_TGT_FREEBSD ) + #if defined( MBG_TGT_KERNEL ) + #if defined( MBG_ARCH_X86 ) ++ #include <sys/time.h> + #include <machine/clock.h> /* for symbol 'tsc_freq' */ + #endif + #endif diff --git a/sysutils/mbgtools/pkg-descr b/sysutils/mbgtools/pkg-descr new file mode 100644 index 000000000000..ea34e05143ac --- /dev/null +++ b/sysutils/mbgtools/pkg-descr @@ -0,0 +1,4 @@ +Tools for Meinberg GPS and PTP cards including a loadable kernel +driver. + +WWW: http://www.meinbergglobal.com/english/sw/ diff --git a/sysutils/mbgtools/pkg-plist b/sysutils/mbgtools/pkg-plist new file mode 100644 index 000000000000..dd21fc246fd3 --- /dev/null +++ b/sysutils/mbgtools/pkg-plist @@ -0,0 +1,11 @@ +sbin/mbgsvcd +sbin/mbgsetsystime +sbin/mbgctrl +sbin/mbgirigcfg +bin/mbgstatus +bin/mbgshowsignal +bin/mbggpscap +bin/mbghrtime +bin/mbgfasttstamp +@cwd / +%%KMODDIR%%/mbgclock.ko |