Compare commits

..

76 Commits

Author SHA1 Message Date
Arun Muthusamy
7fd4081ed6 libmobile: update hash & comment dongle_nl package 2018-06-29 10:10:06 +02:00
Arun Muthusamy
f43aa248b8 libmobile: update hash 2018-06-28 15:00:20 +02:00
Jakob Olsson
309b61de24 Makefile: add eval for dongle_nl package 2018-06-28 13:51:52 +02:00
Ionuț-Alex Oprea
7e10477068 update hash 2018-06-28 12:10:26 +02:00
Arun Muthusamy
fd061cdd8a libmobile: update pkg source hash 2018-06-28 10:56:40 +02:00
Arun Muthusamy
578d09487b add dongle netlink package 2018-06-28 10:37:17 +02:00
Jakob Olsson
f56b7b8df5 Makefile: hash update 2018-06-27 12:13:34 +02:00
Jakob Olsson
d7a0398ecf init.d: add default value to debug
Add default value to debug so that an extra check whether debug has been initiated is not required prior to checking if it is greater than 0.
2018-06-27 12:13:19 +02:00
Jakob Olsson
ae9c860007 init.d: remove unused stuff, only send debug flag if debug is active 2018-06-27 10:59:18 +02:00
Jakob Olsson
931cda8f5b hotplug/usb: remove unused code/testing prints, update ubus method name to call 2018-06-27 10:58:36 +02:00
Jakob Olsson
24d4094d25 hotplug/iface: remove some unused prints, update call to method name change from update to refresh 2018-06-27 10:57:39 +02:00
Jakob Olsson
290fcdd0c8 config/mdmngr: remove unused variable 2018-06-27 10:56:47 +02:00
Jakob Olsson
9a23f3b482 Makefile: update hash, change binary name of file to transfer 2018-06-27 10:55:29 +02:00
Jakob Olsson
9281dfc9ae hash udpate 2018-06-25 10:17:24 +02:00
Jakob Olsson
f2849eeddb Makefile: update hash and lib name 2018-06-15 09:07:49 +02:00
Jakob Olsson
d216665098 hash update 2018-06-14 15:40:41 +02:00
Jakob Olsson
f4d7385c52 Makefile: remove old library transfers 2018-06-14 15:23:09 +02:00
Jakob Olsson
01f0c60e72 add hotplug scripts, hash update 2018-06-12 10:32:09 +02:00
Jakob Olsson
94ecc5f614 update to include wrapper files, hash 2018-06-08 11:23:46 +02:00
Jakob Olsson
40113acada fix tupo, hash 2018-06-08 08:29:40 +02:00
Jakob Olsson
e073a4008f hash and xml2 2018-06-04 16:10:38 +02:00
Jakob Olsson
54fd4d7a39 hash and add xml lib 2018-06-04 15:46:03 +02:00
Jakob Olsson
84bd349ec4 hash 2018-06-01 15:07:12 +02:00
Jakob Olsson
6a9431f5db hash change 2018-06-01 15:00:36 +02:00
Jakob Olsson
2cd840179a hash update 2018-06-01 14:57:23 +02:00
Jakob Olsson
3704bbbadd changes to lib names and hash 2018-06-01 14:53:17 +02:00
Jakob Olsson
fd41e108a4 hash update 2018-06-01 08:48:46 +02:00
Jakob Olsson
d687c94b76 change libmobiled to mdmngr, hash 2018-05-31 15:52:13 +02:00
Jakob Olsson
f35372165d hash 2018-05-31 15:52:13 +02:00
Jakob Olsson
f04bf92f2d hash 2018-05-31 15:52:13 +02:00
Jakob Olsson
6ff6c6f04f hash update 2018-05-31 15:52:13 +02:00
Jakob Olsson
fad8708b5c minor errors and hash update 2018-05-31 15:52:13 +02:00
Jakob Olsson
db5e3e7f8c remove uci dependency, hash update 2018-05-31 15:52:13 +02:00
Jakob Olsson
8dbd11cde3 hash update 2018-05-31 15:52:13 +02:00
Jakob Olsson
d5000fbf2e further accomodations for uci 2018-05-31 15:52:13 +02:00
Jakob Olsson
6f423990f5 some changes for uci 2018-05-31 15:52:13 +02:00
Jakob Olsson
24b4dfcd74 hash update 2018-05-31 15:52:13 +02:00
Jakob Olsson
8e433998f0 update hash, change files to accomodate single application & lib 2018-05-31 15:52:13 +02:00
Jakob Olsson
62ed4fb651 hash change, update initd script 2018-05-31 15:52:13 +02:00
Jakob Olsson
6968be676d hash updates 2018-05-31 15:52:13 +02:00
Jakob Olsson
da31984f3e removed unnecessary libraries, update hash 2018-05-31 15:52:13 +02:00
Jakob Olsson
ca5f5bc1af hash change 2018-05-31 15:52:13 +02:00
Jakob Olsson
1855fee7b6 add new package option to libmobile, DOES NOT WORK THOUGH, and hash updates 2018-05-31 15:52:13 +02:00
Jakob Olsson
cdfc24efb9 hash update 2018-05-31 15:52:13 +02:00
Jakob Olsson
9e04878717 fix to makefile 2018-05-31 15:52:13 +02:00
Jakob Olsson
dc2300bf66 newest verison, need use installdev somehow... 2018-05-31 15:52:13 +02:00
Jakob Olsson
0b430906cb include build/installDev, remove some old stuff 2018-05-31 15:52:13 +02:00
Jakob Olsson
9c39d1d394 hash and small fix 2018-05-31 15:52:13 +02:00
Jakob Olsson
f631a40159 using onboarding as 2nd repo for application daemons 2018-05-31 15:52:13 +02:00
Jakob Olsson
eb24f9330b some makefile experiement - will not work from same git repo 2018-05-31 15:52:09 +02:00
Anjan Chanda
82df3da1b0 Update feed [ feed_inteno_packages ] package [ iop-lla-libs ]
-------------------------------------------------------------------------------
* 1b86356 libwifi: add chlist and drvlist files
-------------------------------------------------------------------------------
commit 1b863569ba4ed64d7fdbc4e05d4abf6597aa257e
Author: Anjan Chanda <anjan.chanda@inteno.se>
Date: 2018-05-28 16:34:47 +0200

    libwifi: add chlist and drvlist files

