Added new port net/knxd.
The port can work as a router and/or gateway for knx based communication.
This commit is contained in:
parent
dd9a352c5c
commit
11742fe010
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504390
6 changed files with 151 additions and 0 deletions
|
@ -312,6 +312,7 @@
|
|||
SUBDIR += kmbox
|
||||
SUBDIR += kmime
|
||||
SUBDIR += knc
|
||||
SUBDIR += knxd
|
||||
SUBDIR += kontactinterface
|
||||
SUBDIR += kpimtextedit
|
||||
SUBDIR += krdc
|
||||
|
|
32
net/knxd/Makefile
Normal file
32
net/knxd/Makefile
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Created by: mfechner@FreeBSD.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= knxd
|
||||
PORTVERSION= 0.14.29
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= mfechner@FreeBSD.org
|
||||
COMMENT= Advanced router/gateway for KNX
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libargp.so:devel/argp-standalone \
|
||||
libev.so:devel/libev \
|
||||
libfmt.so:devel/libfmt
|
||||
|
||||
USES= autoreconf compiler:c11 gmake libtool pkgconfig
|
||||
USE_RC_SUBR= knxd
|
||||
USE_GITHUB= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
GH_ACCOUNT= knxd
|
||||
GH_PROJECT= knxd
|
||||
GH_TAGNAME= fd4effbd9b3c525dff6b07607e1043fc339b64e2
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS?=--disable-systemd --disable-usb \
|
||||
CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/knxd/distinfo
Normal file
3
net/knxd/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1560685003
|
||||
SHA256 (knxd-knxd-0.14.29-fd4effbd9b3c525dff6b07607e1043fc339b64e2_GH0.tar.gz) = 962c88b6cace673156481c0654f3231939b59f68aa2a1ab37aeedcff84afe120
|
||||
SIZE (knxd-knxd-0.14.29-fd4effbd9b3c525dff6b07607e1043fc339b64e2_GH0.tar.gz) = 309589
|
38
net/knxd/files/knxd.in
Normal file
38
net/knxd/files/knxd.in
Normal file
|
@ -0,0 +1,38 @@
|
|||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: knxd
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Execute the following line to enable knxd:
|
||||
#
|
||||
# sysrc knxd_enable="YES": Set to "YES" to enable knxd
|
||||
#
|
||||
# sysrc knxd_local_address="15.15.1" Set the bus address of knxd to 0.0.1, make sure this address is free on your KNX bus
|
||||
#
|
||||
# sysrc knxd_child_address="15.15.2:8" Give client connecting to knxd this address
|
||||
#
|
||||
# sysrc knxd_address="ipt:192.168.0.117" The address of the commercial IP interface knxd should connect to
|
||||
#
|
||||
# sysrc knxd_
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=knxd
|
||||
rcvar=knxd_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${knxd_enable:="NO"}
|
||||
: ${knxd_local_address:="15.15.1"}
|
||||
: ${knxd_child_address:="15.15.2:8"}
|
||||
: ${knxd_address:="ipt:192.168.0.117"}
|
||||
: ${knxd_flags="-d -e ${knxd_local_address} -E ${knxd_child_address} -D -T -S -b ${knxd_address} -u /var/run/knxd"}
|
||||
|
||||
command="%%PREFIX%%/bin/knxd"
|
||||
#command_args=""
|
||||
#stop_postcmd="rm -f $pidfile"
|
||||
|
||||
run_rc_command "$1"
|
5
net/knxd/pkg-descr
Normal file
5
net/knxd/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
KNX is a very common building automation protocol which runs on dedicated
|
||||
9600-baud wire as well as IP multicast. knxd is an advanced router/gateway
|
||||
which runs on any Linux computer; it can talk to all known KNX interfaces.
|
||||
|
||||
WWW: https://github.com/knxd/knxd
|
72
net/knxd/pkg-plist
Normal file
72
net/knxd/pkg-plist
Normal file
|
@ -0,0 +1,72 @@
|
|||
bin/knxd
|
||||
bin/knxtool
|
||||
include/eibclient.h
|
||||
include/eibloadresult.h
|
||||
include/eibtypes.h
|
||||
lib/libeibclient.a
|
||||
lib/libeibclient.so
|
||||
lib/libeibclient.so.0
|
||||
lib/libeibclient.so.0.0.0
|
||||
libexec/knxd/busmonitor1
|
||||
libexec/knxd/busmonitor2
|
||||
libexec/knxd/busmonitor3
|
||||
libexec/knxd/eibread-cgi
|
||||
libexec/knxd/eibwrite-cgi
|
||||
libexec/knxd/groupcacheclear
|
||||
libexec/knxd/groupcachedisable
|
||||
libexec/knxd/groupcacheenable
|
||||
libexec/knxd/groupcachelastupdates
|
||||
libexec/knxd/groupcacheread
|
||||
libexec/knxd/groupcachereadsync
|
||||
libexec/knxd/groupcacheremove
|
||||
libexec/knxd/grouplisten
|
||||
libexec/knxd/groupread
|
||||
libexec/knxd/groupreadresponse
|
||||
libexec/knxd/groupresponse
|
||||
libexec/knxd/groupsocketlisten
|
||||
libexec/knxd/groupsocketread
|
||||
libexec/knxd/groupsocketswrite
|
||||
libexec/knxd/groupsocketwrite
|
||||
libexec/knxd/groupsresponse
|
||||
libexec/knxd/groupswrite
|
||||
libexec/knxd/groupwrite
|
||||
libexec/knxd/madcread
|
||||
libexec/knxd/maskver
|
||||
libexec/knxd/mmaskver
|
||||
libexec/knxd/mpeitype
|
||||
libexec/knxd/mprogmodeoff
|
||||
libexec/knxd/mprogmodeon
|
||||
libexec/knxd/mprogmodestatus
|
||||
libexec/knxd/mprogmodetoggle
|
||||
libexec/knxd/mpropdesc
|
||||
libexec/knxd/mpropread
|
||||
libexec/knxd/mpropscan
|
||||
libexec/knxd/mpropscanpoll
|
||||
libexec/knxd/mpropwrite
|
||||
libexec/knxd/mread
|
||||
libexec/knxd/mrestart
|
||||
libexec/knxd/msetkey
|
||||
libexec/knxd/mwrite
|
||||
libexec/knxd/mwriteplain
|
||||
libexec/knxd/progmodeoff
|
||||
libexec/knxd/progmodeon
|
||||
libexec/knxd/progmodestatus
|
||||
libexec/knxd/progmodetoggle
|
||||
libexec/knxd/readindividual
|
||||
libexec/knxd/vbusmonitor1
|
||||
libexec/knxd/vbusmonitor1poll
|
||||
libexec/knxd/vbusmonitor1time
|
||||
libexec/knxd/vbusmonitor2
|
||||
libexec/knxd/vbusmonitor3
|
||||
libexec/knxd/writeaddress
|
||||
libexec/knxd/xpropread
|
||||
libexec/knxd/xpropwrite
|
||||
libexec/knxd_args
|
||||
%%DATADIR%%/EIBConnection.cs
|
||||
%%DATADIR%%/EIBConnection.go
|
||||
%%DATADIR%%/EIBConnection.lua
|
||||
%%DATADIR%%/EIBConnection.pm
|
||||
%%DATADIR%%/EIBConnection.py
|
||||
%%DATADIR%%/EIBConnection.rb
|
||||
%%DATADIR%%/EIBD.pas
|
||||
%%DATADIR%%/eibclient.php
|
Loading…
Reference in a new issue