mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
comms/ebusd: update to 23.3
- remove outdated patches and update existing - temporary remove ebusfeed tool as it is now broken (reported to upstream) - remove dependency on libargp ChangeLog: https://github.com/john30/ebusd/discussions/1107
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PORTNAME= ebusd
|
||||
PORTVERSION= 23.2
|
||||
PORTVERSION= 23.3
|
||||
CATEGORIES= comms
|
||||
|
||||
MAINTAINER= samm@FreeBSD.org
|
||||
@@ -9,8 +9,6 @@ WWW= https://github.com/john30/ebusd/wiki
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libargp.so:devel/argp-standalone
|
||||
|
||||
USES= autoreconf compiler:c++11-lang localbase:ldflags
|
||||
|
||||
USE_GITHUB= yes
|
||||
@@ -25,7 +23,6 @@ LOGDIR= /var/log/${PORTNAME}
|
||||
RUNDIR= /var/run/${PORTNAME}
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-ebusfeed
|
||||
|
||||
PLIST_SUB= USER=${USERS} GROUP=${GROUPS} \
|
||||
LOGDIR=${LOGDIR} \
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1689021891
|
||||
SHA256 (john30-ebusd-23.2_GH0.tar.gz) = 133ec8f44c446e31cc73b1777af5045a228ee20e0024b626c5fbb947f6a31952
|
||||
SIZE (john30-ebusd-23.2_GH0.tar.gz) = 568811
|
||||
TIMESTAMP = 1703670595
|
||||
SHA256 (john30-ebusd-23.3_GH0.tar.gz) = 6133774523d94583333f86ff8841a725da2ac193ab1cfeddad753dae583810b3
|
||||
SIZE (john30-ebusd-23.3_GH0.tar.gz) = 583788
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
--- configure.ac.orig 2023-07-08 13:54:20 UTC
|
||||
--- configure.ac.orig 2023-12-27 11:22:31 UTC
|
||||
+++ configure.ac
|
||||
@@ -154,7 +154,7 @@ AM_COND_IF([KNX], [AC_CONFIG_FILES([
|
||||
@@ -146,7 +146,7 @@ AM_COND_IF([KNX], [AC_CONFIG_FILES([
|
||||
])])
|
||||
|
||||
AC_DEFINE_UNQUOTED(PACKAGE_PIDFILE, LOCALSTATEDIR "/run/" PACKAGE ".pid", [The path and name of the PID file.])
|
||||
-AC_DEFINE_UNQUOTED(PACKAGE_LOGFILE, LOCALSTATEDIR "/log/" PACKAGE ".log", [The path and name of the log file.])
|
||||
+AC_DEFINE_UNQUOTED(PACKAGE_LOGFILE, LOCALSTATEDIR "/log/" PACKAGE "/" PACKAGE ".log", [The path and name of the log file.])
|
||||
AC_DEFINE_UNQUOTED(PACKAGE_PIDFILE, "${localstatedir}/run/${PACKAGE_NAME}.pid", [The path and name of the PID file.])
|
||||
-AC_DEFINE_UNQUOTED(PACKAGE_LOGFILE, "${localstatedir}/log/${PACKAGE_NAME}.log", [The path and name of the log file.])
|
||||
+AC_DEFINE_UNQUOTED(PACKAGE_LOGFILE, "${localstatedir}/log/${PACKAGE_NAME}/${PACKAGE_NAME}.log", [The path and name of the log file.])
|
||||
AC_DEFINE(SCAN_VERSION, "[m4_esyscmd_s([sed -e 's#^\([0-9]*\.[0-9]*\).*#\1#' -e 's#\.\([0-9]\)$#0\1#' -e 's#\.##' VERSION])]", [The version of the package formatted for the scan result.])
|
||||
AC_DEFINE(PACKAGE_VERSION_MAJOR, [m4_esyscmd_s([sed -e 's#^\([0-9]*\)\..*$#\1#' VERSION])], [The major version of the package.])
|
||||
AC_DEFINE(PACKAGE_VERSION_MINOR, [m4_esyscmd_s([sed -e 's#^.*\.\([0-9]*\)$#\1#' VERSION])], [The minor version of the package.])
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
--- src/ebusd/main.cpp.orig 2023-07-08 13:54:20 UTC
|
||||
+++ src/ebusd/main.cpp
|
||||
@@ -36,6 +36,9 @@
|
||||
#include "lib/utils/httpclient.h"
|
||||
#include "ebusd/scan.h"
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+extern char **environ;
|
||||
+#endif
|
||||
|
||||
/** the version string of the program. */
|
||||
const char *argp_program_version = "" PACKAGE_STRING "." REVISION "";
|
||||
@@ -1,10 +0,0 @@
|
||||
--- src/lib/ebus/message.h.orig 2023-07-19 18:34:53 UTC
|
||||
+++ src/lib/ebus/message.h
|
||||
@@ -58,7 +58,6 @@ namespace ebusd {
|
||||
* template class.
|
||||
*/
|
||||
|
||||
-using std::binary_function;
|
||||
using std::priority_queue;
|
||||
using std::deque;
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
--- src/tools/ebusctl.cpp.orig 2023-07-08 13:54:20 UTC
|
||||
+++ src/tools/ebusctl.cpp
|
||||
@@ -153,7 +153,13 @@ string fetchData(ebusd::TCPSocket* socket, bool &liste
|
||||
time_t now;
|
||||
time(&now);
|
||||
time_t endTime = now + timeout;
|
||||
+
|
||||
#ifdef HAVE_PPOLL
|
||||
+
|
||||
+#ifndef POLLRDHUP
|
||||
+# define POLLRDHUP 0
|
||||
+#endif
|
||||
+
|
||||
int nfds = 2;
|
||||
struct pollfd fds[nfds];
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
bin/ebusd
|
||||
bin/ebusctl
|
||||
bin/ebusfeed
|
||||
bin/ebuspicloader
|
||||
%%MQTT%%%%ETCDIR%%/mqtt-hassio.cfg
|
||||
%%MQTT%%%%ETCDIR%%/mqtt-integration.cfg
|
||||
|
||||
Reference in New Issue
Block a user