Base directory -> /
 libwifi/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-05-29 09:07:48 +02:00
Anjan Chanda
97ae62b7e6 wifimngr-1.0.0: provides wifi ubus object 2018-05-29 09:04:46 +02:00
Anjan Chanda
fef8f7118a iop-lla-libs: add dependency libopenssl 2018-05-28 17:05:08 +02:00
Ronny Nilsson
95bc6100aa Dect: fix long caller numbers couldn't be displayed. 2018-05-28 16:58:16 +02:00
Ronny Nilsson
8c89627626 Dect: phone call disconnect works too. 2018-05-28 16:56:40 +02:00
Sukru Senli
736e91655f icwmp-4.0-2018-05-23 2018-05-28 16:52:16 +02:00
Ionuț-Alex Oprea
d15520516a Update feed [ feed_inteno_packages ] package [ imonitor ] 2018-05-28 12:47:52 +02:00
Anjan Chanda
55465fd4a6 iop-lla-libs: remove soft linking to non-existent lib version 2018-05-28 11:08:22 +02:00
Anjan Chanda
a1e16a3b2e iop-lla-libs-1.0.0 2018-05-28 10:05:42 +02:00
Ronny Nilsson
d84783f886 Dect: fix name clashing on MIPS. 2018-05-25 15:42:02 +02:00
Ronny Nilsson
33af5c4df3 Dect: endptmngr has got Dect support 2018-05-25 08:10:33 +02:00
Erik Horemans
f06747ebeb new ice-client 5.1.1 2018-05-24 16:37:59 +02:00
Ionuț-Alex Oprea
41565403d4 inteno-netmodes: netmode: change verbose level from debug to warning refs #15087 2018-05-24 15:06:15 +02:00
Reidar Cederqvist
0ddbe68676 iop: remove p910nd from inteno default software 2018-05-24 10:13:54 +02:00
Reidar Cederqvist
bbb3f94335 voice-client: fix security issue refs #14962 2018-05-18 17:11:56 +02:00
Ionuț-Alex Oprea
108e0e3bf5 Update feed [ feed_inteno_packages ] package [ imonitor ]
-------------------------------------------------------------------------------
* 297c594 Interval option now supports decimal number
* e74f168 Implemented string_regex matching option
* 387afe6 Improve monitor tests to be more robust
* 28c2870 Change internal handling of match options
* 844f293 Rearrange #include locations
* e3a5d16 Rename a test config file
* d70af8d Updated Dockerfile to build consistent environment
* 2108f29 allow OpenSSH login without password and set port map
* c66c1fe add sudo when running make test or make test_coverage
* 0b4240a change exec call in README.md
* 7d6adde change Dockerfile exec label
* da47c38 add strace
* 3f7f773 implement string_not_match
* ff92f92 bump to newest CMocka 1.1.1
* 265b43a configure user sudo
* 650549a write 'Development Workflow' chapter
* 2cf5f51 test that a process is running after the execute is called
* 7c356d6 add a note regarding usage of make format with root user
* 807641d add NetBeans IDE project folder to ignore list
* 4f30881 format the code using project code style
* 8140f7b map host user to a container
* 54180ab integrate automatic code style check and correction
* 96e49c5 add missing static keyword
* d2488f2 use system call insted of ubus for execute
* 187d88f Unify whitespaces across files
* 425c16a add OpenSSH server into Dockerfile
-------------------------------------------------------------------------------
commit 297c5945dcbc22a1504307ea658d7b43eb45d295
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-26 16:37:51 +0200

    Interval option now supports decimal number

    Changed the way interval option is parsed. Now there is a guard against
    negative and too large values. Some tests needed to be updated to work with
    this changes. Added parser tests for negative value and decimal value.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c                                      |  4 +-
 src/uci_parser.c                                   | 17 ++++--
 test/data/uci_file_invalid_negative_interval_value |  8 +++
 test/data/uci_file_valid_float_interval            |  8 +++
 test/monitor.c                                     | 26 ++++-----
 test/uci_parser.c                                  | 62 ++++++++++++++++++++--
 6 files changed, 103 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit e74f1684bf8d88aff29a2ecd00fa89529cd8a6d0
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-26 14:46:52 +0200

    Implemented string_regex matching option

    imonitor can now use regular expressions (POSIX ERE flavour) to match the
    pattern to the test output. Corresponding tests and readme updates are also
    included in this commit.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 README.md                                          |  30 ++--
 src/main.c                                         |   1 +
 src/monitor.c                                      |  25 ++-
 src/uci_parser.c                                   |   2 +-
 ..._file_invalid_both_string_match_and_regex_match |   9 ++
 ...valid_string_match_string_not_match_regex_match |  10 ++
 test/data/uci_file_valid_regex_match               |   8 +
 test/monitor.c                                     | 167 +++++++++++++++++++++
 test/uci_parser.c                                  |  61 ++++++++
 9 files changed, 295 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit 387afe6b4ae748a7171027f6c95827753c3edeb8
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 12:31:24 +0100

    Improve monitor tests to be more robust

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 test/monitor.c | 254 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 217 insertions(+), 37 deletions(-)
-------------------------------------------------------------------------------
commit 28c28702cca84fbc10cc8171cdd5dc0af53b113e
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 10:19:31 +0100

    Change internal handling of match options

    Reworked how string_match and string_not_match options are handled
    internally. Also added beginning of support for regex matching.

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c     | 73 +++++++++++++++++++++++--------------------
 src/monitor.h     |  5 +--
 src/uci_parser.c  | 93 +++++++++++++++++++++++++++++++++----------------------
 test/monitor.c    | 27 ++++++++++------
 test/uci_parser.c |  8 ++---
 5 files changed, 121 insertions(+), 85 deletions(-)
