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.
This commit is contained in:
George V. Neville-Neil 2013-11-19 15:25:08 +00:00
parent 0bec1b77a7
commit 335143d47a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334325
5 changed files with 52 additions and 0 deletions

View file

@ -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>

View file

@ -0,0 +1,2 @@
SHA256 (mbgtools-fbsd-dev-2013-06-26.tar.gz) = a676d5bf431e6bd9ed399c831a12d31f1ee9f466412534d439108c7aa4261c0a
SIZE (mbgtools-fbsd-dev-2013-06-26.tar.gz) = 345665

View file

@ -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

View file

@ -0,0 +1,4 @@
Tools for Meinberg GPS and PTP cards including a loadable kernel
driver.
WWW: http://www.meinbergglobal.com/english/sw/

View file

@ -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