pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

openvas-scanner: Fix path to install man-pages



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Oct 11 21:45:28 2016 +0200
Changeset:	392c22c2f61f798b4194b0fe2af77124b8953869

Modified Files:
	openvas-scanner/PLIST
	openvas-scanner/distinfo
	openvas-scanner/patches/patch-CMakeLists.txt

Log Message:
openvas-scanner: Fix path to install man-pages

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=392c22c2f61f798b4194b0fe2af77124b8953869

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 openvas-scanner/PLIST                        | 10 +++++-----
 openvas-scanner/distinfo                     |  2 +-
 openvas-scanner/patches/patch-CMakeLists.txt | 22 ++++++++++++++++++++++
 3 files changed, 28 insertions(+), 6 deletions(-)

diffs:
diff --git a/openvas-scanner/PLIST b/openvas-scanner/PLIST
index 75c5bc9..64ee2ad 100644
--- a/openvas-scanner/PLIST
+++ b/openvas-scanner/PLIST
@@ -1,13 +1,13 @@
 @comment $NetBSD$
 bin/openvas-mkcert-client
+man/man1/openvas-mkcert-client.1
+man/man8/greenbone-nvt-sync.8
+man/man8/openvas-mkcert.8
+man/man8/openvas-nvt-sync.8
+man/man8/openvassd.8
 sbin/greenbone-nvt-sync
 sbin/openvas-mkcert
 sbin/openvas-nvt-sync
 sbin/openvassd
 share/doc/openvas-scanner/example_redis_2_4.conf
 share/doc/openvas-scanner/example_redis_2_6.conf
-share/man/man1/openvas-mkcert-client.1
-share/man/man8/greenbone-nvt-sync.8
-share/man/man8/openvas-mkcert.8
-share/man/man8/openvas-nvt-sync.8
-share/man/man8/openvassd.8
diff --git a/openvas-scanner/distinfo b/openvas-scanner/distinfo
index be63159..cc2a7ab 100644
--- a/openvas-scanner/distinfo
+++ b/openvas-scanner/distinfo
@@ -4,6 +4,6 @@ SHA1 (openvas-scanner-5.0.7.tar.gz) = ca5ba1a65ff34a8cb8c014cb09129434e319d689
 RMD160 (openvas-scanner-5.0.7.tar.gz) = 985332a803577eb9a1a7f964f776a5f672d802d3
 SHA512 (openvas-scanner-5.0.7.tar.gz) = 302adb2933dc7467dd189da632631f67c763e0b163b10502807922a6734fa693c8bf3f591d0ddba67cd335c57e60148c308c01cec64cac28cb9dca0345ffbb33
 Size (openvas-scanner-5.0.7.tar.gz) = 238419 bytes
-SHA1 (patch-CMakeLists.txt) = 78ff7d2e3e999781c2898dda5ad66b797b0774f6
+SHA1 (patch-CMakeLists.txt) = d178e3a1c9d857dcb0dbba539aeec03b1cf2ccc5
 SHA1 (patch-src_CMakeLists.txt) = 6d5a6afeeb7aced5a68137de90b135ac8a82de89
 SHA1 (patch-src_attack.c) = c941bb559bacb11cd8871a3456a4d75266870c81
diff --git a/openvas-scanner/patches/patch-CMakeLists.txt b/openvas-scanner/patches/patch-CMakeLists.txt
index a79ffc8..a39163c 100644
--- a/openvas-scanner/patches/patch-CMakeLists.txt
+++ b/openvas-scanner/patches/patch-CMakeLists.txt
@@ -11,3 +11,25 @@ $NetBSD$
  
  if (POLICY CMP0005)
    cmake_policy (SET CMP0005 OLD)
+@@ -263,16 +263,18 @@ install (FILES ${CMAKE_BINARY_DIR}/tools
+          PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE
+                      GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+ 
++include(GNUInstallDirs)
++
+ install (FILES ${CMAKE_SOURCE_DIR}/doc/openvas-mkcert-client.1
+-          DESTINATION ${DATADIR}/man/man1 )
++          DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 )
+ 
+ install (FILES ${CMAKE_BINARY_DIR}/doc/openvassd.8
+-         DESTINATION ${DATADIR}/man/man8 )
++         DESTINATION ${CMAKE_INSTALL_MANDIR}/man8 )
+ 
+ install (FILES ${CMAKE_SOURCE_DIR}/doc/openvas-mkcert.8
+                ${CMAKE_SOURCE_DIR}/doc/openvas-nvt-sync.8
+                ${CMAKE_SOURCE_DIR}/doc/greenbone-nvt-sync.8
+-         DESTINATION ${DATADIR}/man/man8 )
++         DESTINATION ${CMAKE_INSTALL_MANDIR}/man8 )
+ 
+ install (FILES ${CMAKE_BINARY_DIR}/doc/example_redis_2_4.conf
+                ${CMAKE_BINARY_DIR}/doc/example_redis_2_6.conf


Home | Main Index | Thread Index | Old Index