-------------------------------------------------------------------------------
commit 844f2937d19636e978d3dda939fb4a11c774013f
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 10:16:19 +0100

    Rearrange #include locations

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/control.h     | 18 ------------------
 src/monitor.c     |  1 -
 src/monitor.h     | 17 ++++++++++++++++-
 src/uci_parser.c  |  3 ++-
 src/uci_parser.h  |  2 +-
 test/uci_parser.c |  1 +
 6 files changed, 20 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit e3a5d16ad17c65a02a70e82a08262ca77be6e162
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 09:56:45 +0100

    Rename a test config file

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 .../data/uci_file_invalid_both_string_match_and_string_not_match | 9 +++++++++
 test/data/uci_file_valid_both_string_match_and_string_not_match  | 9 ---------
 test/uci_parser.c                                                | 2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit d70af8d33b81be91f92b67af3567cc5dbf1755ba
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-23 09:48:10 +0100

    Updated Dockerfile to build consistent environment

    Now checkouts a specific commit for uci, ubus and rpcd sources

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 Dockerfile | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit 2108f29a50bfdf229ea3226634723e53e8e313ee
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-21 20:26:44 +0100

    allow OpenSSH login without password and set port map

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile    | 3 ++-
 README.md     | 2 +-
 entrypoint.sh | 8 ++++++--
 3 files changed, 9 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit c66c1fe81d8726ad22acad0f2b33e1a634d7f834
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-20 17:56:25 +0100

    add sudo when running make test or make test_coverage

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 README.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 0b4240a8a00f759d0661766025b4fea8ad19003b
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-20 13:18:37 +0100

    change exec call in README.md

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7d6adde6329ff427b112b8124a6436b9de5a4789
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-20 10:55:16 +0100

    change Dockerfile exec label

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit da47c385520eb41c1d948e16689d2b14eda80a26
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-19 14:43:42 +0100

    add strace

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 3f7f773f5bb4eb460fa6329842e84824070f7ca8
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-19 14:25:04 +0100

    implement string_not_match

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 src/control.h                                      |  1 +
 src/monitor.c                                      | 57 ++++++++++++------
 src/uci_parser.c                                   | 42 ++++++++++---
 src/uci_parser.h                                   |  1 +
 ...le_valid_both_string_match_and_string_not_match |  9 +++
 test/data/uci_file_valid_string_not_match          |  8 +++
 test/monitor.c                                     | 68 +++++++++++++++++++++-
 test/uci_parser.c                                  | 46 +++++++++++++++
 8 files changed, 205 insertions(+), 27 deletions(-)
-------------------------------------------------------------------------------
commit ff92f92b984240142b2b1ca917f2559eeeac2124
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-19 10:19:32 +0100

    bump to newest CMocka 1.1.1

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 265b43a7a5c5efe4ad1d24282736af84695cbc8d
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-19 10:04:38 +0100

    configure user sudo

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile    | 1 +
 entrypoint.sh | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 650549a84cc5c0f64dfe3f2b7d2184130be292eb
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-16 14:54:44 +0100

    write 'Development Workflow' chapter

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 README.md | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 2cf5f51f2c8cd2071fbe5f5f20482f10b45ac7f9
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-16 10:01:17 +0100

    test that a process is running after the execute is called

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 test/control.c                           | 70 +++++++++++++++++++++++++++++++-
 test/data/uci_file_valid_execute_command |  8 ++++
 2 files changed, 77 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7c356d6ed1429d9260d7a8d88619b86d226dda4d
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-16 08:17:46 +0100

    add a note regarding usage of make format with root user

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 README.md | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 807641d76f22c1d3cf3d34838bc3de0a1cd3b09f
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-15 15:41:39 +0100

    add NetBeans IDE project folder to ignore list

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 4f308811022e8368d34f0c011ca255729f86783f
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-15 15:40:50 +0100

    format the code using project code style

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 src/debug.h       |  83 ++++++++++++-------
 src/main.c        |   4 +-
 src/monitor.c     |  56 +++++++------
 src/monitor.h     |   4 +-
 src/uci_parser.c  |  22 ++++--
 test/control.c    |  24 +++---
 test/monitor.c    | 168 +++++++++++++++++++++++----------------
 test/uci_parser.c | 233 +++++++++++++++++++++++++++++-------------------------
 8 files changed, 345 insertions(+), 249 deletions(-)
