[connid] 01/01: Add connid-server package
Christopher Stuart Hoskin
mans0954 at moszumanska.debian.org
Tue Aug 15 20:30:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
mans0954 pushed a commit to branch master
in repository connid.
commit 647911fb44d841bfdc7895080f57e4910047d14b
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date: Tue Aug 15 21:28:19 2017 +0100
Add connid-server package
---
debian/changelog | 1 +
debian/connid-server.install | 2 ++
debian/control | 18 ++++++++++
debian/etc/connectorserver.properties | 66 +++++++++++++++++++++++++++++++++++
debian/libconnid-java.links | 2 ++
debian/scripts/connid-server | 15 ++++++++
6 files changed, 104 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2b4f589..85fc7b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,5 +9,6 @@ connid (1.4.3.0-1) UNRELEASED; urgency=medium
+ Ignore com.mycila:license-maven-plugin
* Add upstream changelog
* Bump Standards-Version from 3.9.8 to 4.0.0 (no change required)
+ * Add connid-server package
-- Christopher Hoskin <mans0954 at debian.org> Sun, 13 Aug 2017 18:18:22 +0100
diff --git a/debian/connid-server.install b/debian/connid-server.install
new file mode 100644
index 0000000..2e302f3
--- /dev/null
+++ b/debian/connid-server.install
@@ -0,0 +1,2 @@
+debian/etc/connectorserver.properties etc/connid/
+debian/scripts/connid-server usr/bin
diff --git a/debian/control b/debian/control
index ab3fa02..5fe199f 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 9), maven-debian-helper,
libmaven-dependency-plugin-java,
libmaven-verifier-java,
liblogback-java
+Build-Conflicts: libconnid-java
Standards-Version: 4.0.0
Section: java
Homepage: http://connid.tirasa.net/
@@ -26,3 +27,20 @@ Description: framework for provisioning identities to repositories
of identity-related information (password, attributes) between identity
managers (such as Apache Syncope) and identity repositories (e.g. LDAP
directories, relational databases).
+
+Package: connid-server
+Architecture: all
+Depends: ${misc:Depends}, libconnid-java
+Description: ConnId Java Connection Server
+ A connector server is required when a connector bundle is not directly executed
+ within your application. By using one or more connector servers, the connector
+ architecture thus permits your application to communicate with externally
+ deployed bundles.
+ .
+ A Java connector server is useful when you do not wish to execute a Java
+ connector bundle in the same VM as your application. It may be beneficial to
+ run a Java connector on a different host for performance improvements if the
+ bundle works faster when deployed on the same host as the native managed
+ resource. Additionally, one may wish to use a Java connector server under a
+ Java remote connector server in order to eliminate the possibility of an
+ application VM crash due to a fault in a JNI-based connector.
diff --git a/debian/etc/connectorserver.properties b/debian/etc/connectorserver.properties
new file mode 100644
index 0000000..1c2c5da
--- /dev/null
+++ b/debian/etc/connectorserver.properties
@@ -0,0 +1,66 @@
+#
+# ====================
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+#
+# Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
+#
+# The contents of this file are subject to the terms of the Common Development
+# and Distribution License("CDDL") (the "License"). You may not use this file
+# except in compliance with the License.
+#
+# You can obtain a copy of the License at
+# http://opensource.org/licenses/cddl1.php
+# See the License for the specific language governing permissions and limitations
+# under the License.
+#
+# When distributing the Covered Code, include this CDDL Header Notice in each file
+# and include the License file at http://opensource.org/licenses/cddl1.php.
+# If applicable, add the following below this CDDL Header, with the fields
+# enclosed by brackets [] replaced by your own identifying information:
+# "Portions Copyrighted [year] [name of copyright owner]"
+# ====================
+#
+
+##
+## Example connector server properties file
+##
+
+##
+## The port we are to run on
+##
+connectorserver.port=8759
+
+##
+## The bundle directory in which to find the bundles
+##
+connectorserver.bundleDir=/etc/connid/bundles-enabled/
+
+##
+## The bundle directory in which to find any libraries needed by bundles at runtime
+##
+connectorserver.libDir=/usr/share/java/
+
+##
+## Set to true to use SSL.
+## NOTE: If using SSL, you must specify the following system config properties (on the command line):
+## -Djavax.net.ssl.keyStore
+## -Djavax.net.ssl.keyStoreType (optional);
+## -Djavax.net.ssl.keyStorePassword;
+##
+connectorserver.usessl=false
+
+##
+## Optionally specify a specific address to bind to
+##
+#connectorserver.ifaddress=localhost
+
+##
+## Secure hash of the gateway key. Set this by using the
+## /setkey changeit
+##
+connectorserver.key=lmA6bMfENJGlIDbfrVtklXFK32s\=
+
+##
+## Logger class.
+##
+connectorserver.loggerClass=org.identityconnectors.common.logging.impl.JDKLogger
diff --git a/debian/libconnid-java.links b/debian/libconnid-java.links
new file mode 100644
index 0000000..11d585a
--- /dev/null
+++ b/debian/libconnid-java.links
@@ -0,0 +1,2 @@
+usr/share/java/testbundlev1.jar etc/connid/bundles-enabled/testbundlev1.jar
+usr/share/java/testbundlev2.jar etc/connid/bundles-enabled/testbundlev2.jar
diff --git a/debian/scripts/connid-server b/debian/scripts/connid-server
new file mode 100755
index 0000000..ef309b1
--- /dev/null
+++ b/debian/scripts/connid-server
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+OPTS=$@
+
+ARG='-properties'
+
+if [ -z "${OPTS##*$ARG*}" ] ;then
+ OPTS="$@"
+else
+ OPTS="$@ -properties /etc/connid/connectorserver.properties"
+fi
+
+java -cp "/usr/share/java/*" org.identityconnectors.framework.server.Main $OPTS
+
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/connid.git
More information about the pkg-java-commits
mailing list