Loeschen von debian, es werden keine einzelnen Module mehr als debian Pakete verteilt werden.

git-svn-id: https://svn.libreccm.org/ccm/trunk@152 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2009-05-07 21:15:06 +00:00
parent 9a190a4fff
commit 27d15896a7
229 changed files with 0 additions and 22523 deletions

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-build.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
# for eg Oracle jar
CLASSPATH=./lib/:$CLASSPATH
$ANT build-${name}

View File

@ -1,15 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-clean.sh,v 1.1.1.1 2004/11/12 09:30:01 fabrice Exp $
. debian/ccm-settings.sh
[ -f build.xml ] && $ANT clean-${appname}
rm -rf build build.xml ccm.classpath
# ccm-disperse.sh creates the .install files automatically, so let's clean them too.
rm -f ${appname}.install ${appname}-doc.install

View File

@ -1 +0,0 @@
usr/share/java/ccm-cms-assets-fileattachment-6.3.1

View File

@ -1,13 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-config.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
if [ ! -L $name ]; then
ln -s . $name
fi
ccm-create-projectxml.pl > project.xml
ccm-configure.sh

View File

@ -1,39 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-disperse.sh,v 1.1.1.1 2004/11/12 09:30:01 fabrice Exp $
. debian/ccm-settings.sh
SRCDIR="$1"
[ "x$SRCDIR" != "x" ] || exit 1
# automatically generate the .install file lists for dh_install:
(cd $SRCDIR && find . -type f \
| grep -v DEBIAN \
| grep -v var/www/html \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}.install
(cd $SRCDIR && find . -type f -path './var/www/html/*' \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}-doc.install
# for some reason, dh_install doesn't work properly; let's disperse the files ourselves:
for pkg in ${name} ${name}-doc; do
# skip this package if mentioned in CCM_DEBIAN_NO_PACKAGES
[ `echo $CCM_DEBIAN_NO_PACKAGES | tr ' ' '\n' | grep -c "^${pkg}$"` -eq 1 ] && continue || true
# this should exist [due to dh_installdocs, dh_installchangelog], but just in case...
mkdir -p debian/$pkg
[ -e debian/${pkg}.install ] && \
echo -n "Dispersing files to debian/$pkg/ ... " && \
for file in `cat debian/${pkg}.install`; do
dir=`dirname $file`
mkdir -p debian/$pkg/$dir
cp $SRCDIR/$file debian/$pkg/$dir/
done
echo "done."
done

View File

@ -1,43 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-install.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
DESTDIR="$1"
[ "xDESTDIR" != "x" ] || exit 1
rm -rf $DESTDIR
mkdir -p $DESTDIR
mkdir -p $DESTDIR${confdir}
mkdir -p $DESTDIR/var/www/html/${name}-${version}
ANT_OPTS="-Dapps.${name}.version=${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.conf.dir=$DESTDIR${confdir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.lib.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.private.lib.dir=$DESTDIR${sharedjardir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.webapp.dir=$DESTDIR${webappdir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.system.jars.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.api.dir.${appname}=$DESTDIR/var/www/html/${name}-${version}/api"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.classes.dir=$DESTDIR/tmp/${name}-${version}"
export ANT_OPTS
$ANT deploy-jar-classes-${appname}
$ANT deploy-${appname}
rm -rf "$DESTDIR/tmp"
# only generate and deploy javadocs if we didn't specify otherwise in CCM_DEBIAN_NO_JAVADOC
GENERATE_JAVADOC=true
if [ `echo $CCM_DEBIAN_NO_JAVADOC | tr ' ' '\n' | grep -c "^${name}-doc$"` -eq 1 ]; then
GENERATE_JAVADOC=false
fi
if [ -d ${appname}/src ]; then
$ANT deploy-jar-classes-${appname}
[ "$GENERATE_JAVADOC" == "true" ] && $ANT deploy-javadoc-${appname} || true
fi

View File

@ -1,44 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# say which app to compile, amongst those specified in the project.xml
export CCM_APP=$name
# do some checks
check_JAVA_HOME
if [ "$name" = "ccm-core" ]; then
check_ORACLE_JDBC_LIB
fi
# set the environment
for file in `echo /etc/profile.d/ccm-{tools,devel,scripts}.sh`; do
. $file
done
cd ..
. $CCM_SCRIPTS_HOME/bin/env-conf.sh ${appname} > /dev/null
cd -
export CCM_HOME=`pwd`
if which classic-ant > /dev/null 2>&1; then
ANT=classic-ant
else
ANT=ant
fi
# perhaps we don't like to build some packages -- get them from DH_OPTIONS
export CCM_DEBIAN_NO_PACKAGES=`echo $DH_OPTIONS | tr -s ' ' '\n' | grep -E '(-N|--no-package=)' | xargs | sed -re 's/(-N|--no-package)//g'`
# for now, assume that if we don't want to build some packages then we don't
# want to generate javadocs for them either
export CCM_DEBIAN_NO_JAVADOC="$CCM_DEBIAN_NO_JAVADOC $CCM_DEBIAN_NO_PACKAGES"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# source the shell library [for the check_* functions]
# FIXME: ugly-looking hack.
orig_DEBIAN_HAS_FRONTEND=$DEBIAN_HAS_FRONTEND
DEBIAN_HAS_FRONTEND=1
. /usr/share/ccm-tools/lib/shellmodule
DEBIAN_HAS_FRONTEND=$orig_DEBIAN_HAS_FRONTEND
# variables we use [especially in ccm-install.sh]
name=ccm-cms-assets-fileattachment
version=6.3.1
appname=ccm-cms-assets-fileattachment
appversion=6.3.1
confdir="/etc/ccm/conf"
sharedjardir="/usr/share/java"
webappdir="/usr/share/java/webapps"
ccmclasspathfile="ccm/ccm.classpath"
ccmwebappfile="ccm/ccm.webapps"
. debian/ccm-settings-run.sh

View File

@ -1,77 +0,0 @@
ccm-cms-assets-fileattachment (6.3.1-1) unstable; urgency=low
* Automatic update of version number from 6.3.0 to 6.3.1
-- Runtime Collective Ltd. <info@runtime-collective.com> Thu, 01 Jun 2006 12:18:59 +0000
ccm-cms-assets-fileattachment (6.3.0-1) unstable; urgency=low
* Automatic update of version number from 6.2.0 to 6.3.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 13:51:55 +0000
ccm-cms-assets-fileattachment (6.2.0-1) unstable; urgency=low
* Automatic update of version number from 6.1.2 to 6.2.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 12:30:01 +0000
ccm-cms-assets-fileattachment (6.1.2-1) unstable; urgency=low
* Automatic update of version number from 6.1.1 to 6.1.2
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 05 Sep 2005 15:47:57 +0000
ccm-cms-assets-fileattachment (6.1.1-1) unstable; urgency=low
* Automatic update of version number from 6.1.0 to 6.1.1
-- Runtime Collective Ltd. <info@runtime-collective.com> Thu, 31 Mar 2005 11:59:49 +0000
ccm-cms-assets-fileattachment (6.1.0-5) unstable; urgency=low
* Depend on j2sdk1.4 | java2-compiler
* Depend on j2re1.4 | java2-runtime
* Update to policy 3.6.1
* Depend on debconf
* Change maintainer to the mailing list and add uploaders
-- David Pashley <david@runtime-collective.com> Wed, 19 Jan 2005 10:00:17 +0000
ccm-cms-assets-fileattachment (6.1.0-4) unstable; urgency=low
* debian/postrm: disabled the purge operations [had some weird problems].
* updated the debian control scripts to get the package name and version from their invocation.
-- Berkan Eskikaya <berkan@runtime-collective.com> Mon, 10 May 2004 12:33:33 +0100
ccm-cms-assets-fileattachment (6.1.0-3) unstable; urgency=low
* debian/templates: made load-at-install and setup-database-at-install the default behaviour.
* debian/postinst: ccm_hostinit will try to use web.xml-aplaws from ccm-ldn-aplaws.
* debian/ccm-settings.sh: correct checking/setting of ORACLE_JDBC_LIB [Chris].
* debian/templates: changed the default postgresql database and user names to "ccm01.db" and "ccm".
* debian/config: added detection of the hostname of the machine and possibly the user's email.
* major restructuring of the debian scripts: moved all utility functions to ccm-tools and made postinst, postrm, prerm and ccm-settings.sh source and use that file.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 7 May 2004 13:04:43 +0100
ccm-cms-assets-fileattachment (6.1.0-2) unstable; urgency=low
* The build process now tries to automatically detect JAVA_HOME and the location of Oracle's java library.
* debian/ccm-clean.sh: only calls the ant process if build.xml exists.
* debian/{postinst,prerm,config,templates}: added debconf support
* debian/postinst: accepts 'reconfigure' and treats it as 'configure'.
* debian/postinst: added postgresql.jar to CLASSPATH; added libpgjava to the dependencies.
* debian/postinst: removed some bashisms upon recommendation from lintian.
* debian/rules: enabled dh_installdebconf.
* debian/control: made the package depend on debconf.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 1 May 2004 15:41:43 +0100
ccm-cms-assets-fileattachment (6.1.0-1) unstable; urgency=low
* Initial release.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 24 Apr 2004 12:27:56 +0100

View File

@ -1 +0,0 @@
4

View File

@ -1,79 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: config,v 1.1.1.1 2004/11/12 09:30:01 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
db_capb backup
HOSTNAME=`hostname -f` 2>/dev/null || true
if [ -n "$HOSTNAME" ]; then
db_metaget ccm/shared/waf_web_server default || true
PORTNUM=`echo $RET | cut -d: -f2`
db_set ccm/shared/waf_web_server "$HOSTNAME:$PORTNUM" || true
fi
if [ -n "$EMAIL" ]; then
db_set ccm/shared/waf_admin_email "$EMAIL" || true
fi
STATE=1
LASTSTATE=5
while [ "$STATE" != 0 -a "$STATE" -le "$LASTSTATE" ]; do
case "$STATE" in
1)
# Database questions
db_input high ccm/shared/dbase_type || true
db_input high ccm/shared/dbase_host || true
db_input high ccm/shared/dbase_name || true
db_input high ccm/shared/dbase_user || true
db_input high ccm/shared/dbase_password || true
;;
2)
# Server address
db_input high ccm/shared/waf_web_server || true
;;
3)
# Admin questions
db_input high ccm/shared/waf_admin_email || true
db_input high ccm/shared/waf_admin_name_given || true
db_input high ccm/shared/waf_admin_name_family || true
db_input high ccm/shared/waf_admin_password || true
db_input high ccm/shared/waf_admin_password_question || true
db_input high ccm/shared/waf_admin_password_answer || true
;;
4)
# When to load the applications
db_input medium ccm/shared/ccm_load_apps_at_install_p || true
;;
5)
# Whether to set up the [local] database
db_get ccm/shared/dbase_host || true
if [ "$RET" = "localhost" ]; then
db_input medium ccm/shared/pg_set_up_database_p || true
fi
;;
# Add additional states here, making sure to
# increment LASTSTATE.
esac
if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
db_go || true
db_stop

View File

@ -1,21 +0,0 @@
Source: ccm-cms-assets-fileattachment
Section: contrib/web
Priority: optional
Maintainer: Runtime Packaging <runtime-packaging@runtime-collective.com>
Uploaders: David Pashley <david@runtime-collective.com>
Build-Depends-Indep: debhelper (>= 4.0.0), j2re1.4 | java2-runtime, j2sdk1.4 | java2-compiler, ant, libservlet2.3-java, libpgjava, debconf, po-debconf, ccm-tools, ccm-devel, ccm-scripts, ccm-core, ccm-cms
Standards-Version: 3.6.1
Package: ccm-cms-assets-fileattachment
Architecture: all
Depends: debconf, java-virtual-machine-dummy | j2sdk1.4 | java-virtual-machine, ccm-tools, ccm-servlet-container, libservlet2.3-java, libpgjava, liblog4j1.2-java , ccm-core, ccm-cms
Description: APLAWS: Application to add file attachment to content items.
This package contains the Red Hat CMS Content Asset File Attachment application for APLAWS.
.
FIXME: We need a longer and more meaningful description here.
Package: ccm-cms-assets-fileattachment-doc
Architecture: all
Depends: ccm-tools
Description: Documentation for ccm-cms-assets-fileattachment
Documentation for ccm-cms-assets-fileattachment. Provides the JavaDoc API documentation.

View File