-------------------------------------------------------------------------------
commit 8140f7b753f8e7cc6d495557d19d3ae904135034
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-15 15:18:46 +0100

    map host user to a container

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile    |  9 ++++++---
 README.md     |  2 +-
 entrypoint.sh | 11 +++++++++++
 3 files changed, 18 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 54180ab6fbd84d1fb8ceb3846a9e4b8b5237d46b
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-15 12:02:22 +0100

    integrate automatic code style check and correction

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 .clang-format                       | 89 +++++++++++++++++++++++++++++++++++++
 CMakeLists.txt                      |  4 ++
 Dockerfile                          |  1 +
 README.md                           | 31 +++++++++++++
 cmake/modules/FindClangFormat.cmake | 33 ++++++++++++++
 cmake/modules/clang-format.cmake    | 37 +++++++++++++++
 6 files changed, 195 insertions(+)
-------------------------------------------------------------------------------
commit 96e49c55bae19c588c601877b87049e5a09e44cd
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-13 09:18:54 +0100

    add missing static keyword

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit d2488f2d5ebb85b5492895d28b771a61102a4f7e
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-13 09:18:23 +0100

    use system call insted of ubus for execute

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/monitor.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 187d88f345258672a1faf54a95415cfb2bca28e9
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-03-09 16:26:01 +0100

    Unify whitespaces across files

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/control.c    |  26 ++--
 src/control.h    |  20 ++--
 src/debug.h      |  40 +++----
 src/main.c       |  62 +++++-----
 src/monitor.c    | 354 +++++++++++++++++++++++++++----------------------------
 src/monitor.h    |   4 +-
 src/uci_parser.c |   6 +-
 src/uci_parser.h |   6 +-
 8 files changed, 259 insertions(+), 259 deletions(-)
-------------------------------------------------------------------------------
commit 425c16a82bd713dd97d9bac76b65ee5f06279dbb
Author: Hrvoje Varga <hrvoje.varga@sartura.hr>
Date: 2018-03-08 13:29:40 +0100

    add OpenSSH server into Dockerfile

    Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>

Base directory -> /
 Dockerfile       | 10 ++++++++++
 supervisord.conf |  3 +++
 2 files changed, 13 insertions(+)
-------------------------------------------------------------------------------
2018-05-16 17:27:45 +02:00
Benjamin Larsson
1f48ceec47 Add " 2018-05-16 17:05:54 +02:00
Benjamin Larsson
485477a368 Generate latest symlink on the server for open consumer packages 2018-05-16 17:04:20 +02:00
Sukru Senli
0a5a30e17c iop: config: select imonitor and rulengd packages 2018-05-14 14:22:40 +02:00
Reidar Cederqvist
28eeb8fd3c inteno-netmodes: libexec script can't run scripts in background fixed by extra-script
by starting a script that starts netmode-conf in the background refs #14901
2018-05-14 10:02:38 +02:00
Erik Horemans
165538cc11 new ice-client 5.0.3-RC9 2018-05-07 17:10:37 +02:00
Ionuț-Alex Oprea
1d882b99aa Update feed [ feed_inteno_packages ] package [ inteno-netmodes ]
-------------------------------------------------------------------------------
* fbd7dcf netmode: config: config_compare_wet: fix band comparison refs #14918 refs #14919 refs #14920
* 81f444e netmode: config: config_compare_wet: log the change for the wet interface
* acf96c5 fix some text in comments
-------------------------------------------------------------------------------
commit fbd7dcfab03df19b3c32675940e0aee708c7cf75
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-07 14:17:55 +0200

    netmode: config: config_compare_wet: fix band comparison refs #14918 refs
    #14919 refs #14920

Base directory -> /
 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 81f444ef9c914d49c2896229e205302d449ecc24
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-07 14:16:12 +0200

    netmode: config: config_compare_wet: log the change for the wet interface

Base directory -> /
 config.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit acf96c5272c763c355cda5f168de091f536b8ac7
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-05-07 14:14:02 +0200

    fix some text in comments

Base directory -> /
 config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2018-05-07 15:24:43 +02:00
Ionuț-Alex Oprea
8bb09e6767 iop: build_branch: add set -+x 2018-05-07 12:57:11 +02:00
Sukru Senli
f80cf53231 icwmp: Unable to discover CPE from ACS fix 2018-05-04 09:32:23 +02:00
Sukru Senli
c271d2fea6 icwmp-4.0-2018-05-02 2018-05-02 15:29:38 +02:00
Kent Ekholm
f2285030f9 Update feed [ feed_inteno_packages ] package [ endptmngr ]
-------------------------------------------------------------------------------
* cdef595 Added country settings for Croatia.
-------------------------------------------------------------------------------
commit cdef59501213d8846843a1c41662255d6bd1562a
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2018-04-20 11:06:38 +0200

    Added country settings for Croatia.

    Ref: #14703

