mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 12:30:07 +01:00
helpers: move helper programs to the same directory
Create a new 'nm-helpers' directory for all the helper programs, to avoid having too many subdirs in the src directory.
This commit is contained in:
parent
2739850b78
commit
6c1e04fc61
9 changed files with 40 additions and 29 deletions
|
|
@ -103,8 +103,7 @@ if enable_nmtui
|
||||||
endif
|
endif
|
||||||
subdir('nmcli')
|
subdir('nmcli')
|
||||||
subdir('nm-dispatcher')
|
subdir('nm-dispatcher')
|
||||||
subdir('nm-priv-helper')
|
subdir('nm-helpers')
|
||||||
subdir('nm-daemon-helper')
|
|
||||||
subdir('nm-online')
|
subdir('nm-online')
|
||||||
if enable_nmtui
|
if enable_nmtui
|
||||||
subdir('nmtui')
|
subdir('nmtui')
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
nm-daemon-helper
|
|
||||||
================
|
|
||||||
|
|
||||||
A internal helper application that is spawned by NetworkManager
|
|
||||||
to perform certain actions.
|
|
||||||
|
|
||||||
Currently all it does is doing a reverse DNS lookup, which
|
|
||||||
cannot be done by NetworkManager because the operation requires
|
|
||||||
to reconfigure the libc resolver (which is a process-wide operation).
|
|
||||||
|
|
||||||
This is not directly useful to the user.
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
executable(
|
|
||||||
'nm-daemon-helper',
|
|
||||||
'nm-daemon-helper.c',
|
|
||||||
include_directories : [
|
|
||||||
src_inc,
|
|
||||||
top_inc,
|
|
||||||
],
|
|
||||||
link_with: [
|
|
||||||
libnm_std_aux,
|
|
||||||
],
|
|
||||||
link_args: ldflags_linker_script_binary,
|
|
||||||
link_depends: linker_script_binary,
|
|
||||||
install: true,
|
|
||||||
install_dir: nm_libexecdir,
|
|
||||||
)
|
|
||||||
|
|
@ -1,5 +1,23 @@
|
||||||
|
nm-helpers
|
||||||
|
==========
|
||||||
|
|
||||||
|
This directory contains stand-alone helper programs used by various
|
||||||
|
components.
|
||||||
|
|
||||||
|
nm-daemon-helper
|
||||||
|
----------------
|
||||||
|
|
||||||
|
A internal helper application that is spawned by NetworkManager
|
||||||
|
to perform certain actions.
|
||||||
|
|
||||||
|
Currently all it does is doing a reverse DNS lookup, which
|
||||||
|
cannot be done by NetworkManager because the operation requires
|
||||||
|
to reconfigure the libc resolver (which is a process-wide operation).
|
||||||
|
|
||||||
|
This is not directly useful to the user.
|
||||||
|
|
||||||
nm-priv-helper
|
nm-priv-helper
|
||||||
==============
|
--------------
|
||||||
|
|
||||||
This is a D-Bus activatable, exit-on-idle service, which
|
This is a D-Bus activatable, exit-on-idle service, which
|
||||||
provides an internal API to NetworkManager daemon.
|
provides an internal API to NetworkManager daemon.
|
||||||
|
|
@ -1,5 +1,25 @@
|
||||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
|
|
||||||
|
# nm-daemon-helper
|
||||||
|
|
||||||
|
executable(
|
||||||
|
'nm-daemon-helper',
|
||||||
|
'nm-daemon-helper.c',
|
||||||
|
include_directories : [
|
||||||
|
src_inc,
|
||||||
|
top_inc,
|
||||||
|
],
|
||||||
|
link_with: [
|
||||||
|
libnm_std_aux,
|
||||||
|
],
|
||||||
|
link_args: ldflags_linker_script_binary,
|
||||||
|
link_depends: linker_script_binary,
|
||||||
|
install: true,
|
||||||
|
install_dir: nm_libexecdir,
|
||||||
|
)
|
||||||
|
|
||||||
|
# nm-priv-helper
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
input: 'org.freedesktop.nm_priv_helper.service.in',
|
input: 'org.freedesktop.nm_priv_helper.service.in',
|
||||||
output: '@BASENAME@',
|
output: '@BASENAME@',
|
||||||
Loading…
Add table
Reference in a new issue