callouts/dispatcher: rename directory callouts

Originally, the "callouts" directory contained various programs
that NetworkManager would call, for example the dhcp helper.

For a while, it only contains nm-dispatcher. Thus rename the directory
to indicate that it's for dispatcher.
This commit is contained in:
Thomas Haller
2016-10-12 11:56:33 +02:00
parent 8b660f2456
commit f42466215a
19 changed files with 24 additions and 19 deletions

15
.gitignore vendored
View File

@@ -49,11 +49,11 @@ test-*.trs
/conftest.[ch] /conftest.[ch]
/conftest.o.* /conftest.o.*
/callouts/nm-avahi-autoipd.action /dispatcher/nm-avahi-autoipd.action
/callouts/nm-dispatcher /dispatcher/nm-dispatcher
/callouts/nmdbus-dispatcher.* /dispatcher/nmdbus-dispatcher.*
/callouts/org.freedesktop.nm_dispatcher.service /dispatcher/org.freedesktop.nm_dispatcher.service
/callouts/tests/test-dispatcher-envp /dispatcher/tests/test-dispatcher-envp
/clients/cli/nmcli /clients/cli/nmcli
/clients/cli/settings-docs.c /clients/cli/settings-docs.c
@@ -276,6 +276,11 @@ test-*.trs
# but they were on older versions. Thus keep ignoring them # but they were on older versions. Thus keep ignoring them
# otherwise when switching branches these untracked files show # otherwise when switching branches these untracked files show
# up. # up.
/callouts/nm-avahi-autoipd.action
/callouts/nm-dispatcher
/callouts/nmdbus-dispatcher.*
/callouts/org.freedesktop.nm_dispatcher.service
/callouts/tests/test-dispatcher-envp
/include/ /include/
/initscript/Slackware/rc.networkmanager /initscript/Slackware/rc.networkmanager
/initscript/*/[Nn]etwork[Mm]anager /initscript/*/[Nn]etwork[Mm]anager

View File

@@ -7,7 +7,7 @@ SUBDIRS = \
libnm-core \ libnm-core \
libnm \ libnm \
src \ src \
callouts \ dispatcher \
clients \ clients \
tools \ tools \
policy \ policy \

View File

@@ -1184,8 +1184,8 @@ libnm-glib/libnm-glib.pc
libnm-glib/libnm-glib-vpn.pc libnm-glib/libnm-glib-vpn.pc
libnm-glib/Makefile libnm-glib/Makefile
libnm-glib/tests/Makefile libnm-glib/tests/Makefile
callouts/Makefile dispatcher/Makefile
callouts/tests/Makefile dispatcher/tests/Makefile
tools/Makefile tools/Makefile
clients/Makefile clients/Makefile
clients/cli/Makefile clients/cli/Makefile

View File

@@ -5,8 +5,8 @@ AM_CPPFLAGS = \
-I$(top_builddir)/shared \ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \ -I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \ -I$(top_builddir)/libnm-core \
-I$(top_srcdir)/callouts \ -I$(top_srcdir)/dispatcher \
-I$(top_builddir)/callouts \ -I$(top_builddir)/dispatcher \
-DNETWORKMANAGER_COMPILATION \ -DNETWORKMANAGER_COMPILATION \
-DSRCDIR=\"$(abs_srcdir)\" \ -DSRCDIR=\"$(abs_srcdir)\" \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
@@ -21,7 +21,7 @@ test_dispatcher_envp_SOURCES = \
test_dispatcher_envp_LDADD = \ test_dispatcher_envp_LDADD = \
$(top_builddir)/libnm/libnm.la \ $(top_builddir)/libnm/libnm.la \
$(top_builddir)/callouts/libnm-dispatcher-core.la \ $(top_builddir)/dispatcher/libnm-dispatcher-core.la \
$(GLIB_LIBS) $(GLIB_LIBS)
############################################################################### ###############################################################################

View File

@@ -17,7 +17,7 @@ PATH=
CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311 CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311
CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5 CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5
CONNECTION_ID=Random Connection CONNECTION_ID=Random Connection
CONNECTION_FILENAME=/callouts/tests/dispatcher-connectivity-full CONNECTION_FILENAME=/dispatcher/tests/dispatcher-connectivity-full
DEVICE_IFACE=wlan0 DEVICE_IFACE=wlan0
DEVICE_IP_IFACE=wlan0 DEVICE_IP_IFACE=wlan0
CONNECTIVITY_STATE=FULL CONNECTIVITY_STATE=FULL

View File

