Add man pages
authorDavid Marec <DavidMarec@users.noreply.github.com>
Tue, 26 Jan 2021 20:49:14 +0000 (21:49 +0100)
committerDavid Marec <DavidMarec@users.noreply.github.com>
Tue, 26 Jan 2021 20:49:14 +0000 (21:49 +0100)
files/patch-ikectl_CMakeLists.txt [new file with mode: 0644]
files/patch-iked_CMakeLists.txt [new file with mode: 0644]

diff --git a/files/patch-ikectl_CMakeLists.txt b/files/patch-ikectl_CMakeLists.txt
new file mode 100644 (file)
index 0000000..dd69b86
--- /dev/null
@@ -0,0 +1,7 @@
+--- ikectl/CMakeLists.txt.ori  2021-01-26 21:10:39.000000000 +0100
++++ ikectl/CMakeLists.txt      2021-01-26 21:33:08.558658000 +0100
+@@ -69,3 +69,4 @@
+ )
+ install(TARGETS ikectl RUNTIME DESTINATION sbin)
++install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/ikectl.8 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man8/)
diff --git a/files/patch-iked_CMakeLists.txt b/files/patch-iked_CMakeLists.txt
new file mode 100644 (file)
index 0000000..5c797fb
--- /dev/null
@@ -0,0 +1,11 @@
+--- iked/CMakeLists.txt.ori    2021-01-26 21:10:39.000000000 +0100
++++ iked/CMakeLists.txt        2021-01-26 21:32:44.642884000 +0100
+@@ -195,6 +195,8 @@
+ install(TARGETS iked RUNTIME DESTINATION sbin)
+ install(FILES ${CMAKE_SOURCE_DIR}/iked.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR})
++install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/iked.conf.5 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man5/)
++install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/iked.8 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man8/)
+ install(DIRECTORY DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/iked/ca)
+ install(DIRECTORY DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/iked/certs)
+ install(DIRECTORY DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/iked/crls)