Base directory -> /
 src/endpt.c | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2018-04-26 15:14:33 +02:00
24 changed files with 365 additions and 77 deletions

View File

@@ -8,10 +8,10 @@
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=1.1.0
PKG_VERSION:=1.2.0
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=ace6a3dcb6aa463cf5a34ad39ac37a5bc7d4ce5e
PKG_SOURCE_VERSION:=cbe2bd27df151be073cf88e8550bbb39c6cd29d8
PKG_NAME:=dectmngr2

View File

@@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=0.1
PKG_SOURCE_VERSION:=fa9ba5d7c942571ae6e44eb7bb5dae2c9b9e8ca4
PKG_VERSION:=0.2
PKG_SOURCE_VERSION:=dec85d5beabcb0d01f5a5583e3940c9dc922ea03
ifeq ($(CONFIG_ENDPT_OPEN),y)

View File

@@ -19,14 +19,14 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=5.0.3
PKG_RELEASE:=RC5
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
BASE_PKG_VERSION:=5.1.1
PKG_RELEASE:=
PKG_VERSION:=$(BASE_PKG_VERSION)$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_VERSION:=a7f40bfd47d0ce3f3c002460e3c83ffc821ac1e4
PKG_SOURCE_VERSION:=e8bf50630e6ba12dc2d223112643077c4db49189
ifeq ($(CONFIG_ICE_OPEN),y)
TARGET_PROFILE=$(shell echo $(CONFIG_TARGET_BOARD) | sed s/\"//g)
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=4.0-2018-04-20
PKG_VERSION:=4.0-2018-05-23
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=http://public.inteno.se:/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=1c6398191a9269c8e885ef78c21b4bd5b618a2fb
PKG_SOURCE_VERSION:=3320a6234403802647df9d8df485cd8a2754dac0
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

View File

@@ -12,7 +12,7 @@ PKG_INSTALL:=1
PKG_SOURCE_PROTO=git
PKG_SOURCE_URL:=http://public.inteno.se/imonitor.git
PKG_SOURCE_VERSION:=defec6849fb987619fc7fd9295895f4f0b9db5a9
PKG_SOURCE_VERSION:=7ad67946ff8d9701447e720242d42bca7e910a56
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=${PKG_NAME}-${PKG_VERSION}
PKG_MAINTAINER:=Sartura Support for Inteno <support-inteno@sartura.hr>

View File

@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=inteno-netmodes
PKG_VERSION:=0.2.0
PKG_SOURCE_VERSION:=e43701f76ba2a8699df797d88fffc3895a3bfeb8
PKG_SOURCE_VERSION:=fbd7dcfab03df19b3c32675940e0aee708c7cf75
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/netmoded

View File

@@ -12,7 +12,7 @@ start_netmoded() {
procd_open_instance
procd_set_param command $NETMODED
procd_append_param command --verbose debug
procd_append_param command --verbose warning
procd_set_param stdout 1
procd_set_param stderr 1

View File

@@ -0,0 +1,3 @@
#!/bin/sh
netmode-conf "$1" "$2" &

View File

@@ -129,12 +129,12 @@ case "$1" in
json_load "`cat $file`" || write_error "invalid file content"
json_select "wifi_ifaces" || write_error "invalid file content"
start-netmode-conf "$file" "$from_gui" >/dev/null 2>/dev/null
json_init
json_add_string "status" success
json_dump
netmode-conf "$file" "$from_gui" >/dev/null 2>&1 &
;;
esac
;;

7
iop-lla-libs/Config.in Normal file
View File

@@ -0,0 +1,7 @@
menu "Library options"
config IOP_LLA_LIBS_DEBUG
bool "Enable debug support"
default n
endmenu

117
iop-lla-libs/Makefile Normal file
View File

@@ -0,0 +1,117 @@
#
# Copyright (C) 2018 Iopsys
#
include $(TOPDIR)/rules.mk
PKG_NAME:=iop-lla-libs
PKG_VERSION:=1.0.0
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=1b863569ba4ed64d7fdbc4e05d4abf6597aa257e
PKG_SOURCE_URL:=http://public.inteno.se:/iop-lla-libs
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@inteno.se>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/iop-lla-libs
SECTION:=libs
CATEGORY:=Libraries
SUBMENU:=IOPSYS low level libraries
DEPENDS:=+libopenssl
endef
define Package/libwifi
$(call Package/iop-lla-libs)
TITLE:= WiFi library (libwifi)
endef
define Package/libdsl
$(call Package/iop-lla-libs)
TITLE:= XDSL library (libdsl)
endef
define Package/libethernet
$(call Package/iop-lla-libs)
TITLE:= Ethernet library (libethernet)
endef
define Package/iop-lla-libs/config
source "$(SOURCE)/Config.in"
endef
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
TARGET_PLATFORM=BROADCOM
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
TARGET_PLATFORM=BROADCOM
TARGET_CFLAGS +=-DIOPSYS_BROADCOM -DCONFIG_BCM963138
else ifeq ($(CONFIG_TARGET_iopsys_ramips),y)
TARGET_PLATFORM=MEDIATEK
TARGET_CFLAGS +=-DIOPSYS_MEDIATEK
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
TARGET_PLATFORM=MARVELL
TARGET_CFLAGS +=-DIOPSYS_MARVELL
else ifeq ($(CONFIG_TARGET_lantiq_xrx500),y)
TARGET_PLATFORM=LANTIQ
TARGET_CFLAGS +=-DIOPSYS_LANTIQ
else
$(info (UNEXPECTED CONFIG TARGET))
endif
ifdef CONFIG_IOP_LLA_LIBS_DEBUG
TARGET_CFLAGS += -DIOP_LLA_LIBS_DEBUG
endif
subdirs := \
$(if $(CONFIG_PACKAGE_libwifi),libwifi) \
$(if $(CONFIG_PACKAGE_libdsl),libdsl) \
$(if $(CONFIG_PACKAGE_libethernet),libethernet)
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
FPIC="$(FPIC)" \
PLATFORM="$(TARGET_PLATFORM)" \
subdirs="$(subdirs)"
define Build/InstallDev/libwifi
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libwifi/wifi.h $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi.so* $(1)/usr/lib/
endef
define Build/InstallDev/libdsl
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libdsl/xdsl.h $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/libdsl/libdsl.so* $(1)/usr/lib/
endef
define Build/InstallDev
$(foreach dir,$(subdirs),$(call Build/InstallDev/$(dir),$(1),$(2));)
endef
define Package/libwifi/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi.so* $(1)/usr/lib/
endef
define Package/libethernet/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libethernet/libethernet.so* $(1)/usr/lib/
endef
define Package/libdsl/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libdsl/libdsl.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libwifi))
$(eval $(call BuildPackage,libdsl))
$(eval $(call BuildPackage,libethernet))

