mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
[doc,manpage] name manpages versioned
if WITH_BINARY_VERSIONING is activated also version the manpages to match the binary names
This commit is contained in:
@@ -3,4 +3,9 @@ set(DEPS
|
|||||||
sdl-freerdp-examples.1.xml
|
sdl-freerdp-examples.1.xml
|
||||||
sdl-freerdp-envvar.1.xml
|
sdl-freerdp-envvar.1.xml
|
||||||
)
|
)
|
||||||
generate_and_install_freerdp_man_from_xml(sdl-freerdp.1 ${DEPS})
|
|
||||||
|
set(MANPAGE_NAME ${PROJECT_NAME})
|
||||||
|
if (WITH_BINARY_VERSIONING)
|
||||||
|
set(MANPAGE_NAME ${PROJECT_NAME}${PROJECT_VERSION_MAJOR})
|
||||||
|
endif()
|
||||||
|
generate_and_install_freerdp_man_from_xml(${PROJECT_NAME}.1 ${MANPAGE_NAME}.1 ${DEPS})
|
||||||
|
|||||||
@@ -17,21 +17,21 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|||||||
</author>
|
</author>
|
||||||
</refentryinfo>
|
</refentryinfo>
|
||||||
<refmeta>
|
<refmeta>
|
||||||
<refentrytitle>sdl-freerdp</refentrytitle>
|
<refentrytitle>@MANPAGE_NAME@</refentrytitle>
|
||||||
<manvolnum>1</manvolnum>
|
<manvolnum>1</manvolnum>
|
||||||
<refmiscinfo class="source">freerdp</refmiscinfo>
|
<refmiscinfo class="source">freerdp</refmiscinfo>
|
||||||
<refmiscinfo class="manual">sdl-freerdp</refmiscinfo>
|
<refmiscinfo class="manual">@MANPAGE_NAME@</refmiscinfo>
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><application>sdl-freerdp</application></refname>
|
<refname><application>@MANPAGE_NAME@</application></refname>
|
||||||
<refpurpose>FreeRDP X11 client</refpurpose>
|
<refpurpose>FreeRDP SDL client</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<refsynopsisdivinfo>
|
<refsynopsisdivinfo>
|
||||||
<date>@MAN_TODAY@</date>
|
<date>@MAN_TODAY@</date>
|
||||||
</refsynopsisdivinfo>
|
</refsynopsisdivinfo>
|
||||||
<para>
|
<para>
|
||||||
<command>sdl-freerdp</command> [file] [options] [/v:server[:port]]
|
<command>@MANPAGE_NAME@</command> [file] [options] [/v:server[:port]]
|
||||||
</para>
|
</para>
|
||||||
</refsynopsisdiv>
|
</refsynopsisdiv>
|
||||||
<refsect1>
|
<refsect1>
|
||||||
@@ -40,9 +40,10 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|||||||
</refsect1info>
|
</refsect1info>
|
||||||
<title>DESCRIPTION</title>
|
<title>DESCRIPTION</title>
|
||||||
<para>
|
<para>
|
||||||
<command>sdl-freerdp</command> is an X11 Remote Desktop Protocol (RDP)
|
<command>@MANPAGE_NAME@</command> is an SDL Remote Desktop Protocol (RDP)
|
||||||
client which is part of the FreeRDP project. An RDP server is built-in
|
client which is part of the FreeRDP project. An RDP server is built-in
|
||||||
to many editions of Windows. Alternative servers included xrdp and VRDP (VirtualBox).
|
to many editions of Windows. Alternative servers included ogon, gnome-remote-desktop,
|
||||||
|
xrdp and VRDP (VirtualBox).
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
|||||||
@@ -48,13 +48,15 @@ list (APPEND ${MODULE_PREFIX}_LIBS freerdp-client freerdp uwac)
|
|||||||
|
|
||||||
add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
|
add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
|
||||||
|
|
||||||
|
set(MANPAGE_NAME ${MODULE_NAME})
|
||||||
if (WITH_BINARY_VERSIONING)
|
if (WITH_BINARY_VERSIONING)
|
||||||
set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${MODULE_NAME}${FREERDP_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${MODULE_NAME}${FREERDP_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
||||||
|
set(MANPAGE_NAME ${MODULE_NAME}${FREERDP_API_VERSION})
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
|
target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
|
||||||
|
|
||||||
install(TARGETS ${MODULE_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT client)
|
install(TARGETS ${MODULE_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT client)
|
||||||
|
|
||||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "Client/Wayland")
|
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "Client/Wayland")
|
||||||
configure_file(wlfreerdp.1.in ${CMAKE_CURRENT_BINARY_DIR}/wlfreerdp.1)
|
configure_file(wlfreerdp.1.in ${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.1)
|
||||||
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/wlfreerdp.1 1)
|
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.1 1)
|
||||||
|
|||||||
@@ -2,19 +2,19 @@
|
|||||||
\\$2 \(laURL: \\$1 \(ra\\$3
|
\\$2 \(laURL: \\$1 \(ra\\$3
|
||||||
..
|
..
|
||||||
.if \n[.g] .mso www.tmac
|
.if \n[.g] .mso www.tmac
|
||||||
.TH wlfreerdp 1 2017-01-12 "@FREERDP_VERSION_FULL@" "FreeRDP"
|
.TH @MANPAGE_NAME@ 1 2017-01-12 "@FREERDP_VERSION_FULL@" "FreeRDP"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wlfreerdp \- FreeRDP wayland client
|
@MANPAGE_NAME@ \- FreeRDP wayland client
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B wlfreerdp
|
.B @MANPAGE_NAME@
|
||||||
[file]
|
[file]
|
||||||
[\fIdefault_client_options\fP]
|
[\fIdefault_client_options\fP]
|
||||||
[\fB/v\fP:<server>[:port]]
|
[\fB/v\fP:<server>[:port]]
|
||||||
[\fB/version\fP]
|
[\fB/version\fP]
|
||||||
[\fB/help\fP]
|
[\fB/help\fP]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B wlfreerdp
|
.B @MANPAGE_NAME@
|
||||||
is a wayland Remote Desktop Protocol (RDP) client which is part of the FreeRDP project. A RDP server is built-in to many editions of Windows. Alternative servers included xrdp and VRDP (VirtualBox).
|
is a wayland Remote Desktop Protocol (RDP) client which is part of the FreeRDP project. A RDP server is built-in to many editions of Windows.. Alternative servers included ogon, gnome-remote-desktop, xrdp and VRDP (VirtualBox).
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
The wayland client also supports a lot of the \fIdefault client options\fP which are not described here. For details on those see the xfreerdp(1) man page.
|
The wayland client also supports a lot of the \fIdefault client options\fP which are not described here. For details on those see the xfreerdp(1) man page.
|
||||||
.IP \fB/v:\fP\fI<server>[:port]\fP
|
.IP \fB/v:\fP\fI<server>[:port]\fP
|
||||||
|
|||||||
@@ -3,4 +3,9 @@ set(DEPS
|
|||||||
xfreerdp-examples.1.xml
|
xfreerdp-examples.1.xml
|
||||||
xfreerdp-envvar.1.xml
|
xfreerdp-envvar.1.xml
|
||||||
)
|
)
|
||||||
generate_and_install_freerdp_man_from_xml(xfreerdp.1 ${DEPS})
|
|
||||||
|
set(MANPAGE_NAME ${PROJECT_NAME})
|
||||||
|
if (WITH_BINARY_VERSIONING)
|
||||||
|
set(MANPAGE_NAME ${PROJECT_NAME}${PROJECT_VERSION_MAJOR})
|
||||||
|
endif()
|
||||||
|
generate_and_install_freerdp_man_from_xml(${PROJECT_NAME}.1 ${MANPAGE_NAME}.1 ${DEPS})
|
||||||
|
|||||||
@@ -17,13 +17,13 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|||||||
</author>
|
</author>
|
||||||
</refentryinfo>
|
</refentryinfo>
|
||||||
<refmeta>
|
<refmeta>
|
||||||
<refentrytitle>xfreerdp</refentrytitle>
|
<refentrytitle>@MANPAGE_NAME@</refentrytitle>
|
||||||
<manvolnum>1</manvolnum>
|
<manvolnum>1</manvolnum>
|
||||||
<refmiscinfo class="source">freerdp</refmiscinfo>
|
<refmiscinfo class="source">freerdp</refmiscinfo>
|
||||||
<refmiscinfo class="manual">xfreerdp</refmiscinfo>
|
<refmiscinfo class="manual">@MANPAGE_NAME@</refmiscinfo>
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><application>xfreerdp</application></refname>
|
<refname><application>@MANPAGE_NAME@</application></refname>
|
||||||
<refpurpose>FreeRDP X11 client</refpurpose>
|
<refpurpose>FreeRDP X11 client</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
@@ -31,7 +31,7 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|||||||
<date>@MAN_TODAY@</date>
|
<date>@MAN_TODAY@</date>
|
||||||
</refsynopsisdivinfo>
|
</refsynopsisdivinfo>
|
||||||
<para>
|
<para>
|
||||||
<command>xfreerdp</command> [file] [options] [/v:server[:port]]
|
<command>@MANPAGE_NAME@</command> [file] [options] [/v:server[:port]]
|
||||||
</para>
|
</para>
|
||||||
</refsynopsisdiv>
|
</refsynopsisdiv>
|
||||||
<refsect1>
|
<refsect1>
|
||||||
@@ -40,9 +40,10 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|||||||
</refsect1info>
|
</refsect1info>
|
||||||
<title>DESCRIPTION</title>
|
<title>DESCRIPTION</title>
|
||||||
<para>
|
<para>
|
||||||
<command>xfreerdp</command> is an X11 Remote Desktop Protocol (RDP)
|
<command>@MANPAGE_NAME@</command> is an X11 Remote Desktop Protocol (RDP)
|
||||||
client which is part of the FreeRDP project. An RDP server is built-in
|
client which is part of the FreeRDP project. An RDP server is built-in
|
||||||
to many editions of Windows. Alternative servers included xrdp and VRDP (VirtualBox).
|
to many editions of Windows. Alternative servers included ogon, gnome-remote-desktop,
|
||||||
|
xrdp and VRDP (VirtualBox).
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ function(install_freerdp_man manpage section)
|
|||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(generate_and_install_freerdp_man_from_xml manpage dependencies)
|
function(generate_and_install_freerdp_man_from_xml template manpage dependencies)
|
||||||
if(WITH_MANPAGES)
|
if(WITH_MANPAGES)
|
||||||
find_program(XSLTPROC_EXECUTABLE NAMES xsltproc REQUIRED)
|
find_program(XSLTPROC_EXECUTABLE NAMES xsltproc REQUIRED)
|
||||||
if (NOT DOCBOOKXSL_FOUND)
|
if (NOT DOCBOOKXSL_FOUND)
|
||||||
@@ -20,7 +20,7 @@ function(generate_and_install_freerdp_man_from_xml manpage dependencies)
|
|||||||
|
|
||||||
TODAY(MAN_TODAY)
|
TODAY(MAN_TODAY)
|
||||||
|
|
||||||
configure_file(${manpage}.xml.in ${manpage}.xml @ONLY IMMEDIATE)
|
configure_file(${template}.xml.in ${manpage}.xml @ONLY IMMEDIATE)
|
||||||
|
|
||||||
set(dep_SRC)
|
set(dep_SRC)
|
||||||
foreach(dep ${dependencies})
|
foreach(dep ${dependencies})
|
||||||
@@ -31,7 +31,7 @@ function(generate_and_install_freerdp_man_from_xml manpage dependencies)
|
|||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${manpage}
|
OUTPUT ${manpage}
|
||||||
COMMAND ${CMAKE_BINARY_DIR}/client/common/man/generate_argument_docbook
|
COMMAND ${CMAKE_BINARY_DIR}/client/common/man/generate_argument_docbook
|
||||||
COMMAND ${XSLTPROC_EXECUTABLE} -v --path ${CMAKE_CURRENT_SOURCE_DIR} ${DOCBOOKXSL_DIR}/manpages/docbook.xsl ${manpage}.xml
|
COMMAND ${XSLTPROC_EXECUTABLE} --path ${CMAKE_CURRENT_SOURCE_DIR} ${DOCBOOKXSL_DIR}/manpages/docbook.xsl ${manpage}.xml
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/${manpage}.xml
|
${CMAKE_CURRENT_BINARY_DIR}/${manpage}.xml
|
||||||
@@ -42,7 +42,7 @@ function(generate_and_install_freerdp_man_from_xml manpage dependencies)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
${manpage}
|
${manpage}
|
||||||
${manpage}.xml
|
${manpage}.xml
|
||||||
${manpage}.xml.in
|
${template}.xml.in
|
||||||
generate_argument_docbook
|
generate_argument_docbook
|
||||||
)
|
)
|
||||||
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${manpage} 1)
|
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${manpage} 1)
|
||||||
|
|||||||
@@ -39,8 +39,13 @@ add_executable(${APP_NAME}
|
|||||||
${PROXY_APP_SRCS}
|
${PROXY_APP_SRCS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(MANPAGE_NAME ${APP_NAME}.1)
|
||||||
if (WITH_BINARY_VERSIONING)
|
if (WITH_BINARY_VERSIONING)
|
||||||
set_target_properties(${APP_NAME} PROPERTIES OUTPUT_NAME "${APP_NAME}${FREERDP_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
set_target_properties(${APP_NAME}
|
||||||
|
PROPERTIES
|
||||||
|
OUTPUT_NAME "${APP_NAME}${FREERDP_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}"
|
||||||
|
)
|
||||||
|
set(MANPAGE_NAME ${APP_NAME}${FREERDP_API_VERSION}.1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${APP_NAME} ${MODULE_NAME})
|
target_link_libraries(${APP_NAME} ${MODULE_NAME})
|
||||||
@@ -51,5 +56,5 @@ endif()
|
|||||||
|
|
||||||
set_property(TARGET ${APP_NAME} PROPERTY FOLDER "Server/proxy")
|
set_property(TARGET ${APP_NAME} PROPERTY FOLDER "Server/proxy")
|
||||||
|
|
||||||
configure_file(${APP_NAME}.1.in ${CMAKE_CURRENT_BINARY_DIR}/${APP_NAME}.1)
|
configure_file(${APP_NAME}.1.in ${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME})
|
||||||
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${APP_NAME}.1 1)
|
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME} 1)
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
\\$2 \(laURL: \\$1 \(ra\\$3
|
\\$2 \(laURL: \\$1 \(ra\\$3
|
||||||
..
|
..
|
||||||
.if \n[.g] .mso www.tmac
|
.if \n[.g] .mso www.tmac
|
||||||
.TH freerdp\-proxy 1 2023-12-14 "@FREERDP_VERSION_FULL@" "FreeRDP"
|
.TH @MANPAGE_NAME@ 1 2023-12-14 "@FREERDP_VERSION_FULL@" "FreeRDP"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
freerdp\-proxy \- A server binary allowing MITM proxying of RDP connections
|
@MANPAGE_NAME@ \- A server binary allowing MITM proxying of RDP connections
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B freerdp\-proxy
|
.B @MANPAGE_NAME@
|
||||||
[\fB-h\fP]
|
[\fB-h\fP]
|
||||||
[\fB--help\fP]
|
[\fB--help\fP]
|
||||||
[\fB--buildconfig\fP]
|
[\fB--buildconfig\fP]
|
||||||
@@ -15,12 +15,16 @@ freerdp\-proxy \- A server binary allowing MITM proxying of RDP connections
|
|||||||
[\fB--version\fP]
|
[\fB--version\fP]
|
||||||
[\fB<config file>\fP]
|
[\fB<config file>\fP]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B freerdp\-proxy
|
.B @MANPAGE_NAME@
|
||||||
can be used to proxy a RDP connection between a target server and connecting clients.
|
can be used to proxy a RDP connection between a target server and connecting clients.
|
||||||
Possible usage scenarios are:
|
Possible usage scenarios are:
|
||||||
* Proxying outdated RDP servers behind a (more secure) proxy
|
.IP Proxying
|
||||||
* Protocol analysis
|
Connect outdated/insecure RDP servers from behind a (more secure) proxy
|
||||||
* MITM proxy for
|
.IP Analysis
|
||||||
|
Allow detailed protocol analysis of (many) unknown protocol features (channels)
|
||||||
|
.IP Inspection
|
||||||
|
MITM proxy for session inspection and recording
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.IP -h,--help
|
.IP -h,--help
|
||||||
Display a help text explaining usage.
|
Display a help text explaining usage.
|
||||||
@@ -33,15 +37,16 @@ Dump a template configuration to \fB<config-ini-file>\fP
|
|||||||
.IP \fB<config-ini-file>\fP
|
.IP \fB<config-ini-file>\fP
|
||||||
Start the proxy with settings read from \fB<config-ini-file>\fP
|
Start the proxy with settings read from \fB<config-ini-file>\fP
|
||||||
|
|
||||||
\fBWarning\fP: The proxy does not support authentication out of the box but acts simply as intermediary.
|
.SH WARNING
|
||||||
|
The proxy does not support authentication out of the box but acts simply as intermediary.
|
||||||
Only \fBRDP\fP and \fBTLS\fP security modes are supported, \fBNLA\fP will fail for connections to the proxy.
|
Only \fBRDP\fP and \fBTLS\fP security modes are supported, \fBNLA\fP will fail for connections to the proxy.
|
||||||
To implement authentication a \fBproxy-module\fP can be implemented that can authenticate against some backend
|
To implement authentication a \fBproxy-module\fP can be implemented that can authenticate against some backend
|
||||||
and map connecting users and credentials to target server users and credentials.
|
and map connecting users and credentials to target server users and credentials.
|
||||||
|
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
freerdp-proxy /some/config/file
|
@MANPAGE_NAME@ /some/config/file
|
||||||
|
|
||||||
freerdp-proxy --dump-config /some/config/file
|
@MANPAGE_NAME@ --dump-config /some/config/file
|
||||||
|
|
||||||
.SH PREPARATIONS
|
.SH PREPARATIONS
|
||||||
|
|
||||||
@@ -51,7 +56,7 @@ freerdp-proxy --dump-config /some/config/file
|
|||||||
|
|
||||||
2. generate proxy configuration
|
2. generate proxy configuration
|
||||||
|
|
||||||
\fBfreerdp-proxy --dump-config proxy.ini\fP
|
\fB@MANPAGE_NAME@ --dump-config proxy.ini\fP
|
||||||
|
|
||||||
3. edit configurartion and:
|
3. edit configurartion and:
|
||||||
|
|
||||||
@@ -63,7 +68,7 @@ freerdp-proxy --dump-config /some/config/file
|
|||||||
|
|
||||||
3. start proxy server
|
3. start proxy server
|
||||||
|
|
||||||
\fBfreerdp-proxy proxy.ini\fP
|
\fB@MANPAGE_NAME@ proxy.ini\fP
|
||||||
|
|
||||||
.SH EXIT STATUS
|
.SH EXIT STATUS
|
||||||
.TP
|
.TP
|
||||||
|
|||||||
@@ -202,8 +202,10 @@ endif()
|
|||||||
|
|
||||||
add_executable(${MODULE_NAME} ${SRCS})
|
add_executable(${MODULE_NAME} ${SRCS})
|
||||||
|
|
||||||
|
set(MANPAGE_NAME "${MODULE_NAME}")
|
||||||
if (WITH_BINARY_VERSIONING)
|
if (WITH_BINARY_VERSIONING)
|
||||||
set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${MODULE_NAME}${FREERDP_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${MODULE_NAME}${FREERDP_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
||||||
|
set(MANPAGE_NAME "${MODULE_NAME}${FREERDP_API_VERSION}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND LIBS freerdp-shadow-subsystem freerdp-shadow freerdp winpr)
|
list(APPEND LIBS freerdp-shadow-subsystem freerdp-shadow freerdp winpr)
|
||||||
@@ -220,8 +222,8 @@ set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "Server/shadow")
|
|||||||
|
|
||||||
include(pkg-config-install-prefix)
|
include(pkg-config-install-prefix)
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/freerdp-shadow.pc.in ${CMAKE_CURRENT_BINARY_DIR}/freerdp-shadow${FREERDP_VERSION_MAJOR}.pc @ONLY)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/freerdp-shadow.pc.in ${CMAKE_CURRENT_BINARY_DIR}/freerdp-shadow${FREERDP_VERSION_MAJOR}.pc @ONLY)
|
||||||
configure_file(freerdp-shadow-cli.1.in ${CMAKE_CURRENT_BINARY_DIR}/freerdp-shadow-cli.1)
|
configure_file(freerdp-shadow-cli.1.in ${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.1)
|
||||||
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/freerdp-shadow-cli.1 1)
|
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.1 1)
|
||||||
|
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/freerdp-shadow${FREERDP_VERSION_MAJOR}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/freerdp-shadow${FREERDP_VERSION_MAJOR}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
\\$2 \(laURL: \\$1 \(ra\\$3
|
\\$2 \(laURL: \\$1 \(ra\\$3
|
||||||
..
|
..
|
||||||
.if \n[.g] .mso www.tmac
|
.if \n[.g] .mso www.tmac
|
||||||
.TH freerdp\-shadow\-cli 1 2017-01-12 "@FREERDP_VERSION_FULL@" "FreeRDP"
|
.TH @MANPAGE_NAME@ 1 2017-01-12 "@FREERDP_VERSION_FULL@" "FreeRDP"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
freerdp\-shadow\-cli \- A utility for sharing a X display via RDP.
|
@MANPAGE_NAME@ \- A utility for sharing a X display via RDP.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B freerdp\-shadow\-cli
|
.B @MANPAGE_NAME@
|
||||||
[\fB/port:\fP\fI<port number>\fP]
|
[\fB/port:\fP\fI<port number>\fP]
|
||||||
[\fB/ipc-socket:\fP\fI<ipc-socket>\fP]
|
[\fB/ipc-socket:\fP\fI<ipc-socket>\fP]
|
||||||
[\fB/monitors:\fP\fI<0,1,2,...>\fP]
|
[\fB/monitors:\fP\fI<0,1,2,...>\fP]
|
||||||
@@ -23,7 +23,7 @@ freerdp\-shadow\-cli \- A utility for sharing a X display via RDP.
|
|||||||
[\fB/version\fP]
|
[\fB/version\fP]
|
||||||
[\fB/help\fP]
|
[\fB/help\fP]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B freerdp\-shadow\-cli
|
.B @MANPAGE_NAME@
|
||||||
can be used to share a running X display like with VNC but by using the RDP
|
can be used to share a running X display like with VNC but by using the RDP
|
||||||
instead. It is also possibly to share only parts (rect) of the display.
|
instead. It is also possibly to share only parts (rect) of the display.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
@@ -40,7 +40,7 @@ Select rectangle within monitor to share.
|
|||||||
.IP -auth
|
.IP -auth
|
||||||
Disable authentication. If authentication is enabled PAM is used with the
|
Disable authentication. If authentication is enabled PAM is used with the
|
||||||
X11 subsystem. Running as root is not necessary, however if run as user only
|
X11 subsystem. Running as root is not necessary, however if run as user only
|
||||||
the same user that started freerdp\-shadow\-cli can authenticate.
|
the same user that started @MANPAGE_NAME@ can authenticate.
|
||||||
.br
|
.br
|
||||||
\fBWarning\fP: If authentication is disabled \fIeveryone\fP can connect.
|
\fBWarning\fP: If authentication is disabled \fIeveryone\fP can connect.
|
||||||
.IP -may-view
|
.IP -may-view
|
||||||
@@ -65,7 +65,7 @@ Print the version and exit.
|
|||||||
Print the help and exit.
|
Print the help and exit.
|
||||||
|
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
freerdp-shadow-cli /port:12345
|
@MANPAGE_NAME@ /port:12345
|
||||||
|
|
||||||
When run as user within a X session (for example from an xterm) a socket on
|
When run as user within a X session (for example from an xterm) a socket on
|
||||||
12345 is opened and the current display is shared via RDP.
|
12345 is opened and the current display is shared via RDP.
|
||||||
|
|||||||
@@ -357,7 +357,12 @@ endif()
|
|||||||
|
|
||||||
add_subdirectory(include)
|
add_subdirectory(include)
|
||||||
|
|
||||||
install_freerdp_man(wlog.7 7)
|
set(MANPAGE_NAME wlog)
|
||||||
|
if (WITH_BINARY_VERSIONING)
|
||||||
|
set(MANPAGE_NAME wlog${WINPR_API_VERSION})
|
||||||
|
endif()
|
||||||
|
configure_file(wlog.7.in ${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.7 @ONLY@)
|
||||||
|
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.7 7)
|
||||||
# Exporting
|
# Exporting
|
||||||
|
|
||||||
export(PACKAGE winpr)
|
export(PACKAGE winpr)
|
||||||
|
|||||||
@@ -41,8 +41,10 @@ add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
|
|||||||
|
|
||||||
set(${MODULE_PREFIX}_LIBS winpr)
|
set(${MODULE_PREFIX}_LIBS winpr)
|
||||||
|
|
||||||
|
set(MANPAGE_NAME "${MODULE_NAME}")
|
||||||
if (WITH_BINARY_VERSIONING)
|
if (WITH_BINARY_VERSIONING)
|
||||||
set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${MODULE_NAME}${WINPR_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${MODULE_NAME}${WINPR_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
||||||
|
set(MANPAGE_NAME "${MODULE_NAME}${WINPR_API_VERSION}")
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
|
target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
|
||||||
|
|
||||||
@@ -53,5 +55,5 @@ if (WITH_DEBUG_SYMBOLS AND MSVC)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Tools")
|
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Tools")
|
||||||
configure_file(winpr-hash.1.in ${CMAKE_CURRENT_BINARY_DIR}/winpr-hash.1)
|
configure_file(winpr-hash.1.in ${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.1)
|
||||||
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/winpr-hash.1 1)
|
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.1 1)
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
.TH winpr-hash 1 2017-01-11 "@WINPR_VERSION_FULL@" "FreeRDP"
|
.TH @MANPAGE_NAME@ 1 2017-01-11 "@WINPR_VERSION_FULL@" "FreeRDP"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
winpr-hash \- NTLM hashing tool
|
@MANPAGE_NAME@ \- NTLM hashing tool
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B winpr-hash
|
.B @MANPAGE_NAME@
|
||||||
\fB-u\fP username
|
\fB-u\fP username
|
||||||
\fB-p\fP password
|
\fB-p\fP password
|
||||||
[\fB-d\fP domain]
|
[\fB-d\fP domain]
|
||||||
[\fB-f\fP { \fIdefault\fP | sam }]
|
[\fB-f\fP { \fIdefault\fP | sam }]
|
||||||
[\fB-v\fP { \fI1\fP | 2 }]
|
[\fB-v\fP { \fI1\fP | 2 }]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B winpr-hash
|
.B @MANPAGE_NAME@
|
||||||
is a small utility that can be used to create a NTLM hash from a username and password pair. The created hash can be outputed as plain hash or in SAM format.
|
is a small utility that can be used to create a NTLM hash from a username and password pair. The created hash can be outputed as plain hash or in SAM format.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.IP "-u username"
|
.IP "-u username"
|
||||||
@@ -28,7 +28,7 @@ user:domain::hash:::
|
|||||||
Version allows it to specify the NTLM version to use. The default is to use version 1. In case
|
Version allows it to specify the NTLM version to use. The default is to use version 1. In case
|
||||||
version 2 is used a domain needs to be specified.
|
version 2 is used a domain needs to be specified.
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
winpr-hash -u \fIuser\fP -p \fIpassword\fP -d \fIdomain\fP -f \fIsam\fP -v \fI2\fP
|
@MANPAGE_NAME@ -u \fIuser\fP -p \fIpassword\fP -d \fIdomain\fP -f \fIsam\fP -v \fI2\fP
|
||||||
|
|
||||||
Create a version \fI2\fP NTLM hash for \fIuser\fP with \fIdomain\fP and \fIpassword\fP and output it in \fIsam\fP format.
|
Create a version \fI2\fP NTLM hash for \fIuser\fP with \fIdomain\fP and \fIpassword\fP and output it in \fIsam\fP format.
|
||||||
.SH EXIT STATUS
|
.SH EXIT STATUS
|
||||||
|
|||||||
@@ -44,8 +44,13 @@ set(${MODULE_PREFIX}_LIBS winpr-tools)
|
|||||||
|
|
||||||
target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS} winpr)
|
target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS} winpr)
|
||||||
|
|
||||||
|
set(MANPAGE_NAME ${MODULE_NAME})
|
||||||
if (WITH_BINARY_VERSIONING)
|
if (WITH_BINARY_VERSIONING)
|
||||||
set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${MODULE_NAME}${WINPR_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
set_target_properties(${MODULE_NAME}
|
||||||
|
PROPERTIES
|
||||||
|
OUTPUT_NAME "${MODULE_NAME}${WINPR_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}"
|
||||||
|
)
|
||||||
|
set(MANPAGE_NAME ${MODULE_NAME}${WINPR_API_VERSION})
|
||||||
endif()
|
endif()
|
||||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Tools")
|
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Tools")
|
||||||
|
|
||||||
@@ -54,5 +59,5 @@ if (WITH_DEBUG_SYMBOLS AND MSVC)
|
|||||||
install(FILES ${CMAKE_PDB_BINARY_DIR}/${MODULE_NAME}.pdb DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT symbols)
|
install(FILES ${CMAKE_PDB_BINARY_DIR}/${MODULE_NAME}.pdb DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT symbols)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
configure_file(winpr-makecert.1.in ${CMAKE_CURRENT_BINARY_DIR}/winpr-makecert.1)
|
configure_file(winpr-makecert.1.in ${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.1)
|
||||||
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/winpr-makecert.1 1)
|
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${MANPAGE_NAME}.1 1)
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
\\$2 \(laURL: \\$1 \(ra\\$3
|
\\$2 \(laURL: \\$1 \(ra\\$3
|
||||||
..
|
..
|
||||||
.if \n[.g] .mso www.tmac
|
.if \n[.g] .mso www.tmac
|
||||||
.TH winpr\-makecert 1 2017-01-11 "@WINPR_VERSION_FULL@" "FreeRDP"
|
.TH @MANPAGE_NAME@ 1 2017-01-11 "@WINPR_VERSION_FULL@" "FreeRDP"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
winpr\-makecert \- A tool to create X.509 certificates.
|
@MANPAGE_NAME@ \- A tool to create X.509 certificates.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B winpr\-makecert
|
.B @MANPAGE_NAME@
|
||||||
[\fB-rdp\fP]
|
[\fB-rdp\fP]
|
||||||
[\fB-silent\fP]
|
[\fB-silent\fP]
|
||||||
[\fB-live\fP]
|
[\fB-live\fP]
|
||||||
@@ -21,15 +21,15 @@ winpr\-makecert \- A tool to create X.509 certificates.
|
|||||||
[\fB-path\fP outputpath]
|
[\fB-path\fP outputpath]
|
||||||
[outputname]
|
[outputname]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B winpr-makecert
|
.B @MANPAGE_NAME@
|
||||||
is a tool for generating X.509 certificates modeled after the Windows command
|
is a tool for generating X.509 certificates modeled after the Windows command
|
||||||
MakeCert. winpr-makecert aims to be command line compatible with MakeCert
|
MakeCert. @MANPAGE_NAME@ aims to be command line compatible with MakeCert
|
||||||
however not all options are supported or implemented yet.
|
however not all options are supported or implemented yet.
|
||||||
|
|
||||||
Unimplemented features are not described here. They are marked as "Unsupported"
|
Unimplemented features are not described here. They are marked as "Unsupported"
|
||||||
in winpr-makecerts help.
|
in @MANPAGE_NAME@s help.
|
||||||
|
|
||||||
In contrast to it's Windows counterpart winpr\-makecert does, unless the
|
In contrast to it's Windows counterpart @MANPAGE_NAME@ does, unless the
|
||||||
\fB\-live\fP option is given, always creates and save a certificate.
|
\fB\-live\fP option is given, always creates and save a certificate.
|
||||||
If \fIoutputname\fP isn't set it is tried to determine the host name of the
|
If \fIoutputname\fP isn't set it is tried to determine the host name of the
|
||||||
computer the command is run on.
|
computer the command is run on.
|
||||||
@@ -88,14 +88,14 @@ A directory where the certificate should be created in.
|
|||||||
The base name of the created file(s). A suffix, the format specific suffix is
|
The base name of the created file(s). A suffix, the format specific suffix is
|
||||||
appended to this name.
|
appended to this name.
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
winpr-makecert -rdp
|
@MANPAGE_NAME@ -rdp
|
||||||
|
|
||||||
Creates a certificate with the default properties, saved to a file in the
|
Creates a certificate with the default properties, saved to a file in the
|
||||||
current working directory in crt format named like the host. If the host is
|
current working directory in crt format named like the host. If the host is
|
||||||
named freerdp the created files are called freerdp.key and freerdp.crt.
|
named freerdp the created files are called freerdp.key and freerdp.crt.
|
||||||
|
|
||||||
|
|
||||||
winpr-makecert -len 4096 -a sha384 -path /tmp -# 22 -m 144 -y 1 -format crt mycert
|
@MANPAGE_NAME@ -len 4096 -a sha384 -path /tmp -# 22 -m 144 -y 1 -format crt mycert
|
||||||
|
|
||||||
The command above creates the file /tmp/mycert.pem containing a key and a
|
The command above creates the file /tmp/mycert.pem containing a key and a
|
||||||
certificate with a length of 4096. It will use sha384 as hash algorithm.
|
certificate with a length of 4096. It will use sha384 as hash algorithm.
|
||||||
|
|||||||
Reference in New Issue
Block a user