From d2b45a75d26b0d27c7ce043ca4cf9f82f27a13f5 Mon Sep 17 00:00:00 2001 From: Sukru Senli Date: Wed, 21 Sep 2016 14:20:03 +0200 Subject: [PATCH 1/8] Update feed [ feed_inteno_packages ] package [ questd ] ------------------------------------------------------------------------------- * 76aa77f fix octet comparison issue ------------------------------------------------------------------------------- commit 76aa77fe0924b963b3ff751d9580d59c8ddfd400 Author: Sukru Senli Date: 2016-09-21 14:19:04 +0200 fix octet comparison issue Base directory -> / questd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- --- questd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/questd/Makefile b/questd/Makefile index b2415a88d..49eca7f3a 100644 --- a/questd/Makefile +++ b/questd/Makefile @@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=questd PKG_VERSION:=3.1.17 -PKG_SOURCE_VERSION:=fea81608c6e9df3a8ebe1ee5e2b7721a0467aee2 +PKG_SOURCE_VERSION:=76aa77fe0924b963b3ff751d9580d59c8ddfd400 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=http://public.inteno.se:/questd From cd86ff9396c78a29a70710a80fad56d8c1db1d0a Mon Sep 17 00:00:00 2001 From: Ronny Nilsson Date: Wed, 21 Sep 2016 15:17:33 +0200 Subject: [PATCH 2/8] Update feed [ feed_inteno_packages ] package [ dectmngr2 ] ------------------------------------------------------------------------------- * ee63f0c Kill third party proxy applications when we need to exit dectmngr2. They too need to restart. Gigaset ULE has an own watchdog and will restart by itself in 45 s (if in use). This is crude and of course we need a better API! * 28dd5ba Default to radio auto mode if we can't understand the parameter (it may be of an old format). * c084e7d Comments * 6c4e378 Before starting a registration of handsets we always set the access code (PIN code) to 0000 due to third party applications also change the code sometimes and we might get out of sync. * 26a15d5 Fix a compiler warning * 73533fb Add support for third party proxy appliations. ULE daemon use this for communicating with Dect stack. * 01e80ba Debug print what file descriptor we use * 5043296 Fix memory leak if re-registering same device over and over again. * 2620e49 Ignore ULE sensors, they are handled by another daemon. We only care of voice handsets. * a849015 Always refresh the handset list, just in case. * 04f8c99 Report error back if someone tries to start a call without first activating the radio. * 742423b - When querying dectmngr2 with UBUS for state we also report Natalie version, radio spectrum type and fixed part RFPI. - Don't exit program if device RFPI is invalid, due to program must be running for factory setup tool (which writes new RFPI). Instead we issue a warning, both in log and via UBUS. * ad2026e - Fixed issue where flash programming of Natalie V12.26 failed on ARM. refs #9584 - Add packet retransmitt support if we get no answer for a request. - Remove unused code. - Fix compiler warnings. - Cleanups * baefb8d - Remove unused code. - Fix compiler warnings. * 22527d5 - Correct arguments to calloc() - Fix many compiler warnings. - Add check for reading beyond buffer end. - Comments ------------------------------------------------------------------------------- commit ee63f0c087840adba9d944ae31d71a3ef9d64043 Author: Ronny Nilsson Date: 2016-09-20 15:13:18 +0200 Kill third party proxy applications when we need to exit dectmngr2. They too need to restart. Gigaset ULE has an own watchdog and will restart by itself in 45 s (if in use). This is crude and of course we need a better API! Base directory -> / src/connection_init.c | 10 ++++++++++ 1 file changed, 10 insertions(+) ------------------------------------------------------------------------------- commit 28dd5ba319dacfe9aa15363002866644e902ce2e Author: Ronny Nilsson Date: 2016-09-20 15:11:16 +0200 Default to radio auto mode if we can't understand the parameter (it may be of an old format). Base directory -> / src/ubus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c084e7de33394bb786a0b8158556bfd3f743aab0 Author: Ronny Nilsson Date: 2016-09-20 15:09:13 +0200 Comments Base directory -> / files/dectmngr-wrapper.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 6c4e3789d67484ee1574074a5f1bf59d1a974123 Author: Ronny Nilsson Date: 2016-09-16 17:51:03 +0200 Before starting a registration of handsets we always set the access code (PIN code) to 0000 due to third party applications also change the code sometimes and we might get out of sync. Base directory -> / src/connection_init.c | 77 +++++++++++++++++++++++++++++++++++++++------------ src/connection_init.h | 1 + 2 files changed, 60 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit 26a15d54f118ca8ae4237ab8f5f38394d3a165be Author: Ronny Nilsson Date: 2016-09-16 17:45:08 +0200 Fix a compiler warning Base directory -> / src/handset.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 73533fb3c9729fc16e37ab063730ba01b1b20207 Author: Ronny Nilsson Date: 2016-09-15 17:50:50 +0200 Add support for third party proxy appliations. ULE daemon use this for communicating with Dect stack. Base directory -> / src/Makefile | 2 +- src/app.c | 2 + src/connection_init.c | 55 ++++++------ src/connection_init.h | 1 + src/handset.c | 4 +- src/rawmailproxy.c | 227 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/rawmailproxy.h | 23 +++++ 7 files changed, 283 insertions(+), 31 deletions(-) ------------------------------------------------------------------------------- commit 01e80ba291b31786487f89c37b6b1f0fdfd6db83 Author: Ronny Nilsson Date: 2016-09-15 17:47:14 +0200 Debug print what file descriptor we use Base directory -> / src/rawmail.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 504329668e2a9bd56990abb77eabf7aa5e572890 Author: Ronny Nilsson Date: 2016-09-14 16:32:11 +0200 Fix memory leak if re-registering same device over and over again. Base directory -> / src/handset.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 2620e49c8a84d40b1087b3939de8a659239ffd86 Author: Ronny Nilsson Date: 2016-09-14 16:31:57 +0200 Ignore ULE sensors, they are handled by another daemon. We only care of voice handsets. Base directory -> / src/handset.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a849015ff3d3f0964b9cdcceb498ada4df0144f8 Author: Ronny Nilsson Date: 2016-09-14 16:31:01 +0200 Always refresh the handset list, just in case. Base directory -> / src/handset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 04f8c99f88115c0aba0a2ae2925d6e3cf65029e7 Author: Ronny Nilsson Date: 2016-09-08 17:40:02 +0200 Report error back if someone tries to start a call without first activating the radio. Base directory -> / src/external_call.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 742423b37ba23d1d6e62ba28aa3ef1a827f7d9e7 Author: Ronny Nilsson Date: 2016-09-08 17:38:45 +0200 - When querying dectmngr2 with UBUS for state we also report Natalie version, radio spectrum type and fixed part RFPI. - Don't exit program if device RFPI is invalid, due to program must be running for factory setup tool (which writes new RFPI). Instead we issue a warning, both in log and via UBUS. Base directory -> / src/connection_init.c | 100 ++++++++++++++++++++++++++++++++++++++++++-------- src/connection_init.h | 7 +++- src/ubus.c | 26 +++++++++++-- 3 files changed, 113 insertions(+), 20 deletions(-) ------------------------------------------------------------------------------- commit ad2026e462bb9f5e8fb2b0625a61c1e530966f8e Author: Ronny Nilsson Date: 2016-09-08 13:45:00 +0200 - Fixed issue where flash programming of Natalie V12.26 failed on ARM. refs #9584 - Add packet retransmitt support if we get no answer for a request. - Remove unused code. - Fix compiler warnings. - Cleanups Base directory -> / src/flashloader.c | 216 +++++++++++++++++++++++++----------------------------- 1 file changed, 99 insertions(+), 117 deletions(-) ------------------------------------------------------------------------------- commit baefb8dd4db285852d84b619f2a4a9c8c04a3bd6 Author: Ronny Nilsson Date: 2016-09-08 11:00:27 +0200 - Remove unused code. - Fix compiler warnings. Base directory -> / src/busmail.c | 52 +--------------------------------------------------- 1 file changed, 1 insertion(+), 51 deletions(-) ------------------------------------------------------------------------------- commit 22527d5e39c58d651086adbdeb668c68a6e20362 Author: Ronny Nilsson Date: 2016-09-08 10:45:25 +0200 - Correct arguments to calloc() - Fix many compiler warnings. - Add check for reading beyond buffer end. - Comments Base directory -> / src/buffer.c | 38 +++++++++++++++++++++----------------- src/buffer.h | 26 +++++++++++++------------- 2 files changed, 34 insertions(+), 30 deletions(-) ------------------------------------------------------------------------------- --- dectmngr2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dectmngr2/Makefile b/dectmngr2/Makefile index 079e24a74..a1b01b418 100644 --- a/dectmngr2/Makefile +++ b/dectmngr2/Makefile @@ -11,7 +11,7 @@ PKG_RELEASE:=1 PKG_VERSION:=1.1.0 PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2 PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=c225ac3cbfdc619dc3e4d149f5f145299dac442b +PKG_SOURCE_VERSION:=ee63f0c087840adba9d944ae31d71a3ef9d64043 PKG_NAME:=dectmngr2 From ee70bde4ed226bdf2e7c3fbc3cc07f4bc35a9999 Mon Sep 17 00:00:00 2001 From: Sukru Senli Date: Wed, 21 Sep 2016 18:49:53 +0200 Subject: [PATCH 3/8] Update feed [ feed_inteno_packages ] package [ questd ] ------------------------------------------------------------------------------- * ab62efe add processes method to router object ------------------------------------------------------------------------------- commit ab62efe6d55ded3c3e96dee6eee0e0cd174754a3 Author: Sukru Senli Date: 2016-09-21 18:49:09 +0200 add processes method to router object Base directory -> / questd.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) ------------------------------------------------------------------------------- --- questd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/questd/Makefile b/questd/Makefile index 49eca7f3a..75005d87b 100644 --- a/questd/Makefile +++ b/questd/Makefile @@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=questd PKG_VERSION:=3.1.17 -PKG_SOURCE_VERSION:=76aa77fe0924b963b3ff751d9580d59c8ddfd400 +PKG_SOURCE_VERSION:=ab62efe6d55ded3c3e96dee6eee0e0cd174754a3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=http://public.inteno.se:/questd From b8edc7d06f7d71bcb9558872aacaa5d6260dfa34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6glund?= Date: Fri, 23 Sep 2016 11:06:23 +0200 Subject: [PATCH 4/8] Full iopsys config for mediatek targets --- iop/scripts/genconfig.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/iop/scripts/genconfig.sh b/iop/scripts/genconfig.sh index a969b6f10..57aec4e7f 100755 --- a/iop/scripts/genconfig.sh +++ b/iop/scripts/genconfig.sh @@ -39,7 +39,6 @@ function genconfig { for p in $iopsys_ramips; do if [ $p == $profile ]; then target="iopsys_ramips" - masterconfig=0 return fi done From c93e95d818bc097281055ea42c1e4388607ee94b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6glund?= Date: Fri, 23 Sep 2016 14:43:28 +0200 Subject: [PATCH 5/8] Update feed [ feed_inteno_packages ] package [ questd ] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------------------------------------------------------------------------- * 16665ce Comment out error for now * 3f484c3 call broadcom specific functions only if broadcom is defined * 6b828d8 call broadcom specific functions only if broadcom is defined ------------------------------------------------------------------------------- commit 16665ce6a657d92671139f9072cb1078c6440a2d Author: Jonas Höglund Date: 2016-09-23 14:42:50 +0200 Comment out error for now Base directory -> / dumper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 3f484c3bd63bcf9cd9eb3e6414375b48d8ef73c9 Author: Sukru Senli Date: 2016-09-23 14:34:30 +0200 call broadcom specific functions only if broadcom is defined Base directory -> / questd.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 6b828d82bfd47dda7a346648d6252dfe2e3d62a3 Author: Sukru Senli Date: 2016-09-23 14:30:18 +0200 call broadcom specific functions only if broadcom is defined Base directory -> / questd.c | 18 ++++++++++++++++-- questd.h | 2 ++ 2 files changed, 18 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- --- questd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/questd/Makefile b/questd/Makefile index 75005d87b..e044f2bf1 100644 --- a/questd/Makefile +++ b/questd/Makefile @@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=questd PKG_VERSION:=3.1.17 -PKG_SOURCE_VERSION:=ab62efe6d55ded3c3e96dee6eee0e0cd174754a3 +PKG_SOURCE_VERSION:=16665ce6a657d92671139f9072cb1078c6440a2d PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=http://public.inteno.se:/questd From ca444bf3bbda30da2a7fa7bffaaa11573e2dd9e3 Mon Sep 17 00:00:00 2001 From: Sukru Senli Date: Sun, 25 Sep 2016 11:31:53 +0200 Subject: [PATCH 6/8] questd: do not install uscriptd --- questd/Makefile | 4 ++-- questd/files/etc/init.d/quest | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/questd/Makefile b/questd/Makefile index e044f2bf1..d380223e5 100644 --- a/questd/Makefile +++ b/questd/Makefile @@ -6,9 +6,9 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=questd -PKG_VERSION:=3.1.17 +PKG_VERSION:=3.1.18 -PKG_SOURCE_VERSION:=16665ce6a657d92671139f9072cb1078c6440a2d +PKG_SOURCE_VERSION:=d3e6930c8d7172e5ceed107c25644f8a813766ef PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=http://public.inteno.se:/questd diff --git a/questd/files/etc/init.d/quest b/questd/files/etc/init.d/quest index 2042c6da5..d9eee38f9 100755 --- a/questd/files/etc/init.d/quest +++ b/questd/files/etc/init.d/quest @@ -11,16 +11,10 @@ start_service() { procd_set_param command "/sbin/questd" procd_set_param respawn procd_close_instance - - procd_open_instance - procd_set_param command "/sbin/uscriptd" - procd_set_param respawn - procd_close_instance } stop() { service_stop /sbin/questd - service_stop /sbin/uscriptd } service_triggers() From c591a23d2f1d052d6775836692faac4f8123a859 Mon Sep 17 00:00:00 2001 From: Sukru Senli Date: Sun, 25 Sep 2016 11:34:22 +0200 Subject: [PATCH 7/8] questd: do not install uscriptd --- questd/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/questd/Makefile b/questd/Makefile index d380223e5..3fcf8b81e 100644 --- a/questd/Makefile +++ b/questd/Makefile @@ -49,7 +49,6 @@ define Package/questd/install $(CP) ./files/* $(1)/ $(INSTALL_DIR) $(1)/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/questd $(1)/sbin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/uscriptd $(1)/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/wificontrol $(1)/sbin/ endef From f51931b981b82068606d62650f7a20758ca20a09 Mon Sep 17 00:00:00 2001 From: Alex Oprea Date: Mon, 26 Sep 2016 13:25:21 +0200 Subject: [PATCH 8/8] nmap: select nmap package --- iop/configs/config | 1 + 1 file changed, 1 insertion(+) diff --git a/iop/configs/config b/iop/configs/config index 9cb5efda9..d5b172627 100644 --- a/iop/configs/config +++ b/iop/configs/config @@ -104,6 +104,7 @@ CONFIG_PACKAGE_mtd-utils-nanddump=y CONFIG_PACKAGE_multiwan=y CONFIG_PACKAGE_ndisc6=y CONFIG_PACKAGE_netcheck=y +CONFIG_PACKAGE_nmap=y CONFIG_PACKAGE_ntfs-3g=y CONFIG_PACKAGE_odhcp6c=y CONFIG_PACKAGE_odhcpd=y