[usb-moded] Minor release 0.80.6

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[dbus] Do assign fallback mode correctly to avoid corruption

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[usb-moded] Minor release 0.80.7

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Add build support for openembedded.

To build, copy the files into a usb-moded sub-dir in the meta tree,
and build with # bitbake usb-moded

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[rpm] ghost the udhcpd.conf link Contributes: JB#22780

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[network] main config file interface setting overrides dyn-mode setting

When setting a network interface in the main config file this should
be an override for the one set in the dynamic modes. Found thanks to the
feedback of pigzz

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[usb-moded] When starting print version

To help identify issues and know what version/bugs we might be dealing
with it helps to print the version on start.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[systemd] Claim DBUS Busname. Contributes: JB#24120

Systemd documentation recommends to use Busname= for all
programs that claim a dbus name.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[network] Silence interface checks

Avoid outputting unneeded cruft on the console

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[network] Remove erronous use of const, fix potential memory leak

Using const wrongly, removing to make code more readable and sensible.
Also we do not want to leak the wifi service when connection to internet
sharing mode.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[network] More work on getting connman to handle the usb gadget config

Close to working connman usb gadget handling code. Needs work still though.
Keeping disabled for the time being.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[clean-up] Remove some erronous uses of const

Not a real issue but the code is more readable and it removes the need for
casting by removing some const stuff that is not needed.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[clean-up] Remove more const stuff

Avoid unneeded casting.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[security] Build with read-only relocation

For extra security enable read-only ELF relocation sections.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[security] Use -fPIE

Would make sense to produce a position independent executable on targets
that support it.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[clean-up] Remove still some more unneeded casting

Hopefully the last bits of unneeded casting and faulty use of const
are now gone.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Start adding libusbg support

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[libusbg] Clean-up configuration and make libusbg module compile

configure.ac is cleaned up and now also can selectivly use libusbg
or libkmod. Also linker flags are now shown after the configure run.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>