summaryrefslogtreecommitdiff
path: root/net/linknx/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/linknx/files')
-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
4 files changed, 0 insertions, 102 deletions
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) */