@@ -17,6 +17,6 @@ PATH=
CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311 CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311
CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5 CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5
CONNECTION_ID=Random Connection CONNECTION_ID=Random Connection
CONNECTION_FILENAME=/callouts/tests/dispatcher-connectivity-unknown CONNECTION_FILENAME=/dispatcher/tests/dispatcher-connectivity-unknown
DEVICE_IFACE=wlan0 DEVICE_IFACE=wlan0
DEVICE_IP_IFACE=wlan0 DEVICE_IP_IFACE=wlan0

View File

@@ -16,7 +16,7 @@ PATH=
CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311 CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311
CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5 CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5
CONNECTION_ID=Random Connection CONNECTION_ID=Random Connection
CONNECTION_FILENAME=/callouts/tests/dispatcher-down CONNECTION_FILENAME=/dispatcher/tests/dispatcher-down
DEVICE_IFACE=wlan0 DEVICE_IFACE=wlan0
DEVICE_IP_IFACE=wlan0 DEVICE_IP_IFACE=wlan0

View File

@@ -25,7 +25,7 @@ gateway=0.0.0.0
PATH= PATH=
CONNECTION_UUID=92bbc2fb-7304-46be-8ebb-6093dbe19a6a CONNECTION_UUID=92bbc2fb-7304-46be-8ebb-6093dbe19a6a
CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5 CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5
CONNECTION_FILENAME=/callouts/tests/dispatcher-external CONNECTION_FILENAME=/dispatcher/tests/dispatcher-external
CONNECTION_ID=virbr0 CONNECTION_ID=virbr0
CONNECTION_EXTERNAL=1 CONNECTION_EXTERNAL=1
DEVICE_IFACE=virbr0 DEVICE_IFACE=virbr0

View File

@@ -39,7 +39,7 @@ PATH=
CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311 CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311
CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5 CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5
CONNECTION_ID=Random Connection CONNECTION_ID=Random Connection
CONNECTION_FILENAME=/callouts/tests/dispatcher-up CONNECTION_FILENAME=/dispatcher/tests/dispatcher-up
DEVICE_IFACE=wlan0 DEVICE_IFACE=wlan0
DEVICE_IP_IFACE=wlan0 DEVICE_IP_IFACE=wlan0
PROXY_PAC_URL=http://networkmanager.com/proxy.pac PROXY_PAC_URL=http://networkmanager.com/proxy.pac

View File

@@ -39,7 +39,7 @@ PATH=
CONNECTION_UUID=355653c0-34d3-4777-ad25-f9a498b7ef8e CONNECTION_UUID=355653c0-34d3-4777-ad25-f9a498b7ef8e
CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5 CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5
CONNECTION_ID=Random Connection CONNECTION_ID=Random Connection
CONNECTION_FILENAME=/callouts/tests/dispatcher-vpn-down CONNECTION_FILENAME=/dispatcher/tests/dispatcher-vpn-down
DEVICE_IFACE=wlan0 DEVICE_IFACE=wlan0
DEVICE_IP_IFACE=tun0 DEVICE_IP_IFACE=tun0
PROXY_PAC_URL=http://networkmanager.com/proxy.pac PROXY_PAC_URL=http://networkmanager.com/proxy.pac

View File

@@ -39,7 +39,7 @@ PATH=
CONNECTION_UUID=355653c0-34d3-4777-ad25-f9a498b7ef8e CONNECTION_UUID=355653c0-34d3-4777-ad25-f9a498b7ef8e
CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5 CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5
CONNECTION_ID=Random Connection CONNECTION_ID=Random Connection
CONNECTION_FILENAME=/callouts/tests/dispatcher-vpn-up CONNECTION_FILENAME=/dispatcher/tests/dispatcher-vpn-up
DEVICE_IFACE=wlan0 DEVICE_IFACE=wlan0
DEVICE_IP_IFACE=tun0 DEVICE_IP_IFACE=tun0
PROXY_PAC_URL=http://networkmanager.com/proxy.pac PROXY_PAC_URL=http://networkmanager.com/proxy.pac

View File

@@ -87,7 +87,7 @@ parse_main (GKeyFile *kf,
g_variant_new_object_path ("/org/freedesktop/NetworkManager/Connections/5")); g_variant_new_object_path ("/org/freedesktop/NetworkManager/Connections/5"));
/* Strip out the non-fixed portion of the filename */ /* Strip out the non-fixed portion of the filename */
filename = strstr (filename, "/callouts"); filename = strstr (filename, "/dispatcher");
g_variant_builder_add (&props, "{sv}", g_variant_builder_add (&props, "{sv}",
"filename", "filename",
g_variant_new_string (filename)); g_variant_new_string (filename));