@ -1,15 +0,0 @@
This package was debianized by Berkan Eskikaya <berkan@runtime-collective.com> on
Tue, 13 Apr 2004 19:03:14 +0100.
It was downloaded from http://aplaws.sourceforge.net/
Upstream Authors: Redhat UK.
Copyright:
You are free to distribute this software under the terms of
the GNU General Public License.
On Debian systems, the complete text of the GNU General Public
License can be found in the file `/usr/share/common-licenses/GPL'.

View File

@ -1,112 +0,0 @@
#! /bin/sh
# postinst script for ccm-cms-assets-fileattachment
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postinst,v 1.1.1.1 2004/11/12 09:30:01 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# 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'.
case "$1" in
configure|reconfigure)
# FIXME: we need to be sensitive to upgrade operations here.
# basically, if pkgversion = appversion, then the datamodel
# hasn't changed -- we just configure the package and don't
# touch the database; else, we need to also update the
# datamodel in the database.
### get the settings for the operations below
ccm_set_env
db_get_ccm_settings ;# db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
### do the usual post-installion configuration
if [ ! -d "/etc/ccm" ]; then
db_message "ccm/shared/error_etc_ccm_missing_dir"
mkdir -p "/etc/ccm"
fi
ccm_update_ccm_classpath add $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps add $ccm_package_name $ccm_package_version
ccm_update_file_attributes $ccm_package_name $ccm_package_version
### try to set up the database if asked to do so
if [ "$pg_set_up_database_p" = "true" ]; then
pg_set_up_database
fi
### try to load the application if asked to do so
if [ "$ccm_load_apps_at_install_p" = "true" -a -n "$JAVA_HOME" ]; then
ccm_load
fi
### run the hostinit step
if [ -n "$JAVA_HOME" ]; then
tomcat_http_port=`echo $waf_web_server | cut -d':' -f2` || true
tomcat_shutdown_port=`expr $tomcat_http_port + 1` || true
ccm_host_init tomcat $tomcat_http_port $tomcat_shutdown_port
fi
### don't give others the registry details [eg the database password] on a golden plate
# FIXME: this interferes with "ccm load" updating the registry. Need to find the right ownership.
# chmod -R o-rwx /etc/ccm/conf/registry || true
;;
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

View File

@ -1,62 +0,0 @@
#! /bin/sh
# postrm script for ccm-cms-assets-fileattachment
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postrm,v 1.1.1.1 2004/11/12 09:30:01 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
db_get_ccm_settings
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
if [ "$ccm_package_name" != "ccm-core" ]; then
exit 0 ;# nothing to do
fi
case "$1" in
purge-FIXME)
# FIXME: there are problems with this, so disabling for the moment.
# maybe drop the database
if [ "$dbase_host" = "localhost" ]; then
db_input high ccm/shared/pg_drop_database_at_purge_p || true
db_go
db_stop
if [ "$pg_drop_database_at_purge_p" = "true" ]; then
su - postgres -c "dropdb $dbase_name" 1>&2 || true
su - postgres -c "dropuser $dbase_user" 1>&2 || true
fi
fi
# FIXME: should we still remove /etc/ccm/conf/registry/registry.properties,
# even if we don't or fail to drop the database.
rm -rf /etc/ccm/conf/registry/*
;;
*)
# Nothing to do here.
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,60 +0,0 @@
#! /bin/sh
# prerm script for ccm-cms-assets-fileattachment
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: prerm,v 1.1.1.1 2004/11/12 09:30:01 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
db_get_ccm_settings ; db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
case "$1" in
remove|purge|upgrade|deconfigure)
ccm_update_ccm_classpath remove $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps remove $ccm_package_name $ccm_package_version
;;
failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
if [ "$1" = "remove" -a "$ccm_package_name" = "ccm-core" -a -x "/etc/init.d/ccm" ]; then
invoke-rc.d ccm stop || true
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,84 +0,0 @@
#!/usr/bin/make -f
# debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
#
# This version is for packages that are architecture independent.
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: rules,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build.xml:
dh_testdir
# Add here commands to configure the package.
@sh debian/ccm-config.sh
build: build-stamp
build-stamp: build.xml
dh_testdir
# Add here commands to compile the package.
@sh debian/ccm-build.sh
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
@sh debian/ccm-clean.sh
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/<packagename>.
@sh debian/ccm-install.sh $(CURDIR)/debian/tmp
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdirs
dh_installchangelogs
dh_installdocs
dh_installexamples
@sh debian/ccm-disperse.sh debian/tmp
# dh_install --sourcedir=debian/tmp
# dh_installmenu
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installcatalogs
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_undocumented
dh_installman
dh_link
dh_compress
dh_fixperms
# dh_perl
# dh_python
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

View File

@ -1,207 +0,0 @@
Template: ccm/debconf/version
Type: string
Default: $Id: templates,v 1.1.1.1 2004/11/12 09:30:01 fabrice Exp $
Description: The version of the debconf template
Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
.
$Id: templates,v 1.1.1.1 2004/11/12 09:30:01 fabrice Exp $
Template: ccm/package_name
Type: string
Default: ccm-cms-assets-fileattachment
Description: The name of the package
This is syntetic sugar.
Template: ccm/package_version
Type: string
Default: 6.3.1
Description: The version of the package
This is synthetic sugar.
Template: ccm/shared/dbase_type
Type: select
Choices: postgresql
Default: postgresql
Description: Database backend:
Please choose a database backend. At the moment, you could only select PostgreSQL.
Template: ccm/shared/dbase_host
Type: string
Default: localhost
Description: Database host:
Please specify the host that the database runs on.
Template: ccm/shared/dbase_name
Type: string
Default: ccm01.db
Description: Database name:
Please specify the name of the APLAWS database.
Template: ccm/shared/dbase_user
Type: string
Default: ccm
Description: Database user name:
Please specify the database account for the APLAWS database.
Template: ccm/shared/dbase_password
Type: password
Default: ccmpwd
Description: Database password:
Please choose a password for the APLAWS database account.
Template: ccm/shared/waf_runtime_jdbc_url
Type: string
Default: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Description: JDBC connection URL:
The WAF runtime uses this value to connect to a database.
.
Format: jdbc:[subprotocol]:[subname]
.
Example: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Template: ccm/shared/waf_web_server
Type: string
Default: localhost:9090
Description: Server virtual host:
Please specify the hostname and port that users of a site will
see in URLs generated by WAF.
.
Format: [server hostname]:[port number]
.
Example: example.com:80
Template: ccm/shared/waf_admin_email
Type: string
Default:
Description: Administrator Email Address:
Please specify the system administrator account.
.
Format: <user>@<domain>
.
Example: joe@example.com
Template: ccm/shared/waf_admin_name_given
Type: string
Default:
Description: Administrator First Name:
Please specify the name of the system administrator.
Template: ccm/shared/waf_admin_name_family
Type: string
Default:
Description: Administrator Last Name:
Please specify the surname of the system administrator.
Template: ccm/shared/waf_admin_password
Type: password
Default:
Description: Administrator Password
Please choose a password for the system administrator account.
Template: ccm/shared/waf_admin_password_question
Type: string
Default: The name of your primary school
Description: Administrator Password Question:
This question will be asked when the password to the system administrator
account is lost and access must be recovered.
.
Please only use letters and numbers.
Template: ccm/shared/waf_admin_password_answer
Type: string
Default:
Description: Administrator Password Answer:
Now specify the correct answer to the Administrator Password Question.
.
Please only use letters and numbers.
Template: ccm/shared/ccm_load_apps_at_install_p
Type: boolean
Default: true
Description: Load CCM applications as they install?
You could choose to load CCM applications into the database
automatically after they are installed, or you could load them
manually [with 'ccm load'] yourself.
.
The former will save you some manual work, while the latter is probably
most suited if you are trying to build the applications from the
sources and prefer to load them once all are built and installed.
Template: ccm/shared/pg_set_up_database_p
Type: boolean
Default: true
Description: Do you want me to set up the CCM database and adjust the access permissions?
You have specified a database on your localhost. I could set it up
for you and automatically adjust the access permissions. I could do
this independently of whether or not you have choosen to load the
applications at install time.
.
Say no here if you have already prepared the CCM database yourself
or if you would like to do it later. Saying yes will save you some
manual work.
Template: ccm/shared/pg_drop_database_at_purge_p
Type: boolean
Default: true
Description: Do you want me to drop the CCM database?
Template: ccm/shared/error_etc_ccm_missing_dir
Type: note
Description: CCM configuration directory does not exist.
I couldn't find the CCM configuration directory: /etc/ccm.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package creates this directory --- please verify that it is installed and
intact.
.
I will continue with the configuration by re-creating the directory,
but we may experience problems later.
Template: ccm/shared/ccm_aux_setupdb_failed
Type: note
Description: ccm-aux-setupdb couldn't complete.
The helper script ccm-aux-setupdb didn't succeed.
This means that the CCM database couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
prepare the database and load the application(s) after the
installation.
Template: ccm/shared/ccm_aux_update_hba_conf_failed
Type: note
Description: ccm-aux-update-hba-conf couldn't complete.
The helper script ccm-aux-update-hba-conf didn't succeed.
This means that the access permissions for the ccm database
couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
check/edit the pg_hba.conf file of your PostgreSQL instance
and load the application(s) after the installation.
Template: ccm/shared/error_ccm_tool_not_found
Type: note
Description: The 'ccm' tool not found.
I need the 'ccm' tool [/usr/bin/ccm] to continue but I cannot find it.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package contains this file --- please check your setup after the installation,
and then run "dpkg-reconfigure ccm-cms-assets-fileattachment".
Template: ccm/shared/error_java_home_not_found
Type: note
Description: JAVA_HOME not found.
JAVA_HOME isn't set --- I have even tried to guess it but failed.
.
This will cancel any 'ccm load' and 'ccm hostinit' operations.
.
Please check your java setup after the installation, and then run
"dpkg-reconfigure ccm-cms-assets-fileattachment".

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-build.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
# for eg Oracle jar
CLASSPATH=./lib/:$CLASSPATH
$ANT build-${name}

View File

@ -1,15 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-clean.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
[ -f build.xml ] && $ANT clean-${appname}
rm -rf build build.xml ccm.classpath
# ccm-disperse.sh creates the .install files automatically, so let's clean them too.
rm -f ${appname}.install ${appname}-doc.install

View File

@ -1 +0,0 @@
usr/share/java/ccm-cms-assets-notes-6.3.0

View File

@ -1,13 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-config.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
if [ ! -L $name ]; then
ln -s . $name
fi
ccm-create-projectxml.pl > project.xml
ccm-configure.sh

View File

@ -1,39 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-disperse.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
SRCDIR="$1"
[ "x$SRCDIR" != "x" ] || exit 1
# automatically generate the .install file lists for dh_install:
(cd $SRCDIR && find . -type f \
| grep -v DEBIAN \
| grep -v var/www/html \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}.install
(cd $SRCDIR && find . -type f -path './var/www/html/*' \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}-doc.install
# for some reason, dh_install doesn't work properly; let's disperse the files ourselves:
for pkg in ${name} ${name}-doc; do
# skip this package if mentioned in CCM_DEBIAN_NO_PACKAGES
[ `echo $CCM_DEBIAN_NO_PACKAGES | tr ' ' '\n' | grep -c "^${pkg}$"` -eq 1 ] && continue || true
# this should exist [due to dh_installdocs, dh_installchangelog], but just in case...
mkdir -p debian/$pkg
[ -e debian/${pkg}.install ] && \
echo -n "Dispersing files to debian/$pkg/ ... " && \
for file in `cat debian/${pkg}.install`; do
dir=`dirname $file`
mkdir -p debian/$pkg/$dir
cp $SRCDIR/$file debian/$pkg/$dir/
done
echo "done."
done

View File

@ -1,43 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-install.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
DESTDIR="$1"
[ "xDESTDIR" != "x" ] || exit 1
rm -rf $DESTDIR
mkdir -p $DESTDIR
mkdir -p $DESTDIR${confdir}
mkdir -p $DESTDIR/var/www/html/${name}-${version}
ANT_OPTS="-Dapps.${name}.version=${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.conf.dir=$DESTDIR${confdir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.lib.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.private.lib.dir=$DESTDIR${sharedjardir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.webapp.dir=$DESTDIR${webappdir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.system.jars.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.api.dir.${appname}=$DESTDIR/var/www/html/${name}-${version}/api"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.classes.dir=$DESTDIR/tmp/${name}-${version}"
export ANT_OPTS
$ANT deploy-jar-classes-${appname}
$ANT deploy-${appname}
rm -rf "$DESTDIR/tmp"
# only generate and deploy javadocs if we didn't specify otherwise in CCM_DEBIAN_NO_JAVADOC
GENERATE_JAVADOC=true
if [ `echo $CCM_DEBIAN_NO_JAVADOC | tr ' ' '\n' | grep -c "^${name}-doc$"` -eq 1 ]; then
GENERATE_JAVADOC=false
fi
if [ -d ${appname}/src ]; then
$ANT deploy-jar-classes-${appname}
[ "$GENERATE_JAVADOC" == "true" ] && $ANT deploy-javadoc-${appname} || true
fi

View File

@ -1,44 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# say which app to compile, amongst those specified in the project.xml
export CCM_APP=$name
# do some checks
check_JAVA_HOME
if [ "$name" = "ccm-core" ]; then
check_ORACLE_JDBC_LIB
fi
# set the environment
for file in `echo /etc/profile.d/ccm-{tools,devel,scripts}.sh`; do
. $file
done
cd ..
. $CCM_SCRIPTS_HOME/bin/env-conf.sh ${appname} > /dev/null
cd -
export CCM_HOME=`pwd`
if which classic-ant > /dev/null 2>&1; then
ANT=classic-ant
else
ANT=ant
fi
# perhaps we don't like to build some packages -- get them from DH_OPTIONS
export CCM_DEBIAN_NO_PACKAGES=`echo $DH_OPTIONS | tr -s ' ' '\n' | grep -E '(-N|--no-package=)' | xargs | sed -re 's/(-N|--no-package)//g'`
# for now, assume that if we don't want to build some packages then we don't
# want to generate javadocs for them either
export CCM_DEBIAN_NO_JAVADOC="$CCM_DEBIAN_NO_JAVADOC $CCM_DEBIAN_NO_PACKAGES"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# source the shell library [for the check_* functions]
# FIXME: ugly-looking hack.
orig_DEBIAN_HAS_FRONTEND=$DEBIAN_HAS_FRONTEND
DEBIAN_HAS_FRONTEND=1
. /usr/share/ccm-tools/lib/shellmodule
DEBIAN_HAS_FRONTEND=$orig_DEBIAN_HAS_FRONTEND
# variables we use [especially in ccm-install.sh]
name=ccm-cms-assets-notes
version=6.3.0
appname=ccm-cms-assets-notes
appversion=6.3.0
confdir="/etc/ccm/conf"
sharedjardir="/usr/share/java"
webappdir="/usr/share/java/webapps"
ccmclasspathfile="ccm/ccm.classpath"
ccmwebappfile="ccm/ccm.webapps"
. debian/ccm-settings-run.sh

View File

@ -1,25 +0,0 @@
ccm-cms-assets-notes (6.3.0-1) unstable; urgency=low
* Automatic update of version number from 6.2.0 to 6.3.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 13:51:55 +0000
ccm-cms-assets-notes (6.2.0-1) unstable; urgency=low
* Automatic update of version number from 6.1.2 to 6.2.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 12:30:02 +0000
ccm-cms-assets-notes (6.1.2-2) unstable; urgency=low
* Add a depends on ccm-devel, temporarily so they package builds under
cruisecontrol. This will be removed again once ccm-devel goes away.
* Add dependancy on ccm-scripts too.
-- David Pashley <david@runtime-collective.com> Mon, 25 Apr 2005 15:33:43 +0100
ccm-cms-assets-notes (6.1.2-1) unstable; urgency=low
* Initial release.
-- Fabrice Retkowsky <fabrice@runtime-collective.com> Fri, 24 Apr 2004 12:27:56 +0100

View File

@ -1 +0,0 @@
4

View File

@ -1,79 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: config,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
db_capb backup
HOSTNAME=`hostname -f` 2>/dev/null || true
if [ -n "$HOSTNAME" ]; then
db_metaget ccm/shared/waf_web_server default || true
PORTNUM=`echo $RET | cut -d: -f2`
db_set ccm/shared/waf_web_server "$HOSTNAME:$PORTNUM" || true
fi
if [ -n "$EMAIL" ]; then
db_set ccm/shared/waf_admin_email "$EMAIL" || true
fi
STATE=1
LASTSTATE=5
while [ "$STATE" != 0 -a "$STATE" -le "$LASTSTATE" ]; do
case "$STATE" in
1)
# Database questions
db_input high ccm/shared/dbase_type || true
db_input high ccm/shared/dbase_host || true
db_input high ccm/shared/dbase_name || true
db_input high ccm/shared/dbase_user || true
db_input high ccm/shared/dbase_password || true
;;
2)
# Server address
db_input high ccm/shared/waf_web_server || true
;;
3)
# Admin questions
db_input high ccm/shared/waf_admin_email || true
db_input high ccm/shared/waf_admin_name_given || true
db_input high ccm/shared/waf_admin_name_family || true
db_input high ccm/shared/waf_admin_password || true
db_input high ccm/shared/waf_admin_password_question || true
db_input high ccm/shared/waf_admin_password_answer || true
;;
4)
# When to load the applications
db_input medium ccm/shared/ccm_load_apps_at_install_p || true
;;
5)
# Whether to set up the [local] database
db_get ccm/shared/dbase_host || true
if [ "$RET" = "localhost" ]; then
db_input medium ccm/shared/pg_set_up_database_p || true
fi
;;
# Add additional states here, making sure to
# increment LASTSTATE.
esac
if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
db_go || true
db_stop

View File

@ -1,21 +0,0 @@
Source: ccm-cms-assets-notes
Section: contrib/web
Priority: optional
Maintainer: Runtime Packaging <runtime-packaging@runtime-collective.com>
Uploaders: David Pashley <david@runtime-collective.com>
Build-Depends-Indep: debhelper (>= 4.0.0), j2re1.4 | java2-runtime, j2sdk1.4 | java2-compiler, ant, libservlet2.3-java, libpgjava, debconf, po-debconf, ccm-cms, ccm-devel, ccm-scripts, ccm-core
Standards-Version: 3.6.1
Package: ccm-cms-assets-notes
Architecture: all
Depends: debconf, java-virtual-machine-dummy | j2sdk1.4 | java-virtual-machine, ccm-tools, ccm-servlet-container, libservlet2.3-java, libpgjava, liblog4j1.2-java, ccm-cms
Description: APLAWS: NTLM authentication module.
This package contains the Auth HTTP application for APLAWS.
.
FIXME: We need a longer and more meaningful description here.
Package: ccm-cms-assets-notes-doc
Architecture: all
Depends: ccm-tools
Description: Documentation for ccm-cms-assets-notes
Documentation for ccm-cms-assets-notes. Provides the JavaDoc API documentation.

View File

@ -1,15 +0,0 @@
This package was debianized by Berkan Eskikaya <berkan@runtime-collective.com> on
Tue, 13 Apr 2004 19:03:14 +0100.
It was downloaded from http://aplaws.sourceforge.net/
Upstream Authors: Redhat UK.
Copyright:
You are free to distribute this software under the terms of
the GNU General Public License.
On Debian systems, the complete text of the GNU General Public
License can be found in the file `/usr/share/common-licenses/GPL'.

