summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Porte2017-01-19 21:55:12 +0100
committerRomain Porte2017-01-19 22:00:11 +0100
commitdf4cbe6f97a2d5c148447e2be7862b0e34323396 (patch)
treef8fda8247b5e376542a83cd75cd1cc027b2bc078
downloadaur-df4cbe6f97a2d5c148447e2be7862b0e34323396.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD68
-rw-r--r--cmaptools3
-rw-r--r--cmaptools.desktop10
-rw-r--r--icon.pngbin0 -> 3225 bytes
-rw-r--r--installer.properties268
6 files changed, 371 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2a6c26ba8ee
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = cmaptools
+ pkgdesc = The IHMC CmapTools for concept maps
+ pkgver = v6.02
+ pkgrel = 1
+ url = http://cmap.ihmc.us/
+ arch = x86_64
+ license = unknown
+ makedepends = the_silver_searcher
+ depends = desktop-file-utils
+ source = http://cmapdownload.ihmc.us/installs/CmapTools/Linux/Linux64CmapTools_v6.02_08-11-16.bin
+ source = installer.properties
+ source = icon.png
+ source = cmaptools.desktop
+ source = cmaptools
+ md5sums = 622c89d77c3a57dbe9a1a9a7a06e6dce
+ md5sums = a6aa32dfa1a7a5bc5e6dc585e197e002
+ md5sums = c37998dc8a4703de169283d49a49c40d
+ md5sums = 23f9a626c04321284930d6a79b2cf5b1
+ md5sums = acda9def3e84dd87066530ba187bcd1d
+
+pkgname = cmaptools
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..56d86063d56
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,68 @@
+# Maintainer: Romain Porte <microjoe@microjoe.org>
+
+pkgname=cmaptools
+pkgver=v6.02
+_pkgdate=08-11-16
+pkgrel=1
+pkgdesc="The IHMC CmapTools for concept maps"
+arch=('x86_64')
+url="http://cmap.ihmc.us/"
+license=('unknown')
+depends=('desktop-file-utils')
+makedepends=('the_silver_searcher')
+source=(http://cmapdownload.ihmc.us/installs/CmapTools/Linux/Linux64CmapTools_$pkgver\_$_pkgdate.bin
+ installer.properties
+ icon.png
+ cmaptools.desktop
+ cmaptools)
+md5sums=('622c89d77c3a57dbe9a1a9a7a06e6dce'
+ 'a6aa32dfa1a7a5bc5e6dc585e197e002'
+ 'c37998dc8a4703de169283d49a49c40d'
+ '23f9a626c04321284930d6a79b2cf5b1'
+ 'acda9def3e84dd87066530ba187bcd1d')
+
+
+package() {
+ mkdir -p $pkgdir/opt/cmaptools
+
+ # Start installer in silent mode (see
+ # http://cmap.ihmc.us/docs/cmaptools-console-silent-installation.php for
+ # silent installation instructions)
+ chmod +x Linux64CmapTools_$pkgver\_$_pkgdate.bin
+ ./Linux64CmapTools_$pkgver\_$_pkgdate.bin \
+ -f installer.properties \
+ -DUSER_INSTALL_DIR=$pkgdir/opt/cmaptools \
+ -DUSER_SHORTCUTS=$pkgdir/usr/share/applications \
+ || true
+
+ # Remove useless symbolic links
+ rm $pkgdir/opt/cmaptools/Uninstall\ CmapTools
+ rm $pkgdir/opt/cmaptools/CmapTools
+
+ # Remove useless uninstaller
+ rm -r $pkgdir/opt/cmaptools/UninstallerData
+
+ # Copy icon
+ install -Dm644 icon.png $pkgdir/opt/cmaptools/icon.png
+
+ # Copy desktop file
+ install -Dm644 cmaptools.desktop $pkgdir/usr/local/share/applications/cmaptools.desktop
+
+ # Copy bash executable to path
+ install -Dm755 cmaptools $pkgdir/usr/local/bin/cmaptools
+
+ # Fix references to $pkgdir because installer is dumb
+ cd $pkgdir
+ ag $pkgdir -l --print0 | xargs -0 sed -i "s=$pkgdir=/opt=g"
+}
+
+post_install() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
+
+
+
diff --git a/cmaptools b/cmaptools
new file mode 100644
index 00000000000..57103440d70
--- /dev/null
+++ b/cmaptools
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /opt/cmaptools/bin/CmapTools
diff --git a/cmaptools.desktop b/cmaptools.desktop
new file mode 100644
index 00000000000..cff4e121333
--- /dev/null
+++ b/cmaptools.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=CmapTools
+Comment=The IHMC CmapTools for concept maps
+Exec=cmaptools
+Icon=/opt/cmaptools/icon.png
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Applications;Office
diff --git a/icon.png b/icon.png
new file mode 100644
index 00000000000..e07f59ae2e0
--- /dev/null
+++ b/icon.png
Binary files differ
diff --git a/installer.properties b/installer.properties
new file mode 100644
index 00000000000..05cc78344d6
--- /dev/null
+++ b/installer.properties
@@ -0,0 +1,268 @@
+# -------------------------------------------------------------------
+# W A R N I N G
+#
+# If you install CmapTools in the same directory of a previous
+# installation, the installer will preserve your cmaps and
+# resources.
+#
+# -------------------------------------------------------------------
+# How to Install CmapTools in Silent Mode using a properties file.
+#
+# 1. Fill in all properties values corresponding with your
+# CmapTools's configuration.
+#
+# 2. To run the installer type the following command:
+#
+# CmapTools_vx.xx_dd-mm-yy -f installer.properties
+#
+# Where:
+# vx.xx is the CmapTools version.
+# mm-dd-yy is the publishing date.
+#
+# You may use direct or relative paths to the properties file.
+#
+# -------------------------------------------------------------------
+# Silent Mode Installation
+#
+
+INSTALLER_UI=SILENT
+
+# -------------------------------------------------------------------
+#Installation Type,
+#
+
+CONFIGURATION=Advanced
+
+# -------------------------------------------------------------------
+# Choose Install Folder.
+# The full path to the directory in which the CmapTools will be
+# installed.
+#
+# You can use "/" as the file separator for all platforms, but if you
+# use "\", you must escape all special characters with an additional
+# "\". See the samples:
+#
+# Windows: C\:\\Program Files\\IHMC CmapTools
+# Windows: C:/Program Files/IHMC CmapTools
+# Mac OS X: /Applications/IHMC CmapTools
+# Linux: /usr/local/IHMC CmapTools
+
+USER_INSTALL_DIR=/opt/cmaptools
+
+# -------------------------------------------------------------------
+# Choose a Shortcut, Alias or Link Folder
+# The full path to the directory in which the installer can install the
+# shortcuts, alias or link to run CmapTools.
+#
+# You can use "/" as the file separator for all platforms, but if you
+# use "\", you must escape all special characters with an additional
+# "\". See the samples:
+#
+# Windows: C\:\\Users\\John\\AppData\\Roaming\\Microsoft\\Windows\\
+# Start Menu\\Programs\\IHMC CmapTools
+# Mac OS X: /Users/Ann/Desktop
+# Linux: /home/Robert/Desktop
+
+USER_SHORTCUTS=/usr/share/applications
+
+# -------------------------------------------------------------------
+# CmapTools permanently stores all userids and passwords
+# that the user provides when accessing resources in servers or for
+# collaboration. If this computer is shared with other users and each
+# user does not have a separate account, or if the same account is used
+# by more than one user, it is recommended that these userids and
+# passwords not be saved permanently.
+#
+# Set 1 to Keep all User IDs and Passwords across sessions (default).
+# Set 0 to Delete all User IDs and Passwords at the end of each session
+
+KEEP_USERIDS=1
+
+# -------------------------------------------------------------------
+# CmapTools stores information (userid, passwords, preferences, etc.) in a
+# User Profile directory.
+#
+# Leave this entry blank to use the default location to store this information
+# depending on your operating system.
+#
+# For network or laboratory environments, you should indicate
+# a network drive and/or path.
+#
+# You can use "/" as the file separator for all platforms, but if you
+# use "\", you must escape all special characters with an additional
+# "\". See the samples:
+#
+# Windows: H:\\data\\CmapTools\\profile
+# Mac OS X: /Users/john/Library/preferences/CmapTools/profile
+# Linux: /home/mary/CmapTools/profile
+
+USER_PROFILE=
+
+# -------------------------------------------------------------------
+# CmapTools stores information (Cmaps and Resources) in a User
+# "My Cmaps" directory.
+#
+# Leave this entry blank to use the default location to store this
+# information depending on your operating system.
+#
+# You can use "/" as the file separator for all platforms, but if you
+# use "\", you must escape all special characters with an additional
+# "\". See the samples:
+#
+# For network or laboratory environments, you should indicate a
+# network drive and/or path.
+#
+# Windows: H:\data\CmapTools\My Cmaps
+# Mac OS X: /Users/john/preferences/CmapTools/My Cmaps
+# Linux: /home/mary/CmapTools/My_Cmaps
+
+USER_MYCMAPS=
+
+# -------------------------------------------------------------------
+#The Cmap Recorder could be start automatically.
+#
+# A record of all edits made within each Cmap will be recorded and
+# saved automatically with the Cmap.
+#
+# This option can be changed later from the General tab in the
+# CmapTools Preferences panel.
+#
+# This feature will increase Cmap file sizes and may reduce the speed
+# of the Cmap client, therefore it should be used with caution.
+#
+# Set 1 to start Cmap Recorder automatically.
+# Set 0 to do not start Cmap Recorder (default).
+
+AUTO_RECORDER=0
+
+# -------------------------------------------------------------------
+# The Cmap Recorder could be run in Audit Mode.
+#
+# All Cmap changes will be recorded automatically and the user will not
+# be allowed to turn off the Cmap Recorder.
+#
+# Set 1 to run Cmap Recorder in Audit Mode.
+# Set 0 to do not run Cmap Recorder in Audit Mode (default).
+
+STOP_RECORDER=0
+
+# -------------------------------------------------------------------
+# CmapTools supports PKI authentication for communication with
+# secure servers.
+#
+# Set true to enable PKI authentication.
+# Set false to disable PKI authentication (default).
+
+pki.enable=false
+
+# -------------------------------------------------------------------
+# PKI settings
+#
+# To enable PKI authentication using Windows certificate settings
+
+pki.ms.cert=
+
+# -------------------------------------------------------------------
+# PKI settings
+#
+# The path name to the PKCSI12 file containing the user's
+# certificate and his private key.
+
+pki.keystore=
+
+# -------------------------------------------------------------------
+# PKI settings
+#
+# Password to unlock the private key.
+
+pki.keystore.password=
+
+# -------------------------------------------------------------------
+# PKI settings
+#
+# The path name to the X.509 file containing the trusted
+# CA certificate.
+
+pki.ca.certificate=
+
+# -------------------------------------------------------------------
+# PKI settings
+#
+# The hostname of the LDAP server to retrieve Certificate
+# Revocation Lists (CRLs).
+
+pki.ldap.host=
+
+# -------------------------------------------------------------------
+# PKI settings
+#
+# The port number of the LDAP server to retrieve Certificate
+# Revocation Lists (CRLs).
+
+# The default is 389.
+
+pki.ldap.port=389
+
+# -------------------------------------------------------------------
+# PKI settings
+#
+# Select the security protocol to communicate with the
+# LDAP Server.
+# - TLS (Transport Layer Security Protocol)
+# - SSL (Secure Socket Layer Protocol)
+
+pki.ldap.mode=tls
+
+# -------------------------------------------------------------------
+# CmapTools provides an option to automatically record an
+# audit trail in a log file that can be used to diagnose any
+# problems that might occur.
+#
+# Set 1 to create the log files. (Default).
+# Set 0 to do not create the log files
+
+LOGS=1
+
+# -------------------------------------------------------------------
+# This parameter specifies the path to the directory where
+# log files are created.
+#
+# %h = user home directory
+# %t = user temporary directory
+#
+# If you delete this entry the default value is: %h/logs
+
+LOGS_PATH=%h/.cmaptools/CmapToolsLogs
+
+# -------------------------------------------------------------------
+# This parameter specifies the prefix of the log file name.
+#
+# The log file name is generated using this prefix and a
+# counter. For example: cmaptools0.log, cmaptools1.log, etc.,
+# with cmaptools0.log as the most recently modified.
+#
+# If you delete this entry the default value is: cmaptools
+
+LOGS_PREFIX=cmaptools
+
+# -------------------------------------------------------------------
+# This parameter specifies the maximum size (in bytes)
+# of each log file.
+#
+# When the maximum size is reached, a new log file is
+# created.
+#
+# If you delete this entry the default value is: 5242880 (5 MB)
+
+LOGS_SIZE=5242880
+
+# -------------------------------------------------------------------
+# This parameter specifies the maximum number of log files
+# that can be created.
+#
+# When the maximum number is reached, the oldest log file
+# gets removed.
+#
+# If you delete this entry the default value is: 3
+
+LOGS_NO=3