resolve: rename "systemd-resolve-host" tool to simply "systemd-resolve"
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Jan 2016 21:10:00 +0000 (22:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jan 2016 15:00:28 +0000 (16:00 +0100)
The tool resolves way more than just hosts, hence give it a more generic name. This should be safe, as the tool is
currently undocumented. Before we add documentation for it, let's get the name right.

This also moves the C source into src/resolve/ (from src/resolve-host/), since the old name is a misnomer now. Also,
since it links directly to many of the C files of resolved it really belongs into resolved's directory anyway.

.gitignore
Makefile.am
src/resolve-host/Makefile [deleted symlink]
src/resolve/resolve-tool.c [moved from src/resolve-host/resolve-host.c with 100% similarity]

index 549dc83..c045ea4 100644 (file)
 /systemd-remount-api-vfs
 /systemd-remount-fs
 /systemd-reply-password
-/systemd-resolve-host
+/systemd-resolve
 /systemd-resolved
 /systemd-rfkill
 /systemd-run
index fad5ff9..5036a2b 100644 (file)
@@ -5267,8 +5267,8 @@ libnss_resolve_la_LIBADD = \
 lib_LTLIBRARIES += \
        libnss_resolve.la
 
-systemd_resolve_host_SOURCES = \
-       src/resolve-host/resolve-host.c \
+systemd_resolve_SOURCES = \
+       src/resolve/resolve-tool.c \
        src/resolve/resolved-dns-packet.c \
        src/resolve/resolved-dns-packet.h \
        src/resolve/resolved-dns-rr.c \
@@ -5280,15 +5280,15 @@ systemd_resolve_host_SOURCES = \
        src/resolve/dns-type.c \
        src/resolve/dns-type.h
 
-nodist_systemd_resolve_host_SOURCES = \
+nodist_systemd_resolve_SOURCES = \
        src/resolve/dns_type-from-name.h \
        src/resolve/dns_type-to-name.h
 
-systemd_resolve_host_LDADD = \
+systemd_resolve_LDADD = \
        libshared.la
 
 rootlibexec_PROGRAMS += \
-       systemd-resolve-host
+       systemd-resolve
 
 tests += \
        test-dns-domain \
diff --git a/src/resolve-host/Makefile b/src/resolve-host/Makefile
deleted file mode 120000 (symlink)
index d0b0e8e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../Makefile
\ No newline at end of file