View File

@ -1,111 +0,0 @@
#! /bin/sh
# postinst script for ccm-cms-assets-notes
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postinst,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# 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'.
case "$1" in
configure|reconfigure)
# FIXME: we need to be sensitive to upgrade operations here.
# basically, if pkgversion = appversion, then the datamodel
# hasn't changed -- we just configure the package and don't
# touch the database; else, we need to also update the
# datamodel in the database.
### get the settings for the operations below
ccm_set_env
db_get_ccm_settings ;# db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
### do the usual post-installion configuration
if [ ! -d "/etc/ccm" ]; then
db_message "ccm/shared/error_etc_ccm_missing_dir"
mkdir -p "/etc/ccm"
fi
ccm_update_ccm_classpath add $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps add $ccm_package_name $ccm_package_version
ccm_update_file_attributes $ccm_package_name $ccm_package_version
### try to set up the database if asked to do so
if [ "$pg_set_up_database_p" = "true" ]; then
pg_set_up_database
fi
### try to load the application if asked to do so
if [ "$ccm_load_apps_at_install_p" = "true" -a -n "$JAVA_HOME" ]; then
ccm_load
fi
### run the hostinit step
if [ -n "$JAVA_HOME" ]; then
tomcat_http_port=`echo $waf_web_server | cut -d':' -f2` || true
tomcat_shutdown_port=`expr $tomcat_http_port + 1` || true
ccm_host_init tomcat $tomcat_http_port $tomcat_shutdown_port
fi
### don't give others the registry details [eg the database password] on a golden plate
# FIXME: this interferes with "ccm load" updating the registry. Need to find the right ownership.
# chmod -R o-rwx /etc/ccm/conf/registry || true
;;
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

View File

