Index: installers/debian/dotlrn/README =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/Attic/README,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/README 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,10 @@ +These are the files of the debian directory of the package tree. +To build the package, just untar the dotlrn tarball on the parent directory and do: + + $ dpkg-buildpackage -d -rfakeroot + +Please read the TODO file to know what is to be done. + +Note: e-mail addressess are not shown on control, changelog and copyright files to avoid spam. + + -- Héctor Romojaro Index: installers/debian/dotlrn/TODO =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/Attic/TODO,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/TODO 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,11 @@ +* Modification of the config.tcl according to user and database given by the user on the install. +* Modification of the config.tcl using the FHS routes. +* Set permissions for user www-data. +* Load tsearch sql. +* Enable compatibility postgresql options. +* Remove and purge logic (postrm). +* Lintian errors and warnings. +* Fix control file adding tdom (when there is a tdom debian package) +* Fix control file adding postgresql-contrib as a dependance (for tsearch), and setting all the package in contrib. + + -- Héctor Romojaro Index: installers/debian/dotlrn/changelog =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/changelog,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/changelog 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,6 @@ +dotlrn (2.3.1) unstable; urgency=low + + * Initial release + + -- Hector Romojaro Tue, 04 Mar 2008 13:54:52 +0100 + Index: installers/debian/dotlrn/compat =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/compat,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/compat 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1 @@ +5 Index: installers/debian/dotlrn/conffiles =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/Attic/conffiles,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/conffiles 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1 @@ +/etc/dotlrn/config.tcl Index: installers/debian/dotlrn/config =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/config,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/config 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,125 @@ +#!/bin/sh -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_version 2.0 +db_capb backup + +STATE=1 +while [ "$STATE" != 0 -a "$STATE" != 11 ] + do + case "$STATE" in + 1) + db_input critical dotlrn/db_host || true + if db_go; then + db_get dotlrn/db_host || true + if [ ! -z "$RET" ]; then + STATE=2 + fi + else + STATE=1 + fi + ;; + + 2) + db_input critical dotlrn/dba_name || true + if db_go; then + db_get dotlrn/dba_name || true + if [ ! -z "$RET" ]; then + STATE=3 + fi + else + STATE=1 + fi + ;; + + 3) + db_input critical dotlrn/dba_password || true + if db_go; then + db_get dotlrn/dba_password || true + STATE=4 + else + STATE=2 + fi + ;; + + 4) + db_input critical dotlrn/dba_confirm || true + if db_go; then + db_get dotlrn/dba_confirm || true + CONFIRM="$RET" + db_get dotlrn/dba_password || true + if [ "$RET" != "$CONFIRM" ]; then + STATE=5 + else + STATE=6 + fi + else + STATE=2 + fi + ;; + + 5) + db_input critical dotlrn/mismatch || true + db_go + STATE=3 + ;; + + 6) + db_input critical dotlrn/dbu_name || true + if db_go; then + db_get dotlrn/dbu_name || true + if [ ! -z "$RET" ]; then + STATE=7 + fi + else + STATE=2 + fi + ;; + + 7) + db_input critical dotlrn/dbu_password || true + if db_go; then + db_get dotlrn/dbu_password || true + STATE=8 + else + STATE=6 + fi + ;; + + 8) + db_input critical dotlrn/dbu_confirm || true + if db_go; then + db_get dotlrn/dbu_confirm || true + CONFIRM="$RET" + db_get dotlrn/dbu_password || true + if [ "$RET" != "$CONFIRM" ]; then + STATE=9 + else + STATE=10 + fi + else + STATE=6 + fi + ;; + + 9) + db_input critical dotlrn/mismatch || true + db_go + STATE=6 + ;; + + 10) + db_input critical dotlrn/create_tables || true + db_go + STATE=11 + ;; + esac +done + +if [ "$STATE" = 0 ]; then + db_input critical dotlrn/notconfigured || true + db_go + exit 1 +fi Index: installers/debian/dotlrn/control =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/control,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/control 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,16 @@ +Source: dotlrn +Section: web +Priority: optional +Maintainer: Hector Romojaro +Build-Depends-Indep: po-debconf +Build-Depends: debhelper (>= 4.1.13) +Standards-Version: 3.7.2 + +Package: dotlrn +Architecture: all +Depends: ${misc:Depends}, aolserver4, aolserver4-nscache, aolserver4-nspostgres, aolserver4-nssha1, postgresql-client, adduser, tclthread, tcllib, tcl8.4, wwwconfig-common, debconf, xotcl, aolserver4-xotcl +Recommends: postgresql, daemontools-installer +Description: e-learning and digital communities software based on OpenACS + dotLRN is a complete open source LMS with a sophisticated portal + system that integrates tools for course and content administration and + collaborative tools. Index: installers/debian/dotlrn/copyright =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/copyright,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/copyright 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,81 @@ +This package was debianized by Hector Romojaro on +Tue Mar 4 12:00:08 CET 2008 + +It was downloaded from http://www.dotlrn.org + +The original ACS was Copyright (C) 1995-2000 ArsDigita Corporation +and, in some cases, individual authors. + +License: + 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; either version 2 of the License, or + (at your option) any later version. + + 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 can find the license on Debian systems in the file + /usr/share/common-licenses/GPL + + This package also includes other pieces of software: + Xotcl, licensed under a BSD license (see below) + htmlArea, licensed under a BSD license (see below) + + GPL can be found in the file /usr/share/common-licenses/GPL, and + BSD license can be found in the file /usr/share/common-licenses/BSD + +-------------------------------------------------------------------------------- +Xotcl License (based on BSD license) +Copyright (C) 2005 Gustaf Neumann, xxxx@xxxxx.xx + +Vienna University of Economics and Business Administration + Institute of Information Systems and New Media + A-1090, Augasse 2-6 + Vienna, Austria + +This is a BSD-Style license applicable for the files in this +directory and below, except when stated explicitly different. + +Permission to use, copy, modify, distribute, and sell this +software and its documentation for any purpose is hereby granted +without fee, provided that the above copyright notice appear in +all copies and that both that copyright notice and this permission +notice appear in supporting documentation. We make no +representations about the suitability of this software for any +purpose. It is provided "as is" without express or implied +warranty. +-------------------------------------------------------------------------------- +htmlArea License (based on BSD license) +Copyright (c) 2002-2004, interactivetools.com, inc. +Copyright (c) 2003-2005 dynarch.com +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3) Neither the name of interactivetools.com, inc. nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. +-------------------------------------------------------------------------------- Index: installers/debian/dotlrn/dirs =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/dirs,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/dirs 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,4 @@ +usr/share/dotlrn +var/lib/dotlrn +var/log/aolserver4/dotlrn +etc/dotlrn Index: installers/debian/dotlrn/dotlrn.init =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/dotlrn.init,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/dotlrn.init 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,69 @@ +#!/bin/sh +# +# Start the AOLServer HTTP server with dotLRN. +# + +NAME=dotlrn +USER=www-data +GROUP=www-data +ADDRESS=127.0.0.1 +PORT=8000 +PATH=/bin:/usr/bin:/sbin:/usr/sbin +DAEMON=/usr/sbin/aolserver4-nsd +PIDFILE=/var/run/aolserver4/$NAME.pid +CONF=/etc/dotlrn/config.tcl + +trap "" 1 + +[ -f $DAEMON ] || exit 0 + +start() +{ + echo -n "Starting web server: $NAME" + + start-stop-daemon --start --quiet --exec $DAEMON --pidfile $PIDFILE --oknodo -- \ + -u $USER -g $GROUP -b $ADDRESS:$PORT -t $CONF >/dev/null 2>&1 + if [ $? != 0 ]; then + echo " ... failed" + exit 1 + else + echo "." + fi +} + +stop() +{ + echo -n "Stopping web server: $NAME" + start-stop-daemon --stop --quiet --pidfile $PIDFILE --oknodo >/dev/null 2>&1 + if [ $? != 0 ]; then + echo " ... failed" + exit 2 + else + echo "." + fi +} + + +case "$1" in + start) + start + ;; + + stop) + stop + ;; + + reload|force-reload|restart) + stop + sleep 2 + start + ;; + + *) + echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" + exit 1 + ;; +esac + +exit 0 + Index: installers/debian/dotlrn/dotlrn.install =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/dotlrn.install,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/dotlrn.install 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,11 @@ +ChangeLog usr/share/dotlrn +install.xml usr/share/dotlrn +license.txt usr/share/dotlrn +readme.txt usr/share/dotlrn +bin usr/share/dotlrn +packages usr/share/dotlrn +tcl usr/share/dotlrn +www usr/share/dotlrn +log/* var/log/aolserver4/dotlrn +content-repository-content-files var/lib/dotlrn +etc/* etc/dotlrn Index: installers/debian/dotlrn/files =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/files,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/files 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1 @@ +dotlrn_2.3.1_all.deb web optional Index: installers/debian/dotlrn/links =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/links,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/links 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,3 @@ +var/log/aolserver4/dotlrn usr/share/dotlrn/log +etc/dotlrn usr/share/dotlrn/etc +var/lib/dotlrn/content-repository-content-files usr/share/dotlrn/content-repository-content-files Index: installers/debian/dotlrn/postinst =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/postinst,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/postinst 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,138 @@ +#! /bin/sh -e +# postinst script for dotlrn +# +# see: dh_installdeb(1) +# +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +get_config() { + db_get dotlrn/db_host + db_host="$RET" + + db_type="postgres7" + db_port=5432 + + db_get dotlrn/dba_name + dba_name="$RET" + + db_get dotlrn/dba_password + dba_password="$RET" + + db_get dotlrn/dbu_name + dbu_name="$RET" + + db_get dotlrn/dbu_password + dbu_password="$RET" +} + +db_not_installed() { + echo "Please install the chosen dotLRN SGBD: postgresql, then try" + echo "dpkg-reconfigure dotlrn" +} + +case "$1" in + configure) + . /usr/share/debconf/confmodule + db_version 2.0 + + # Read debconf and edit the config file accordingly + get_config + db_stop + exec 0<&1 + + # care about the database creation + dbname=dotlrn + dbserver=$db_host + dbadmin=$dba_name + dbadmpass=$dba_password + dbuser=$dbu_name + dbpass=$dbu_password + + . /usr/share/wwwconfig-common/pgsql-createuser.sh + if [ "$status" = "error" ] + then + err=1 + echo $error + fi + . /usr/share/wwwconfig-common/pgsql-createdb.sh + if [ "$status" = "error" ] + then + err=1 + echo $error + # Install language plpgsql on the database + + su - $dbadmin -C createlang plpgsql $dbname + fi + + # Install tsearch2 + #. /usr/share/wwwconfig-common/pgsql-exec.sh + #if [ "$status" = "error" ] + #then + # err=1 + # echo $error + #fi + + # Install plpgsql on database + dbuser=$dba_name + dbpass=$dba_password + sqlfile=/tmp/dotlrn-create-plpgsql.sql + echo "CREATE LANGUAGE plpgsql;" > $sqlfile + . /usr/share/wwwconfig-common/pgsql-exec.sh + rm -f $sqlfile + if [ "$status" = "error" ] + then + err=1 + echo $error + fi + + + if [ "$err" = "1" ] + then + echo "-------------------------------------------------------------" + echo "I've tried my best to create the dotLRN user and database" + echo "but an error has occurred" + echo "-------------------------------------------------------------" + echo "You will have to set up the dotLRN user and database yourself" + echo "-------------------------------------------------------------" + fi + + # Install the init script and start it (not necessary, using debhelper at rules file) + #update-rc.d dotlrn defaults + #/etc/init.d/dotlrn start + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Index: installers/debian/dotlrn/postrm =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/postrm,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/postrm 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,50 @@ +#! /bin/sh -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge) + . /usr/share/debconf/confmodule + db_version 2.0 + + rm -rf /usr/share/dotlrn + ucf --purge /etc/dotlrn/config.tcl + rm -rf /etc/dotlrn + rm -rf /var/lib/dotlrn + rm -f /etc/init.d/dotlrn + ;; + + remove) + . /usr/share/debconf/confmodule + db_version 2.0 + + rm -rf /usr/share/dotlrn + rm -f /etc/init.d/dotlrn + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + Index: installers/debian/dotlrn/rules =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/rules,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/rules 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,75 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +build: + +clean: clean1 unpatch +clean1: + dh_testdir + dh_testroot + + dh_clean + +install: patch-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +# Build architecture-dependent files here. +binary-arch: install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_installinit +# dh_installcron + + # Deleting extra licenses + rm debian/dotlrn/usr/share/dotlrn/license.txt + rm debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/htmlarea/license.txt + rm debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/xinha-nightly/license.txt + + # Deleting some unneeded files + rm debian/dotlrn/var/log/aolserver4/dotlrn/log.txt + rm debian/dotlrn/usr/share/dotlrn/packages/theme-selva/www/resources/Selva/default/images/.DS_Store + rm debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/xinha-nightly/plugins/ImageManager/img/Thumbs.db + + # Setting up correct permissions + find debian/dotlrn/usr -type f -exec chmod 0644 {} \; + find debian/dotlrn/usr -type d -exec chmod 0755 {} \; + find debian/dotlrn/usr -type f -name *.pl -exec chmod 0755 {} \; # Perl scripts +x + find debian/dotlrn/usr -type f -name *.sh -exec chmod 0755 {} \; # Shell scripts +x + #chmod 755 debian/moodle/usr/share/moodle/lib/editor/htmlarea/plugins/SpellChecker/spell-check-logic.cgi + #chmod 755 debian/moodle/usr/share/moodle/mod/chat/chatd.php + #rm debian/moodle/usr/share/moodle/mod/chat/chatd.php + #chmod 755 debian/moodle/usr/share/moodle/mod/wiki/ewiki/fragments/mkhuge + #chmod 755 debian/moodle/usr/share/moodle/filter/algebra/algebra2tex.pl + #chmod 755 debian/moodle/usr/share/moodle/admin/process_email.php + #rm -f debian/moodle/usr/share/moodle/filter/tex/*mimetex* + #rm -f debian/moodle/usr/share/moodle/admin/delete.php + + dh_installdebconf + dh_link + dh_compress + dh_fixperms + + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch clean1 Index: installers/debian/dotlrn/templates =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/templates,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ installers/debian/dotlrn/templates 12 Mar 2008 12:29:42 -0000 1.1 @@ -0,0 +1,63 @@ +Template: dotlrn/db_host +Type: string +Default: localhost +Description: Database server hostname: + Please enter the hostname of the database server host. + +Template: dotlrn/dba_name +Type: string +Default: postgres +Description: Database administrator username: + Please enter the PostgreSQL administrator username, needed for + the database creation. + +Template: dotlrn/dba_password +Type: password +Description: Database administrator password: + Please enter the PostgreSQL administrator password, needed for + the database creation. + +Template: dotlrn/dba_confirm +Type: password +Description: DBA password confirmation: + Please confirm the password in order to continue the process. + +Template: dotlrn/mismatch +Type: note +Description: Password mismatch + The password and its confirmation do not match. Please + reenter the passwords. + +Template: dotlrn/dbu_name +Type: string +Default: www-data +Description: Database owner username: + Please enter the username of the dotLRN database owner. + +Template: dotlrn/dbu_password +Type: password +Description: Database owner password: + Please enter the password of the dotLRN database owner. + +Template: dotlrn/dbu_confirm +Type: password +Description: Database user password confirmation: + Please confirm the password of the dotLRN database owner. + +Template: dotlrn/notconfigured +Type: note +Description: Warning - dotLRN is not configured + Please note that you have not completed the dotLRN configuration. For + completing it, please use "dpkg-reconfigure dotlrn" later. + +Template: dotlrn/create_tables +Type: note +Description: Warning - dotLRN database tables not created + The Moodle install script will create the database, but + the tables are to be created with a script. Please + launch it right after the install: + . + http://127.0.0.1:8000/ + . + After configure, you can change IP and port to listen on + /etc/dotlrn/config.tcl.