NetworkManager/libnm-util
Thomas Haller ea6648cea1 all: replace uses of inet_aton() and friends
rpmdiff complains about uses of inet_aton, inet_makeaddr, inet_netof,
inet_ntoa under the IPv6 section:

   usr/sbin/NetworkManager on aarch64 i686 x86_64 ppc ppc64 ppc64le s390 s390x uses function inet_aton, which may impact IPv6 support

I think the warning is bogus, but refactor our code to avoid it.

Note that systemd code still uses them, so it don't avoid the rpmdiff
warning. But let's not diverge our systemd import from upstream for this.

- for NMSettingBond:validate_ip() also avoid g_strsplit_set() which
  allocates a full strv. Instead, we can do with one g_strdup().

- for test-resolvconf-capture.c, replace the functions with macros.
  Macros should be avoided usually, but for test asserts they are
  more convenient as they preserved the __FILE__:__LINE__ of where
  the assertion fails.
2017-06-02 14:07:10 +02:00
..
tests build: merge "libnm-util/tests/Makefile.am" into toplevel Makefile 2016-10-21 17:37:57 +02:00
COPYING doc: fix FSF address (bgo #575625) 2009-09-10 21:03:30 -04:00
crypto.c crypto: don't try to decrypt PKCS#8 key if no password is supplied 2016-09-23 18:05:54 +02:00
crypto.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
crypto_gnutls.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
crypto_nss.c all: use "unsigned" instead of "unsigned int" 2017-03-14 11:26:29 +01:00
libnm-util.pc.in libnm-glib,libnm-util: -glib requires -util, -util requires NetworkManager 2013-03-14 10:23:19 -05:00
libnm-util.ver libnm-util: add non-failing versions of nm_connection_new_from_hash() and replace-settings 2016-03-29 11:56:27 +02:00
NetworkManager.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
NetworkManagerVPN.h dbus: remove the telepathy annotations 2016-04-05 14:37:51 +02:00
nm-connection.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-connection.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-dbus-glib-types.h core: final gdbus porting 2015-08-10 09:41:26 -04:00
nm-gvaluearray-compat.h nm-glib: remove G_GNUC_EXTENSION 2016-06-17 12:25:15 +02:00
nm-param-spec-specialized.c build: don't link against libm.so 2017-03-23 19:06:02 +01:00
nm-param-spec-specialized.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
nm-setting-8021x.c all: fix typos in documentation and comments 2017-03-17 15:11:20 +01:00
nm-setting-8021x.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-adsl.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-adsl.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bluetooth.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-bluetooth.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-bond.c all: replace uses of inet_aton() and friends 2017-06-02 14:07:10 +02:00
nm-setting-bond.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bridge-port.c settings: drop redundant range check from NMSettingBridgePort::verify() 2017-02-06 19:27:21 +01:00
nm-setting-bridge-port.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bridge.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-bridge.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-cdma.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-cdma.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-connection.c all: fix typo 'entires' -> 'entries' 2017-05-05 19:14:19 +02:00
nm-setting-connection.h libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-dcb.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting-dcb.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-generic.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting-generic.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-gsm.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-gsm.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-infiniband.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-infiniband.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-ip4-config.c all: fix typos in documentation, translated strings and comments 2017-05-28 17:33:37 +02:00
nm-setting-ip4-config.h libnm-util: add ipv4.dhcp-timeout property 2015-10-06 14:16:55 +02:00
nm-setting-ip6-config.c all: fix typos in documentation, translated strings and comments 2017-05-28 17:33:37 +02:00
nm-setting-ip6-config.h libnm: add NMSettingIPConfig:route-metric 2014-11-07 15:19:06 +01:00
nm-setting-olpc-mesh.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-olpc-mesh.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-ppp.c all: fix typos in documentation, translated strings and comments 2017-05-28 17:33:37 +02:00
nm-setting-ppp.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-pppoe.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-pppoe.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-private.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
nm-setting-serial.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-serial.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-team-port.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-team-port.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-team.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-team.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-template.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-template.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-vlan.c all: fix typo 'entires' -> 'entries' 2017-05-05 19:14:19 +02:00
nm-setting-vlan.h vlan: (all) add VLAN MVRP flag 2015-10-27 17:17:05 +01:00
nm-setting-vpn.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-vpn.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wimax.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-wimax.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wired.c all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-setting-wired.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wireless-security.c all: fix typos in documentation and comments 2017-03-17 15:11:20 +01:00
nm-setting-wireless-security.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wireless.c all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-setting-wireless.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-utils-private.h all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-utils.c all: cleanup switch fall-through comments for -Wimplicit-fallthrough warning 2017-02-06 16:45:20 +01:00
nm-utils.h libnm: add function nm_utils_file_search_in_paths() 2014-12-05 11:07:42 +01:00
nm-value-transforms.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-version.h release: bump version to 1.9.0 (development) 2017-03-28 16:34:22 +02:00