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:
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
23
sysutils/mbgtools/Makefile
Normal file
23
sysutils/mbgtools/Makefile
Normal 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>
|
2
sysutils/mbgtools/distinfo
Normal file
2
sysutils/mbgtools/distinfo
Normal 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
|
12
sysutils/mbgtools/files/patch-mbgpccyc.h
Normal file
12
sysutils/mbgtools/files/patch-mbgpccyc.h
Normal 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
|
4
sysutils/mbgtools/pkg-descr
Normal file
4
sysutils/mbgtools/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
Tools for Meinberg GPS and PTP cards including a loadable kernel
|
||||
driver.
|
||||
|
||||
WWW: http://www.meinbergglobal.com/english/sw/
|
11
sysutils/mbgtools/pkg-plist
Normal file
11
sysutils/mbgtools/pkg-plist
Normal 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
|
Loading…
Reference in a new issue