knxd: bump to new upstream version 0.14.54
authorOthmar Truniger <github@truniger.ch>
Mon, 31 Oct 2022 18:13:54 +0000 (19:13 +0100)
committerRosen Penev <rosenp@gmail.com>
Mon, 31 Oct 2022 19:26:45 +0000 (12:26 -0700)
Signed-off-by: Othmar Truniger <github@truniger.ch>
net/knxd/Makefile
net/knxd/patches/010-link.patch [deleted file]

index f9d613f0441f897391cc848c062b8c77780cc0f8..de26e78e368fb215bdf8a6f1e28749d26b956417 100644 (file)
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=knxd
-PKG_VERSION:=0.14.53
-PKG_RELEASE:=2
+PKG_VERSION:=0.14.54
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/knxd/knxd/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=19a84b79e8f94087e4f7845ab21a53ced3d4d128c76efd4d1c3bd0c57b53287b
+PKG_HASH:=54041c32eaa24474f3346f39871ab01ffe50d99bfbae723bf4e84140dabaa329
 
 PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
 PKG_LICENSE:=GPL-2.0-or-later
diff --git a/net/knxd/patches/010-link.patch b/net/knxd/patches/010-link.patch
deleted file mode 100644 (file)
index 787f707..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
---- a/src/server/knxd_args.cpp
-+++ b/src/server/knxd_args.cpp
-@@ -68,13 +68,13 @@ struct L2options
- } while(0)
- IniData ini;
--char link[99] = "@.";
-+char link2[99] = "@.";
- void link_to(const char *arg)
- {
-   char *p;
--  ++*link;
--  strcpy(link+2,arg);
--  p = strchr(link+2,':');
-+  ++*link2;
-+  strcpy(link2+2,arg);
-+  p = strchr(link2+2,':');
-   if (p)
-     *p = 0;
- }
-@@ -163,10 +163,10 @@ public:
-       {
-         link_to(name);
-         ITER(i, more_args)
--        (*ini[link])[i->first] = i->second;
--        (*ini[link])["filter"] = name;
-+        (*ini[link2])[i->first] = i->second;
-+        (*ini[link2])["filter"] = name;
-         more_args.clear();
--        filters.push_back(link);
-+        filters.push_back(link2);
-       }
-     else
-       filters.push_back(name);
-@@ -232,7 +232,7 @@ void driver_argsv(const char *arg, char
- {
-   va_list apl;
-   va_start(apl, ap);
--  (*ini[link])["driver"] = arg;
-+  (*ini[link2])["driver"] = arg;
-   char *pa = NULL;
-   while(ap)
-@@ -250,7 +250,7 @@ void driver_argsv(const char *arg, char
-       if (*pa == '!') // required-argument flag
-         pa++;
-       if (*ap) // skip empty arguments
--        (*ini[link])[pa] = ap;
-+        (*ini[link2])[pa] = ap;
-       ap = p2;
-     }
-   if (pa != NULL)
-@@ -280,7 +280,7 @@ void driver_args(const char *arg, char *
-   else if(!strcmp(arg,"iptn"))
-     {
-       driver_argsv("ipt",ap, "!ip-address","dest-port","src-port","nat-ip","data-port", NULL);
--      (*ini[link])["nat"] = "true";
-+      (*ini[link2])["nat"] = "true";
-     }
-   else if(!strcmp(arg,"ft12") || !strcmp(arg,"ncn5120") || !strcmp(arg,"tpuarts") || !strcmp(arg,"ft12cemi") || !strcmp(arg,"tpuart"))
-     {
-@@ -556,18 +556,18 @@ parse_opt (int key, char *arg, struct ar
-       if (arguments->want_server)
-         die("You need -S after -D/-T/-R");
-       link_to("unix");
--      ADD((*ini["main"])["connections"], link);
--      (*ini[link])["server"] = "knxd_unix";
-+      ADD((*ini["main"])["connections"], link2);
-+      (*ini[link2])["server"] = "knxd_unix";
-       // (*ini[link])["driver"] = "knx-link";
-       const char *name = OPT_ARG(arg,state,NULL);
-       if (name)
-         {
--          (*ini[link])["path"] = name;
--          (*ini[link])["systemd-ignore"] = "false";
-+          (*ini[link2])["path"] = name;
-+          (*ini[link2])["systemd-ignore"] = "false";
-         }
-       else
--        (*ini[link])["systemd-ignore"] = "true";
--      arguments->stack(link);
-+        (*ini[link2])["systemd-ignore"] = "true";
-+      arguments->stack(link2);
-     }
-     break;
-@@ -576,19 +576,19 @@ parse_opt (int key, char *arg, struct ar
-       if (arguments->want_server)
-         die("You need -S after -D/-T/-R");
-       link_to("tcp");
--      ADD((*ini["main"])["connections"], link);
--      (*ini[link])["server"] = "knxd_tcp";
-+      ADD((*ini["main"])["connections"], link2);
-+      (*ini[link2])["server"] = "knxd_tcp";
-       // (*ini[link])["driver"] = "knx-link";
-       const char *port = OPT_ARG(arg,state,"");
-       if (*port && atoi(port) > 0)
-         {
--          (*ini[link])["port"] = port;
--          (*ini[link])["systemd-ignore"] = "false";
-+          (*ini[link2])["port"] = port;
-+          (*ini[link2])["systemd-ignore"] = "false";
-         }
-       else
--        (*ini[link])["systemd-ignore"] = "true";
-+        (*ini[link2])["systemd-ignore"] = "true";
--      arguments->stack(link);
-+      arguments->stack(link2);
-     }
-     break;
-@@ -635,8 +635,8 @@ parse_opt (int key, char *arg, struct ar
-         die("You cannot apply flags to the group cache.");
-       link_to("cache");
--      (*ini["main"])["cache"] = link;
--      arguments->stack(link);
-+      (*ini["main"])["cache"] = link2;
-+      arguments->stack(link2);
-       break;
-     case OPT_FORCE_BROADCAST:
-       (*ini["main"])["force-broadcast"] = "true";
-@@ -675,12 +675,12 @@ parse_opt (int key, char *arg, struct ar
-       if (arguments->want_server)
-         die("You need -S after -D/-T/-R");
-       link_to(arg);
--      ADD((*ini["main"])["connections"], link);
-+      ADD((*ini["main"])["connections"], link2);
-       char *ap = strchr(arg,':');
-       if (ap)
-         *ap++ = '\0';
-       driver_args(arg,ap);
--      arguments->stack(link);
-+      arguments->stack(link2);
-       break;
-     }
-     case 'B':