summaryrefslogtreecommitdiff
path: root/net/linknx
diff options
context:
space:
mode:
Diffstat (limited to 'net/linknx')
-rw-r--r--net/linknx/Makefile66
-rw-r--r--net/linknx/distinfo2
-rw-r--r--net/linknx/files/linknx.in54
-rw-r--r--net/linknx/files/patch-src_eibclient.c10
-rw-r--r--net/linknx/files/patch-src_linknx.cpp11
-rw-r--r--net/linknx/files/patch-src_suncalc.cpp27
-rw-r--r--net/linknx/pkg-descr7
7 files changed, 0 insertions, 177 deletions
diff --git a/net/linknx/Makefile b/net/linknx/Makefile
deleted file mode 100644
index 322311d5fc80..000000000000
--- a/net/linknx/Makefile
+++ /dev/null
@@ -1,66 +0,0 @@
-PORTNAME= linknx
-PORTVERSION= 0.0.1.32
-CATEGORIES= net
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= bkoenig@alpha-tierchen.de
-COMMENT= Rule-based event handling in a KNX installation
-WWW= https://linknx.sourceforge.net/
-
-LICENSE= GPLv2
-
-DEPRECATED= Outdated and unsupported upstream
-EXPIRATION_DATE=2025-07-31
-
-BROKEN_armv6= fails to configure: checking for GNU Pth... Segmentation fault
-BROKEN_armv7= fails to configure: checking for GNU Pth... Segmentation fault
-BROKEN_mips= fails to configure: checking for GNU Pth... Segmentation fault
-BROKEN_mips64= fails to configure: checking for GNU Pth... Segmentation fault
-
-LIB_DEPENDS= libpthsem.so:devel/pthsem
-BUILD_DEPENDS= ${LOCALBASE}/lib/libargp.a:devel/argp-standalone
-
-USES= compiler gmake autoreconf pkgconfig
-USE_CXXSTD= c++14
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
-CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
-CXXFLAGS_clang= -Wno-c++11-narrowing
-
-OPTIONS_DEFINE= LIBESMTP LIBCURL LIBLUA MYSQL DOCS
-OPTIONS_DEFAULT= LIBESMTP
-OPTIONS_SUB=
-LIBESMTP_DESC= Install libesmtp for SMTP support
-LIBCURL_DESC= Install libcurl for Clickatell SMS support
-LIBLUA_DESC= Install liblua for scripting
-MYSQL_DESC= Install libmysql for logging & persist
-
-LIBESMTP_CFLAGS= -lesmtp
-LIBESMTP_CONFIGURE_ENABLE= smtp
-LIBESMTP_LIB_DEPENDS= libesmtp.so:mail/libesmtp
-LIBCURL_CONFIGURE_WITH= libcurl
-LIBCURL_LIB_DEPENDS= libcurl.so:ftp/curl
-# autoreconf needs that anyway.
-LIBCURL_BUILD_DEPENDS_OFF= ${LOCALBASE}/share/aclocal/libcurl.m4:ftp/curl
-LIBLUA_CONFIGURE_WITH= lua
-LIBLUA_USES= lua
-LIBLUA_CFLAGS= -I${LUA_INCDIR}
-LIBLUA_LDFLAGS= -L${LUA_LIBDIR}
-MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config
-MYSQL_CONFIGURE_OFF= --without-mysql
-MYSQL_USES= mysql
-MYSQL_VARS= IGNORE_WITH_MYSQL="80 81"
-
-PORTDOCS= *
-
-PLIST_FILES= bin/linknx
-
-USE_RC_SUBR= ${PORTNAME}
-
-post-patch:
- ${REINPLACE_CMD} "s/LUAPC=lua/LUAPC=lua-${LUA_VER}/" ${WRKSRC}/configure.ac
- cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS
-
-.include <bsd.port.mk>
diff --git a/net/linknx/distinfo b/net/linknx/distinfo
deleted file mode 100644
index 6d1651c104b4..000000000000
--- a/net/linknx/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (linknx-0.0.1.32.tar.gz) = f161d3c8da3b8c6969e9c02d84d3cd26eb5e7fb4f3a3efbaaede8acdaaf11700
-SIZE (linknx-0.0.1.32.tar.gz) = 336875
diff --git a/net/linknx/files/linknx.in b/net/linknx/files/linknx.in
deleted file mode 100644
index c7e763626dc8..000000000000
--- a/net/linknx/files/linknx.in
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: linknx
-# REQUIRE: DAEMON
-
-#
-# linknx_enable (bool): Set to "NO" by default. Set it
-# to "YES" to enable linknx.
-#
-# linknx_console (str): The output of the daemon goes to this
-# file. It is set to "/var/log/linknx.log"
-# by default. Set it to "" to disable it.
-# Recommended for production use.
-#
-# linknx_config (str): The default configuration file. By default
-# there is no configuration file set.
-#
-
-
-. /etc/rc.subr
-
-name="linknx"
-rcvar=linknx_enable
-
-start_precmd="linknx_precmd"
-
-: ${linknx_enable:="NO"}
-: ${linknx_console:="/var/log/linknx.log"}
-: ${linknx_pidfile:="/var/run/linknx.pid"}
-: ${linknx_flags:="--pid-file=${linknx_pidfile}"}
-
-command="/usr/local/bin/$name"
-pidfile=${linknx_pidfile}
-
-load_rc_config "$name"
-
-linknx_precmd()
-{
- if [ -f "${linknx_console}" ]; then
- echo "----------------" `date` "----------------" >> ${linknx_console}
- fi
-}
-
-if [ "x${linknx_console}" != "x" ]; then
- linknx_flags="${linknx_flags} --daemon=${linknx_console}"
-else
- linknx_flags="${linknx_flags} --daemon"
-fi
-
-if [ "x${linknx_config}" != "x" ]; then
- linknx_flags="${linknx_flags} --config=${linknx_config}"
-fi
-
-run_rc_command "$1"
diff --git a/net/linknx/files/patch-src_eibclient.c b/net/linknx/files/patch-src_eibclient.c
deleted file mode 100644
index 76cb3c076bc8..000000000000
--- a/net/linknx/files/patch-src_eibclient.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/eibclient.c.orig 2007-12-29 22:23:06.000000000 +0100
-+++ src/eibclient.c 2008-10-23 20:15:56.000000000 +0200
-@@ -32,6 +32,7 @@
- #include <netinet/in.h>
- #include <netdb.h>
- #include <errno.h>
-+#include <string.h>
-
- #include "config.h"
-
diff --git a/net/linknx/files/patch-src_linknx.cpp b/net/linknx/files/patch-src_linknx.cpp
deleted file mode 100644
index 8562e299527c..000000000000
--- a/net/linknx/files/patch-src_linknx.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/linknx.cpp.orig 2012-02-12 14:43:55.000000000 +0100
-+++ src/linknx.cpp 2012-04-10 17:58:03.000000000 +0200
-@@ -29,6 +29,7 @@
- #include <fcntl.h>
- #include <cstring>
- #include <pthsem.h>
-+#include <sys/stat.h>
- #include "config.h"
- #include "ticpp.h"
- #include "eibclient.h"
-
diff --git a/net/linknx/files/patch-src_suncalc.cpp b/net/linknx/files/patch-src_suncalc.cpp
deleted file mode 100644
index 5c7a8fa3c1cf..000000000000
--- a/net/linknx/files/patch-src_suncalc.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-In file included from suncalc.cpp:47:
- /usr/include/c++/v1/math.h:733:39: error: no member named 'fabsf' in the global
- namespace; did you mean simply 'fabsf'?
- abs(float __lcpp_x) _NOEXCEPT {return ::fabsf(__lcpp_x);}
- ^~
-
---- src/suncalc.cpp.orig 2018-08-25 18:51:49 UTC
-+++ src/suncalc.cpp
-@@ -25,8 +25,6 @@
- #include "suncalc.h"
- #include "services.h"
-
--namespace suncalc
--{
-
- /*
- SUNRISET.C - computes Sun rise/set times, start/end of twilight, and
-@@ -49,6 +47,9 @@ Released to the public domain by Paul Schlyter, Decemb
- #include <stdlib.h>
- #include <getopt.h>
- #include <string.h>
-+
-+namespace suncalc
-+{
-
- /* A macro to compute the number of days elapsed since 2000 Jan 0.0 */
- /* (which is equal to 1999 Dec 31, 0h UT) */
diff --git a/net/linknx/pkg-descr b/net/linknx/pkg-descr
deleted file mode 100644
index b164ae00414d..000000000000
--- a/net/linknx/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-LinKNX is a backend for controlling a KNX/EIB home and building automation
-system. It connects to eibd which is part of the BCU SDK and keeps state of
-KNX devices such as lamps, window blinds, heating and so on.
-Furthermore it provides a powerful, rule-based event after treatment, e.g.
-for switching other KNX devices, sending e-mail or SMS or executing a shell
-command. You can configure and control the LinKNX daemon using an XML-style
-protocol via TCP network socket or Unix domain socket.