View File

@@ -32,6 +32,7 @@ CONFIG_PACKAGE_ice-client-netrounds=m
CONFIG_PACKAGE_ice-client-rshell=m
CONFIG_PACKAGE_ice-client-texec=m
CONFIG_PACKAGE_icwmp-curl=y
CONFIG_PACKAGE_imonitor=y
CONFIG_PACKAGE_inbd=y
CONFIG_PACKAGE_inteno-netmodes=y
CONFIG_PACKAGE_iperf-mt=y
@@ -113,7 +114,7 @@ CONFIG_PACKAGE_openssl-util=y
CONFIG_OPENSSL_WITH_COMPRESSION=y
CONFIG_PACKAGE_openvpn-easy-rsa=y
CONFIG_PACKAGE_openvpn-openssl=y
CONFIG_PACKAGE_p910nd=y
# CONFIG_PACKAGE_p910nd is not set
CONFIG_PACKAGE_peripheral_manager=y
CONFIG_PACKAGE_port-management=y
CONFIG_PACKAGE_power-management=y
@@ -130,6 +131,7 @@ CONFIG_PACKAGE_rdnssd=y
CONFIG_PACKAGE_relayd=y
CONFIG_PACKAGE_resolveip=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rulengd=y
CONFIG_PACKAGE_samba3=y
CONFIG_PACKAGE_samba3-nmbd=y
CONFIG_PACKAGE_snmpd=y

View File

@@ -6,6 +6,7 @@ function build_branch_usage {
echo "usage: $0 build_branch <branch> <board> [<customer>]"
echo "example: $0 build_branch devel-new ex400 DEV"
echo "example: $0 build_branch_sysupgrade devel-new ex400 DEV 192.168.1.1 -n"
set +x
exit 1
}
@@ -17,6 +18,7 @@ function branch_exists {
}
function build_branch {
set -x
local branch=$1
local board=$2
local customer=$3
@@ -35,6 +37,7 @@ time {
./iop feeds_update || build_branch_usage
./iop genconfig -c $board $customer || build_branch_usage
make -j 8 || build_branch_usage
set +x
}
}

View File

