Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . jclic (0.2.1.0-1) unstable; urgency=low . * New upstream version * Fixed bashism in jclic launcher (Closes: #581114) * Switch to dpkg-source 3.0 (quilt) format * debian/control: bumped standards version to 3.8.4 * debian/control: added quilt build dependency * fix detection of PulseAudio and remote DISPLAY, thanks again to Mario Izquierdo for his hints (Closes: #576465) Author: José L. Redrejo Rodríguez Bug-Debian: http://bugs.debian.org/576465 Bug-Debian: http://bugs.debian.org/581114 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- /dev/null +++ jclic-0.2.1.0/zero-jclic.zlaunchers/zero-jclic.zmd @@ -0,0 +1,36 @@ +#!/bin/sh + +#Testear el mysql +RESULT=$(mysql_root_passwd -a) +if [ $RESULT = "YES" ] ; then + zenity --error --text "Per a continuar cal que instal·leu i arranqueu el Mysql" + exit 0 +fi + +# Testear los directorios de las posibles máquinas java para crear enlaces al driver de mysql +LISTA=$(ls /usr/lib/jvm) +for elemento in $LISTA + do + if [ ! -h /usr/lib/jvm/$elemento ]; then + if [ -d /usr/lib/jvm/$elemento/jre/lib/ext ]; then + ln -s /usr/share/java/mysql-connector-java.jar /usr/lib/jvm/$elemento/jre/lib/ext/mysql-connector-java.jar + fi + fi +done + +#Crear la base de datos y el usuario + +lliurex-sgbd --install jclic + +#Crear un fichero de inicialización +touch /etc/.jclic.conf +cat > /etc/.jclic.conf << EOF +********************************************* +Creado al configurar con zero-center el jclic +********************************************* +EOF + +#Deshabilitar después de configurar +zero-sqlmanager -s zero-jclic 1 + +exit 0 --- /dev/null +++ jclic-0.2.1.0/zero-jclic.zlaunchers/zero-jclic.app @@ -0,0 +1,13 @@ +Name=zero-jclic +Name[es]=Configuracion del Jclic Reportserver +Name[qcv]=Configuraciò del Jclic Reportserver +Comment=Client Configuration of Jclic Reportserver +Comment[es]=Configuración del servidor de informes de Jclic +Comment[qcv]=Configuraciò del servidor de informes de Jclic +Icon=jclic +Category=Software +ScriptPath=zero-jclic.zmd +Groups=adm;admins;teachers +Using=pe +Service=True +Locks=zero-jclic --- /dev/null +++ jclic-0.2.1.0/jclic.install-files/etc/lliurex-sgbd/jclic.sgbd @@ -0,0 +1,34 @@ +###################################################################################### +# file name app.sgbd +# DB_NAME name of your database +# DB_USER name of your database user +# MYSQL_DATA_FILE place where you leave your mysql file to be injected on database (optional) +# INCLUDE_PATH place where leave your database include file with slash (must exist path) +# BACKUP_PATH place where leave your database automatic backup with slash (must exist path) +# USE_TEMPLATE (YES or NO) create your own template following debconf format +# you can use "lliurex-sgbd --template" to generate this template +# Copy this file modified with your own parameters in your debian package directory +# +# The include generated file will be INCLUDE_PATH/debian-db.php +# +###################################################################################### +# +# SAMPLE +# file name pmb.sgbd +# +# DB_NAME = pmb +# DB_USER = pmb_user +# MYSQL_DATA_FILE = /usr/share/pmb/www/lliurex/pmb4_base.sql +# INCLUDE_PATH = /etc/pmb/ +# BACKUP_PATH = /etc/pmb/backup/ +# USE_TEMPLATE = YES +# +###################################################################################### + +[parameters] +DB_NAME = JClicReports +DB_USER = jclic_user +MYSQL_DATA_FILE = +INCLUDE_PATH = /etc/jclic/ +BACKUP_PATH = /etc/jclic/backup/ +USE_TEMPLATE = NO