Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2019 05:51:19 +0000 (UTC)
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504390 - in head/net: . knxd knxd/files
Message-ID:  <201906170551.x5H5pJmS093516@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mfechner
Date: Mon Jun 17 05:51:18 2019
New Revision: 504390
URL: https://svnweb.freebsd.org/changeset/ports/504390

Log:
  Added new port net/knxd.
  The port can work as a router and/or gateway for knx based communication.

Added:
  head/net/knxd/
  head/net/knxd/Makefile   (contents, props changed)
  head/net/knxd/distinfo   (contents, props changed)
  head/net/knxd/files/
  head/net/knxd/files/knxd.in   (contents, props changed)
  head/net/knxd/pkg-descr   (contents, props changed)
  head/net/knxd/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Mon Jun 17 05:42:42 2019	(r504389)
+++ head/net/Makefile	Mon Jun 17 05:51:18 2019	(r504390)
@@ -312,6 +312,7 @@
     SUBDIR += kmbox
     SUBDIR += kmime
     SUBDIR += knc
+    SUBDIR += knxd
     SUBDIR += kontactinterface
     SUBDIR += kpimtextedit
     SUBDIR += krdc

Added: head/net/knxd/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/knxd/Makefile	Mon Jun 17 05:51:18 2019	(r504390)
@@ -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>

Added: head/net/knxd/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/knxd/distinfo	Mon Jun 17 05:51:18 2019	(r504390)
@@ -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

Added: head/net/knxd/files/knxd.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/knxd/files/knxd.in	Mon Jun 17 05:51:18 2019	(r504390)
@@ -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"

Added: head/net/knxd/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/knxd/pkg-descr	Mon Jun 17 05:51:18 2019	(r504390)
@@ -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

Added: head/net/knxd/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/knxd/pkg-plist	Mon Jun 17 05:51:18 2019	(r504390)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906170551.x5H5pJmS093516>