@@ -14,6 +14,7 @@ build_bcmkernel_consumer() {
tarfile='out/bcm963xx_*_consumer.tar.gz'
[ $(ls -1 $tarfile |wc -l) -ne 1 ] && echo "Too many tar files: '$tarfile'" && return
scp $tarfile $SERVER:$FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz
ssh $SERVER "ln -s $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz $FPATH/bcmopen-$board-$majver.$minver.tar.gz"
rm -f $tarfile
cd $curdir
}
@@ -119,6 +120,8 @@ function generate_tarballs {
target=$(grep CONFIG_TARGET_BOARD .config | cut -d'=' -f2 | tr -d '"')
board=$(grep CONFIG_TARGET_IBOARDID .config | cut -d'=' -f2 | tr -d '"')
profile=$(grep CONFIG_BCM_KERNEL_PROFILE .config | cut -d'=' -f2 | tr -d '"')
majver=$(grep CONFIG_TARGET_VERSION .config | cut -d'=' -f2 | tr -d '"' | cut -f1 -d .)
minver=$(grep CONFIG_TARGET_VERSION .config | cut -d'=' -f2 | tr -d '"' | cut -f2 -d .)
curdir=$(pwd)

View File

@@ -71,7 +71,8 @@ reload ()
local pack
pack=$(get_packages $1)
v "Calling ubus call uci commit for $pack"
for packname in $pack ; do
for packname in $pack
do
ubus call uci commit '{"config":"'$packname'"}'
sleep 1
done
@@ -117,12 +118,10 @@ handle_provisioning() {
mkdir $IUPTEMP
fi
touch $IUPCONFFILES
config_get_bool enabled "$config" enabled "$default"
config_get_bool defaultreset "$config" defaultreset
config_get deckey "$config" deckey
if [ "$enabled" -eq 1 ]; then
if [ "$enabled" -eq 1 ]; then
if [ "$config" == "iup" ]; then
v "Using url received in dhcp options"
config_get url "$config" urliup
@@ -132,25 +131,26 @@ handle_provisioning() {
url=${url//\$MAC/$MAC}
v "Downloading from url \"$url\""
while [ $retry -le $RETRYSTOP ]; do
if [ ${url%%:*} == "tftp" ]; then
tftpfile=${url#*\/\/}
host=${tftpfile%%\/*}
tftpfile=${tftpfile#*\/}
while [ $retry -le $RETRYSTOP ]
do
if [ ${url%%:*} == "tftp" ]; then
tftpfile=${url#*\/\/}
host=${tftpfile%%\/*}
tftpfile=${tftpfile#*\/}
/usr/bin/tftp -l $IUPCONFFILES -r "$tftpfile" -g "$host"
else
get_image "$url" "cat" > $IUPCONFFILES
fi
if [ -s $IUPCONFFILES ]; then
v "Download finished"
retry=$((RETRYSTOP + 1))
else
v "Download failed, retrying in $incsleep seconds"
sleep $incsleep
incsleep=$((incsleep * retry + number))
retry=$((retry+1))
fi
/usr/bin/tftp -l $IUPCONFFILES -r "$tftpfile" -g "$host"
else
get_image "$url" "cat" > $IUPCONFFILES
fi
if [ -s $IUPCONFFILES ]; then
v "Download finished"
retry=$((RETRYSTOP + 1))
else
v "Download failed, retrying in $incsleep seconds"
sleep $incsleep
incsleep=$((incsleep * retry + number))
retry=$((retry+1))
fi
done
fi
if [ ! -s "$IUPCONFFILES" ] && [ "$enabled" -eq 1 ]; then
@@ -170,11 +170,11 @@ handle_Downloaded_file()
KEY=${DECKEY:-$DESKEY}
local img_type
case "$(get_image_type "$IUPCONFFILES")" in
"INTENO") img_type=2 ;;
"CFE+FS") img_type=1 ;;
"FS") img_type=0 ;;
*) img_type="UNKNOWN";;
esac
"INTENO") img_type=2 ;;
"CFE+FS") img_type=1 ;;
"FS") img_type=0 ;;
*) img_type="UNKNOWN";;
esac
if [ "$img_type" == "UNKNOWN" ] ; then
case "$(hexdump -v -n 2 -e '1/1 "%02x"' $IUPCONFFILES)" in
@@ -192,13 +192,15 @@ handle_Downloaded_file()
save_usercfg
cd $IUPTEMP
tar xvzf $IUPCONFFILES
for f in $CONFILESLURP ; do
for f in $CONFILESLURP
do
v "File to be applied $f and config $(cat $f)"
uci -f $f import
done
pack=$(get_packages $CONFILESLURP)
v "Packages to be commited: $pack"
for packname in $pack ; do
for packname in $pack
do
uci commit $packname
done
apply_usercfg
@@ -237,7 +239,7 @@ handle_Downloaded_file()
v "Downloaded file is a firmware, will start reflashing"
if [ "$defaultreset" -eq 1 ]; then
v "Not saving configuration over reflash"
/sbin/sysupgrade -v -n $IUPCONFFILES
/sbin/sysupgrade -v -n $IUPCONFFILES
else
v "Saving configuration over reflash"
/sbin/sysupgrade -v $IUPCONFFILES
@@ -288,14 +290,14 @@ change_to_vlan() {
# loop through the string, remove any word close to "base_dev".
for word in ${wan_if}; do
#echo $word
case $word in
${base_dev}*) # don't add if.
;;
*) new_wan_if=${word}' '${new_wan_if} # add if.
#new_wan_if+=" ${word}" # probably not working in ash.
;;
esac
#echo $word
case $word in
${base_dev}*) # don't add if.
;;
*) new_wan_if=${word}' '${new_wan_if} # add if.
#new_wan_if+=" ${word}" # probably not working in ash.
;;
esac
done
# append new interface.
new_wan_if=${new_wan_if}${base_dev}.${1}
@@ -530,6 +532,7 @@ main()
touch $IUPMD5
fi
local iupurl
local configurl
local software

77
libmobile/Makefile Normal file
View File

@@ -0,0 +1,77 @@
#
# Copyright (C) 2013 Inteno
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=libmobile
PKG_VERSION:=0.1
PKG_SOURCE_VERSION:=62db19a67357473f1f8eb7b36c5c48a0baad55c6
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@public.inteno.se:mobile-api.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/libmobile
CATEGORY:=Libraries
DEPENDS:=+libubox +ubus +libcurl +libxml2
TITLE:=package for 4g dongle stuff
endef
define Package/mdmngr
CATEGORY:=Utilities
DEPENDS:=+libubox +ubus +libmobile
TITLE:=application package for 4g dongle stuff
endef
#define Package/dongle_nl
# CATEGORY:=Utilities
# TITLE:=Dongle Netlink
# URL:=
# DEPENDS:=+libuci +libubus +libblobmsg-json +libnl-genl
#endef
define Package/libmobile/description
a library to communicate with dongles through HTTP requests
endef
define Package/mdmngr/description
application using libmobile to communicate with a 4g dongle
endef
#define Package/dongle_nl/description
# Dongle application handling netlink messages from kernel and sending them out on ubus.
#endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib
$(INSTALL_DATA) $(PKG_BUILD_DIR)/libmobile.h $(1)/usr/include/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/libmobile.so $(1)/usr/lib/
endef
define Package/libmobile/install
$(INSTALL_DIR) $(1)/usr/lib/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libmobile.so $(1)/usr/lib/
endef
define Package/mdmngr/install
$(CP) ./files/* $(1)/ # copy from files to final image
$(INSTALL_DIR) $(1)/sbin # make the dir
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mdmngr $(1)/sbin/ # copy binaries to new directory
endef
#define Package/dongle_nl/install
# $(INSTALL_BIN) $(1)/sbin # make the dir
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_nl $(1)/sbin/
#endef
$(eval $(call BuildPackage,libmobile))
$(eval $(call BuildPackage,mdmngr))
#$(eval $(call BuildPackage,dongle_nl))

View File

@@ -0,0 +1,2 @@
config mdmngr mdmngr
option debug 1

View File

@@ -0,0 +1,8 @@
if echo $DEVICE | grep "eth";then
ubus call dongle refresh
fi
if echo $DEVICE | grep "usb";then
ubus call dongle refresh
fi

View File

@@ -0,0 +1,17 @@
DEV_MOUNTPATH=`echo "$DEVPATH" | cut -d'/' -f 1-7`
JUNK=`echo "$DEVPATH" | cut -d'/' -f 8`
case "$ACTION" in
add)
if [ -z "$JUNK" ];then
#ubus call dongle alert '{"path":"/sys'${DEV_MOUNTPATH}'"}'
ubus call dongle refresh
fi
;;
remove)
ubus call dongle refresh
;;
*)
;;
esac

View File

@@ -0,0 +1,34 @@
#!/bin/sh /etc/rc.common
START=14
STOP=96
USE_PROCD=1
NAME=dongled
start_service() {
procd_open_instance
config_load mdmngr
config_get debug mdmngr debug 0
procd_set_param command "/sbin/mdmngr"
# procd_append_param command --debug "$debug"
if [ "$debug" -gt 0 ]
then
procd_append_param command --debug "$debug"
fi
procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}
service_triggers()
{
procd_add_reload_trigger mdmngr
}
reload_service() {
stop
start
}

View File

@@ -8,10 +8,10 @@
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=0.1
PKG_VERSION:=0.2
PKG_SOURCE_URL:=http://public.inteno.se/libpicoevent
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=c96770b32f66c6e799f8430d8e85d94780358135
PKG_SOURCE_VERSION:=e374bb2e848ab4002d13a02b6375974e155ba37e
PKG_NAME:=libpicoevent
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

View File

@@ -1,2 +1,2 @@
#exec echo "register => |TRANSPORT|://|USER|@|DOMAIN|:$(/usr/bin/voicesec -d /usr/lib/asterisk/voicesec_|PROVIDER|)|AUTHUSER|@|PROVIDER||PORT|/|CONTACT_USER|"
#exec echo 'register => |TRANSPORT|://|USER|@|DOMAIN|:'$(/usr/bin/voicesec -d /usr/lib/asterisk/voicesec_|PROVIDER|)'|AUTHUSER|@|PROVIDER||PORT|/|CONTACT_USER|'

View File

@@ -721,6 +721,10 @@ configure_sip_provider()
config_get transport $1 transport
config_get encryption $1 encryption
# This is a hack to fix security issue #14962
user=${user//"'"/}
authuser=${authuser//"'"/}
if [ -z "$transport" ] ; then
transport="udp"
fi

View File

@@ -1,45 +1,53 @@
#
# Copyright (C) 2015 Inteno
# Copyright (C) 2018 Iopsys
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=wifimngr
PKG_VERSION:=2016-03-29
PKG_VERSION:=1.0.0
PKG_SOURCE_VERSION:=9dae4438b781b0abb7ca9e16c37c0344b16ccf2a
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=fa0c6298ed8e47ac2979d51e0697e41bcaa3a055
PKG_SOURCE_URL:=http://public.inteno.se:/wifimngr
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@inteno.se>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-Wl,-rpath-link=$(STAGING_DIR)/lib
define Package/wifimngr
CATEGORY:=Network
DEPENDS:=+libpthread +libstdcpp +librt +libjson +alljoyn +alljoyn-about +ubus +libuci
TITLE:=WiFi Manager
SECTION:=utils
CATEGORY:=Utilities
TITLE:=WiFi status and configration utility
DEPENDS:=+libwifi +libuci +libubox +ubus +libpthread +libnl-genl
endef
define Package/wifimngr/description
wifimngr manages wireless driver
This package can be used to configure and provide status about
the WiFi modules through UBUS.
It does this in an implementation agnostic manner through APIs
exposed by the libwifi library.
endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3 \
-D_GNU_SOURCE
#MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
FPIC="$(FPIC)"
#define Build/Compile
# +$(MAKE_VARS) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS)
#endef
define Package/wifimngr/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wifimngr $(1)/sbin/
endef
define Package/wifimngr/postinst
/etc/init.d/alljoyn restart
pidof alljoyn-daemon >/dev/null && wifimngr &
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wifimngr $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,wifimngr))