summaryrefslogtreecommitdiffstats
path: root/pki/base/ra/setup
diff options
context:
space:
mode:
authorasn <asn@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-10-19 17:44:38 +0000
committerasn <asn@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-10-19 17:44:38 +0000
commit8145a09502fdf9bc5e763cafd03dd93ff75e7f70 (patch)
tree3a78c4212c697164198ab8f82e1fb44f685d504d /pki/base/ra/setup
parent509978e18cba6a757fdf510f51df5a29811334b8 (diff)
downloadpki-8145a09502fdf9bc5e763cafd03dd93ff75e7f70.tar.gz
pki-8145a09502fdf9bc5e763cafd03dd93ff75e7f70.tar.xz
pki-8145a09502fdf9bc5e763cafd03dd93ff75e7f70.zip
cmake: Added install rules for ra project.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1389 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/ra/setup')
-rw-r--r--pki/base/ra/setup/CMakeLists.txt10
-rw-r--r--pki/base/ra/setup/config.desktop.in31
2 files changed, 41 insertions, 0 deletions
diff --git a/pki/base/ra/setup/CMakeLists.txt b/pki/base/ra/setup/CMakeLists.txt
new file mode 100644
index 000000000..9c8713a7f
--- /dev/null
+++ b/pki/base/ra/setup/CMakeLists.txt
@@ -0,0 +1,10 @@
+set(VERSION ${APPLICATION_VERSION})
+
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/config.desktop @ONLY)
+
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/config.desktop
+ DESTINATION
+ ${SHARE_INSTALL_PREFIX}/${APPLICATION_NAME}/${PROJECT_NAME}/setup
+)
diff --git a/pki/base/ra/setup/config.desktop.in b/pki/base/ra/setup/config.desktop.in
new file mode 100644
index 000000000..8b602d5a8
--- /dev/null
+++ b/pki/base/ra/setup/config.desktop.in
@@ -0,0 +1,31 @@
+# --- BEGIN COPYRIGHT BLOCK ---
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Copyright (C) 2007 Red Hat, Inc.
+# All rights reserved.
+# --- END COPYRIGHT BLOCK ---
+#
+[Desktop Entry]
+Version=@VERSION@
+Encoding=UTF-8
+Name=Registration Authority Configuration - [INSTANCE_ID]
+GenericName=Registration Authority Configuration
+Comment=Configure Registration Authority
+Exec=firefox https://[SERVER_NAME]:[SECURE_PORT]/ra/admin/console/config/login?pin=[PKI_RANDOM_NUMBER]
+Icon=firefox.png
+Terminal=false
+Type=Application
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
+X-Desktop-File-Install-Version=0.9
+Categories=Application;CertServer;