Removed the Debian directory.
Renamed directory "dev" to "dev_tools". Replaced the ecasound-2.7.2 with a new download of ecasound. The reason is that the previous ecasound directory had all the Makefiles checked in with hardcoded paths from Naomi's computer. This prevented anyone else from being able to build. I copied over the modified version of ecacontrol.py.
This commit is contained in:
parent
bfbca3f724
commit
6a39e4f5f5
463 changed files with 0 additions and 49380 deletions
10
debian/campcaster-data.lintian-overrides
vendored
10
debian/campcaster-data.lintian-overrides
vendored
|
@ -1,10 +0,0 @@
|
|||
# Upstream uses realtive paths to data folders, so we use
|
||||
# syminks to /var/campcaster/.. where persistant data is stored
|
||||
campcaster-data: package-contains-empty-directory usr/share/campcaster/www/htmlUI/var/templates_c/
|
||||
campcaster-data: package-contains-empty-directory usr/share/campcaster/www/storageServer/var/access/
|
||||
campcaster-data: package-contains-empty-directory usr/share/campcaster/www/storageServer/var/stor/buffer/
|
||||
campcaster-data: package-contains-empty-directory usr/share/campcaster/www/storageServer/var/trans/
|
||||
# Upstream uses a patched/customized version of Smarty - but is
|
||||
# working on getting solving issue to move to a maintained one.
|
||||
campcaster-data: embedded-php-library usr/share/campcaster/www/htmlUI/var/Smarty/libs/Smarty_Compiler.class.php
|
||||
campcaster-data: embedded-php-library usr/share/campcaster/www/htmlUI/var/Smarty/libs/Smarty.class.php
|
52
debian/campcaster-data.prerm
vendored
52
debian/campcaster-data.prerm
vendored
|
@ -1,52 +0,0 @@
|
|||
#!/bin/sh
|
||||
# prerm script for campcaster
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
installdir=/
|
||||
vardir=/var/lib/campcaster/
|
||||
ls_database=Campcaster
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
mkdir -p $vardir
|
||||
|
||||
# remove generated files
|
||||
rm -rf $vardir/htmlUI/var/html/img/*
|
||||
rm -rf $vardir/htmlUI/var/templates_c/*
|
||||
rm -rf $vardir/storageServer/var/access/*
|
||||
rm -rf $vardir/storageServer/var/trans/*
|
||||
|
||||
##rm -rf $installdir/etc/pear.conf
|
||||
|
||||
;;
|
||||
|
||||
failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm 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
|
68
debian/campcaster-import.1
vendored
68
debian/campcaster-import.1
vendored
|
@ -1,68 +0,0 @@
|
|||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" URL Macro
|
||||
.de URL
|
||||
\\$2 \(laURL: \\$1 \(ra\\$3
|
||||
..
|
||||
.if \n[.g] .mso www.tmac
|
||||
.\"
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH CAMPCASTER\-IMPORT 1 "October 5, 2010"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.nh
|
||||
.SH NAME
|
||||
campcaster-import \- batch upload files to Campcaster storage
|
||||
.SH SYNOPSIS
|
||||
.B campcaster-import
|
||||
.RI "[-h] -l|-c" " FILES_OR_DIRS"
|
||||
.SH DESCRIPTION
|
||||
This tool enables users to batch upload audio files to the Campcaster storage server.
|
||||
There are two ways to import audio files into Campcaster: linking or copying.
|
||||
You need to specify how to import the files by using either
|
||||
.B \-l
|
||||
(link) or
|
||||
.B -c
|
||||
(copy) option.
|
||||
.B -h
|
||||
will print further help information.
|
||||
.PP
|
||||
Linking has the advantage that it will not duplicate any files,
|
||||
but you must take care not to move, rename, or delete any of the
|
||||
imported files from their current locations on disk.
|
||||
.PP
|
||||
Copying has the advantage that you can do whatever you like with
|
||||
the source files after you import them, but has the disadvantage
|
||||
that it requires double the disk space needed to store your files.
|
||||
.PP
|
||||
Campcaster is free and open radio management software, providing
|
||||
live studio broadcast capabilities as well as the remote automation in one
|
||||
integrated system. The scalability of Campcaster allows implementation in a
|
||||
number of use scenarios, ranging from an unmanned broadcast unit accessed
|
||||
via the Internet to a local network of Campcaster machines inside a
|
||||
radio station handling live broadcasts and delivering program automation by
|
||||
accessing a central audio storage system. Campcaster is capable of combining
|
||||
local audio files and remote web streams, supporting the widely used MP3 format
|
||||
and the open equivalent OGG Vorbis.
|
||||
.SH SEE ALSO
|
||||
.URL "http://en.flossmanuals.net/campcaster/" "Online manual" ,
|
||||
.br
|
||||
.BR campcaster-scheduler (1).
|
||||
.SH AUTHOR
|
||||
Campcaster was written by Sourcefabric with the support of the Media Develoment
|
||||
Loan Fund. For full credits see the
|
||||
.URL "http://campcaster.sourcefabric.org/" "Campcaster homepage" .
|
||||
.PP
|
||||
This manual page was written by Robin Gareus <robin@gareus.org>,
|
||||
for the Debian project (and may be used by others).
|
1
debian/campcaster-libs.dirs
vendored
1
debian/campcaster-libs.dirs
vendored
|
@ -1 +0,0 @@
|
|||
usr/lib
|
9
debian/campcaster-libs.lintian-overrides
vendored
9
debian/campcaster-libs.lintian-overrides
vendored
|
@ -1,9 +0,0 @@
|
|||
# Campcaster has a job opening for someone to
|
||||
# refactor code to use standard PEAR classes.
|
||||
# see http://www.campware.org/en/camp/about_campware/696/ for details.
|
||||
#
|
||||
# Note that the embedded-pear-modules are unpatched upstream
|
||||
# versions - they're just included for version compatibiliy issues
|
||||
campcaster-libs: embedded-pear-module usr/lib/campcaster/pear/PEAR/Command/Auth.php
|
||||
campcaster-libs: embedded-pear-module usr/lib/campcaster/pear/PEAR/Command/Config.php
|
||||
campcaster-libs: embedded-pear-module usr/lib/campcaster/pear/PEAR/Config.php
|
58
debian/campcaster-scheduler.1
vendored
58
debian/campcaster-scheduler.1
vendored
|
@ -1,58 +0,0 @@
|
|||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" URL Macro
|
||||
.de URL
|
||||
\\$2 \(laURL: \\$1 \(ra\\$3
|
||||
..
|
||||
.if \n[.g] .mso www.tmac
|
||||
.\"
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH CAMPCASTER\-SCHEDULER 1 "October 5, 2010"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.nh
|
||||
.SH NAME
|
||||
campcaster-scheduler \- Script controlling the Campcaster scheduling daemon
|
||||
.SH SYNOPSIS
|
||||
.B campcaster-scheduler
|
||||
.RI start|stop|restart|status|install|uninstall|kill
|
||||
.SH DESCRIPTION
|
||||
This script controls the Campcaster scheduler daemon, which is usually
|
||||
launched during boot with administrator privileges. However, this tool is also used to
|
||||
query the current status of the server or perform administrative tasks.
|
||||
.PP
|
||||
The scheduler daemon starts playlists at their designated time and provides an
|
||||
XML-RPC interface, which can be accessed via the Campcaster web interface or via the
|
||||
campcaster-studio GUI.
|
||||
.PP
|
||||
Campcaster is free and open radio management software, providing
|
||||
live studio broadcast capabilities as well as the remote automation in one
|
||||
integrated system. The scalability of Campcaster allows implementation in a
|
||||
number of use scenarios, ranging from an unmanned broadcast unit accessed via
|
||||
the Internet to a local network of Campcaster machines inside a
|
||||
radio station handling live broadcasts and delivering program automation by
|
||||
accessing a central audio storage system. Campcaster is capable of combining
|
||||
local audio files and remote web streams, supporting the widely used MP3 format
|
||||
and the open equivalent OGG Vorbis.
|
||||
.SH SEE ALSO
|
||||
.URL "http://en.flossmanuals.net/campcaster/" "Online manual",
|
||||
.br
|
||||
.BR campcaster-import (1).
|
||||
.SH AUTHOR
|
||||
Campcaster was written by Sourcefabric, with the support of the Media Develoment
|
||||
Loan Fund. For full credits see the
|
||||
.URL "http://campcaster.sourcefabric.org/" "Campcaster homepage".
|
||||
.PP
|
||||
This manual page was written by Robin Gareus <robin@gareus.org>,
|
||||
for the Debian project (and may be used by others).
|
10
debian/campcaster-station.default
vendored
10
debian/campcaster-station.default
vendored
|
@ -1,10 +0,0 @@
|
|||
# Defaults for campcaster initscript
|
||||
# sourced by /etc/init.d/campcaster-station
|
||||
# installed at /etc/default/campcaster by the maintainer scripts
|
||||
|
||||
#
|
||||
# This is a POSIX shell fragment
|
||||
#
|
||||
|
||||
# Additional options that are passed to the Daemon.
|
||||
DAEMON_OPTS=""
|
3
debian/campcaster-station.dirs
vendored
3
debian/campcaster-station.dirs
vendored
|
@ -1,3 +0,0 @@
|
|||
etc
|
||||
usr/bin
|
||||
usr/lib
|
163
debian/campcaster-station.init
vendored
163
debian/campcaster-station.init
vendored
|
@ -1,163 +0,0 @@
|
|||
#! /bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: campcaster-station
|
||||
# Required-Start: $remote_fs $network $local_fs apache postgres
|
||||
# Required-Stop: $remote_fs
|
||||
# Should-Start: $named
|
||||
# Should-Stop:
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: campcaster-scheduler
|
||||
# Description: A radio program automation and support tool.
|
||||
### END INIT INFO
|
||||
|
||||
|
||||
CAMPCASTER_BIN=/usr/lib/campcaster/bin
|
||||
CAMPCASTER_LIB=/usr/lib/campcaster/
|
||||
CAMPCASTER_ETC=/etc
|
||||
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:$CAMPCASTER_BIN
|
||||
LD_LIBRARY_PATH=$CAMPCASTER_LIB:$LD_LIBRARY_PATH
|
||||
DAEMON=$CAMPCASTER_BIN/campcaster-scheduler
|
||||
NAME=campcaster-station
|
||||
DESC="campcaster scheduler"
|
||||
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
export PATH
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
LOGDIR=/var/log/campcaster
|
||||
PIDFILE=/var/run/$NAME.pid # defined in /etc/campcaster-scheduler.xml
|
||||
DODTIME=3 # Time to wait for the server to die, in seconds
|
||||
# If this value is set too low you might not
|
||||
# let some servers to die gracefully and
|
||||
# 'restart' will not work
|
||||
|
||||
# Include campcaster defaults if available
|
||||
if [ -f /etc/default/campcaster ] ; then
|
||||
. /etc/default/campcaster
|
||||
fi
|
||||
|
||||
test -z "$DAEMON_OPTS" && \
|
||||
DAEMON_OPTS="-c $CAMPCASTER_ETC/campcaster-scheduler.xml"
|
||||
|
||||
set -e
|
||||
|
||||
running_pid()
|
||||
{
|
||||
# Check if a given process pid's cmdline matches a given name
|
||||
pid=$1
|
||||
name=$2
|
||||
[ -z "$pid" ] && return 1
|
||||
[ ! -d /proc/$pid ] && return 1
|
||||
cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
|
||||
# Is this the expected child?
|
||||
[ "$cmd" != "$name" ] && return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
running()
|
||||
{
|
||||
# Check if the process is running looking at /proc
|
||||
# (works for all users)
|
||||
|
||||
# No pidfile, probably no daemon present
|
||||
[ ! -f "$PIDFILE" ] && return 1
|
||||
# Obtain the pid and check it against the binary name
|
||||
pid=`cat $PIDFILE`
|
||||
running_pid $pid $DAEMON || return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
force_stop() {
|
||||
# Forcefully kill the process
|
||||
[ ! -f "$PIDFILE" ] && return
|
||||
if running ; then
|
||||
kill -15 $pid
|
||||
# Is it really dead?
|
||||
[ -n "$DODTIME" ] && sleep "$DODTIME"s
|
||||
if running ; then
|
||||
kill -9 $pid
|
||||
[ -n "$DODTIME" ] && sleep "$DODTIME"s
|
||||
if running ; then
|
||||
echo "Cannot kill $NAME (pid=$pid)!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
rm -f $PIDFILE
|
||||
return 0
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting $DESC: "
|
||||
$DAEMON $DAEMON_OPTS start 2>/dev/null
|
||||
if running ; then
|
||||
echo "$NAME."
|
||||
else
|
||||
echo " ERROR."
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping $DESC: "
|
||||
$DAEMON $DAEMON_OPTS stop 2>/dev/null
|
||||
echo "$NAME."
|
||||
;;
|
||||
force-stop)
|
||||
echo -n "Forcefully stopping $DESC: "
|
||||
force_stop
|
||||
if ! running ; then
|
||||
echo "$NAME."
|
||||
else
|
||||
echo " ERROR."
|
||||
fi
|
||||
;;
|
||||
#reload)
|
||||
#
|
||||
# If the daemon can reload its config files on the fly
|
||||
# for example by sending it SIGHUP, do it here.
|
||||
#
|
||||
# If the daemon responds to changes in its config file
|
||||
# directly anyway, make this a do-nothing entry.
|
||||
#
|
||||
# echo "Reloading $DESC configuration files."
|
||||
# start-stop-daemon --stop --signal 1 --quiet --pidfile \
|
||||
# /var/run/$NAME.pid --exec $DAEMON
|
||||
#;;
|
||||
force-reload)
|
||||
#
|
||||
# If the "reload" option is implemented, move the "force-reload"
|
||||
# option to the "reload" entry above. If not, "force-reload" is
|
||||
# just the same as "restart" except that it does nothing if the
|
||||
# daemon isn't already running.
|
||||
# check wether $DAEMON is running. If so, restart
|
||||
if running ; then
|
||||
$0 restart || exit 0
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
echo -n "Restarting $DESC: "
|
||||
$DAEMON $DAEMON_OPTS stop 2>/dev/null
|
||||
[ -n "$DODTIME" ] && sleep $DODTIME
|
||||
$DAEMON $DAEMON_OPTS start 2>/dev/null
|
||||
echo "$NAME."
|
||||
;;
|
||||
status)
|
||||
echo -n "$NAME is "
|
||||
if running ; then
|
||||
echo "running"
|
||||
else
|
||||
echo "not running."
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
N=/etc/init.d/$NAME
|
||||
echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
2
debian/campcaster-station.manpages
vendored
2
debian/campcaster-station.manpages
vendored
|
@ -1,2 +0,0 @@
|
|||
debian/campcaster-scheduler.1
|
||||
debian/campcaster-import.1
|
72
debian/campcaster-station.postinst
vendored
72
debian/campcaster-station.postinst
vendored
|
@ -1,72 +0,0 @@
|
|||
#!/bin/sh
|
||||
# postinst script for campcaster
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# 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>
|
||||
# * <postinst> `abort-remove'
|
||||
# * <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
|
||||
|
||||
installdir=/usr/lib/campcaster
|
||||
vardir=/var/lib/campcaster
|
||||
apache_group=www-data
|
||||
|
||||
if [ -d /etc/postgresql/8.1 ]; then
|
||||
postgresql_dir=/etc/postgresql/8.1/main
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.1
|
||||
elif [ -d /etc/postgresql/8.2 ]; then
|
||||
postgresql_dir=/etc/postgresql/8.2/main
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.2
|
||||
elif [ -d /etc/postgresql/8.3 ]; then
|
||||
postgresql_dir=/etc/postgresql/8.3/main
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.3
|
||||
elif [ -d /etc/postgresql/8.4 ]; then
|
||||
postgresql_dir=/etc/postgresql/8.4/main
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.4
|
||||
else
|
||||
echo "no postgresql 8.1, 8.2, 8.3 or 8.4 found" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# do post-installation configuration
|
||||
$installdir/bin/postInstallStation.sh --directory=$installdir \
|
||||
--apache-group=$apache_group \
|
||||
--postgresql-dir=$postgresql_dir \
|
||||
--postgresql-init-script=$postgresql_init_script
|
||||
|
||||
# remount the NFS share if we have a 2-computer setup
|
||||
if [ -f $vardir/storageServer.wasMounted ]; then
|
||||
echo "Remounting the remote storage..."
|
||||
mount $vardir/storageServer
|
||||
rm $vardir/storageServer.wasMounted
|
||||
fi
|
||||
;;
|
||||
|
||||
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
|
94
debian/campcaster-station.postrm
vendored
94
debian/campcaster-station.postrm
vendored
|
@ -1,94 +0,0 @@
|
|||
#!/bin/sh
|
||||
# postrm script for campcaster
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <overwriter>
|
||||
# <overwriter-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
vardir=/var/lib/campcaster
|
||||
|
||||
|
||||
if [ -d /etc/postgresql/8.1 ]; then
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.1
|
||||
elif [ -d /etc/postgresql/8.2 ]; then
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.2
|
||||
elif [ -d /etc/postgresql/8.3 ]; then
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.3
|
||||
elif [ -d /etc/postgresql/8.4 ]; then
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.4
|
||||
else
|
||||
echo "no postgresql 8.1, 8.2, 8.3 or 8.4 found" >&2
|
||||
exit 1
|
||||
fi
|
||||
postgres_user=postgres
|
||||
|
||||
ls_database=Campcaster
|
||||
ls_dbuser=campcaster
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Function to check for the existence of an executable on the PATH
|
||||
#
|
||||
# @param $1 the name of the exectuable
|
||||
# @return 0 if the executable exists on the PATH, non-0 otherwise
|
||||
#-------------------------------------------------------------------------------
|
||||
check_exe() {
|
||||
if [ -x "`which $1 2> /dev/null`" ]; then
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
|
||||
;;
|
||||
|
||||
purge|disappear)
|
||||
# check for the required tools
|
||||
check_exe "psql" || psql_found=no
|
||||
|
||||
if [ "x$psql_found" != "xno" ] ; then
|
||||
# kill open connections to the Campcaster database
|
||||
$postgresql_init_script stop
|
||||
$postgresql_init_script start
|
||||
|
||||
# remove the PostgreSQL database and user
|
||||
su - $postgres_user -c \
|
||||
"echo \"DROP DATABASE \\\"$ls_database\\\" \" | psql template1" \
|
||||
|| echo "Couldn't drop database $ls_database.";
|
||||
su - $postgres_user -c \
|
||||
"echo \"DROP USER $ls_dbuser \" | psql template1" \
|
||||
|| echo "Couldn't drop database user $ls_dbuser.";
|
||||
fi
|
||||
|
||||
# remove generated files
|
||||
rm -rf $vardir/
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm 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
|
109
debian/campcaster-station.prerm
vendored
109
debian/campcaster-station.prerm
vendored
|
@ -1,109 +0,0 @@
|
|||
#!/bin/sh
|
||||
# prerm script for campcaster
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
installdir=/
|
||||
vardir=/var/lib/campcaster/
|
||||
ls_database=Campcaster
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Function to check for the existence of an executable on the PATH
|
||||
#
|
||||
# @param $1 the name of the exectuable
|
||||
# @return 0 if the executable exists on the PATH, non-0 otherwise
|
||||
#-------------------------------------------------------------------------------
|
||||
check_exe() {
|
||||
if [ -x "`which $1 2> /dev/null`" ]; then
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
if [ -d /etc/postgresql/8.1 ]; then
|
||||
postgresql_dir=/etc/postgresql/8.1/main
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.1
|
||||
elif [ -d /etc/postgresql/8.2 ]; then
|
||||
postgresql_dir=/etc/postgresql/8.2/main
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.2
|
||||
elif [ -d /etc/postgresql/8.3 ]; then
|
||||
postgresql_dir=/etc/postgresql/8.3/main
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.3
|
||||
elif [ -d /etc/postgresql/8.4 ]; then
|
||||
postgresql_dir=/etc/postgresql/8.4/main
|
||||
postgresql_init_script=/etc/init.d/postgresql-8.4
|
||||
else
|
||||
echo "no postgresql 8.1, 8.2, 8.3 or 8.4 found" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
remove|deconfigure)
|
||||
cd /usr/share/campcaster/www/htmlUI/var/install/
|
||||
php -q uninstall.php
|
||||
cd /usr/share/campcaster/www/storageServer/var/install/
|
||||
php -q uninstall.php
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
mkdir -p $vardir
|
||||
# unmount the NFS share, if we have a 2-computer setup
|
||||
storagedir=$vardir/storageServer
|
||||
if [ "`mount | grep -o \"on $storagedir \"`" = "on $storagedir " ]; then
|
||||
echo "Unmounting the remote storage..."
|
||||
umount $storagedir
|
||||
touch $vardir/storageServer.wasMounted
|
||||
fi
|
||||
|
||||
## remove the ODBC data source and driver
|
||||
check_exe "odbcinst" || odbcinst_found=no
|
||||
|
||||
if [ "x$odbcinst_found" != "xno" ] ; then
|
||||
odbcinst -u -s -l -n $ls_database
|
||||
odbcinst -u -d -n PostgreSQL_Campcaster
|
||||
fi
|
||||
|
||||
rm -f /etc/apache/conf.d/90_php_campcaster.conf
|
||||
rm -f /etc/apache2/conf.d/90_php_campcaster.conf
|
||||
rm -f /etc/apache2/conf/modules.d/90_php_campcaster.conf
|
||||
rm -f /etc/httpd/conf.d/90_php_campcaster.conf
|
||||
|
||||
##rm -rf $installdir/etc/pear.conf
|
||||
|
||||
;;
|
||||
|
||||
failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm 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
|
11
debian/changelog
vendored
11
debian/changelog
vendored
|
@ -1,11 +0,0 @@
|
|||
campcaster (1.4.0+r3436-0) 64studio; urgency=low
|
||||
|
||||
* rebased to new upstream version
|
||||
|
||||
-- Robin Gareus <robin@gareus.org> Fri, 16 Apr 2010 11:59:57 +0200
|
||||
|
||||
campcaster (1.4.0+r3427) 64studio; urgency=low
|
||||
|
||||
* Initial release (Closes: #568530) (LP: #250397)
|
||||
|
||||
-- Robin Gareus <robin@gareus.org> Fri, 05 Feb 2010 16:35:44 +0100
|
1
debian/compat
vendored
1
debian/compat
vendored
|
@ -1 +0,0 @@
|
|||
7
|
151
debian/control
vendored
151
debian/control
vendored
|
@ -1,151 +0,0 @@
|
|||
Source: campcaster
|
||||
Section: sound
|
||||
Priority: extra
|
||||
Maintainer: Alessio Treglia <quadrispro@ubuntu.com>
|
||||
XSBC-Original-Maintainer: Robin Gareus <robin@gareus.org>
|
||||
Build-Depends: debhelper (>= 7.0.50~),
|
||||
autotools-dev,
|
||||
libtool,
|
||||
pkg-config (>= 0.15),
|
||||
doxygen,
|
||||
automake,
|
||||
unzip, bzip2,
|
||||
curl,
|
||||
graphviz,
|
||||
xsltproc,
|
||||
libcppunit-dev,
|
||||
unixodbc-dev (>= 2.2),
|
||||
odbc-postgresql,
|
||||
fontconfig,
|
||||
libfontconfig1-dev,
|
||||
libpng12-dev,
|
||||
libjpeg62-dev | libjpeg8-dev,
|
||||
libssl-dev,
|
||||
libxml2-dev,
|
||||
libpopt-dev,
|
||||
libmad0-dev,
|
||||
libogg-dev,
|
||||
libvorbis-dev,
|
||||
libbz2-dev,
|
||||
libtar-dev (>= 1.2.11),
|
||||
libcurl3-dev (>= 7.12.3) | libcurl4-openssl-dev (>= 7.16.4),
|
||||
libboost-date-time-dev (>= 1.33.1),
|
||||
libgtk2.0-dev (>= 2.6.10),
|
||||
libgtkmm-2.4-dev (>= 1:2.6.5),
|
||||
libglademm-2.4-dev (>= 2.6.2),
|
||||
libxml++2.6-dev (>= 2.8.1),
|
||||
libicu34-dev | libicu36-dev | libicu-dev,
|
||||
apache2,
|
||||
php5-pgsql,
|
||||
libapache2-mod-php5,
|
||||
php5-gd,
|
||||
postgresql-8.1 | postgresql-8.2 | postgresql-8.3 | postgresql (>= 8.1),
|
||||
postgresql-client-8.1 | postgresql-client-8.2 | postgresql-client-8.3 | postgresql-client (>= 8.1),
|
||||
libgstreamer0.10-dev (>= 0.10.17),
|
||||
php-pear,
|
||||
php-db,
|
||||
libserial-dev (>= 0.5.2)
|
||||
Standards-Version: 3.8.4
|
||||
Homepage: http://campcaster.sourcefabric.org/
|
||||
|
||||
|
||||
Package: campcaster-libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: A radio program automation and support tool
|
||||
Campcaster is the first free and open radio management software that
|
||||
provides live studio broadcast capabilities as well as remote automation
|
||||
in one integrated system.
|
||||
.
|
||||
Major features of Campcaster: live, in-studio playout; web-based remote
|
||||
station management; automation; playlists; centralized archives of station
|
||||
program material; solid, fast playback using the GStreamer multimedia
|
||||
framework; search-based backup; localization into several languages;
|
||||
innovative design by the Parsons School of Design; open, extensible
|
||||
architecture based on XML-RPC.
|
||||
.
|
||||
This package contains the libraries used by Campcaster.
|
||||
|
||||
Package: campcaster-data
|
||||
Architecture: all
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||
apache2,
|
||||
unzip, bzip2, gzip (>= 1.3.5),
|
||||
libapache2-mod-php5,
|
||||
postgresql-8.1 | postgresql-8.2 | postgresql-8.3 | postgresql (>= 8.1),
|
||||
postgresql-client-8.1 | postgresql-client-8.2 | postgresql-client-8.3 | postgresql-client (>= 8.1),
|
||||
unixodbc (>= 2.2),
|
||||
odbc-postgresql,
|
||||
xsltproc,
|
||||
php5-pgsql, php5-cli, php5-gd, php-db,
|
||||
gstreamer0.10-plugins-good,
|
||||
gstreamer0.10-plugins-ugly | gstreamer0.10-ffmpeg | gstreamer0.10-fluendo-mp3,
|
||||
gstreamer0.10-alsa,
|
||||
curl, pwgen, sed (>= 4.2.1)
|
||||
Description: A radio program automation and support tool - data files
|
||||
Campcaster is the first free and open radio management software that
|
||||
provides live studio broadcast capabilities as well as remote automation
|
||||
in one integrated system.
|
||||
.
|
||||
Major features of Campcaster: live, in-studio playout; web-based remote
|
||||
station management; automation; playlists; centralized archives of station
|
||||
program material; solid, fast playback using the GStreamer multimedia
|
||||
framework; search-based backup; localization into several languages;
|
||||
innovative design by the Parsons School of Design; open, extensible
|
||||
architecture based on XML-RPC.
|
||||
.
|
||||
This package contains the XMLRPC server component and shared data
|
||||
files for Campcaster.
|
||||
|
||||
Package: campcaster-station
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||
campcaster-libs (= ${binary:Version}),
|
||||
campcaster-data (= ${source:Version}),
|
||||
apache2,
|
||||
unzip, bzip2, gzip (>= 1.3.5),
|
||||
libapache2-mod-php5,
|
||||
postgresql-8.1 | postgresql-8.2 | postgresql-8.3 | postgresql (>= 8.1),
|
||||
postgresql-client-8.1 | postgresql-client-8.2 | postgresql-client-8.3 | postgresql-client (>= 8.1),
|
||||
unixodbc (>= 2.2),
|
||||
odbc-postgresql,
|
||||
xsltproc,
|
||||
php5-pgsql, php5-cli, php5-gd, php-db,
|
||||
gstreamer0.10-plugins-good,
|
||||
gstreamer0.10-plugins-ugly | gstreamer0.10-ffmpeg | gstreamer0.10-fluendo-mp3,
|
||||
gstreamer0.10-alsa,
|
||||
curl, pwgen, sed (>= 4.2.1)
|
||||
Description: A radio program automation and support tool - backend and server
|
||||
Campcaster is the first free and open radio management software that
|
||||
provides live studio broadcast capabilities as well as remote automation
|
||||
in one integrated system.
|
||||
.
|
||||
Major features of Campcaster: live, in-studio playout; web-based remote
|
||||
station management; automation; playlists; centralized archives of station
|
||||
program material; solid, fast playback using the GStreamer multimedia
|
||||
framework; search-based backup; localization into several languages;
|
||||
innovative design by the Parsons School of Design; open, extensible
|
||||
architecture based on XML-RPC.
|
||||
.
|
||||
This package contains the XMLRPC backend
|
||||
and web-server component of Campcaster.
|
||||
|
||||
Package: campcaster-studio
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||
campcaster-libs (= ${binary:Version}),
|
||||
campcaster-data (= ${source:Version}),
|
||||
campcaster-station (= ${binary:Version})
|
||||
Description: A radio program automation and support tool - client GUI
|
||||
Campcaster is the first free and open radio management software that
|
||||
provides live studio broadcast capabilities as well as remote automation
|
||||
in one integrated system.
|
||||
.
|
||||
Major features of Campcaster: live, in-studio playout; web-based remote
|
||||
station management; automation; playlists; centralized archives of station
|
||||
program material; solid, fast playback using the GStreamer multimedia
|
||||
framework; search-based backup; localization into several languages;
|
||||
innovative design by the Parsons School of Design; open, extensible
|
||||
architecture based on XML-RPC.
|
||||
.
|
||||
This package contains the GUI client component of Campcaster.
|
142
debian/copyright
vendored
142
debian/copyright
vendored
|
@ -1,142 +0,0 @@
|
|||
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=142
|
||||
Name: Campcaster
|
||||
Maintainer:
|
||||
Micz Flor <micz.flor@web.de>
|
||||
Robert Klajn <robert.klajn@gmail.com>
|
||||
Michael Aschauer <mash@re-p.org>
|
||||
Douglas Arellanes <douglas.arellanes@mdlf.org>
|
||||
Akos Maroy <darkeye@tyrell.hu>
|
||||
Sava Tatić <sava.tatic@mdlf.org>
|
||||
Charles Truett
|
||||
Ferenc Gerlits <fgerlits@campware.org>
|
||||
Mark Kretschmann
|
||||
Source: http://sourceforge.net/projects/campcaster/files/
|
||||
|
||||
Files: *
|
||||
Copyright: 2004-2010, Sourcefabric O.P.S. http://www.sourcefabric.org/
|
||||
License: GPL-2+
|
||||
|
||||
Files: debian/*
|
||||
Copyright:
|
||||
2010, Robin Gareus <robin@gareus.org> on Sun, 31 Jan 2010 22:53:14 +0100
|
||||
2010, Alessio Treglia <quadrispro@ubuntu.com> on Tue, 16 Feb 2010 22:25:39 +0100
|
||||
License: GPL-2+
|
||||
|
||||
Files: src/tools/libodbc++/
|
||||
Copyright: 1999-2000, Manush Dodunekov <manush@stendahls.net>
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/tools/taglib/
|
||||
Copyright: 2002-2008, Scott Wheeler <wheeler@kde.org> et al.
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/tools/xmlrpc++/
|
||||
Copyright: 2002-2004, Chris Morley
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/tools/pear/
|
||||
Copyright:
|
||||
2002-2005, Richard Heyes <richard@php.net>
|
||||
2002-2005, Tal Peer <tal@php.net>
|
||||
2002-2005, Michael Wallner <mike@php.net>
|
||||
License: other
|
||||
The PHP License, version 3.0
|
||||
Copyright (c) 1999 - 2006 The PHP Group. All rights reserved.
|
||||
--------------------------------------------------------------------
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, is permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
3. The name "PHP" must not be used to endorse or promote products
|
||||
derived from this software without prior written permission. For
|
||||
written permission, please contact group@php.net.
|
||||
|
||||
4. Products derived from this software may not be called "PHP", nor
|
||||
may "PHP" appear in their name, without prior written permission
|
||||
from group@php.net. You may indicate that your software works in
|
||||
conjunction with PHP by saying "Foo for PHP" instead of calling
|
||||
it "PHP Foo" or "phpfoo"
|
||||
|
||||
5. The PHP Group may publish revised and/or new versions of the
|
||||
license from time to time. Each version will be given a
|
||||
distinguishing version number.
|
||||
Once covered code has been published under a particular version
|
||||
of the license, you may always continue to use it under the terms
|
||||
of that version. You may also choose to use such covered code
|
||||
under the terms of any subsequent version of the license
|
||||
published by the PHP Group. No one other than the PHP Group has
|
||||
the right to modify the terms applicable to covered code created
|
||||
under this License.
|
||||
|
||||
6. Redistributions of any form whatsoever must retain the following
|
||||
acknowledgment:
|
||||
"This product includes PHP, freely available from
|
||||
<http://www.php.net/>".
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
|
||||
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
|
||||
DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
--------------------------------------------------------------------
|
||||
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals on behalf of the PHP Group.
|
||||
|
||||
The PHP Group can be contacted via Email at group@php.net.
|
||||
|
||||
For more information on the PHP Group and the PHP project,
|
||||
please see <http://www.php.net>.
|
||||
|
||||
This product includes the Zend Engine, freely available at
|
||||
<http://www.zend.com>.
|
||||
|
||||
License: GPL-2+
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
X-Comment: On Debian systems, the complete text of the GNU General Public
|
||||
License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
License: LGPL-2
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
.
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
|
||||
X-Comment: On Debian systems, the complete text of the GNU Lesser Public
|
||||
License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
17
debian/patches/apache_setup.diff
vendored
17
debian/patches/apache_setup.diff
vendored
|
@ -1,17 +0,0 @@
|
|||
Subject: do not add symlink in /var/www/ - use apache Alias instead
|
||||
Forwarded: no
|
||||
Author: Robin Gareus <robin@gareus.org>
|
||||
Last-Update: 2010-02-14
|
||||
Index: campcaster/etc/apache/90_php_campcaster.conf
|
||||
===================================================================
|
||||
--- campcaster.orig/etc/apache/90_php_campcaster.conf 2010-07-22 15:21:30.000000000 +0200
|
||||
+++ campcaster/etc/apache/90_php_campcaster.conf 2010-08-26 14:51:45.000000000 +0200
|
||||
@@ -1,2 +1,8 @@
|
||||
php_value upload_max_filesize 32M
|
||||
php_value post_max_size 36M
|
||||
+
|
||||
+Alias /campcaster /usr/share/campcaster/www
|
||||
+
|
||||
+<Directory /usr/share/campcaster/www>
|
||||
+ Options FollowSymlinks
|
||||
+</Directory>
|
147
debian/patches/debianize_paths.diff
vendored
147
debian/patches/debianize_paths.diff
vendored
|
@ -1,147 +0,0 @@
|
|||
Description: Change (hardcoded) paths in shell and install scripts
|
||||
to conform to debian locations.
|
||||
Forwarded: not-needed
|
||||
Author: Robin Gareus <robin@gareus.org>
|
||||
Last-Update: 2010-02-14
|
||||
Index: campcaster/src/modules/archiveServer/var/conf.php.template
|
||||
===================================================================
|
||||
--- campcaster.orig/src/modules/archiveServer/var/conf.php.template 2010-07-22 15:21:30.000000000 +0200
|
||||
+++ campcaster/src/modules/archiveServer/var/conf.php.template 2010-08-26 14:51:22.000000000 +0200
|
||||
@@ -3,7 +3,7 @@
|
||||
* ArchiveServer configuration file
|
||||
*/
|
||||
|
||||
-include(dirname(__FILE__)."/../../storageServer/var/campcaster_version.php");
|
||||
+include("/etc/campcaster/storageServer/campcaster_version.php");
|
||||
|
||||
/**
|
||||
* configuration structure:
|
||||
@@ -48,10 +48,10 @@
|
||||
'AdminsGr' => 'Admins',
|
||||
'StationPrefsGr'=> '',
|
||||
'AllGr' => 'All',
|
||||
- 'storageDir' => dirname(__FILE__).'/../../archiveServer/var/stor',
|
||||
- 'bufferDir' => dirname(__FILE__).'/../../archiveServer/var/stor/buffer',
|
||||
- 'transDir' => dirname(__FILE__).'/../../archiveServer/var/trans',
|
||||
- 'accessDir' => dirname(__FILE__).'/../../archiveServer/var/access',
|
||||
+ 'storageDir' => 'ls_shr_www/archiveServer/var/stor',
|
||||
+ 'bufferDir' => 'ls_shr_www/archiveServer/var/stor/buffer',
|
||||
+ 'transDir' => 'ls_shr_www/archiveServer/var/trans',
|
||||
+ 'accessDir' => 'ls_shr_www/archiveServer/var/access',
|
||||
'pearPath' => 'ls_lib_dir/pear',
|
||||
'isArchive' => TRUE,
|
||||
'validate' => TRUE,
|
||||
@@ -117,4 +117,4 @@
|
||||
);
|
||||
$old_ip = get_include_path();
|
||||
set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['pearPath'].PATH_SEPARATOR.$old_ip);
|
||||
-?>
|
||||
\ No newline at end of file
|
||||
+?>
|
||||
Index: campcaster/src/modules/htmlUI/var/ui_conf.php.template
|
||||
===================================================================
|
||||
--- campcaster.orig/src/modules/htmlUI/var/ui_conf.php.template 2010-07-22 15:21:30.000000000 +0200
|
||||
+++ campcaster/src/modules/htmlUI/var/ui_conf.php.template 2010-08-26 14:51:22.000000000 +0200
|
||||
@@ -152,9 +152,9 @@
|
||||
)
|
||||
);
|
||||
|
||||
-require_once(dirname(__FILE__).'/ui_base.inc.php');
|
||||
-require_once('../../../storageServer/var/GreenBox.php');
|
||||
-require_once(dirname(__FILE__).'/formmask/generic.inc.php');
|
||||
+require_once('htmlui_dir/ui_base.inc.php');
|
||||
+require_once('storage_server/var/GreenBox.php');
|
||||
+require_once('htmlui_dir/formmask/generic.inc.php');
|
||||
|
||||
require_once('DB.php');
|
||||
require_once('HTML/QuickForm.php');
|
||||
Index: campcaster/src/modules/storageAdmin/bin/campcaster-backup
|
||||
===================================================================
|
||||
--- campcaster.orig/src/modules/storageAdmin/bin/campcaster-backup 2010-08-26 13:40:02.000000000 +0200
|
||||
+++ campcaster/src/modules/storageAdmin/bin/campcaster-backup 2010-08-26 14:51:22.000000000 +0200
|
||||
@@ -36,8 +36,7 @@
|
||||
then
|
||||
phpdir=`cd $reldir/var; pwd`
|
||||
fi
|
||||
-mkdir -p $reldir/tmp
|
||||
-tmpmaindir=`cd $reldir/tmp; pwd`
|
||||
+tmpmaindir=/tmp
|
||||
dbxml="db.xml"
|
||||
datestr=`date '+%Y%m%d%H%M%S'`
|
||||
xmltar="xmls.tar"
|
||||
Index: campcaster/src/modules/storageAdmin/bin/dumpDbSchema.sh
|
||||
===================================================================
|
||||
--- campcaster.orig/src/modules/storageAdmin/bin/dumpDbSchema.sh 2010-08-26 13:40:02.000000000 +0200
|
||||
+++ campcaster/src/modules/storageAdmin/bin/dumpDbSchema.sh 2010-08-26 14:51:22.000000000 +0200
|
||||
@@ -30,13 +30,7 @@
|
||||
# Determine directories, files
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
-reldir=`dirname $0`/..
|
||||
-phpdir=ls_storageAdmin_phppart_dir
|
||||
-if [ "$phpdir" == "ls_storageAdmin_phppart_dir" ]
|
||||
-then
|
||||
- phpdir=`cd $reldir/var; pwd`
|
||||
-fi
|
||||
-filelistpathname=.
|
||||
+phpdir=/usr/share/campcaster/www/storageAdmin/var/
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Print the usage information for this script.
|
||||
Index: campcaster/src/modules/storageServer/var/conf.php.template
|
||||
===================================================================
|
||||
--- campcaster.orig/src/modules/storageServer/var/conf.php.template 2010-07-22 15:21:30.000000000 +0200
|
||||
+++ campcaster/src/modules/storageServer/var/conf.php.template 2010-08-26 14:51:22.000000000 +0200
|
||||
@@ -53,12 +53,12 @@
|
||||
'StationPrefsGr'=> 'StationPrefs',
|
||||
'AllGr' => 'All',
|
||||
'TrashName' => 'trash_',
|
||||
- 'storageDir' => dirname(__FILE__).'/../../storageServer/var/stor',
|
||||
- 'bufferDir' => dirname(__FILE__).'/../../storageServer/var/stor/buffer',
|
||||
- 'transDir' => dirname(__FILE__).'/../../storageServer/var/trans',
|
||||
- 'accessDir' => dirname(__FILE__).'/../../storageServer/var/access',
|
||||
+ 'storageDir' => 'ls_shr_www/storageServer/var/stor',
|
||||
+ 'bufferDir' => 'ls_shr_www/storageServer/var/stor/buffer',
|
||||
+ 'transDir' => 'ls_shr_www/storageServer/var/trans',
|
||||
+ 'accessDir' => 'ls_shr_www/storageServer/var/access',
|
||||
'pearPath' => 'ls_lib_dir/pear',
|
||||
- 'cronDir' => dirname(__FILE__).'/../../storageServer/var/cron',
|
||||
+ 'cronDir' => 'ls_shr_www/storageServer/var/cron',
|
||||
'isArchive' => FALSE,
|
||||
'validate' => TRUE,
|
||||
'useTrash' => TRUE,
|
||||
@@ -113,9 +113,10 @@
|
||||
|
||||
/* =================================================== cron configuration */
|
||||
'cronUserName' => 'ls_apache_group',
|
||||
- 'lockfile' => dirname(__FILE__).'/cron/cron.lock',
|
||||
- 'cronfile' => dirname(__FILE__).'/cron/croncall.php',
|
||||
- 'paramdir' => dirname(__FILE__).'/cron/params',
|
||||
+ 'lockfile' => '/var/lock/campcaster-cron.lock',
|
||||
+ 'cronfile' => 'ls_shr_www/storageServer/var/cron/croncall.php',
|
||||
+ 'paramdir' => '/var/cache/campcaster/cronparams',
|
||||
+
|
||||
);
|
||||
|
||||
// Add database table names
|
||||
Index: campcaster/src/products/scheduler/bin/createOdbcDataSource.sh
|
||||
===================================================================
|
||||
--- campcaster.orig/src/products/scheduler/bin/createOdbcDataSource.sh 2010-08-26 13:40:02.000000000 +0200
|
||||
+++ campcaster/src/products/scheduler/bin/createOdbcDataSource.sh 2010-08-26 14:51:22.000000000 +0200
|
||||
@@ -32,14 +32,7 @@
|
||||
#-------------------------------------------------------------------------------
|
||||
# Determine directories, files
|
||||
#-------------------------------------------------------------------------------
|
||||
-reldir=`dirname $0`/..
|
||||
-basedir=`cd $reldir; pwd;`
|
||||
-bindir=$basedir/bin
|
||||
-etcdir=$basedir/etc
|
||||
-docdir=$basedir/doc
|
||||
-tmpdir=$basedir/tmp
|
||||
-usrdir=$basedir/usr
|
||||
-
|
||||
+etcdir=/usr/share/campcaster/etc/
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Print the usage information for this script.
|
||||
|
194
debian/patches/icon_xpm.diff
vendored
194
debian/patches/icon_xpm.diff
vendored
|
@ -1,194 +0,0 @@
|
|||
Subject: Add icon in xpm format
|
||||
Author: Robin Gareus <robin@gareus.org>
|
||||
Last-Update: 2010-02-14
|
||||
diff --git a/src/products/gLiveSupport/var/icon32.xpm b/src/products/gLiveSupport/var/icon32.xpm
|
||||
new file mode 100644
|
||||
index 0000000..90f2a46
|
||||
--- /dev/null
|
||||
+++ b/src/products/gLiveSupport/var/icon32.xpm
|
||||
@@ -0,0 +1,185 @@
|
||||
+/* XPM */
|
||||
+static char *icon__[] = {
|
||||
+/* columns rows colors chars-per-pixel */
|
||||
+"32 32 147 2",
|
||||
+" c #B6480F",
|
||||
+". c #BB4D16",
|
||||
+"X c #BE4D14",
|
||||
+"o c #BE4E16",
|
||||
+"O c #C2521C",
|
||||
+"+ c #D9521C",
|
||||
+"@ c #C45925",
|
||||
+"# c #C95923",
|
||||
+"$ c #CD5D27",
|
||||
+"% c #CD5E2C",
|
||||
+"& c #D75A25",
|
||||
+"* c #DF5E2A",
|
||||
+"= c #D46632",
|
||||
+"- c #DF6732",
|
||||
+"; c #D86C3D",
|
||||
+": c #DB6D3C",
|
||||
+"> c #DF6E3E",
|
||||
+", c #E6642E",
|
||||
+"< c #E26330",
|
||||
+"1 c #E06735",
|
||||
+"2 c #E26837",
|
||||
+"3 c #E56938",
|
||||
+"4 c #E26D39",
|
||||
+"5 c #E56C3B",
|
||||
+"6 c #E56D3D",
|
||||
+"7 c #E96A38",
|
||||
+"8 c #DC7040",
|
||||
+"9 c #DD7242",
|
||||
+"0 c #DE7245",
|
||||
+"q c #E27343",
|
||||
+"w c #E47242",
|
||||
+"e c #E37546",
|
||||
+"r c #E37547",
|
||||
+"t c #EB7241",
|
||||
+"y c #E97343",
|
||||
+"u c #EA7647",
|
||||
+"i c #E37548",
|
||||
+"p c #E77749",
|
||||
+"a c #EA7749",
|
||||
+"s c #E27E4E",
|
||||
+"d c #E9794C",
|
||||
+"f c #E97A4E",
|
||||
+"g c #E57B50",
|
||||
+"h c #E37D50",
|
||||
+"j c #E27C52",
|
||||
+"k c #EE7D50",
|
||||
+"l c #E87E54",
|
||||
+"z c #E68055",
|
||||
+"x c #EB8050",
|
||||
+"c c #EA8052",
|
||||
+"v c #E98056",
|
||||
+"b c #ED8157",
|
||||
+"n c #EE8157",
|
||||
+"m c #E5845C",
|
||||
+"M c #E7875F",
|
||||
+"N c #E98158",
|
||||
+"B c #E88359",
|
||||
+"V c #E98459",
|
||||
+"C c #EE865B",
|
||||
+"Z c #E8855D",
|
||||
+"A c #E9865E",
|
||||
+"S c #EE875F",
|
||||
+"D c #F1855A",
|
||||
+"F c #EA8860",
|
||||
+"G c #EC8A60",
|
||||
+"H c #EE8A62",
|
||||
+"J c #EB8C64",
|
||||
+"K c #E98C66",
|
||||
+"L c #EE8C66",
|
||||
+"P c #EF8D66",
|
||||
+"I c #EB926C",
|
||||
+"U c #EB926D",
|
||||
+"Y c #EF946F",
|
||||
+"T c #F1916B",
|
||||
+"R c #F1936E",
|
||||
+"E c #EF9470",
|
||||
+"W c #ED9775",
|
||||
+"Q c #EF9976",
|
||||
+"! c #EE9978",
|
||||
+"~ c #EE9D7A",
|
||||
+"^ c #F19571",
|
||||
+"/ c #F59872",
|
||||
+"( c #F39974",
|
||||
+") c #F09A77",
|
||||
+"_ c #F79B78",
|
||||
+"` c #F19D78",
|
||||
+"' c #F39C79",
|
||||
+"] c #F49E7B",
|
||||
+"[ c #F79E7B",
|
||||
+"{ c #F39C7C",
|
||||
+"} c #F29D7C",
|
||||
+"| c #EFA07E",
|
||||
+" . c #F7A17F",
|
||||
+".. c #F5A282",
|
||||
+"X. c #F7A282",
|
||||
+"o. c #F7A382",
|
||||
+"O. c #F7A785",
|
||||
+"+. c #F8A585",
|
||||
+"@. c #F8A687",
|
||||
+"#. c #F4A98A",
|
||||
+"$. c #F7A98B",
|
||||
+"%. c #F7AB8D",
|
||||
+"&. c #F5AC8D",
|
||||
+"*. c #F9AA8A",
|
||||
+"=. c #FAAC8D",
|
||||
+"-. c #F7AF92",
|
||||
+";. c #F9AE91",
|
||||
+":. c #F7B091",
|
||||
+">. c #F8B196",
|
||||
+",. c #FAB59B",
|
||||
+"<. c #FCB699",
|
||||
+"1. c #FAB79C",
|
||||
+"2. c #FABB9F",
|
||||
+"3. c #FBBCA1",
|
||||
+"4. c #FCBEA6",
|
||||
+"5. c #FBC0A6",
|
||||
+"6. c #FDC1AA",
|
||||
+"7. c #FCC2AC",
|
||||
+"8. c #FDC4AE",
|
||||
+"9. c #FEC5AF",
|
||||
+"0. c #FDC5B0",
|
||||
+"q. c #FFC6B0",
|
||||
+"w. c #FFC6B1",
|
||||
+"e. c #FEC7B2",
|
||||
+"r. c #FFCBB4",
|
||||
+"t. c #FECBB6",
|
||||
+"y. c #FECCB6",
|
||||
+"u. c #FFCDB7",
|
||||
+"i. c #FFCBB9",
|
||||
+"p. c #FFCCB8",
|
||||
+"a. c #FECCB9",
|
||||
+"s. c #FFCEBA",
|
||||
+"d. c #FFD1BF",
|
||||
+"f. c #FFD2BF",
|
||||
+"g. c #FFD2C1",
|
||||
+"h. c #FFD3C1",
|
||||
+"j. c #FFD2C2",
|
||||
+"k. c #FFD4C4",
|
||||
+"l. c #FFD5C4",
|
||||
+"z. c #FFD5C5",
|
||||
+"x. c #FFD6C7",
|
||||
+"c. c #FFD7C7",
|
||||
+"v. c #FFD8C7",
|
||||
+"b. c #FFD7C9",
|
||||
+"n. c #FFD9C9",
|
||||
+"m. c #FFD9CA",
|
||||
+"M. c None",
|
||||
+/* pixels */
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.k / +.+.] D , M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.< ' 8.c.n.b.c.n.v.a.=.u M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.] c.c.7.#.^ F B A Y %.e.d.<.y M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.f t.a.( : o M.M.M.M.M.M.M.. : .6.[ M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.( 8.K o M.M.M.M.M.M.M.M.M.M.M.M.M.@ U *.7 M.M.M.M.M.",
|
||||
+"M.M.M.M.M. .Q O M.M.M.M.M.& f S H C a M.M.M.M.M.M.M.T y M.M.M.M.",
|
||||
+"M.M.M.M.R 0 M.M.M.M.M.p ;.i.j.c.j.j.j.e.o.3 M.M.M.M.M.l 6 M.M.M.",
|
||||
+"M.M.M.b M.M.M.M.M.5 >.d.4.{ v e e e f Y 1.e.o.* M.M.M.M.M.+ M.M.",
|
||||
+"M.M.2 M.M.M.M.M.L e.#.> M.M.M.M.M.M.M.M.% ) ,.n M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M...:.: M.M.M.M.M.M.M.M.M.M.M.M.M.M.Q L M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.{ h M.M.M.M.M.M.1 x c 4 M.M.M.M.M.M.M.M.B M.M.M.M.M.",
|
||||
+"M.M.M.M.M.A M.M.M.M.M.M.V 3.a.a.r.y.5.' M.M.M.M.M.M.M.1 M.M.M.M.",
|
||||
+"M.M.M.M.i M.M.M.M.M.M.%.2.I 9 $ # = s ~ :.H M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.w O.h M.M.M.M.M.M.M.M.M.M K M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.z M.M.M.M.M.M.M.M.M.M.M.M.M.m M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.",
|
||||
+"M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M.M."
|
||||
+};
|
47
debian/patches/postgres_fixes.diff
vendored
47
debian/patches/postgres_fixes.diff
vendored
|
@ -1,47 +0,0 @@
|
|||
Subject: Change pgsql setup scripts for debian postgres 8.4
|
||||
Author: Robin Gareus <robin@gareus.org>
|
||||
Last-Update: 2010-02-14
|
||||
Index: campcaster/bin/postInstallStation.sh
|
||||
===================================================================
|
||||
--- campcaster.orig/bin/postInstallStation.sh 2010-08-26 14:51:38.000000000 +0200
|
||||
+++ campcaster/bin/postInstallStation.sh 2010-08-26 14:51:40.000000000 +0200
|
||||
@@ -235,22 +235,22 @@
|
||||
#-------------------------------------------------------------------------------
|
||||
# Install the new pg_hba.conf file
|
||||
#-------------------------------------------------------------------------------
|
||||
-echo "Modifying postgresql access permissions...";
|
||||
-
|
||||
-pg_config_dir=$postgresql_dir
|
||||
-pg_config_file=pg_hba.conf
|
||||
-pg_config_file_saved=pg_hba.conf.before-campcaster
|
||||
-
|
||||
-if [ -f $pg_config_dir/$pg_config_file ] ; then
|
||||
- mv -f $pg_config_dir/$pg_config_file $pg_config_dir/$pg_config_file_saved ;
|
||||
-fi
|
||||
-cp $install_etc/$pg_config_file $pg_config_dir/$pg_config_file
|
||||
-chown root:$postgres_user $pg_config_dir/$pg_config_file
|
||||
-
|
||||
-# don't use restart for the init script, as it might return prematurely
|
||||
-# and in the later call to psql we wouldn't be able to connect
|
||||
-${postgresql_init_script} stop
|
||||
-${postgresql_init_script} start
|
||||
+#echo "Modifying postgresql access permissions...";
|
||||
+#
|
||||
+#pg_config_dir=$postgresql_dir
|
||||
+#pg_config_file=pg_hba.conf
|
||||
+#pg_config_file_saved=pg_hba.conf.before-campcaster
|
||||
+#
|
||||
+#if [ -f $pg_config_dir/$pg_config_file ] ; then
|
||||
+# mv -f $pg_config_dir/$pg_config_file $pg_config_dir/$pg_config_file_saved ;
|
||||
+#fi
|
||||
+#cp $install_etc/$pg_config_file $pg_config_dir/$pg_config_file
|
||||
+#chown root:$postgres_user $pg_config_dir/$pg_config_file
|
||||
+#
|
||||
+## don't use restart for the init script, as it might return prematurely
|
||||
+## and in the later call to psql we wouldn't be able to connect
|
||||
+#${postgresql_init_script} stop
|
||||
+#${postgresql_init_script} start
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
1116
debian/patches/remove_upstream_deb.diff
vendored
1116
debian/patches/remove_upstream_deb.diff
vendored
File diff suppressed because it is too large
Load diff
6
debian/patches/series
vendored
6
debian/patches/series
vendored
|
@ -1,6 +0,0 @@
|
|||
remove_upstream_deb.diff
|
||||
icon_xpm.diff
|
||||
debianize_paths.diff
|
||||
postgres_fixes.diff
|
||||
apache_setup.diff
|
||||
|
161
debian/rules
vendored
161
debian/rules
vendored
|
@ -1,161 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" \
|
||||
./configure --prefix=$(CURDIR)/debian/tmp \
|
||||
--mandir=\$${prefix}/share/man \
|
||||
--infodir=\$${prefix}/share/info \
|
||||
--sysconfdir=$(CURDIR)/debian/tmp/etc\
|
||||
--with-www-docroot=$(CURDIR)/debian/tmp/var/www \
|
||||
--with-apache-group=www-data \
|
||||
--with-station-audio-out=hw:0,0 \
|
||||
--with-studio-audio-out=hw:1,0 \
|
||||
--with-studio-audio-cue=hw:2,0 \
|
||||
--with-storage-server=/usr/share/campcaster\
|
||||
--with-hostname=localhost
|
||||
|
||||
override_dh_prep:
|
||||
#dh_prep
|
||||
rm -f debian/campcaster.substvars
|
||||
rm -f debian/campcaster.*.debhelper
|
||||
rm -rf debian/campcaster-libs/
|
||||
rm -rf debian/campcaster-studio/
|
||||
rm -rf debian/campcaster-station/
|
||||
#
|
||||
# CUSTOMIZED LIBS..
|
||||
mkdir -p debian/campcaster-libs/usr/lib/campcaster
|
||||
mv debian/tmp/lib/libodbc++-mt.so* debian/campcaster-libs/usr/lib/campcaster/
|
||||
mv debian/tmp/lib/libtag.so* debian/campcaster-libs/usr/lib/campcaster/
|
||||
mv debian/tmp/lib/libxmlrpc++.so* debian/campcaster-libs/usr/lib/campcaster/
|
||||
mv debian/tmp/lib/pear debian/campcaster-libs/usr/lib/campcaster/pear
|
||||
#
|
||||
rm -rf debian/tmp
|
||||
#
|
||||
# campcaster installs a symlink here and will fail if the dir does not exist
|
||||
mkdir -p debian/tmp/var/www
|
||||
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
#
|
||||
mkdir -p debian/campcaster-studio/usr/share/pixmaps/
|
||||
cp src/products/gLiveSupport/var/icon32.xpm debian/campcaster-studio/usr/share/pixmaps/campcaster.xpm
|
||||
#
|
||||
mkdir -p debian/campcaster-studio/usr/lib/campcaster/bin
|
||||
#
|
||||
# station (server)
|
||||
mkdir -p debian/campcaster-station/usr/lib/campcaster/bin
|
||||
mkdir -p debian/campcaster-station/usr/share/campcaster/etc
|
||||
mkdir -p debian/campcaster-station/usr/share/campcaster/www
|
||||
mkdir -p debian/campcaster-station/etc/
|
||||
mv -f debian/tmp/bin/campcaster-scheduler \
|
||||
debian/tmp/bin/campcaster-scheduler.sh \
|
||||
debian/tmp/bin/postInstallStation.sh \
|
||||
debian/tmp/bin/createDatabase.sh \
|
||||
debian/tmp/bin/createOdbcDataSource.sh \
|
||||
debian/tmp/bin/campcaster-backup \
|
||||
debian/tmp/bin/campcaster-import \
|
||||
debian/tmp/bin/dumpDbSchema.sh \
|
||||
debian/tmp/bin/campcaster-restore \
|
||||
debian/campcaster-station/usr/lib/campcaster/bin/
|
||||
mv -f debian/tmp/etc/campcaster-scheduler.xml \
|
||||
debian/campcaster-station/etc/
|
||||
# CONFIG templates (for postinst and cc-scripts)
|
||||
mv -f debian/tmp/etc/pg_hba.conf \
|
||||
debian/tmp/etc/odbc_template \
|
||||
debian/tmp/etc/odbcinst_template \
|
||||
debian/tmp/etc/odbcinst_old_debian_template \
|
||||
debian/tmp/etc/odbcinst_new_debian_template \
|
||||
debian/tmp/etc/apache/90_php_campcaster.conf \
|
||||
debian/campcaster-station/usr/share/campcaster/etc/
|
||||
# CONFIG files
|
||||
mkdir -p debian/campcaster-station/etc/campcaster/storageServer
|
||||
mkdir -p debian/campcaster-station/etc/campcaster/storageAdmin
|
||||
mkdir -p debian/campcaster-station/etc/campcaster/htmlUI
|
||||
#
|
||||
mv -f debian/tmp/var/Campcaster/storageServer/var/conf.php \
|
||||
debian/campcaster-station/etc/campcaster/storageServer/conf.php
|
||||
mv -f debian/tmp/var/Campcaster/storageServer/var/campcaster_version.php \
|
||||
debian/campcaster-station/etc/campcaster/storageServer/
|
||||
mv -f debian/tmp/var/Campcaster/storageAdmin/var/conf.php \
|
||||
debian/campcaster-station/etc/campcaster/storageAdmin/conf.php
|
||||
mv -f debian/tmp/var/Campcaster/htmlUI/var/ui_conf.php \
|
||||
debian/campcaster-station/etc/campcaster/htmlUI/ui_conf.php
|
||||
#
|
||||
mv -f debian/tmp/var/Campcaster/alib \
|
||||
debian/tmp/var/Campcaster/getid3 \
|
||||
debian/tmp/var/Campcaster/htmlUI \
|
||||
debian/tmp/var/Campcaster/index.php \
|
||||
debian/tmp/var/Campcaster/scheduler \
|
||||
debian/tmp/var/Campcaster/storageServer \
|
||||
debian/tmp/var/Campcaster/storageAdmin \
|
||||
debian/campcaster-station/usr/share/campcaster/www
|
||||
# symlink CONFIG files
|
||||
ln -s /etc/campcaster/storageServer/conf.php debian/campcaster-station/usr/share/campcaster/www/storageServer/var/conf.php
|
||||
ln -s /etc/campcaster/storageServer/campcaster_version.php debian/campcaster-station/usr/share/campcaster/www/storageServer/var/
|
||||
ln -s /etc/campcaster/storageAdmin/conf.php debian/campcaster-station/usr/share/campcaster/www/storageAdmin/var/conf.php
|
||||
ln -s /etc/campcaster/htmlUI/ui_conf.php debian/campcaster-station/usr/share/campcaster/www/htmlUI/var/ui_conf.php
|
||||
#
|
||||
mkdir -p debian/campcaster-station/usr/bin/
|
||||
ln -s /usr/lib/campcaster/bin/campcaster-scheduler.sh debian/campcaster-station/usr/bin/campcaster-scheduler
|
||||
ln -s /usr/lib/campcaster/bin/campcaster-import debian/campcaster-station/usr/bin/campcaster-import
|
||||
#ln -s /usr/lib/campcaster/bin/campcaster-backup debian/campcaster-station/usr/bin/campcaster-backup
|
||||
#ln -s /usr/lib/campcaster/bin/campcaster-restore debian/campcaster-station/usr/sbin/campcaster-restore
|
||||
#
|
||||
# studio (client)
|
||||
mkdir -p debian/campcaster-studio/usr/lib/campcaster/bin
|
||||
mkdir -p debian/campcaster-studio/usr/share/campcaster/etc
|
||||
mkdir -p debian/campcaster-studio/etc/
|
||||
mkdir -p debian/campcaster-studio/usr/share/campcaster/www
|
||||
|
||||
mv debian/tmp/lib/liblivesupport* debian/campcaster-studio/usr/lib/
|
||||
mv -f debian/tmp/bin/campcaster-studio \
|
||||
debian/tmp/bin/campcaster-studio.sh \
|
||||
debian/campcaster-studio/usr/lib/campcaster/bin/
|
||||
mv -f debian/tmp/etc/campcaster-studio.xml debian/campcaster-studio/etc/
|
||||
mv -f debian/tmp/etc/campcaster-studio.xml.template debian/campcaster-studio/usr/share/campcaster/etc/
|
||||
mv -f debian/tmp/var/Campcaster/Widgets \
|
||||
debian/tmp/var/Campcaster/studio-localization \
|
||||
debian/tmp/var/Campcaster/glade \
|
||||
debian/tmp/var/Campcaster/campcaster.png \
|
||||
debian/tmp/var/Campcaster/icon*.png \
|
||||
debian/tmp/var/Campcaster/stationLogo.png \
|
||||
debian/tmp/var/Campcaster/testAudio.ogg \
|
||||
debian/campcaster-studio/usr/share/campcaster/www/
|
||||
mkdir -p debian/campcaster-studio/usr/bin/
|
||||
ln -s /usr/lib/campcaster/bin/campcaster-studio.sh debian/campcaster-studio/usr/bin/campcaster-studio
|
||||
# move -studio's share to -data
|
||||
mkdir -p debian/campcaster-data/usr/share/
|
||||
mv debian/campcaster-station/usr/share/campcaster debian/campcaster-data/usr/share/
|
||||
rmdir debian/campcaster-station/usr/share/
|
||||
|
||||
override_dh_fixperms:
|
||||
dh_fixperms
|
||||
#
|
||||
chmod +x debian/campcaster-data/usr/share/campcaster/www/storageServer/var/install/airtime-user.php
|
||||
chmod -x debian/campcaster-data/usr/share/campcaster/www/storageServer/var/cron/Crontab.php \
|
||||
debian/campcaster-data/usr/share/campcaster/www/storageServer/var/cron/CronJob.php \
|
||||
debian/campcaster-data/usr/share/campcaster/www/htmlUI/var/templates/popup/PLAYLIST.downloadExportedFile.tpl \
|
||||
debian/campcaster-data/usr/share/campcaster/www/htmlUI/var/Smarty/libs/plugins/outputfilter.localizer.php \
|
||||
debian/campcaster-data/usr/share/campcaster/www/htmlUI/var/templates/playlist/import.tpl \
|
||||
debian/campcaster-data/usr/share/campcaster/www/htmlUI/var/Smarty/libs/Smarty.class.php \
|
||||
debian/campcaster-data/usr/share/campcaster/www/storageServer/var/Backup.php \
|
||||
debian/campcaster-data/usr/share/campcaster/www/storageServer/var/cron/Cron.php \
|
||||
debian/campcaster-data/usr/share/campcaster/www/htmlUI/var/templates/popup/PLAYLIST.export.tpl \
|
||||
debian/campcaster-data/usr/share/campcaster/www/htmlUI/var/Smarty/libs/plugins/postfilter.template_marker.php
|
||||
|
||||
override_dh_shlibdeps:
|
||||
LD_LIBRARY_PATH=debian/campcaster-libs/usr/lib/campcaster/ dh_shlibdeps
|
||||
|
||||
override_dh_makeshlibs:
|
||||
dh_makeshlibs -n
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --params "defaults 92"
|
1
debian/source/format
vendored
1
debian/source/format
vendored
|
@ -1 +0,0 @@
|
|||
3.0 (quilt)
|
2
debian/watch
vendored
2
debian/watch
vendored
|
@ -1,2 +0,0 @@
|
|||
version=3
|
||||
http://sf.net/campcaster/campcaster-([0-9].+)\.tar\.bz2
|
Loading…
Add table
Add a link
Reference in a new issue