@ -1,62 +0,0 @@
#! /bin/sh
# postrm script for ccm-cms-assets-notes
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postrm,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
db_get_ccm_settings
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
if [ "$ccm_package_name" != "ccm-core" ]; then
exit 0 ;# nothing to do
fi
case "$1" in
purge-FIXME)
# FIXME: there are problems with this, so disabling for the moment.
# maybe drop the database
if [ "$dbase_host" = "localhost" ]; then
db_input high ccm/shared/pg_drop_database_at_purge_p || true
db_go
db_stop
if [ "$pg_drop_database_at_purge_p" = "true" ]; then
su - postgres -c "dropdb $dbase_name" 1>&2 || true
su - postgres -c "dropuser $dbase_user" 1>&2 || true
fi
fi
# FIXME: should we still remove /etc/ccm/conf/registry/registry.properties,
# even if we don't or fail to drop the database.
rm -rf /etc/ccm/conf/registry/*
;;
*)
# Nothing to do here.
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,60 +0,0 @@
#! /bin/sh
# prerm script for ccm-cms-assets-notes
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: prerm,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
db_get_ccm_settings ; db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
case "$1" in
remove|purge|upgrade|deconfigure)
ccm_update_ccm_classpath remove $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps remove $ccm_package_name $ccm_package_version
;;
failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
if [ "$1" = "remove" -a "$ccm_package_name" = "ccm-core" -a -x "/etc/init.d/ccm" ]; then
invoke-rc.d ccm stop || true
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,84 +0,0 @@
#!/usr/bin/make -f
# debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
#
# This version is for packages that are architecture independent.
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: rules,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build.xml:
dh_testdir
# Add here commands to configure the package.
@sh debian/ccm-config.sh
build: build-stamp
build-stamp: build.xml
dh_testdir
# Add here commands to compile the package.
@sh debian/ccm-build.sh
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
@sh debian/ccm-clean.sh
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/<packagename>.
@sh debian/ccm-install.sh $(CURDIR)/debian/tmp
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdirs
dh_installchangelogs
dh_installdocs
dh_installexamples
@sh debian/ccm-disperse.sh debian/tmp
# dh_install --sourcedir=debian/tmp
# dh_installmenu
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installcatalogs
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_undocumented
dh_installman
dh_link
dh_compress
dh_fixperms
# dh_perl
# dh_python
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

View File

@ -1,207 +0,0 @@
Template: ccm/debconf/version
Type: string
Default: $Id: templates,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
Description: The version of the debconf template
Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
.
$Id: templates,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
Template: ccm/package_name
Type: string
Default: ccm-cms-assets-notes
Description: The name of the package
This is syntetic sugar.
Template: ccm/package_version
Type: string
Default: 6.3.0
Description: The version of the package
This is synthetic sugar.
Template: ccm/shared/dbase_type
Type: select
Choices: postgresql
Default: postgresql
Description: Database backend:
Please choose a database backend. At the moment, you could only select PostgreSQL.
Template: ccm/shared/dbase_host
Type: string
Default: localhost
Description: Database host:
Please specify the host that the database runs on.
Template: ccm/shared/dbase_name
Type: string
Default: ccm01.db
Description: Database name:
Please specify the name of the APLAWS database.
Template: ccm/shared/dbase_user
Type: string
Default: ccm
Description: Database user name:
Please specify the database account for the APLAWS database.
Template: ccm/shared/dbase_password
Type: password
Default: ccmpwd
Description: Database password:
Please choose a password for the APLAWS database account.
Template: ccm/shared/waf_runtime_jdbc_url
Type: string
Default: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Description: JDBC connection URL:
The WAF runtime uses this value to connect to a database.
.
Format: jdbc:[subprotocol]:[subname]
.
Example: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Template: ccm/shared/waf_web_server
Type: string
Default: localhost:9090
Description: Server virtual host:
Please specify the hostname and port that users of a site will
see in URLs generated by WAF.
.
Format: [server hostname]:[port number]
.
Example: example.com:80
Template: ccm/shared/waf_admin_email
Type: string
Default:
Description: Administrator Email Address:
Please specify the system administrator account.
.
Format: <user>@<domain>
.
Example: joe@example.com
Template: ccm/shared/waf_admin_name_given
Type: string
Default:
Description: Administrator First Name:
Please specify the name of the system administrator.
Template: ccm/shared/waf_admin_name_family
Type: string
Default:
Description: Administrator Last Name:
Please specify the surname of the system administrator.
Template: ccm/shared/waf_admin_password
Type: password
Default:
Description: Administrator Password
Please choose a password for the system administrator account.
Template: ccm/shared/waf_admin_password_question
Type: string
Default: The name of your primary school
Description: Administrator Password Question:
This question will be asked when the password to the system administrator
account is lost and access must be recovered.
.
Please only use letters and numbers.
Template: ccm/shared/waf_admin_password_answer
Type: string
Default:
Description: Administrator Password Answer:
Now specify the correct answer to the Administrator Password Question.
.
Please only use letters and numbers.
Template: ccm/shared/ccm_load_apps_at_install_p
Type: boolean
Default: true
Description: Load CCM applications as they install?
You could choose to load CCM applications into the database
automatically after they are installed, or you could load them
manually [with 'ccm load'] yourself.
.
The former will save you some manual work, while the latter is probably
most suited if you are trying to build the applications from the
sources and prefer to load them once all are built and installed.
Template: ccm/shared/pg_set_up_database_p
Type: boolean
Default: true
Description: Do you want me to set up the CCM database and adjust the access permissions?
You have specified a database on your localhost. I could set it up
for you and automatically adjust the access permissions. I could do
this independently of whether or not you have choosen to load the
applications at install time.
.
Say no here if you have already prepared the CCM database yourself
or if you would like to do it later. Saying yes will save you some
manual work.
Template: ccm/shared/pg_drop_database_at_purge_p
Type: boolean
Default: true
Description: Do you want me to drop the CCM database?
Template: ccm/shared/error_etc_ccm_missing_dir
Type: note
Description: CCM configuration directory does not exist.
I couldn't find the CCM configuration directory: /etc/ccm.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package creates this directory --- please verify that it is installed and
intact.
.
I will continue with the configuration by re-creating the directory,
but we may experience problems later.
Template: ccm/shared/ccm_aux_setupdb_failed
Type: note
Description: ccm-aux-setupdb couldn't complete.
The helper script ccm-aux-setupdb didn't succeed.
This means that the CCM database couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
prepare the database and load the application(s) after the
installation.
Template: ccm/shared/ccm_aux_update_hba_conf_failed
Type: note
Description: ccm-aux-update-hba-conf couldn't complete.
The helper script ccm-aux-update-hba-conf didn't succeed.
This means that the access permissions for the ccm database
couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
check/edit the pg_hba.conf file of your PostgreSQL instance
and load the application(s) after the installation.
Template: ccm/shared/error_ccm_tool_not_found
Type: note
Description: The 'ccm' tool not found.
I need the 'ccm' tool [/usr/bin/ccm] to continue but I cannot find it.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package contains this file --- please check your setup after the installation,
and then run "dpkg-reconfigure ccm-cms-assets-notes".
Template: ccm/shared/error_java_home_not_found
Type: note
Description: JAVA_HOME not found.
JAVA_HOME isn't set --- I have even tried to guess it but failed.
.
This will cancel any 'ccm load' and 'ccm hostinit' operations.
.
Please check your java setup after the installation, and then run
"dpkg-reconfigure ccm-cms-assets-notes".

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-build.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
# for eg Oracle jar
CLASSPATH=./lib/:$CLASSPATH
$ANT build-${name}

View File

@ -1,15 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-clean.sh,v 1.1.1.1 2004/11/12 10:13:00 fabrice Exp $
. debian/ccm-settings.sh
[ -f build.xml ] && $ANT clean-${appname}
rm -rf build build.xml ccm.classpath
# ccm-disperse.sh creates the .install files automatically, so let's clean them too.
rm -f ${appname}.install ${appname}-doc.install

View File

@ -1 +0,0 @@
usr/share/java/ccm-cms-assets-relatedlink-6.3.0

View File

@ -1,13 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-config.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
if [ ! -L $name ]; then
ln -s . $name
fi
ccm-create-projectxml.pl > project.xml
ccm-configure.sh

View File

@ -1,39 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-disperse.sh,v 1.1.1.1 2004/11/12 10:13:00 fabrice Exp $
. debian/ccm-settings.sh
SRCDIR="$1"
[ "x$SRCDIR" != "x" ] || exit 1
# automatically generate the .install file lists for dh_install:
(cd $SRCDIR && find . -type f \
| grep -v DEBIAN \
| grep -v var/www/html \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}.install
(cd $SRCDIR && find . -type f -path './var/www/html/*' \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}-doc.install
# for some reason, dh_install doesn't work properly; let's disperse the files ourselves:
for pkg in ${name} ${name}-doc; do
# skip this package if mentioned in CCM_DEBIAN_NO_PACKAGES
[ `echo $CCM_DEBIAN_NO_PACKAGES | tr ' ' '\n' | grep -c "^${pkg}$"` -eq 1 ] && continue || true
# this should exist [due to dh_installdocs, dh_installchangelog], but just in case...
mkdir -p debian/$pkg
[ -e debian/${pkg}.install ] && \
echo -n "Dispersing files to debian/$pkg/ ... " && \
for file in `cat debian/${pkg}.install`; do
dir=`dirname $file`
mkdir -p debian/$pkg/$dir
cp $SRCDIR/$file debian/$pkg/$dir/
done
echo "done."
done

View File

@ -1,43 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-install.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
DESTDIR="$1"
[ "xDESTDIR" != "x" ] || exit 1
rm -rf $DESTDIR
mkdir -p $DESTDIR
mkdir -p $DESTDIR${confdir}
mkdir -p $DESTDIR/var/www/html/${name}-${version}
ANT_OPTS="-Dapps.${name}.version=${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.conf.dir=$DESTDIR${confdir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.lib.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.private.lib.dir=$DESTDIR${sharedjardir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.webapp.dir=$DESTDIR${webappdir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.system.jars.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.api.dir.${appname}=$DESTDIR/var/www/html/${name}-${version}/api"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.classes.dir=$DESTDIR/tmp/${name}-${version}"
export ANT_OPTS
$ANT deploy-jar-classes-${appname}
$ANT deploy-${appname}
rm -rf "$DESTDIR/tmp"
# only generate and deploy javadocs if we didn't specify otherwise in CCM_DEBIAN_NO_JAVADOC
GENERATE_JAVADOC=true
if [ `echo $CCM_DEBIAN_NO_JAVADOC | tr ' ' '\n' | grep -c "^${name}-doc$"` -eq 1 ]; then
GENERATE_JAVADOC=false
fi
if [ -d ${appname}/src ]; then
$ANT deploy-jar-classes-${appname}
[ "$GENERATE_JAVADOC" == "true" ] && $ANT deploy-javadoc-${appname} || true
fi

View File

@ -1,44 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# say which app to compile, amongst those specified in the project.xml
export CCM_APP=$name
# do some checks
check_JAVA_HOME
if [ "$name" = "ccm-core" ]; then
check_ORACLE_JDBC_LIB
fi
# set the environment
for file in `echo /etc/profile.d/ccm-{tools,devel,scripts}.sh`; do
. $file
done
cd ..
. $CCM_SCRIPTS_HOME/bin/env-conf.sh ${appname} > /dev/null
cd -
export CCM_HOME=`pwd`
if which classic-ant > /dev/null 2>&1; then
ANT=classic-ant
else
ANT=ant
fi
# perhaps we don't like to build some packages -- get them from DH_OPTIONS
export CCM_DEBIAN_NO_PACKAGES=`echo $DH_OPTIONS | tr -s ' ' '\n' | grep -E '(-N|--no-package=)' | xargs | sed -re 's/(-N|--no-package)//g'`
# for now, assume that if we don't want to build some packages then we don't
# want to generate javadocs for them either
export CCM_DEBIAN_NO_JAVADOC="$CCM_DEBIAN_NO_JAVADOC $CCM_DEBIAN_NO_PACKAGES"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# source the shell library [for the check_* functions]
# FIXME: ugly-looking hack.
orig_DEBIAN_HAS_FRONTEND=$DEBIAN_HAS_FRONTEND
DEBIAN_HAS_FRONTEND=1
. /usr/share/ccm-tools/lib/shellmodule
DEBIAN_HAS_FRONTEND=$orig_DEBIAN_HAS_FRONTEND
# variables we use [especially in ccm-install.sh]
name=ccm-cms-assets-relatedlink
version=6.3.0
appname=ccm-cms-assets-relatedlink
appversion=6.3.0
confdir="/etc/ccm/conf"
sharedjardir="/usr/share/java"
webappdir="/usr/share/java/webapps"
ccmclasspathfile="ccm/ccm.classpath"
ccmwebappfile="ccm/ccm.webapps"
. debian/ccm-settings-run.sh

View File

@ -1,64 +0,0 @@
ccm-cms-assets-relatedlink (6.3.0-1) unstable; urgency=low
* Automatic update of version number from 6.2.0 to 6.3.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 13:51:55 +0000
ccm-cms-assets-relatedlink (6.2.0-1) unstable; urgency=low
* Automatic update of version number from 6.1.1 to 6.2.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 12:30:03 +0000
ccm-cms-assets-relatedlink (6.1.1-1) unstable; urgency=low
* Automatic update of version number from 6.1.0 to 6.1.1
-- Runtime Collective Ltd. <info@runtime-collective.com> Thu, 31 Mar 2005 11:59:50 +0000
ccm-cms-assets-relatedlink (6.1.0-5) unstable; urgency=low
* Depend on j2sdk1.4 | java2-compiler
* Update to policy 3.6.1
* Depend on debconf
* Change maintainer to the mailing list and add uploaders
-- David Pashley <david@runtime-collective.com> Wed, 19 Jan 2005 11:05:44 +0000
ccm-cms-assets-relatedlink (6.1.0-4) unstable; urgency=low
* debian/postrm: disabled the purge operations [had some weird problems].
* updated the debian control scripts to get the package name and version from their invocation.
-- Berkan Eskikaya <berkan@runtime-collective.com> Mon, 10 May 2004 12:33:33 +0100
ccm-cms-assets-relatedlink (6.1.0-3) unstable; urgency=low
* debian/templates: made load-at-install and setup-database-at-install the default behaviour.
* debian/postinst: ccm_hostinit will try to use web.xml-aplaws from ccm-ldn-aplaws.
* debian/ccm-settings.sh: correct checking/setting of ORACLE_JDBC_LIB [Chris].
* debian/templates: changed the default postgresql database and user names to "ccm01.db" and "ccm".
* debian/config: added detection of the hostname of the machine and possibly the user's email.
* major restructuring of the debian scripts: moved all utility functions to ccm-tools and made postinst, postrm, prerm and ccm-settings.sh source and use that file.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 7 May 2004 13:04:43 +0100
ccm-cms-assets-relatedlink (6.1.0-2) unstable; urgency=low
* The build process now tries to automatically detect JAVA_HOME and the location of Oracle's java library.
* debian/ccm-clean.sh: only calls the ant process if build.xml exists.
* debian/{postinst,prerm,config,templates}: added debconf support
* debian/postinst: accepts 'reconfigure' and treats it as 'configure'.
* debian/postinst: added postgresql.jar to CLASSPATH; added libpgjava to the dependencies.
* debian/postinst: removed some bashisms upon recommendation from lintian.
* debian/rules: enabled dh_installdebconf.
* debian/control: made the package depend on debconf.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 1 May 2004 15:41:43 +0100
ccm-cms-assets-relatedlink (6.1.0-1) unstable; urgency=low
* Initial release.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 24 Apr 2004 12:27:56 +0100

View File

@ -1 +0,0 @@
4

View File

@ -1,79 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: config,v 1.1.1.1 2004/11/12 10:13:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
db_capb backup
HOSTNAME=`hostname -f` 2>/dev/null || true
if [ -n "$HOSTNAME" ]; then
db_metaget ccm/shared/waf_web_server default || true
PORTNUM=`echo $RET | cut -d: -f2`
db_set ccm/shared/waf_web_server "$HOSTNAME:$PORTNUM" || true
fi
if [ -n "$EMAIL" ]; then
db_set ccm/shared/waf_admin_email "$EMAIL" || true
fi
STATE=1
LASTSTATE=5
while [ "$STATE" != 0 -a "$STATE" -le "$LASTSTATE" ]; do
case "$STATE" in
1)
# Database questions
db_input high ccm/shared/dbase_type || true
db_input high ccm/shared/dbase_host || true
db_input high ccm/shared/dbase_name || true
db_input high ccm/shared/dbase_user || true
db_input high ccm/shared/dbase_password || true
;;
2)
# Server address
db_input high ccm/shared/waf_web_server || true
;;
3)
# Admin questions
db_input high ccm/shared/waf_admin_email || true
db_input high ccm/shared/waf_admin_name_given || true
db_input high ccm/shared/waf_admin_name_family || true
db_input high ccm/shared/waf_admin_password || true
db_input high ccm/shared/waf_admin_password_question || true
db_input high ccm/shared/waf_admin_password_answer || true
;;
4)
# When to load the applications
db_input medium ccm/shared/ccm_load_apps_at_install_p || true
;;
5)
# Whether to set up the [local] database
db_get ccm/shared/dbase_host || true
if [ "$RET" = "localhost" ]; then
db_input medium ccm/shared/pg_set_up_database_p || true
fi
;;
# Add additional states here, making sure to
# increment LASTSTATE.
esac
if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
db_go || true
db_stop

View File

@ -1,21 +0,0 @@
Source: ccm-cms-assets-relatedlink
Section: contrib/web
Priority: optional
Maintainer: Runtime Packaging <runtime-packaging@runtime-collective.com>
Uploaders: David Pashley <david@runtime-collective.com>
Build-Depends-Indep: debhelper (>= 4.0.0), j2re1.4 | java2-runtime, j2sdk1.4 | java2-compiler, ant, libservlet2.3-java, libpgjava, debconf, po-debconf, ccm-tools, ccm-devel, ccm-scripts, ccm-core, ccm-cms
Standards-Version: 3.6.1
Package: ccm-cms-assets-relatedlink
Architecture: all
Depends: debconf, java-virtual-machine-dummy | j2sdk1.4 | java-virtual-machine, ccm-tools, ccm-servlet-container, libservlet2.3-java, libpgjava, liblog4j1.2-java , ccm-core, ccm-cms
Description: APLAWS: Application to add related links to content items.
This package contains the Red Hat CMS Content Asset Related Link application for APLAWS.
.
FIXME: We need a longer and more meaningful description here.
Package: ccm-cms-assets-relatedlink-doc
Architecture: all
Depends: ccm-tools
Description: Documentation for ccm-cms-assets-relatedlink
Documentation for ccm-cms-assets-relatedlink. Provides the JavaDoc API documentation.

View File

@ -1,15 +0,0 @@
This package was debianized by Berkan Eskikaya <berkan@runtime-collective.com> on
Tue, 13 Apr 2004 19:03:14 +0100.
It was downloaded from http://aplaws.sourceforge.net/
Upstream Authors: Redhat UK.
Copyright:
You are free to distribute this software under the terms of
the GNU General Public License.
On Debian systems, the complete text of the GNU General Public
License can be found in the file `/usr/share/common-licenses/GPL'.

View File

@ -1,112 +0,0 @@
#! /bin/sh
# postinst script for ccm-cms-assets-relatedlink
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postinst,v 1.1.1.1 2004/11/12 10:13:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# 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'.
case "$1" in
configure|reconfigure)
# FIXME: we need to be sensitive to upgrade operations here.
# basically, if pkgversion = appversion, then the datamodel
# hasn't changed -- we just configure the package and don't
# touch the database; else, we need to also update the
# datamodel in the database.
### get the settings for the operations below
ccm_set_env
db_get_ccm_settings ;# db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
### do the usual post-installion configuration
if [ ! -d "/etc/ccm" ]; then
db_message "ccm/shared/error_etc_ccm_missing_dir"
mkdir -p "/etc/ccm"
fi
ccm_update_ccm_classpath add $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps add $ccm_package_name $ccm_package_version
ccm_update_file_attributes $ccm_package_name $ccm_package_version
### try to set up the database if asked to do so
if [ "$pg_set_up_database_p" = "true" ]; then
pg_set_up_database
fi
### try to load the application if asked to do so
if [ "$ccm_load_apps_at_install_p" = "true" -a -n "$JAVA_HOME" ]; then
ccm_load
fi
### run the hostinit step
if [ -n "$JAVA_HOME" ]; then
tomcat_http_port=`echo $waf_web_server | cut -d':' -f2` || true
tomcat_shutdown_port=`expr $tomcat_http_port + 1` || true
ccm_host_init tomcat $tomcat_http_port $tomcat_shutdown_port
fi
### don't give others the registry details [eg the database password] on a golden plate
# FIXME: this interferes with "ccm load" updating the registry. Need to find the right ownership.
# chmod -R o-rwx /etc/ccm/conf/registry || true
;;
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

View File

@ -1,62 +0,0 @@
#! /bin/sh
# postrm script for ccm-cms-assets-relatedlink
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postrm,v 1.1.1.1 2004/11/12 10:13:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
db_get_ccm_settings
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
if [ "$ccm_package_name" != "ccm-core" ]; then
exit 0 ;# nothing to do
fi
case "$1" in
purge-FIXME)
# FIXME: there are problems with this, so disabling for the moment.
# maybe drop the database
if [ "$dbase_host" = "localhost" ]; then
db_input high ccm/shared/pg_drop_database_at_purge_p || true
db_go
db_stop
if [ "$pg_drop_database_at_purge_p" = "true" ]; then
su - postgres -c "dropdb $dbase_name" 1>&2 || true
su - postgres -c "dropuser $dbase_user" 1>&2 || true
fi
fi
# FIXME: should we still remove /etc/ccm/conf/registry/registry.properties,
# even if we don't or fail to drop the database.
rm -rf /etc/ccm/conf/registry/*
;;
*)
# Nothing to do here.
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,60 +0,0 @@
#! /bin/sh
# prerm script for ccm-cms-assets-relatedlink
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: prerm,v 1.1.1.1 2004/11/12 10:13:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
db_get_ccm_settings ; db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
case "$1" in
remove|purge|upgrade|deconfigure)
ccm_update_ccm_classpath remove $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps remove $ccm_package_name $ccm_package_version
;;
failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
if [ "$1" = "remove" -a "$ccm_package_name" = "ccm-core" -a -x "/etc/init.d/ccm" ]; then
invoke-rc.d ccm stop || true
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,84 +0,0 @@
#!/usr/bin/make -f
# debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
#
# This version is for packages that are architecture independent.
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: rules,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build.xml:
dh_testdir
# Add here commands to configure the package.
@sh debian/ccm-config.sh
build: build-stamp
build-stamp: build.xml
dh_testdir
# Add here commands to compile the package.
@sh debian/ccm-build.sh
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
@sh debian/ccm-clean.sh
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/<packagename>.
@sh debian/ccm-install.sh $(CURDIR)/debian/tmp
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdirs
dh_installchangelogs
dh_installdocs
dh_installexamples
@sh debian/ccm-disperse.sh debian/tmp
# dh_install --sourcedir=debian/tmp
# dh_installmenu
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installcatalogs
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_undocumented
dh_installman
dh_link
dh_compress
dh_fixperms
# dh_perl
# dh_python
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

View File

@ -1,207 +0,0 @@
Template: ccm/debconf/version
Type: string
Default: $Id: templates,v 1.1.1.1 2004/11/12 10:13:00 fabrice Exp $
Description: The version of the debconf template
Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
.
$Id: templates,v 1.1.1.1 2004/11/12 10:13:00 fabrice Exp $
Template: ccm/package_name
Type: string
Default: ccm-cms-assets-relatedlink
Description: The name of the package
This is syntetic sugar.
Template: ccm/package_version
Type: string
Default: 6.3.0
Description: The version of the package
This is synthetic sugar.
Template: ccm/shared/dbase_type
Type: select
Choices: postgresql
Default: postgresql
Description: Database backend:
Please choose a database backend. At the moment, you could only select PostgreSQL.
Template: ccm/shared/dbase_host
Type: string
Default: localhost
Description: Database host:
Please specify the host that the database runs on.
Template: ccm/shared/dbase_name
Type: string
Default: ccm01.db
Description: Database name:
Please specify the name of the APLAWS database.
Template: ccm/shared/dbase_user
Type: string
Default: ccm
Description: Database user name:
Please specify the database account for the APLAWS database.
Template: ccm/shared/dbase_password
Type: password
Default: ccmpwd
Description: Database password:
Please choose a password for the APLAWS database account.
Template: ccm/shared/waf_runtime_jdbc_url
Type: string
Default: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Description: JDBC connection URL:
The WAF runtime uses this value to connect to a database.
.
Format: jdbc:[subprotocol]:[subname]
.
Example: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Template: ccm/shared/waf_web_server
Type: string
Default: localhost:9090
Description: Server virtual host:
Please specify the hostname and port that users of a site will
see in URLs generated by WAF.
.
Format: [server hostname]:[port number]
.
Example: example.com:80
Template: ccm/shared/waf_admin_email
Type: string
Default:
Description: Administrator Email Address:
Please specify the system administrator account.
.
Format: <user>@<domain>
.
Example: joe@example.com
Template: ccm/shared/waf_admin_name_given
Type: string
Default:
Description: Administrator First Name:
Please specify the name of the system administrator.
Template: ccm/shared/waf_admin_name_family
Type: string
Default:
Description: Administrator Last Name:
Please specify the surname of the system administrator.
Template: ccm/shared/waf_admin_password
Type: password
Default:
Description: Administrator Password
Please choose a password for the system administrator account.
Template: ccm/shared/waf_admin_password_question
Type: string
Default: The name of your primary school
Description: Administrator Password Question:
This question will be asked when the password to the system administrator
account is lost and access must be recovered.
.
Please only use letters and numbers.
Template: ccm/shared/waf_admin_password_answer
Type: string
Default:
Description: Administrator Password Answer:
Now specify the correct answer to the Administrator Password Question.
.
Please only use letters and numbers.
Template: ccm/shared/ccm_load_apps_at_install_p
Type: boolean
Default: true
Description: Load CCM applications as they install?
You could choose to load CCM applications into the database
automatically after they are installed, or you could load them
manually [with 'ccm load'] yourself.
.
The former will save you some manual work, while the latter is probably
most suited if you are trying to build the applications from the
sources and prefer to load them once all are built and installed.
Template: ccm/shared/pg_set_up_database_p
Type: boolean
Default: true
Description: Do you want me to set up the CCM database and adjust the access permissions?
You have specified a database on your localhost. I could set it up
for you and automatically adjust the access permissions. I could do
this independently of whether or not you have choosen to load the
applications at install time.
.
Say no here if you have already prepared the CCM database yourself
or if you would like to do it later. Saying yes will save you some
manual work.
Template: ccm/shared/pg_drop_database_at_purge_p
Type: boolean
Default: true
Description: Do you want me to drop the CCM database?
Template: ccm/shared/error_etc_ccm_missing_dir
Type: note
Description: CCM configuration directory does not exist.
I couldn't find the CCM configuration directory: /etc/ccm.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package creates this directory --- please verify that it is installed and
intact.
.
I will continue with the configuration by re-creating the directory,
but we may experience problems later.
Template: ccm/shared/ccm_aux_setupdb_failed
Type: note
Description: ccm-aux-setupdb couldn't complete.
The helper script ccm-aux-setupdb didn't succeed.
This means that the CCM database couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
prepare the database and load the application(s) after the
installation.
Template: ccm/shared/ccm_aux_update_hba_conf_failed
Type: note
Description: ccm-aux-update-hba-conf couldn't complete.
The helper script ccm-aux-update-hba-conf didn't succeed.
This means that the access permissions for the ccm database
couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
check/edit the pg_hba.conf file of your PostgreSQL instance
and load the application(s) after the installation.
Template: ccm/shared/error_ccm_tool_not_found
Type: note
Description: The 'ccm' tool not found.
I need the 'ccm' tool [/usr/bin/ccm] to continue but I cannot find it.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package contains this file --- please check your setup after the installation,
and then run "dpkg-reconfigure ccm-cms-assets-relatedlink".
Template: ccm/shared/error_java_home_not_found
Type: note
Description: JAVA_HOME not found.
JAVA_HOME isn't set --- I have even tried to guess it but failed.
.
This will cancel any 'ccm load' and 'ccm hostinit' operations.
.
Please check your java setup after the installation, and then run
"dpkg-reconfigure ccm-cms-assets-relatedlink".

View File

@ -1 +0,0 @@
usr/share/java/ccm-formbuilder-pdf-1.4.1

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-build.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
# for eg Oracle jar
CLASSPATH=./lib/:$CLASSPATH
$ANT build-${name}

View File

@ -1,15 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-clean.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
[ -f build.xml ] && $ANT clean-${appname}
rm -rf build build.xml ccm.classpath
# ccm-disperse.sh creates the .install files automatically, so let's clean them too.
rm -f ${appname}.install ${appname}-doc.install

View File

@ -1,13 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-config.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
if [ ! -L $name ]; then
ln -s . $name
fi
ccm-create-projectxml.pl > project.xml
ccm-configure.sh

View File

@ -1,39 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-disperse.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
SRCDIR="$1"
[ "x$SRCDIR" != "x" ] || exit 1
# automatically generate the .install file lists for dh_install:
(cd $SRCDIR && find . -type f \
| grep -v DEBIAN \
| grep -v var/www/html \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}.install
(cd $SRCDIR && find . -type f -path './var/www/html/*' \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}-doc.install
# for some reason, dh_install doesn't work properly; let's disperse the files ourselves:
for pkg in ${name} ${name}-doc; do
# skip this package if mentioned in CCM_DEBIAN_NO_PACKAGES
[ `echo $CCM_DEBIAN_NO_PACKAGES | tr ' ' '\n' | grep -c "^${pkg}$"` -eq 1 ] && continue || true
# this should exist [due to dh_installdocs, dh_installchangelog], but just in case...
mkdir -p debian/$pkg
[ -e debian/${pkg}.install ] && \
echo -n "Dispersing files to debian/$pkg/ ... " && \
for file in `cat debian/${pkg}.install`; do
dir=`dirname $file`
mkdir -p debian/$pkg/$dir
cp $SRCDIR/$file debian/$pkg/$dir/
done
echo "done."
done

View File

@ -1 +0,0 @@
usr/share/java/ccm-formbuilder-pdf-6.3.0

View File

@ -1,43 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-install.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
DESTDIR="$1"
[ "xDESTDIR" != "x" ] || exit 1
rm -rf $DESTDIR
mkdir -p $DESTDIR
mkdir -p $DESTDIR${confdir}
mkdir -p $DESTDIR/var/www/html/${name}-${version}
ANT_OPTS="-Dapps.${name}.version=${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.conf.dir=$DESTDIR${confdir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.lib.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.private.lib.dir=$DESTDIR${sharedjardir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.webapp.dir=$DESTDIR${webappdir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.system.jars.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.api.dir.${appname}=$DESTDIR/var/www/html/${name}-${version}/api"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.classes.dir=$DESTDIR/tmp/${name}-${version}"
export ANT_OPTS
$ANT deploy-jar-classes-${appname}
$ANT deploy-${appname}
rm -rf "$DESTDIR/tmp"
# only generate and deploy javadocs if we didn't specify otherwise in CCM_DEBIAN_NO_JAVADOC
GENERATE_JAVADOC=true
if [ `echo $CCM_DEBIAN_NO_JAVADOC | tr ' ' '\n' | grep -c "^${name}-doc$"` -eq 1 ]; then
GENERATE_JAVADOC=false
fi
if [ -d ${appname}/src ]; then
$ANT deploy-jar-classes-${appname}
[ "$GENERATE_JAVADOC" == "true" ] && $ANT deploy-javadoc-${appname} || true
fi

View File

@ -1,44 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# say which app to compile, amongst those specified in the project.xml
export CCM_APP=$name
# do some checks
check_JAVA_HOME
if [ "$name" = "ccm-core" ]; then
check_ORACLE_JDBC_LIB
fi
# set the environment
for file in `echo /etc/profile.d/ccm-{tools,devel,scripts}.sh`; do
. $file
done
cd ..
. $CCM_SCRIPTS_HOME/bin/env-conf.sh ${appname} > /dev/null
cd -
export CCM_HOME=`pwd`
if which classic-ant > /dev/null 2>&1; then
ANT=classic-ant
else
ANT=ant
fi
# perhaps we don't like to build some packages -- get them from DH_OPTIONS
export CCM_DEBIAN_NO_PACKAGES=`echo $DH_OPTIONS | tr -s ' ' '\n' | grep -E '(-N|--no-package=)' | xargs | sed -re 's/(-N|--no-package)//g'`
# for now, assume that if we don't want to build some packages then we don't
# want to generate javadocs for them either
export CCM_DEBIAN_NO_JAVADOC="$CCM_DEBIAN_NO_JAVADOC $CCM_DEBIAN_NO_PACKAGES"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# source the shell library [for the check_* functions]
# FIXME: ugly-looking hack.
orig_DEBIAN_HAS_FRONTEND=$DEBIAN_HAS_FRONTEND
DEBIAN_HAS_FRONTEND=1
. /usr/share/ccm-tools/lib/shellmodule
DEBIAN_HAS_FRONTEND=$orig_DEBIAN_HAS_FRONTEND
# variables we use [especially in ccm-install.sh]
name=ccm-formbuilder-pdf
version=6.3.0
appname=ccm-formbuilder-pdf
appversion=6.3.0
confdir="/etc/ccm/conf"
sharedjardir="/usr/share/java"
webappdir="/usr/share/java/webapps"
ccmclasspathfile="ccm/ccm.classpath"
ccmwebappfile="ccm/ccm.webapps"
. debian/ccm-settings-run.sh

View File

@ -1,30 +0,0 @@
ccm-formbuilder-pdf (6.3.0-1) unstable; urgency=low
* Automatic update of version number from 6.2.0 to 6.3.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 13:51:58 +0000
ccm-formbuilder-pdf (6.2.0-1) unstable; urgency=low
* Automatic update of version number from 0.6.0 to 6.2.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 12:30:10 +0000
ccm-formbuilder-pdf (0.6.0-1) unstable; urgency=low
* Automatic update of version number from 0.5.0 to 0.6.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 05 Sep 2005 15:48:12 +0000
ccm-formbuilder-pdf (0.5.0-2) unstable; urgency=low
* Add ccm-devel to the build-dependancies
* Add ccm-scripts to the build-dependances
-- David Pashley <david@runtime-collective.com> Thu, 28 Apr 2005 11:42:28 +0100
ccm-formbuilder-pdf (0.5.0-1) unstable; urgency=low
* Initial release.
-- Fabrice Retkowsky <fabrice@runtime-collective.com> Fri, 24 Apr 2004 12:27:56 +0100

View File

@ -1 +0,0 @@
4

View File

@ -1,79 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: config,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
db_capb backup
HOSTNAME=`hostname -f` 2>/dev/null || true
if [ -n "$HOSTNAME" ]; then
db_metaget ccm/shared/waf_web_server default || true
PORTNUM=`echo $RET | cut -d: -f2`
db_set ccm/shared/waf_web_server "$HOSTNAME:$PORTNUM" || true
fi
if [ -n "$EMAIL" ]; then
db_set ccm/shared/waf_admin_email "$EMAIL" || true
fi
STATE=1
LASTSTATE=5
while [ "$STATE" != 0 -a "$STATE" -le "$LASTSTATE" ]; do
case "$STATE" in
1)
# Database questions
db_input high ccm/shared/dbase_type || true
db_input high ccm/shared/dbase_host || true
db_input high ccm/shared/dbase_name || true
db_input high ccm/shared/dbase_user || true
db_input high ccm/shared/dbase_password || true
;;
2)
# Server address
db_input high ccm/shared/waf_web_server || true
;;
3)
# Admin questions
db_input high ccm/shared/waf_admin_email || true
db_input high ccm/shared/waf_admin_name_given || true
db_input high ccm/shared/waf_admin_name_family || true
db_input high ccm/shared/waf_admin_password || true
db_input high ccm/shared/waf_admin_password_question || true
db_input high ccm/shared/waf_admin_password_answer || true
;;
4)
# When to load the applications
db_input medium ccm/shared/ccm_load_apps_at_install_p || true
;;
5)
# Whether to set up the [local] database
db_get ccm/shared/dbase_host || true
if [ "$RET" = "localhost" ]; then
db_input medium ccm/shared/pg_set_up_database_p || true
fi
;;
# Add additional states here, making sure to
# increment LASTSTATE.
esac
if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
db_go || true
db_stop

View File

@ -1,21 +0,0 @@
Source: ccm-formbuilder-pdf
Section: contrib/web
Priority: optional
Maintainer: Runtime Packaging <runtime-packaging@runtime-collective.com>
Uploaders: David Pashley <david@runtime-collective.com>
Build-Depends-Indep: debhelper (>= 4.0.0), j2re1.4 | java2-runtime, j2sdk1.4 | java2-compiler, ant, libservlet2.3-java, libpgjava, debconf, po-debconf, ccm-core, ccm-devel, ccm-scripts
Standards-Version: 3.6.1
Package: ccm-formbuilder-pdf
Architecture: all
Depends: debconf, java-virtual-machine-dummy | j2sdk1.4 | java-virtual-machine, ccm-tools, ccm-servlet-container, libservlet2.3-java, libpgjava, liblog4j1.2-java, ccm-core
Description: APLAWS: NTLM authentication module.
This package contains the Auth HTTP application for APLAWS.
.
FIXME: We need a longer and more meaningful description here.
Package: ccm-formbuilder-pdf-doc
Architecture: all
Depends: ccm-tools
Description: Documentation for ccm-formbuilder-pdf
Documentation for ccm-formbuilder-pdf. Provides the JavaDoc API documentation.

View File

@ -1,15 +0,0 @@
This package was debianized by Berkan Eskikaya <berkan@runtime-collective.com> on
Tue, 13 Apr 2004 19:03:14 +0100.
It was downloaded from http://aplaws.sourceforge.net/
Upstream Authors: Redhat UK.
Copyright:
You are free to distribute this software under the terms of
the GNU General Public License.
On Debian systems, the complete text of the GNU General Public
License can be found in the file `/usr/share/common-licenses/GPL'.

View File

@ -1,111 +0,0 @@
#! /bin/sh
# postinst script for ccm-formbuilder-pdf
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postinst,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# 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'.
case "$1" in
configure|reconfigure)
# FIXME: we need to be sensitive to upgrade operations here.
# basically, if pkgversion = appversion, then the datamodel
# hasn't changed -- we just configure the package and don't
# touch the database; else, we need to also update the
# datamodel in the database.
### get the settings for the operations below
ccm_set_env
db_get_ccm_settings ;# db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
### do the usual post-installion configuration
if [ ! -d "/etc/ccm" ]; then
db_message "ccm/shared/error_etc_ccm_missing_dir"
mkdir -p "/etc/ccm"
fi
ccm_update_ccm_classpath add $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps add $ccm_package_name $ccm_package_version
ccm_update_file_attributes $ccm_package_name $ccm_package_version
### try to set up the database if asked to do so
if [ "$pg_set_up_database_p" = "true" ]; then
pg_set_up_database
fi
### try to load the application if asked to do so
if [ "$ccm_load_apps_at_install_p" = "true" -a -n "$JAVA_HOME" ]; then
ccm_load
fi
### run the hostinit step
if [ -n "$JAVA_HOME" ]; then
tomcat_http_port=`echo $waf_web_server | cut -d':' -f2` || true
tomcat_shutdown_port=`expr $tomcat_http_port + 1` || true
ccm_host_init tomcat $tomcat_http_port $tomcat_shutdown_port
fi
### don't give others the registry details [eg the database password] on a golden plate
# FIXME: this interferes with "ccm load" updating the registry. Need to find the right ownership.
# chmod -R o-rwx /etc/ccm/conf/registry || true
;;
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

View File

@ -1,62 +0,0 @@
#! /bin/sh
# postrm script for ccm-formbuilder-pdf
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postrm,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
db_get_ccm_settings
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
if [ "$ccm_package_name" != "ccm-core" ]; then
exit 0 ;# nothing to do
fi
case "$1" in
purge-FIXME)
# FIXME: there are problems with this, so disabling for the moment.
# maybe drop the database
if [ "$dbase_host" = "localhost" ]; then
db_input high ccm/shared/pg_drop_database_at_purge_p || true
db_go
db_stop
if [ "$pg_drop_database_at_purge_p" = "true" ]; then
su - postgres -c "dropdb $dbase_name" 1>&2 || true
su - postgres -c "dropuser $dbase_user" 1>&2 || true
fi
fi
# FIXME: should we still remove /etc/ccm/conf/registry/registry.properties,
# even if we don't or fail to drop the database.
rm -rf /etc/ccm/conf/registry/*
;;
*)
# Nothing to do here.
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,60 +0,0 @@
#! /bin/sh
# prerm script for ccm-formbuilder-pdf
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: prerm,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
db_get_ccm_settings ; db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
case "$1" in
remove|purge|upgrade|deconfigure)
ccm_update_ccm_classpath remove $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps remove $ccm_package_name $ccm_package_version
;;
failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
if [ "$1" = "remove" -a "$ccm_package_name" = "ccm-core" -a -x "/etc/init.d/ccm" ]; then
invoke-rc.d ccm stop || true
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,84 +0,0 @@
#!/usr/bin/make -f
# debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
#
# This version is for packages that are architecture independent.
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: rules,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build.xml:
dh_testdir
# Add here commands to configure the package.
@sh debian/ccm-config.sh
build: build-stamp
build-stamp: build.xml
dh_testdir
# Add here commands to compile the package.
@sh debian/ccm-build.sh
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
@sh debian/ccm-clean.sh
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/<packagename>.
@sh debian/ccm-install.sh $(CURDIR)/debian/tmp
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdirs
dh_installchangelogs
dh_installdocs
dh_installexamples
@sh debian/ccm-disperse.sh debian/tmp
# dh_install --sourcedir=debian/tmp
# dh_installmenu
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installcatalogs
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_undocumented
dh_installman
dh_link
dh_compress
dh_fixperms
# dh_perl
# dh_python
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

View File

@ -1,207 +0,0 @@
Template: ccm/debconf/version
Type: string
Default: $Id: templates,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
Description: The version of the debconf template
Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
.
$Id: templates,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
Template: ccm/package_name
Type: string
Default: ccm-formbuilder-pdf
Description: The name of the package
This is syntetic sugar.
Template: ccm/package_version
Type: string
Default: 6.3.0
Description: The version of the package
This is synthetic sugar.
Template: ccm/shared/dbase_type
Type: select
Choices: postgresql
Default: postgresql
Description: Database backend:
Please choose a database backend. At the moment, you could only select PostgreSQL.
Template: ccm/shared/dbase_host
Type: string
Default: localhost
Description: Database host:
Please specify the host that the database runs on.
Template: ccm/shared/dbase_name
Type: string
Default: ccm01.db
Description: Database name:
Please specify the name of the APLAWS database.
Template: ccm/shared/dbase_user
Type: string
Default: ccm
Description: Database user name:
Please specify the database account for the APLAWS database.
Template: ccm/shared/dbase_password
Type: password
Default: ccmpwd
Description: Database password:
Please choose a password for the APLAWS database account.
Template: ccm/shared/waf_runtime_jdbc_url
Type: string
Default: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Description: JDBC connection URL:
The WAF runtime uses this value to connect to a database.
.
Format: jdbc:[subprotocol]:[subname]
.
Example: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Template: ccm/shared/waf_web_server
Type: string
Default: localhost:9090
Description: Server virtual host:
Please specify the hostname and port that users of a site will
see in URLs generated by WAF.
.
Format: [server hostname]:[port number]
.
Example: example.com:80
Template: ccm/shared/waf_admin_email
Type: string
Default:
Description: Administrator Email Address:
Please specify the system administrator account.
.
Format: <user>@<domain>
.
Example: joe@example.com
Template: ccm/shared/waf_admin_name_given
Type: string
Default:
Description: Administrator First Name:
Please specify the name of the system administrator.
Template: ccm/shared/waf_admin_name_family
Type: string
Default:
Description: Administrator Last Name:
Please specify the surname of the system administrator.
Template: ccm/shared/waf_admin_password
Type: password
Default:
Description: Administrator Password
Please choose a password for the system administrator account.
Template: ccm/shared/waf_admin_password_question
Type: string
Default: The name of your primary school
Description: Administrator Password Question:
This question will be asked when the password to the system administrator
account is lost and access must be recovered.
.
Please only use letters and numbers.
Template: ccm/shared/waf_admin_password_answer
Type: string
Default:
Description: Administrator Password Answer:
Now specify the correct answer to the Administrator Password Question.
.
Please only use letters and numbers.
Template: ccm/shared/ccm_load_apps_at_install_p
Type: boolean
Default: true
Description: Load CCM applications as they install?
You could choose to load CCM applications into the database
automatically after they are installed, or you could load them
manually [with 'ccm load'] yourself.
.
The former will save you some manual work, while the latter is probably
most suited if you are trying to build the applications from the
sources and prefer to load them once all are built and installed.
Template: ccm/shared/pg_set_up_database_p
Type: boolean
Default: true
Description: Do you want me to set up the CCM database and adjust the access permissions?
You have specified a database on your localhost. I could set it up
for you and automatically adjust the access permissions. I could do
this independently of whether or not you have choosen to load the
applications at install time.
.
Say no here if you have already prepared the CCM database yourself
or if you would like to do it later. Saying yes will save you some
manual work.
Template: ccm/shared/pg_drop_database_at_purge_p
Type: boolean
Default: true
Description: Do you want me to drop the CCM database?
Template: ccm/shared/error_etc_ccm_missing_dir
Type: note
Description: CCM configuration directory does not exist.
I couldn't find the CCM configuration directory: /etc/ccm.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package creates this directory --- please verify that it is installed and
intact.
.
I will continue with the configuration by re-creating the directory,
but we may experience problems later.
Template: ccm/shared/ccm_aux_setupdb_failed
Type: note
Description: ccm-aux-setupdb couldn't complete.
The helper script ccm-aux-setupdb didn't succeed.
This means that the CCM database couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
prepare the database and load the application(s) after the
installation.
Template: ccm/shared/ccm_aux_update_hba_conf_failed
Type: note
Description: ccm-aux-update-hba-conf couldn't complete.
The helper script ccm-aux-update-hba-conf didn't succeed.
This means that the access permissions for the ccm database
couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
check/edit the pg_hba.conf file of your PostgreSQL instance
and load the application(s) after the installation.
Template: ccm/shared/error_ccm_tool_not_found
Type: note
Description: The 'ccm' tool not found.
I need the 'ccm' tool [/usr/bin/ccm] to continue but I cannot find it.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package contains this file --- please check your setup after the installation,
and then run "dpkg-reconfigure ccm-formbuilder-pdf".
Template: ccm/shared/error_java_home_not_found
Type: note
Description: JAVA_HOME not found.
JAVA_HOME isn't set --- I have even tried to guess it but failed.
.
This will cancel any 'ccm load' and 'ccm hostinit' operations.
.
Please check your java setup after the installation, and then run
"dpkg-reconfigure ccm-formbuilder-pdf".

View File

@ -1,20 +0,0 @@
#!/bin/sh
#
# Author: Fabrice Retkowsky <fabrice@runtime-collective.com>, 2005
#
# $Id: ccm-build.sh,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
# make a jar with the bundle cfg files
echo "Building bundle jar"
# get the version number
cd build
VER_NUM=`ls *-sql.jar | sort -r | xargs echo | cut -d ' ' -f 1`
VER_NUM=${VER_NUM:15}
VER_NUM=${VER_NUM%-sql.jar}
echo "Version number: $VER_NUM"
cd ..
# make the bundles jar
find * | grep -v "svn" | grep "cfg/" | xargs jar cvf bundles.jar
mv bundles.jar debian/tmp/usr/share/java/ccm-shp-aplaws-${VER_NUM}-bundles.jar

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-build.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
# for eg Oracle jar
CLASSPATH=./lib/:$CLASSPATH
$ANT build-${name}

View File

@ -1,15 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-clean.sh,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
. debian/ccm-settings.sh
[ -f build.xml ] && $ANT clean-${appname}
rm -rf build build.xml ccm.classpath
# ccm-disperse.sh creates the .install files automatically, so let's clean them too.
rm -f ${appname}.install ${appname}-doc.install

View File

@ -1,13 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-config.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
if [ ! -L $name ]; then
ln -s . $name
fi
ccm-create-projectxml.pl > project.xml
ccm-configure.sh

View File

@ -1,39 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-disperse.sh,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
. debian/ccm-settings.sh
SRCDIR="$1"
[ "x$SRCDIR" != "x" ] || exit 1
# automatically generate the .install file lists for dh_install:
(cd $SRCDIR && find . -type f \
| grep -v DEBIAN \
| grep -v var/www/html \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}.install
(cd $SRCDIR && find . -type f -path './var/www/html/*' \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}-doc.install
# for some reason, dh_install doesn't work properly; let's disperse the files ourselves:
for pkg in ${name} ${name}-doc; do
# skip this package if mentioned in CCM_DEBIAN_NO_PACKAGES
[ `echo $CCM_DEBIAN_NO_PACKAGES | tr ' ' '\n' | grep -c "^${pkg}$"` -eq 1 ] && continue || true
# this should exist [due to dh_installdocs, dh_installchangelog], but just in case...
mkdir -p debian/$pkg
[ -e debian/${pkg}.install ] && \
echo -n "Dispersing files to debian/$pkg/ ... " && \
for file in `cat debian/${pkg}.install`; do
dir=`dirname $file`
mkdir -p debian/$pkg/$dir
cp $SRCDIR/$file debian/$pkg/$dir/
done
echo "done."
done

View File

@ -1,43 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-install.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
DESTDIR="$1"
[ "xDESTDIR" != "x" ] || exit 1
rm -rf $DESTDIR
mkdir -p $DESTDIR
mkdir -p $DESTDIR${confdir}
mkdir -p $DESTDIR/var/www/html/${name}-${version}
ANT_OPTS="-Dapps.${name}.version=${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.conf.dir=$DESTDIR${confdir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.lib.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.private.lib.dir=$DESTDIR${sharedjardir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.webapp.dir=$DESTDIR${webappdir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.system.jars.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.api.dir.${appname}=$DESTDIR/var/www/html/${name}-${version}/api"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.classes.dir=$DESTDIR/tmp/${name}-${version}"
export ANT_OPTS
$ANT deploy-jar-classes-${appname}
$ANT deploy-${appname}
rm -rf "$DESTDIR/tmp"
# only generate and deploy javadocs if we didn't specify otherwise in CCM_DEBIAN_NO_JAVADOC
GENERATE_JAVADOC=true
if [ `echo $CCM_DEBIAN_NO_JAVADOC | tr ' ' '\n' | grep -c "^${name}-doc$"` -eq 1 ]; then
GENERATE_JAVADOC=false
fi
if [ -d ${appname}/src ]; then
$ANT deploy-jar-classes-${appname}
[ "$GENERATE_JAVADOC" == "true" ] && $ANT deploy-javadoc-${appname} || true
fi

View File

@ -1 +0,0 @@
usr/share/java/ccm-shp-aplaws-6.5.0

View File

@ -1,44 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# say which app to compile, amongst those specified in the project.xml
export CCM_APP=$name
# do some checks
check_JAVA_HOME
if [ "$name" = "ccm-core" ]; then
check_ORACLE_JDBC_LIB
fi
# set the environment
for file in `echo /etc/profile.d/ccm-{tools,devel,scripts}.sh`; do
. $file
done
cd ..
. $CCM_SCRIPTS_HOME/bin/env-conf.sh ${appname} > /dev/null
cd -
export CCM_HOME=`pwd`
if which classic-ant > /dev/null 2>&1; then
ANT=classic-ant
else
ANT=ant
fi
# perhaps we don't like to build some packages -- get them from DH_OPTIONS
export CCM_DEBIAN_NO_PACKAGES=`echo $DH_OPTIONS | tr -s ' ' '\n' | grep -E '(-N|--no-package=)' | xargs | sed -re 's/(-N|--no-package)//g'`
# for now, assume that if we don't want to build some packages then we don't
# want to generate javadocs for them either
export CCM_DEBIAN_NO_JAVADOC="$CCM_DEBIAN_NO_JAVADOC $CCM_DEBIAN_NO_PACKAGES"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# source the shell library [for the check_* functions]
# FIXME: ugly-looking hack.
orig_DEBIAN_HAS_FRONTEND=$DEBIAN_HAS_FRONTEND
DEBIAN_HAS_FRONTEND=1
. /usr/share/ccm-tools/lib/shellmodule
DEBIAN_HAS_FRONTEND=$orig_DEBIAN_HAS_FRONTEND
# variables we use [especially in ccm-install.sh]
name=ccm-shp-aplaws
version=6.5.0
appname=ccm-shp-aplaws
appversion=6.5.0
confdir="/etc/ccm/conf"
sharedjardir="/usr/share/java"
webappdir="/usr/share/java/webapps"
ccmclasspathfile="ccm/ccm.classpath"
ccmwebappfile="ccm/ccm.webapps"
. debian/ccm-settings-run.sh

View File

@ -1,87 +0,0 @@
ccm-ldn-aplaws (6.3.0-1) unstable; urgency=low
* Automatic update of version number from 6.2.0 to 6.3.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 13:51:59 +0000
ccm-ldn-aplaws (6.2.0-1) unstable; urgency=low
* Automatic update of version number from 1.9.2 to 6.2.0
-- Runtime Collective Ltd. <info@runtime-collective.com> Mon, 10 Oct 2005 12:30:10 +0000
ccm-ldn-aplaws (1.9.2-5) unstable; urgency=low
* Added back missing import in lib.xsl
-- My <myuser@firenze.runtime-collective.com> Tue, 20 Sep 2005 14:15:06 +0000
ccm-ldn-aplaws (1.9.2-4) unstable; urgency=low
* New component to display assignedTerms on category index items
-- My <myuser@firenze.runtime-collective.com> Fri, 8 Jul 2005 17:22:49 +0000
ccm-ldn-aplaws (1.9.2-3) unstable; urgency=low
* SiteProxy as index items
-- My <myuser@firenze.runtime-collective.com> Fri, 24 Jun 2005 09:21:54 +0000
ccm-ldn-aplaws (1.9.2-2) unstable; urgency=low
* MPAs as index items
-- My <myuser@firenze.runtime-collective.com> Thu, 23 Jun 2005 15:38:00 +0000
ccm-ldn-aplaws (1.9.2-1) unstable; urgency=low
* New release
-- David Pashley <david@runtime-collective.com> Mon, 14 Feb 2005 15:07:58 +0000
ccm-ldn-aplaws (1.9.1-5) unstable; urgency=low
* Depend on j2sdk1.4 | java2-compiler
* Update to policy 3.6.1
* Change maintainer to the mailing list and add uploaders
-- David Pashley <david@runtime-collective.com> Mon, 14 Feb 2005 15:07:58 +0000
ccm-ldn-aplaws (1.9.1-4) unstable; urgency=low
* debian/postrm: disabled the purge operations [had some weird problems].
* updated the debian control scripts to get the package name and version from their invocation.
-- Berkan Eskikaya <berkan@runtime-collective.com> Mon, 10 May 2004 12:33:33 +0100
ccm-ldn-aplaws (1.9.1-3) unstable; urgency=low
* debian/templates: made load-at-install and setup-database-at-install the default behaviour.
* debian/postinst: ccm_hostinit will try to use web.xml-aplaws from ccm-ldn-aplaws.
* debian/ccm-settings.sh: correct checking/setting of ORACLE_JDBC_LIB [Chris].
* debian/templates: changed the default postgresql database and user names to "ccm01.db" and "ccm".
* debian/config: added detection of the hostname of the machine and possibly the user's email.
* major restructuring of the debian scripts: moved all utility functions to ccm-tools and made postinst, postrm, prerm and ccm-settings.sh source and use that file.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 7 May 2004 13:04:43 +0100
ccm-ldn-aplaws (1.9.1-2) unstable; urgency=low
* The build process now tries to automatically detect JAVA_HOME and the location of Oracle's java library.
* debian/ccm-clean.sh: only calls the ant process if build.xml exists.
* debian/{postinst,prerm,config,templates}: added debconf support
* debian/postinst: accepts 'reconfigure' and treats it as 'configure'.
* debian/postinst: added postgresql.jar to CLASSPATH; added libpgjava to the dependencies.
* debian/postinst: removed some bashisms upon recommendation from lintian.
* debian/rules: enabled dh_installdebconf.
* debian/control: made the package depend on debconf.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 1 May 2004 15:41:43 +0100
ccm-ldn-aplaws (1.9.1-1) unstable; urgency=low
* Initial release.
-- Berkan Eskikaya <berkan@runtime-collective.com> Fri, 24 Apr 2004 12:27:56 +0100

View File

@ -1 +0,0 @@
4

View File

@ -1,79 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: config,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
db_capb backup
HOSTNAME=`hostname -f` 2>/dev/null || true
if [ -n "$HOSTNAME" ]; then
db_metaget ccm/shared/waf_web_server default || true
PORTNUM=`echo $RET | cut -d: -f2`
db_set ccm/shared/waf_web_server "$HOSTNAME:$PORTNUM" || true
fi
if [ -n "$EMAIL" ]; then
db_set ccm/shared/waf_admin_email "$EMAIL" || true
fi
STATE=1
LASTSTATE=5
while [ "$STATE" != 0 -a "$STATE" -le "$LASTSTATE" ]; do
case "$STATE" in
1)
# Database questions
db_input high ccm/shared/dbase_type || true
db_input high ccm/shared/dbase_host || true
db_input high ccm/shared/dbase_name || true
db_input high ccm/shared/dbase_user || true
db_input high ccm/shared/dbase_password || true
;;
2)
# Server address
db_input high ccm/shared/waf_web_server || true
;;
3)
# Admin questions
db_input high ccm/shared/waf_admin_email || true
db_input high ccm/shared/waf_admin_name_given || true
db_input high ccm/shared/waf_admin_name_family || true
db_input high ccm/shared/waf_admin_password || true
db_input high ccm/shared/waf_admin_password_question || true
db_input high ccm/shared/waf_admin_password_answer || true
;;
4)
# When to load the applications
db_input medium ccm/shared/ccm_load_apps_at_install_p || true
;;
5)
# Whether to set up the [local] database
db_get ccm/shared/dbase_host || true
if [ "$RET" = "localhost" ]; then
db_input medium ccm/shared/pg_set_up_database_p || true
fi
;;
# Add additional states here, making sure to
# increment LASTSTATE.
esac
if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
db_go || true
db_stop

View File

@ -1,21 +0,0 @@
Source: ccm-shp-aplaws
Section: contrib/web
Priority: optional
Maintainer: Runtime Packaging <runtime-packaging@runtime-collective.com>
Uploaders: David Pashley <david@runtime-collective.com>
Build-Depends-Indep: debhelper (>= 4.0.0), j2re1.4 | java2-runtime, j2sdk1.4 | java2-compiler, ant, libservlet2.3-java, libpgjava, debconf, po-debconf, ccm-tools, ccm-devel, ccm-scripts, ccm-cms, ccm-core, ccm-ldn-navigation, ccm-ldn-portal, ccm-ldn-subsite, ccm-ldn-terms
Standards-Version: 3.6.1
Package: ccm-shp-aplaws
Architecture: all
Depends: java-virtual-machine-dummy | j2sdk1.4 | java-virtual-machine, ccm-tools, ccm-servlet-container, libservlet2.3-java, libpgjava, liblog4j1.2-java , ccm-core, ccm-cms, ccm-ldn-subsite, ccm-ldn-portal, ccm-ldn-terms, ccm-ldn-navigation, ccm-cms-types-article
Description: APLAWS: APLAWS integration application for non-governmental use.
This package contains the APLAWS application for APLAWS.
.
FIXME: We need a longer and more meaningful description here.
Package: ccm-shp-aplaws-doc
Architecture: all
Depends: ccm-tools
Description: Documentation for ccm-shp-aplaws
Documentation for ccm-shp-aplaws. Provides the JavaDoc API documentation.

View File

@ -1,15 +0,0 @@
This package was debianized by Berkan Eskikaya <berkan@runtime-collective.com> on
Tue, 13 Apr 2004 19:03:14 +0100.
It was downloaded from http://aplaws.sourceforge.net/
Upstream Authors: Redhat UK.
Copyright:
You are free to distribute this software under the terms of
the GNU General Public License.
On Debian systems, the complete text of the GNU General Public
License can be found in the file `/usr/share/common-licenses/GPL'.

View File

@ -1,112 +0,0 @@
#! /bin/sh
# postinst script for ccm-ldn-aplaws
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postinst,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# 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'.
case "$1" in
configure|reconfigure)
# FIXME: we need to be sensitive to upgrade operations here.
# basically, if pkgversion = appversion, then the datamodel
# hasn't changed -- we just configure the package and don't
# touch the database; else, we need to also update the
# datamodel in the database.
### get the settings for the operations below
ccm_set_env
db_get_ccm_settings ;# db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
### do the usual post-installion configuration
if [ ! -d "/etc/ccm" ]; then
db_message "ccm/shared/error_etc_ccm_missing_dir"
mkdir -p "/etc/ccm"
fi
ccm_update_ccm_classpath add $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps add $ccm_package_name $ccm_package_version
ccm_update_file_attributes $ccm_package_name $ccm_package_version
### try to set up the database if asked to do so
if [ "$pg_set_up_database_p" = "true" ]; then
pg_set_up_database
fi
### try to load the application if asked to do so
if [ "$ccm_load_apps_at_install_p" = "true" -a -n "$JAVA_HOME" ]; then
ccm_load
fi
### run the hostinit step
if [ -n "$JAVA_HOME" ]; then
tomcat_http_port=`echo $waf_web_server | cut -d':' -f2` || true
tomcat_shutdown_port=`expr $tomcat_http_port + 1` || true
ccm_host_init tomcat $tomcat_http_port $tomcat_shutdown_port
fi
### don't give others the registry details [eg the database password] on a golden plate
# FIXME: this interferes with "ccm load" updating the registry. Need to find the right ownership.
# chmod -R o-rwx /etc/ccm/conf/registry || true
;;
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

View File

@ -1,62 +0,0 @@
#! /bin/sh
# postrm script for ccm-ldn-aplaws
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: postrm,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
db_get_ccm_settings
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
if [ "$ccm_package_name" != "ccm-core" ]; then
exit 0 ;# nothing to do
fi
case "$1" in
purge-FIXME)
# FIXME: there are problems with this, so disabling for the moment.
# maybe drop the database
if [ "$dbase_host" = "localhost" ]; then
db_input high ccm/shared/pg_drop_database_at_purge_p || true
db_go
db_stop
if [ "$pg_drop_database_at_purge_p" = "true" ]; then
su - postgres -c "dropdb $dbase_name" 1>&2 || true
su - postgres -c "dropuser $dbase_user" 1>&2 || true
fi
fi
# FIXME: should we still remove /etc/ccm/conf/registry/registry.properties,
# even if we don't or fail to drop the database.
rm -rf /etc/ccm/conf/registry/*
;;
*)
# Nothing to do here.
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,60 +0,0 @@
#! /bin/sh
# prerm script for ccm-ldn-aplaws
#
# see: dh_installdeb(1)
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: prerm,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
set -e
. /usr/share/debconf/confmodule
. /usr/share/ccm-tools/lib/shellmodule
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
db_get_ccm_settings ; db_stop
get_pkgname_from_arg "$0"
ccm_package_name="$RET"
get_pkgversion_from_dpkg "$ccm_package_name"
ccm_package_version="$RET"
case "$1" in
remove|purge|upgrade|deconfigure)
ccm_update_ccm_classpath remove $ccm_package_name $ccm_package_version
ccm_update_ccm_webapps remove $ccm_package_name $ccm_package_version
;;
failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
if [ "$1" = "remove" -a "$ccm_package_name" = "ccm-core" -a -x "/etc/init.d/ccm" ]; then
invoke-rc.d ccm stop || true
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,85 +0,0 @@
#!/usr/bin/make -f
# debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
#
# This version is for packages that are architecture independent.
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: rules,v 1.1.1.1 2004/11/12 09:30:00 fabrice Exp $
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build.xml:
dh_testdir
# Add here commands to configure the package.
@sh debian/ccm-config.sh
build: build-stamp
build-stamp: build.xml
dh_testdir
# Add here commands to compile the package.
@sh debian/ccm-build.sh
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
@sh debian/ccm-clean.sh
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/<packagename>.
@sh debian/ccm-install.sh $(CURDIR)/debian/tmp
@sh debian/ccm-build-bundles.sh
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdirs
dh_installchangelogs
dh_installdocs
dh_installexamples
@sh debian/ccm-disperse.sh debian/tmp
# dh_install --sourcedir=debian/tmp
# dh_installmenu
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installcatalogs
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_undocumented
dh_installman
dh_link
dh_compress
dh_fixperms
# dh_perl
# dh_python
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

View File

@ -1,207 +0,0 @@
Template: ccm/debconf/version
Type: string
Default: $Id: templates,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
Description: The version of the debconf template
Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
.
$Id: templates,v 1.1.1.1 2004/11/12 09:30:12 fabrice Exp $
Template: ccm/package_name
Type: string
Default: ccm-shp-aplaws
Description: The name of the package
This is syntetic sugar.
Template: ccm/package_version
Type: string
Default: 6.5.0
Description: The version of the package
This is synthetic sugar.
Template: ccm/shared/dbase_type
Type: select
Choices: postgresql
Default: postgresql
Description: Database backend:
Please choose a database backend. At the moment, you could only select PostgreSQL.
Template: ccm/shared/dbase_host
Type: string
Default: localhost
Description: Database host:
Please specify the host that the database runs on.
Template: ccm/shared/dbase_name
Type: string
Default: ccm01.db
Description: Database name:
Please specify the name of the APLAWS database.
Template: ccm/shared/dbase_user
Type: string
Default: ccm
Description: Database user name:
Please specify the database account for the APLAWS database.
Template: ccm/shared/dbase_password
Type: password
Default: ccmpwd
Description: Database password:
Please choose a password for the APLAWS database account.
Template: ccm/shared/waf_runtime_jdbc_url
Type: string
Default: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Description: JDBC connection URL:
The WAF runtime uses this value to connect to a database.
.
Format: jdbc:[subprotocol]:[subname]
.
Example: jdbc:postgresql://localhost/ccm01.db?user=ccm&password=ccmpwd
Template: ccm/shared/waf_web_server
Type: string
Default: localhost:9090
Description: Server virtual host:
Please specify the hostname and port that users of a site will
see in URLs generated by WAF.
.
Format: [server hostname]:[port number]
.
Example: example.com:80
Template: ccm/shared/waf_admin_email
Type: string
Default:
Description: Administrator Email Address:
Please specify the system administrator account.
.
Format: <user>@<domain>
.
Example: joe@example.com
Template: ccm/shared/waf_admin_name_given
Type: string
Default:
Description: Administrator First Name:
Please specify the name of the system administrator.
Template: ccm/shared/waf_admin_name_family
Type: string
Default:
Description: Administrator Last Name:
Please specify the surname of the system administrator.
Template: ccm/shared/waf_admin_password
Type: password
Default:
Description: Administrator Password
Please choose a password for the system administrator account.
Template: ccm/shared/waf_admin_password_question
Type: string
Default: The name of your primary school
Description: Administrator Password Question:
This question will be asked when the password to the system administrator
account is lost and access must be recovered.
.
Please only use letters and numbers.
Template: ccm/shared/waf_admin_password_answer
Type: string
Default:
Description: Administrator Password Answer:
Now specify the correct answer to the Administrator Password Question.
.
Please only use letters and numbers.
Template: ccm/shared/ccm_load_apps_at_install_p
Type: boolean
Default: true
Description: Load CCM applications as they install?
You could choose to load CCM applications into the database
automatically after they are installed, or you could load them
manually [with 'ccm load'] yourself.
.
The former will save you some manual work, while the latter is probably
most suited if you are trying to build the applications from the
sources and prefer to load them once all are built and installed.
Template: ccm/shared/pg_set_up_database_p
Type: boolean
Default: true
Description: Do you want me to set up the CCM database and adjust the access permissions?
You have specified a database on your localhost. I could set it up
for you and automatically adjust the access permissions. I could do
this independently of whether or not you have choosen to load the
applications at install time.
.
Say no here if you have already prepared the CCM database yourself
or if you would like to do it later. Saying yes will save you some
manual work.
Template: ccm/shared/pg_drop_database_at_purge_p
Type: boolean
Default: true
Description: Do you want me to drop the CCM database?
Template: ccm/shared/error_etc_ccm_missing_dir
Type: note
Description: CCM configuration directory does not exist.
I couldn't find the CCM configuration directory: /etc/ccm.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package creates this directory --- please verify that it is installed and
intact.
.
I will continue with the configuration by re-creating the directory,
but we may experience problems later.
Template: ccm/shared/ccm_aux_setupdb_failed
Type: note
Description: ccm-aux-setupdb couldn't complete.
The helper script ccm-aux-setupdb didn't succeed.
This means that the CCM database couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
prepare the database and load the application(s) after the
installation.
Template: ccm/shared/ccm_aux_update_hba_conf_failed
Type: note
Description: ccm-aux-update-hba-conf couldn't complete.
The helper script ccm-aux-update-hba-conf didn't succeed.
This means that the access permissions for the ccm database
couldn't be set up.
.
If you have answered yes to the automatic loading of
applications at install time, I will still try to honour
that.
.
In case that doesn't succeed [likely now], please manually
check/edit the pg_hba.conf file of your PostgreSQL instance
and load the application(s) after the installation.
Template: ccm/shared/error_ccm_tool_not_found
Type: note
Description: The 'ccm' tool not found.
I need the 'ccm' tool [/usr/bin/ccm] to continue but I cannot find it.
.
This probably points at a corrupt or unusual CCM installation. The ccm-tools
package contains this file --- please check your setup after the installation,
and then run "dpkg-reconfigure ccm-ldn-aplaws".
Template: ccm/shared/error_java_home_not_found
Type: note
Description: JAVA_HOME not found.
JAVA_HOME isn't set --- I have even tried to guess it but failed.
.
This will cancel any 'ccm load' and 'ccm hostinit' operations.
.
Please check your java setup after the installation, and then run
"dpkg-reconfigure ccm-ldn-aplaws".

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-build.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
# for eg Oracle jar
CLASSPATH=./lib/:$CLASSPATH
$ANT build-${name}

View File

@ -1,15 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-clean.sh,v 1.1.1.1 2004/11/12 09:30:14 fabrice Exp $
. debian/ccm-settings.sh
[ -f build.xml ] && $ANT clean-${appname}
rm -rf build build.xml ccm.classpath
# ccm-disperse.sh creates the .install files automatically, so let's clean them too.
rm -f ${appname}.install ${appname}-doc.install

View File

@ -1,13 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-config.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
if [ ! -L $name ]; then
ln -s . $name
fi
ccm-create-projectxml.pl > project.xml
ccm-configure.sh

View File

@ -1,39 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-disperse.sh,v 1.1.1.1 2004/11/12 09:30:14 fabrice Exp $
. debian/ccm-settings.sh
SRCDIR="$1"
[ "x$SRCDIR" != "x" ] || exit 1
# automatically generate the .install file lists for dh_install:
(cd $SRCDIR && find . -type f \
| grep -v DEBIAN \
| grep -v var/www/html \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}.install
(cd $SRCDIR && find . -type f -path './var/www/html/*' \
| sed -e 's/^\.\/*\(.*\)/\1/' -e '/./,/^$/!d') > debian/${name}-doc.install
# for some reason, dh_install doesn't work properly; let's disperse the files ourselves:
for pkg in ${name} ${name}-doc; do
# skip this package if mentioned in CCM_DEBIAN_NO_PACKAGES
[ `echo $CCM_DEBIAN_NO_PACKAGES | tr ' ' '\n' | grep -c "^${pkg}$"` -eq 1 ] && continue || true
# this should exist [due to dh_installdocs, dh_installchangelog], but just in case...
mkdir -p debian/$pkg
[ -e debian/${pkg}.install ] && \
echo -n "Dispersing files to debian/$pkg/ ... " && \
for file in `cat debian/${pkg}.install`; do
dir=`dirname $file`
mkdir -p debian/$pkg/$dir
cp $SRCDIR/$file debian/$pkg/$dir/
done
echo "done."
done

View File

@ -1,43 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-install.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
. debian/ccm-settings.sh
DESTDIR="$1"
[ "xDESTDIR" != "x" ] || exit 1
rm -rf $DESTDIR
mkdir -p $DESTDIR
mkdir -p $DESTDIR${confdir}
mkdir -p $DESTDIR/var/www/html/${name}-${version}
ANT_OPTS="-Dapps.${name}.version=${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.conf.dir=$DESTDIR${confdir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.lib.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.private.lib.dir=$DESTDIR${sharedjardir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.webapp.dir=$DESTDIR${webappdir}/${name}-${version}"
ANT_OPTS="$ANT_OPTS -Ddeploy.system.jars.dir=$DESTDIR${sharedjardir}"
ANT_OPTS="$ANT_OPTS -Ddeploy.api.dir.${appname}=$DESTDIR/var/www/html/${name}-${version}/api"
ANT_OPTS="$ANT_OPTS -Ddeploy.shared.classes.dir=$DESTDIR/tmp/${name}-${version}"
export ANT_OPTS
$ANT deploy-jar-classes-${appname}
$ANT deploy-${appname}
rm -rf "$DESTDIR/tmp"
# only generate and deploy javadocs if we didn't specify otherwise in CCM_DEBIAN_NO_JAVADOC
GENERATE_JAVADOC=true
if [ `echo $CCM_DEBIAN_NO_JAVADOC | tr ' ' '\n' | grep -c "^${name}-doc$"` -eq 1 ]; then
GENERATE_JAVADOC=false
fi
if [ -d ${appname}/src ]; then
$ANT deploy-jar-classes-${appname}
[ "$GENERATE_JAVADOC" == "true" ] && $ANT deploy-javadoc-${appname} || true
fi

View File

@ -1,44 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# say which app to compile, amongst those specified in the project.xml
export CCM_APP=$name
# do some checks
check_JAVA_HOME
if [ "$name" = "ccm-core" ]; then
check_ORACLE_JDBC_LIB
fi
# set the environment
for file in `echo /etc/profile.d/ccm-{tools,devel,scripts}.sh`; do
. $file
done
cd ..
. $CCM_SCRIPTS_HOME/bin/env-conf.sh ${appname} > /dev/null
cd -
export CCM_HOME=`pwd`
if which classic-ant > /dev/null 2>&1; then
ANT=classic-ant
else
ANT=ant
fi
# perhaps we don't like to build some packages -- get them from DH_OPTIONS
export CCM_DEBIAN_NO_PACKAGES=`echo $DH_OPTIONS | tr -s ' ' '\n' | grep -E '(-N|--no-package=)' | xargs | sed -re 's/(-N|--no-package)//g'`
# for now, assume that if we don't want to build some packages then we don't
# want to generate javadocs for them either
export CCM_DEBIAN_NO_JAVADOC="$CCM_DEBIAN_NO_JAVADOC $CCM_DEBIAN_NO_PACKAGES"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# Author: Berkan Eskikaya <berkan@runtime-collective.com>, 2004
#
# $Id: ccm-settings.sh,v 1.1.1.1 2004/11/12 09:29:59 fabrice Exp $
# source the shell library [for the check_* functions]
# FIXME: ugly-looking hack.
orig_DEBIAN_HAS_FRONTEND=$DEBIAN_HAS_FRONTEND
DEBIAN_HAS_FRONTEND=1
. /usr/share/ccm-tools/lib/shellmodule
DEBIAN_HAS_FRONTEND=$orig_DEBIAN_HAS_FRONTEND
# variables we use [especially in ccm-install.sh]
name=ccm-webpage
version=6.3.0
appname=ccm-webpage
appversion=6.3.0
confdir="/etc/ccm/conf"
sharedjardir="/usr/share/java"
webappdir="/usr/share/java/webapps"
ccmclasspathfile="ccm/ccm.classpath"
ccmwebappfile="ccm/ccm.webapps"
. debian/ccm-settings-run.sh

View File

@ -1,71 +0,0 @@
var/www/html/ccm-webpage-6.3.0/api/help-doc.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpagePortletEditorPage.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpagePortlet.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/AuthorLabelPrinter.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/ContentPanelWebpageNode.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpageCMSEditorPage.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpageCMSEditorPage.WebpageCMSEditorForm.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpagePortletEditorPage.WebpagePortletEditorForm.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/CategoriesPrintListener.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpagePreviewPage.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpageCMSEditorPage.WebpageCMSEditorForm.TimeZonePrinter.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpagePortletEditorPage.CurrentApplicationLinkPrinter.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/class-use/WebpagePortletEditor.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpageCMSEditorPage.WebpageCMSEditorForm.TimeZonePrinter.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/authoring/WebpagePropertiesForm.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/authoring/class-use/WebpagePropertiesForm.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/authoring/class-use/WebpagePropertiesStep.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/authoring/package-frame.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/authoring/package-use.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/authoring/WebpagePropertiesStep.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/authoring/package-tree.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/authoring/package-summary.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/package-frame.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpagePortlet.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpagePortletEditorPage.CurrentApplicationLinkPrinter.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/AuthorLabelPrinter.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/ContentPanelWebpageNode.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/package-tree.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpagePortletEditorPage.WebpagePortletEditorForm.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpageCMSEditorPage.WebpageCMSEditorForm.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpagePortletEditor.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/CategoriesPrintListener.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpagePreviewPage.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/package-use.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpageCMSEditorPage.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/package-summary.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/ui/WebpagePortletEditorPage.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/installer/class-use/WebpageInitializer.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/installer/class-use/Initializer.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/installer/package-use.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/installer/package-summary.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/installer/WebpageInitializer.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/installer/package-tree.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/installer/package-frame.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/installer/Initializer.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/WebpageLoader.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/class-use/WebpageConstants.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/class-use/Webpage.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/class-use/WebpageLoader.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/class-use/WebpageConfig.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/WebpageConfig.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/Webpage.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/package-frame.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/package-summary.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/package-tree.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/package-use.html
var/www/html/ccm-webpage-6.3.0/api/com/arsdigita/cms/webpage/WebpageConstants.html
var/www/html/ccm-webpage-6.3.0/api/stylesheet.css
var/www/html/ccm-webpage-6.3.0/api/serialized-form.html
var/www/html/ccm-webpage-6.3.0/api/packages.html
var/www/html/ccm-webpage-6.3.0/api/constant-values.html
var/www/html/ccm-webpage-6.3.0/api/index-all.html
var/www/html/ccm-webpage-6.3.0/api/index.html
var/www/html/ccm-webpage-6.3.0/api/overview-summary.html
var/www/html/ccm-webpage-6.3.0/api/package-list
var/www/html/ccm-webpage-6.3.0/api/resources/inherit.gif
var/www/html/ccm-webpage-6.3.0/api/allclasses-frame.html
var/www/html/ccm-webpage-6.3.0/api/overview-frame.html
var/www/html/ccm-webpage-6.3.0/api/allclasses-noframe.html
var/www/html/ccm-webpage-6.3.0/api/overview-tree.html
var/www/html/ccm-webpage-6.3.0/api/deprecated-list.html

Some files were not shown because too many files have changed in this diff Show More