removed root folder
This commit is contained in:
parent
e79dec135d
commit
b91512b57c
1924 changed files with 96 additions and 120 deletions
442
etc/Makefile.in
Normal file
442
etc/Makefile.in
Normal file
|
@ -0,0 +1,442 @@
|
|||
#-------------------------------------------------------------------------------
|
||||
# Copyright (c) 2004 Media Development Loan Fund
|
||||
#
|
||||
# This file is part of the Campcaster project.
|
||||
# http://campcaster.campware.org/
|
||||
# To report bugs, send an e-mail to bugs@campware.org
|
||||
#
|
||||
# Campcaster 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.
|
||||
#
|
||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
#
|
||||
# Author : $Author$
|
||||
# Version : $Revision$
|
||||
# Location : $URL$
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# General command definitions
|
||||
#-------------------------------------------------------------------------------
|
||||
MKDIR = mkdir -p
|
||||
RM = rm -f
|
||||
RMDIR = rm -rf
|
||||
DOXYGEN = doxygen
|
||||
DOXYTAG = doxytag
|
||||
XSLTPROC = xsltproc
|
||||
ECHO = @echo
|
||||
FLAWFINDER = flawfinder
|
||||
CP = cp -f
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Basic directory and file definitions
|
||||
#-------------------------------------------------------------------------------
|
||||
BASE_DIR = .
|
||||
BIN_DIR = ${BASE_DIR}/bin
|
||||
DOC_DIR = ${BASE_DIR}/doc
|
||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
||||
ETC_DIR = ${BASE_DIR}/etc
|
||||
SRC_DIR = ${BASE_DIR}/src
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
|
||||
prefix = @prefix@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
|
||||
USR_DIR = ${prefix}
|
||||
USR_BIN_DIR = ${USR_DIR}/bin
|
||||
USR_DOC_DIR = ${USR_DIR}/doc
|
||||
USR_ETC_DIR = ${USR_DIR}/etc
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
USR_VAR_DIR = ${USR_DIR}/var
|
||||
|
||||
HOSTNAME = @HOSTNAME@
|
||||
APACHE_GROUP = @APACHE_GROUP@
|
||||
WWW_DOCROOT = @WWW_DOCROOT@
|
||||
WWW_PORT = @WWW_PORT@
|
||||
SCHEDULER_PORT = @SCHEDULER_PORT@
|
||||
DB_SERVER = @DB_SERVER@
|
||||
DATABASE = @DATABASE@
|
||||
DB_USER = @DB_USER@
|
||||
DB_PASSWORD = @DB_PASSWORD@
|
||||
CREATE_LS_DATABASE = @CREATE_LS_DATABASE@
|
||||
INIT_LS_DATABASE = @INIT_LS_DATABASE@
|
||||
CREATE_ODBC_DATA_SOURCE = @CREATE_ODBC_DATA_SOURCE@
|
||||
CONFIGURE_APACHE = @CONFIGURE_APACHE@
|
||||
STATION_AUDIO_OUT = "@STATION_AUDIO_OUT@"
|
||||
STUDIO_AUDIO_OUT = "@STUDIO_AUDIO_OUT@"
|
||||
STUDIO_AUDIO_CUE = "@STUDIO_AUDIO_CUE@"
|
||||
|
||||
|
||||
export LD_LIBRARY_PATH:=${prefix}/lib:${LD_LIBRARY_PATH}
|
||||
export PKG_CONFIG_PATH:=${prefix}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||
|
||||
DEBUG = @DEBUG@
|
||||
|
||||
DOXYGEN_CONFIG = ${ETC_DIR}/doxygen.config
|
||||
XMLRPC-DOXYGEN_CONFIG = ${ETC_DIR}/xmlrpc-doxygen.config
|
||||
|
||||
XMLRPCXX_DOC_DIR = ${BASE_DIR}/usr/share/doc/xmlrpc++
|
||||
EXTERNAL_DOC_PAGES = ${XMLRPCXX_DOC_DIR}/XmlRpcServerMethod_8h-source.html \
|
||||
${XMLRPCXX_DOC_DIR}/classXmlRpc_1_1XmlRpcServerMethod.html \
|
||||
${XMLRPCXX_DOC_DIR}/classXmlRpc_1_1XmlRpcServerMethod-members.html
|
||||
TAGFILE = ${DOXYGEN_DIR}/xmlrpc++.tag
|
||||
|
||||
TESTRESULTS_XSLT = ${ETC_DIR}/testResultsToHtml.xsl
|
||||
TESTRESULTS_IN = ${ETC_DIR}/testResults.xml
|
||||
TESTRESULTS_FILE = ${DOC_DIR}/testResults.html
|
||||
|
||||
FLAWFINDER_FILE = ${DOC_DIR}/flawfinderReport.html
|
||||
|
||||
TOOLS_DIR = ${SRC_DIR}/tools
|
||||
|
||||
LIBODBCXX_DIR = ${TOOLS_DIR}/libodbc++
|
||||
LIBODBCXX_VERSION = libodbc++-0.2.5
|
||||
XMLRPCXX_DIR = ${TOOLS_DIR}/xmlrpc++
|
||||
XMLRPCXX_VERSION = xmlrpc++-20040713
|
||||
TAGLIB_DIR = ${TOOLS_DIR}/taglib
|
||||
TAGLIB_VERSION = taglib-1.5
|
||||
PEAR_DIR = ${TOOLS_DIR}/pear
|
||||
|
||||
MODULES_DIR = ${SRC_DIR}/modules
|
||||
CORE_DIR = ${MODULES_DIR}/core
|
||||
AUTHENTICATION_DIR = ${MODULES_DIR}/authentication
|
||||
DB_DIR = ${MODULES_DIR}/db
|
||||
STORAGE_CLIENT_DIR = ${MODULES_DIR}/storageClient
|
||||
PLAYLIST_EXECUTOR_DIR = ${MODULES_DIR}/playlistExecutor
|
||||
EVENT_SCHEDULER_DIR = ${MODULES_DIR}/eventScheduler
|
||||
SCHEDULER_CLIENT_DIR = ${MODULES_DIR}/schedulerClient
|
||||
WIDGETS_DIR = ${MODULES_DIR}/widgets
|
||||
ALIB_DIR = ${MODULES_DIR}/alib
|
||||
ARCHIVE_SERVER_DIR = ${MODULES_DIR}/archiveServer
|
||||
GETID3_DIR = ${MODULES_DIR}/getid3
|
||||
HTML_UI_DIR = ${MODULES_DIR}/htmlUI
|
||||
STORAGE_ADMIN_DIR = ${MODULES_DIR}/storageAdmin
|
||||
STORAGE_SERVER_DIR = ${MODULES_DIR}/storageServer
|
||||
|
||||
PRODUCTS_DIR = ${SRC_DIR}/products
|
||||
SCHEDULER_DIR = ${PRODUCTS_DIR}/scheduler
|
||||
GLIVESUPPORT_DIR = ${PRODUCTS_DIR}/gLiveSupport
|
||||
|
||||
SCHEDULER_EXE = ${SCHEDULER_DIR}/tmp/campcaster-scheduler
|
||||
GLIVESUPPORT_EXE = ${GLIVESUPPORT_DIR}/tmp/campcaster-studio
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Targets
|
||||
#-------------------------------------------------------------------------------
|
||||
.PHONY: all doc clean docclean depclean distclean doxygen testresults
|
||||
.PHONY: setup tools_setup doxytag_setup modules_setup products_setup
|
||||
.PHONY: start stop status run
|
||||
|
||||
all: setup compile
|
||||
|
||||
help:
|
||||
${ECHO} "Campcaster project main Makefile"
|
||||
${ECHO} "http://campcaster.campware.org/"
|
||||
${ECHO} "Copyright (c) 2004 Media Development Loan Fund under the GNU GPL"
|
||||
${ECHO} ""
|
||||
${ECHO} "Useful targets for this makefile:"
|
||||
${ECHO} " all - set up and compile everthing"
|
||||
${ECHO} " install - install everything"
|
||||
${ECHO} " doc - build autogenerated documentation"
|
||||
${ECHO} " clean - clean all modules"
|
||||
${ECHO} " check - check all modules"
|
||||
${ECHO} ""
|
||||
${ECHO} "Some less frequently used targets:"
|
||||
${ECHO} " setup - set up the development environment"
|
||||
${ECHO} " doxygen - build autogenerated doxygen documentation only"
|
||||
${ECHO} " compile - compile all modules"
|
||||
${ECHO} " recompile - recompile all modules"
|
||||
|
||||
doc: doxygen testresults flawfinder
|
||||
|
||||
doxygen:
|
||||
${DOXYGEN} ${DOXYGEN_CONFIG}
|
||||
${DOXYGEN} ${XMLRPC-DOXYGEN_CONFIG}
|
||||
|
||||
testresults:
|
||||
${XSLTPROC} ${TESTRESULT_XSLT} ${TESTRESULTS_IN} > ${TESTRESULTS_FILE}
|
||||
|
||||
flawfinder:
|
||||
${FLAWFINDER} -c --immediate --html \
|
||||
${CORE_DIR}/include ${CORE_DIR}/src \
|
||||
${AUTHENTICATION_DIR}/include ${AUTHENTICATION_DIR}/src \
|
||||
${DB_DIR}/include ${DB_DIR}/src \
|
||||
${STORAGE_CLIENT_DIR}/include ${STORAGE_CLIENT_DIR}/src \
|
||||
${PLAYLIST_EXECUTOR_DIR}/include \
|
||||
${PLAYLIST_EXECUTOR_DIR}/src \
|
||||
${EVENT_SCHEDULER_DIR}/include ${EVENT_SCHEDULER_DIR}/src \
|
||||
${SCHEDULER_CLIENT_DIR}/include ${SCHEDULER_CLIENT_DIR}/src \
|
||||
${WIDGETS_DIR}/include ${WIDGETS_DIR}/src \
|
||||
${SCHEDULER_DIR}/src > ${FLAWFINDER_FILE} \
|
||||
${GLIVESUPPORT_DIR}/src > ${FLAWFINDER_FILE} \
|
||||
|
||||
clean:
|
||||
${RMDIR} ${DOXYGEN_DIR}/html
|
||||
${RMDIR} ${COVERAGE_DIR}/*
|
||||
${RM} ${TMP_DIR}/*.stamp
|
||||
${RM} ${TMP_DIR}/ac* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
||||
${RMDIR} ${TMP_DIR}/auto*
|
||||
|
||||
setup: ${TMP_DIR}/setup.stamp
|
||||
${TMP_DIR}/setup.stamp: tools_setup doxytag_setup modules_setup products_setup
|
||||
touch ${TMP_DIR}/setup.stamp
|
||||
|
||||
recompile: modprod_distclean modules_setup products_setup compile
|
||||
|
||||
tools_setup: ${TMP_DIR}/tools_setup.stamp
|
||||
${TMP_DIR}/tools_setup.stamp:
|
||||
cd ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} && ./configure --prefix=${prefix}
|
||||
${MAKE} -C ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} install
|
||||
|
||||
cd ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} && ./configure --prefix=${prefix}
|
||||
${MAKE} -C ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} install
|
||||
|
||||
cd ${TAGLIB_DIR}/${TAGLIB_VERSION} && ./configure --prefix=${prefix}
|
||||
${MAKE} -C ${TAGLIB_DIR}/${TAGLIB_VERSION} install
|
||||
|
||||
cd ${PEAR_DIR} && ./configure --prefix=${prefix}
|
||||
${MAKE} -C ${PEAR_DIR} install
|
||||
|
||||
touch ${TMP_DIR}/tools_setup.stamp
|
||||
|
||||
tools_distclean:
|
||||
-${MAKE} -C ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} distclean
|
||||
-${MAKE} -C ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} distclean
|
||||
-${MAKE} -C ${TAGLIB_DIR}/${TAGLIB_VERSION} distclean
|
||||
${RM} ${TMP_DIR}/tools_setup.stamp
|
||||
|
||||
doxytag_setup: ${TMP_DIR}/doxytag_setup.stamp
|
||||
${TMP_DIR}/doxytag_setup.stamp:
|
||||
${DOXYTAG} -t ${TAGFILE} ${EXTERNAL_DOC_PAGES}
|
||||
touch ${TMP_DIR}/doxytag_setup.stamp
|
||||
|
||||
modules_setup: ${TMP_DIR}/modules_setup.stamp
|
||||
${TMP_DIR}/modules_setup.stamp:
|
||||
cd ${ALIB_DIR} && ./configure --prefix=${prefix} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${ARCHIVE_SERVER_DIR} && \
|
||||
./configure --prefix=${prefix} \
|
||||
--with-hostname=${HOSTNAME} \
|
||||
--with-www-port=${WWW_PORT} \
|
||||
--with-database-server=${DB_SERVER} \
|
||||
--with-database=${DATABASE} \
|
||||
--with-database-user=${DB_USER} \
|
||||
--with-database-password=${DB_PASSWORD} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${GETID3_DIR} && ./configure --prefix=${prefix} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${HTML_UI_DIR} && ./configure --prefix=${prefix} \
|
||||
--with-apache-group=${APACHE_GROUP} \
|
||||
--with-www-docroot=${WWW_DOCROOT} \
|
||||
--with-configure-apache=${CONFIGURE_APACHE} \
|
||||
--with-storage-server=${prefix}/var/Campcaster/storageServer \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${STORAGE_ADMIN_DIR} && ./configure --prefix=${prefix} \
|
||||
--with-storage-server=${prefix}/var/Campcaster/storageServer \
|
||||
--with-phppart-dir=${prefix}/var/Campcaster/storageAdmin \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${STORAGE_SERVER_DIR} && \
|
||||
./configure --prefix=${prefix} \
|
||||
--with-apache-group=${APACHE_GROUP} \
|
||||
--with-hostname=${HOSTNAME} \
|
||||
--with-www-docroot=${WWW_DOCROOT} \
|
||||
--with-www-port=${WWW_PORT} \
|
||||
--with-scheduler-port=${SCHEDULER_PORT} \
|
||||
--with-database-server=${DB_SERVER} \
|
||||
--with-database=${DATABASE} \
|
||||
--with-database-user=${DB_USER} \
|
||||
--with-database-password=${DB_PASSWORD} \
|
||||
--with-init-database=${INIT_LS_DATABASE} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${CORE_DIR} && \
|
||||
./configure --prefix=${prefix} --enable-debug=${DEBUG} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${AUTHENTICATION_DIR} && \
|
||||
./configure --prefix=${prefix} --enable-debug=${DEBUG} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${DB_DIR} && \
|
||||
./configure --prefix=${prefix} --enable-debug=${DEBUG} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${STORAGE_CLIENT_DIR} && \
|
||||
./configure --prefix=${prefix} --enable-debug=${DEBUG} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${PLAYLIST_EXECUTOR_DIR} && \
|
||||
./configure --prefix=${prefix} --enable-debug=${DEBUG} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${EVENT_SCHEDULER_DIR} && \
|
||||
./configure --prefix=${prefix} --enable-debug=${DEBUG} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${SCHEDULER_CLIENT_DIR} && \
|
||||
./configure --prefix=${prefix} --enable-debug=${DEBUG} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${WIDGETS_DIR} && \
|
||||
./configure --prefix=${prefix} --enable-debug=${DEBUG} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
touch ${TMP_DIR}/modules_setup.stamp
|
||||
|
||||
products_setup: ${TMP_DIR}/products_setup.stamp
|
||||
${TMP_DIR}/products_setup.stamp:
|
||||
cd ${SCHEDULER_DIR} && \
|
||||
./configure --prefix=${prefix} \
|
||||
--enable-debug=${DEBUG} \
|
||||
--with-hostname=${HOSTNAME} \
|
||||
--with-www-port=${WWW_PORT} \
|
||||
--with-scheduler-port=${SCHEDULER_PORT} \
|
||||
--with-database-server=${DB_SERVER} \
|
||||
--with-database=${DATABASE} \
|
||||
--with-database-user=${DB_USER} \
|
||||
--with-database-password=${DB_PASSWORD} \
|
||||
--with-audio-out=${STATION_AUDIO_OUT} \
|
||||
--with-create-odbc-data-source=${CREATE_ODBC_DATA_SOURCE} \
|
||||
--with-init-database=${INIT_LS_DATABASE} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
cd ${GLIVESUPPORT_DIR} && \
|
||||
./configure --prefix=${prefix} \
|
||||
--enable-debug=${DEBUG} \
|
||||
--with-hostname=${HOSTNAME} \
|
||||
--with-www-port=${WWW_PORT} \
|
||||
--with-scheduler-port=${SCHEDULER_PORT} \
|
||||
--with-database-server=${DB_SERVER} \
|
||||
--with-database=${DATABASE} \
|
||||
--with-database-user=${DB_USER} \
|
||||
--with-database-password=${DB_PASSWORD} \
|
||||
--with-audio-out=${STUDIO_AUDIO_OUT} \
|
||||
--with-audio-cue=${STUDIO_AUDIO_CUE} \
|
||||
PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
touch ${TMP_DIR}/products_setup.stamp
|
||||
|
||||
distclean: clean tools_distclean modprod_distclean
|
||||
|
||||
modprod_distclean:
|
||||
${MAKE} -C ${CORE_DIR} distclean
|
||||
${MAKE} -C ${AUTHENTICATION_DIR} distclean
|
||||
${MAKE} -C ${DB_DIR} distclean
|
||||
${MAKE} -C ${STORAGE_CLIENT_DIR} distclean
|
||||
${MAKE} -C ${PLAYLIST_EXECUTOR_DIR} distclean
|
||||
${MAKE} -C ${EVENT_SCHEDULER_DIR} distclean
|
||||
${MAKE} -C ${SCHEDULER_CLIENT_DIR} distclean
|
||||
${MAKE} -C ${WIDGETS_DIR} distclean
|
||||
${MAKE} -C ${SCHEDULER_DIR} distclean
|
||||
${MAKE} -C ${GLIVESUPPORT_DIR} distclean
|
||||
${RM} ${TMP_DIR}/compile.stamp
|
||||
${RM} ${TMP_DIR}/modules_setup.stamp
|
||||
${RM} ${TMP_DIR}/products_setup.stamp
|
||||
|
||||
depclean:
|
||||
${MAKE} -C ${CORE_DIR} depclean
|
||||
${MAKE} -C ${AUTHENTICATION_DIR} depclean
|
||||
${MAKE} -C ${DB_DIR} depclean
|
||||
${MAKE} -C ${STORAGE_CLIENT_DIR} depclean
|
||||
${MAKE} -C ${PLAYLIST_EXECUTOR_DIR} depclean
|
||||
${MAKE} -C ${EVENT_SCHEDULER_DIR} depclean
|
||||
${MAKE} -C ${SCHEDULER_CLIENT_DIR} depclean
|
||||
${MAKE} -C ${WIDGETS_DIR} depclean
|
||||
${MAKE} -C ${SCHEDULER_DIR} depclean
|
||||
${MAKE} -C ${GLIVESUPPORT_DIR} depclean
|
||||
-${MAKE} -C ${ARCHIVE_SERVER_DIR} depclean
|
||||
-${MAKE} -C ${STORAGE_SERVER_DIR} depclean
|
||||
|
||||
compile: ${TMP_DIR}/compile.stamp
|
||||
${TMP_DIR}/compile.stamp:
|
||||
${MAKE} -C ${CORE_DIR} all
|
||||
${MAKE} -C ${AUTHENTICATION_DIR} all
|
||||
${MAKE} -C ${DB_DIR} all
|
||||
${MAKE} -C ${STORAGE_CLIENT_DIR} all
|
||||
${MAKE} -C ${PLAYLIST_EXECUTOR_DIR} all
|
||||
${MAKE} -C ${EVENT_SCHEDULER_DIR} all
|
||||
${MAKE} -C ${SCHEDULER_CLIENT_DIR} all
|
||||
${MAKE} -C ${WIDGETS_DIR} all
|
||||
${MAKE} -C ${SCHEDULER_DIR} all
|
||||
${MAKE} -C ${GLIVESUPPORT_DIR} all
|
||||
touch ${TMP_DIR}/compile.stamp
|
||||
|
||||
check:
|
||||
-${MAKE} -C ${CORE_DIR} check
|
||||
-${MAKE} -C ${AUTHENTICATION_DIR} check
|
||||
-${MAKE} -C ${DB_DIR} check
|
||||
-${MAKE} -C ${STORAGE_CLIENT_DIR} check
|
||||
# -${MAKE} -C ${PLAYLIST_EXECUTOR_DIR} check # hangs on edge.campware.org
|
||||
-${MAKE} -C ${EVENT_SCHEDULER_DIR} check
|
||||
-${MAKE} -C ${SCHEDULER_CLIENT_DIR} check
|
||||
# -${MAKE} -C ${WIDGETS_DIR} check # no tests defined
|
||||
# -${MAKE} -C ${SCHEDULER_DIR} check # has database issues
|
||||
# -${MAKE} -C ${GLIVESUPPORT_DIR} check # has database issues
|
||||
# -${MAKE} -C ${ARCHIVE_SERVER_DIR} check # no tests defined
|
||||
# -${MAKE} -C ${STORAGE_SERVER_DIR} check # has database issues
|
||||
|
||||
|
||||
start: ${SCHEDULER_EXE}
|
||||
${MAKE} -C ${SCHEDULER_DIR} start
|
||||
|
||||
stop: ${SCHEDULER_EXE}
|
||||
${MAKE} -C ${SCHEDULER_DIR} stop
|
||||
|
||||
status: ${SCHEDULER_EXE}
|
||||
${MAKE} -C ${SCHEDULER_DIR} status
|
||||
|
||||
run: ${GLIVESUPPORT_EXE}
|
||||
${MAKE} -C ${GLIVESUPPORT_DIR} run
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Installation related targets
|
||||
#-------------------------------------------------------------------------------
|
||||
.PHONY: install create_database setup_install_dirs
|
||||
.PHONY: install_modules install_products
|
||||
|
||||
install: setup compile setup_install_dirs create_database install_modules install_products
|
||||
${MKDIR} ${USR_ETC_DIR}/apache
|
||||
${CP} ${ETC_DIR}/apache/*.conf ${USR_ETC_DIR}/apache
|
||||
${MKDIR} ${USR_BIN_DIR}
|
||||
${CP} ${BIN_DIR}/postInstallStation.sh ${USR_BIN_DIR}
|
||||
${CP} ${ETC_DIR}/campcaster-scheduler ${USR_ETC_DIR}
|
||||
${CP} ${ETC_DIR}/pg_hba.conf ${USR_ETC_DIR}
|
||||
|
||||
create_database:
|
||||
ifeq (@CREATE_LS_DATABASE@,yes)
|
||||
${SCHEDULER_DIR}/bin/createDatabase.sh --database=${DATABASE} \
|
||||
--dbserver=${DB_SERVER} \
|
||||
--dbuser=${DB_USER} \
|
||||
--dbpassword=${DB_PASSWORD}
|
||||
endif
|
||||
|
||||
setup_install_dirs:
|
||||
${MKDIR} ${USR_BIN_DIR}
|
||||
${MKDIR} ${USR_DOC_DIR}
|
||||
${MKDIR} ${USR_ETC_DIR}
|
||||
${MKDIR} ${USR_LIB_DIR}
|
||||
${MKDIR} ${USR_VAR_DIR}
|
||||
|
||||
install_modules:
|
||||
${MAKE} -C ${ALIB_DIR} install
|
||||
${MAKE} -C ${ARCHIVE_SERVER_DIR} install
|
||||
${MAKE} -C ${GETID3_DIR} install
|
||||
${MAKE} -C ${HTML_UI_DIR} install
|
||||
${MAKE} -C ${STORAGE_ADMIN_DIR} install
|
||||
${MAKE} -C ${STORAGE_SERVER_DIR} install
|
||||
${MAKE} -C ${CORE_DIR} install
|
||||
${MAKE} -C ${AUTHENTICATION_DIR} install
|
||||
${MAKE} -C ${DB_DIR} install
|
||||
${MAKE} -C ${STORAGE_CLIENT_DIR} install
|
||||
${MAKE} -C ${PLAYLIST_EXECUTOR_DIR} install
|
||||
${MAKE} -C ${EVENT_SCHEDULER_DIR} install
|
||||
${MAKE} -C ${SCHEDULER_CLIENT_DIR} install
|
||||
${MAKE} -C ${WIDGETS_DIR} install
|
||||
|
||||
install_products:
|
||||
${MAKE} -C ${SCHEDULER_DIR} install
|
||||
${MAKE} -C ${GLIVESUPPORT_DIR} install
|
||||
|
||||
|
2
etc/apache/90_php_campcaster.conf
Normal file
2
etc/apache/90_php_campcaster.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
php_value upload_max_filesize 32M
|
||||
php_value post_max_size 36M
|
56
etc/campcaster-scheduler
Executable file
56
etc/campcaster-scheduler
Executable file
|
@ -0,0 +1,56 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
#
|
||||
|
||||
CAMPCASTER_DIR=/opt/campcaster
|
||||
CAMPCASTER_BIN=$CAMPCASTER_DIR/bin
|
||||
CAMPCASTER_ETC=$CAMPCASTER_DIR/etc
|
||||
CAMPCASTER_LIB=$CAMPCASTER_DIR/lib
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin:$CAMPCASTER_BIN
|
||||
LD_LIBRARY_PATH=$CAMPCASTER_LIB:$LD_LIBRARY_PATH
|
||||
DAEMON=$CAMPCASTER_BIN/campcaster-scheduler
|
||||
NAME=campcaster-scheduler
|
||||
DESC="campcaster scheduler"
|
||||
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
export PATH
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
DAEMON_OPTS="-c $CAMPCASTER_ETC/campcaster-scheduler.xml"
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting $DESC: "
|
||||
$DAEMON $DAEMON_OPTS start > /dev/null
|
||||
echo "$NAME."
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping $DESC: "
|
||||
$DAEMON $DAEMON_OPTS stop > /dev/null
|
||||
echo "$NAME."
|
||||
;;
|
||||
restart|force-reload)
|
||||
echo -n "Restarting $DESC: "
|
||||
$DAEMON $DAEMON_OPTS stop > /dev/null
|
||||
sleep 1
|
||||
$DAEMON $DAEMON_OPTS start > /dev/null
|
||||
echo "$NAME."
|
||||
;;
|
||||
kill)
|
||||
echo -n "Killing $DESC: "
|
||||
$DAEMON $DAEMON_OPTS kill > /dev/null
|
||||
echo "$NAME."
|
||||
;;
|
||||
*)
|
||||
N=/etc/init.d/$NAME
|
||||
echo "Usage: $N {start|stop|restart|force-reload|kill}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
388
etc/configure.ac
Normal file
388
etc/configure.ac
Normal file
|
@ -0,0 +1,388 @@
|
|||
dnl-----------------------------------------------------------------------------
|
||||
dnl Copyright (c) 2010 Media Development Loan Fund
|
||||
dnl
|
||||
dnl This file is part of the Campcaster project.
|
||||
dnl http://campcaster.campware.org/
|
||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
||||
dnl
|
||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
||||
dnl it under the terms of the GNU General Public License as published by
|
||||
dnl the Free Software Foundation; either version 2 of the License, or
|
||||
dnl (at your option) any later version.
|
||||
dnl
|
||||
dnl Campcaster is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
dnl GNU General Public License for more details.
|
||||
dnl
|
||||
dnl You should have received a copy of the GNU General Public License
|
||||
dnl along with Campcaster; if not, write to the Free Software
|
||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
dnl
|
||||
dnl
|
||||
dnl Author : $Author$
|
||||
dnl Version : $Revision$
|
||||
dnl Location : $URL$
|
||||
dnl-----------------------------------------------------------------------------
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
||||
dnl project.
|
||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||
dnl it is being run from. We clearly don't want these in our base directory.
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_INIT(Campcaster, 1.4.0, bugs@campware.org)
|
||||
AC_PREREQ(2.59)
|
||||
AC_COPYRIGHT([Copyright (c) 2010 Media Development Loan Fund under the GNU GPL])
|
||||
AC_REVISION($Revision$)
|
||||
|
||||
AC_CONFIG_SRCDIR(../src/products/scheduler/src/main.cxx)
|
||||
|
||||
AC_PROG_CC()
|
||||
AC_PROG_CXX()
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify whether debug info should be compiled into the executable
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(DEBUG)
|
||||
|
||||
AC_ARG_ENABLE([debug],
|
||||
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
|
||||
[DEBUG=${enable_debug}],
|
||||
[DEBUG=no])
|
||||
|
||||
AC_MSG_RESULT([compiling with debug info: ${DEBUG}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify whether the Campcaster database and user should be created
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(CREATE_LS_DATABASE)
|
||||
|
||||
AC_ARG_WITH([create-database],
|
||||
AC_HELP_STRING([--with-create-database],
|
||||
[specify whether the Campcaster database and database user
|
||||
should be created (no)]),
|
||||
[CREATE_LS_DATABASE=${withval}],
|
||||
[CREATE_LS_DATABASE=no])
|
||||
|
||||
AC_MSG_RESULT([creating Campcaster database: ${CREATE_LS_DATABASE}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify whether the ODBC data source should be created
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(CREATE_ODBC_DATA_SOURCE)
|
||||
|
||||
AC_ARG_WITH([create-odbc-data-source],
|
||||
AC_HELP_STRING([--with-create-odbc-data-source],
|
||||
[specify whether the ODBC data source for Campcaster should be
|
||||
created (no)]),
|
||||
[CREATE_ODBC_DATA_SOURCE=${withval}],
|
||||
[CREATE_ODBC_DATA_SOURCE=no])
|
||||
|
||||
AC_MSG_RESULT([creating ODBC data source: ${CREATE_ODBC_DATA_SOURCE}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify whether the Campcaster database tables should be initialized
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(INIT_LS_DATABASE)
|
||||
|
||||
AC_ARG_WITH([init-database],
|
||||
AC_HELP_STRING([--with-init-database],
|
||||
[specify whether the Campcaster database tables should be
|
||||
initialized (no)]),
|
||||
[INIT_LS_DATABASE=${withval}],
|
||||
[INIT_LS_DATABASE=no])
|
||||
|
||||
AC_MSG_RESULT([initializing Campcaster database: ${INIT_LS_DATABASE}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify whether apache should be configured through it's conf.d directory
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(CONFIGURE_APACHE)
|
||||
|
||||
AC_ARG_WITH([configure-apache],
|
||||
AC_HELP_STRING([--with-configure-apache],
|
||||
[specify whether apache should be configured for Campcaster
|
||||
through its conf.d directory (no)]),
|
||||
[CONFIGURE_APACHE=${withval}],
|
||||
[CONFIGURE_APACHE=no])
|
||||
|
||||
AC_MSG_RESULT([configure apache: ${CONFIGURE_APACHE}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the FQDN
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(HOSTNAME)
|
||||
|
||||
AC_ARG_WITH([hostname],
|
||||
AC_HELP_STRING([--with-hostname],
|
||||
[use the specified hostname (guess)]),
|
||||
[HOSTNAME=${withval}], [HOSTNAME=`hostname -f`])
|
||||
|
||||
AC_MSG_RESULT([using hostname: ${HOSTNAME}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify group in which apache is running
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(APACHE_GROUP)
|
||||
|
||||
AC_ARG_WITH([apache-group],
|
||||
AC_HELP_STRING([--with-apache-group],
|
||||
[use apache running in the specified group (apache)]),
|
||||
[APACHE_GROUP=${withval}], [APACHE_GROUP=apache])
|
||||
|
||||
AC_MSG_RESULT([using apache group: ${APACHE_GROUP}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify web document root
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(WWW_DOCROOT)
|
||||
|
||||
AC_ARG_WITH([www-docroot],
|
||||
AC_HELP_STRING([--with-www-docroot],
|
||||
[deploy Campcaster under the specified docroot (/var/www)]),
|
||||
[WWW_DOCROOT=${withval}], [WWW_DOCROOT=/var/www])
|
||||
|
||||
AC_MSG_RESULT([using www document root: ${WWW_DOCROOT}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the web server port
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(WWW_PORT)
|
||||
|
||||
AC_ARG_WITH([www-port],
|
||||
AC_HELP_STRING([--with-www-port],
|
||||
[use the specified www port (80)]),
|
||||
[WWW_PORT=${withval}], [WWW_PORT=80])
|
||||
|
||||
AC_MSG_RESULT([using www port: ${WWW_PORT}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the scheduler server port
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(SCHEDULER_PORT)
|
||||
|
||||
AC_ARG_WITH([scheduler-port],
|
||||
AC_HELP_STRING([--with-scheduler-port],
|
||||
[use the specified scheduler port (3344)]),
|
||||
[SCHEDULER_PORT=${withval}], [SCHEDULER_PORT=3344])
|
||||
|
||||
AC_MSG_RESULT([using scheduler port: ${SCHEDULER_PORT}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the database server name
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(DB_SERVER)
|
||||
|
||||
AC_ARG_WITH([database-server],
|
||||
AC_HELP_STRING([--with-database-server],
|
||||
[use the specified database server (localhost)]),
|
||||
[DB_SERVER=${withval}], [DB_SERVER=localhost])
|
||||
|
||||
AC_MSG_RESULT([using database server: ${DB_SERVER}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl get the name of the Campcaster database
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(DATABASE)
|
||||
|
||||
AC_ARG_WITH([database],
|
||||
AC_HELP_STRING([--with-database],
|
||||
[the name of the postgresql database to use (Campcaster)]),
|
||||
[DATABASE=${withval}], [DATABASE=Campcaster])
|
||||
|
||||
AC_MSG_RESULT([using database: ${DATABASE}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the database server user
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(DB_USER)
|
||||
|
||||
AC_ARG_WITH([database-user],
|
||||
AC_HELP_STRING([--with-database-user],
|
||||
[use the specified database server user (campcaster)]),
|
||||
[DB_USER=${withval}], [DB_USER=campcaster])
|
||||
|
||||
AC_MSG_RESULT([using database server user: ${DB_USER}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the database server user password
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(DB_PASSWORD)
|
||||
|
||||
AC_ARG_WITH([database-password],
|
||||
AC_HELP_STRING([--with-database-password],
|
||||
[use the specified database server user password (campcaster)]),
|
||||
[DB_PASSWORD=${withval}], [DB_PASSWORD=campcaster])
|
||||
|
||||
AC_MSG_RESULT([using database server user password: ${DB_PASSWORD}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the audio output device for the scheduler
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(STATION_AUDIO_OUT)
|
||||
|
||||
AC_ARG_WITH([station-audio-out],
|
||||
AC_HELP_STRING([--with-station-audio-out],
|
||||
[use the specified audio output device for the station,
|
||||
either ALSA or OSS (default)]),
|
||||
[STATION_AUDIO_OUT=${withval}], [STATION_AUDIO_OUT=default])
|
||||
|
||||
AC_MSG_RESULT([using audio output device for the station: ${STATION_AUDIO_OUT}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the audio output device for the studio
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(STUDIO_AUDIO_OUT)
|
||||
|
||||
AC_ARG_WITH([studio-audio-out],
|
||||
AC_HELP_STRING([--with-studio-audio-out],
|
||||
[use the specified audio output device for the studio,
|
||||
either ALSA or OSS (default)]),
|
||||
[STUDIO_AUDIO_OUT=${withval}], [STUDIO_AUDIO_OUT=default])
|
||||
|
||||
AC_MSG_RESULT([using audio output device for studio: ${STUDIO_AUDIO_OUT}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl specify the audio output device for the studio for cueing
|
||||
dnl-----------------------------------------------------------------------------
|
||||
AC_SUBST(STUDIO_AUDIO_CUE)
|
||||
|
||||
AC_ARG_WITH([studio-audio-cue],
|
||||
AC_HELP_STRING([--with-studio-audio-cue],
|
||||
[use the specified audio cue device for the studio,
|
||||
either ALSA or OSS (default)]),
|
||||
[STUDIO_AUDIO_CUE=${withval}], [STUDIO_AUDIO_CUE=default])
|
||||
|
||||
AC_MSG_RESULT([using audio cue device for studio: ${STUDIO_AUDIO_CUE}])
|
||||
|
||||
|
||||
dnl-----------------------------------------------------------------------------
|
||||
dnl set up the individual components
|
||||
dnl
|
||||
dnl unfortunately for both AC_CONFIG_COMMANDS and AC_CONFIG_SUBDIRS, the
|
||||
dnl directories have to be literally included, so we can't use any
|
||||
dnl fancy variables to avoid duplication of hard-coded values :(
|
||||
dnl-----------------------------------------------------------------------------
|
||||
|
||||
dnl set up the alib module
|
||||
AC_CONFIG_COMMANDS([../src/modules/alib/tmp/configure],
|
||||
[../src/modules/alib/bin/autogen.sh])
|
||||
|
||||
dnl set up the archive server module
|
||||
AC_CONFIG_COMMANDS([../src/modules/archiveServer/tmp/configure],
|
||||
[../src/modules/archiveServer/bin/autogen.sh])
|
||||
|
||||
dnl set up the getid3 module
|
||||
AC_CONFIG_COMMANDS([../src/modules/getid3/tmp/configure],
|
||||
[../src/modules/getid3/bin/autogen.sh])
|
||||
|
||||
dnl set up the htmlUI module
|
||||
AC_CONFIG_COMMANDS([../src/modules/htmlUI/tmp/configure],
|
||||
[../src/modules/htmlUI/bin/autogen.sh])
|
||||
|
||||
dnl set up the storage admin module
|
||||
AC_CONFIG_COMMANDS([../src/modules/storageAdmin/tmp/configure],
|
||||
[../src/modules/storageAdmin/bin/autogen.sh])
|
||||
|
||||
dnl set up the storage server module
|
||||
AC_CONFIG_COMMANDS([../src/modules/storageServer/tmp/configure],
|
||||
[../src/modules/storageServer/bin/autogen.sh])
|
||||
|
||||
dnl set up the core module
|
||||
AC_CONFIG_COMMANDS([../src/modules/core/tmp/configure],
|
||||
[../src/modules/core/bin/autogen.sh])
|
||||
|
||||
dnl set up the authentication module
|
||||
AC_CONFIG_COMMANDS([../src/modules/authentication/tmp/configure],
|
||||
[../src/modules/authentication/bin/autogen.sh])
|
||||
|
||||
dnl set up the db module
|
||||
AC_CONFIG_COMMANDS([../src/modules/db/tmp/configure],
|
||||
[../src/modules/db/bin/autogen.sh])
|
||||
|
||||
dnl set up the storage client module
|
||||
AC_CONFIG_COMMANDS([../src/modules/storageClient/tmp/configure],
|
||||
[../src/modules/storageClient/bin/autogen.sh])
|
||||
|
||||
dnl set up the playlist executor module
|
||||
AC_CONFIG_COMMANDS([../src/modules/playlistExecutor/tmp/configure],
|
||||
[../src/modules/playlistExecutor/bin/autogen.sh])
|
||||
|
||||
dnl set up the event scheduler module
|
||||
AC_CONFIG_COMMANDS([../src/modules/eventScheduler/tmp/configure],
|
||||
[../src/modules/eventScheduler/bin/autogen.sh])
|
||||
|
||||
dnl set up the scheduler client module
|
||||
AC_CONFIG_COMMANDS([../src/modules/schedulerClient/tmp/configure],
|
||||
[../src/modules/schedulerClient/bin/autogen.sh])
|
||||
|
||||
dnl set up the widgets module
|
||||
AC_CONFIG_COMMANDS([../src/modules/widgets/tmp/configure],
|
||||
[../src/modules/widgets/bin/autogen.sh])
|
||||
|
||||
dnl set up the scheduler product
|
||||
AC_CONFIG_COMMANDS([../src/products/scheduler/tmp/configure],
|
||||
[../src/products/scheduler/bin/autogen.sh])
|
||||
|
||||
dnl set up the gLiveSupport product
|
||||
AC_CONFIG_COMMANDS([../src/products/gLiveSupport/tmp/configure],
|
||||
[../src/products/gLiveSupport/bin/autogen.sh])
|
||||
|
||||
|
||||
|
||||
dnl display status info on what libraries will get compiled
|
||||
|
||||
AC_MSG_NOTICE(
|
||||
[compiling the following external libraries that are needed
|
||||
by Campcaster:
|
||||
|
||||
libodbc++ 0.2.5
|
||||
taglib 1.5
|
||||
xmlrpc++ 2004-07-13
|
||||
|
||||
using the following configuration settings:
|
||||
|
||||
hostname: ${HOSTNAME}
|
||||
apache group: ${APACHE_GROUP}
|
||||
www document root: ${WWW_DOCROOT}
|
||||
www port: ${WWW_PORT}
|
||||
scheduler port: ${SCHEDULER_PORT}
|
||||
database server: ${DB_SERVER}
|
||||
database name: ${DATABASE}
|
||||
database user: ${DB_USER}
|
||||
database user password: ${DB_PASSWORD}
|
||||
station audio output device: ${STATION_AUDIO_OUT}
|
||||
studio audio output device: ${STUDIO_AUDIO_OUT}
|
||||
studio audio cue device: ${STUDIO_AUDIO_CUE}
|
||||
creating Campcaster database: ${CREATE_LS_DATABASE}
|
||||
creating ODBC data source: ${CREATE_ODBC_DATA_SOURCE}
|
||||
initialize Campcaster database: ${INIT_LS_DATABASE}
|
||||
configuring apache: ${CONFIGURE_APACHE}
|
||||
|
||||
])
|
||||
|
||||
|
||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
||||
|
||||
|
||||
AC_OUTPUT()
|
||||
|
16
etc/debian/README.Debian
Normal file
16
etc/debian/README.Debian
Normal file
|
@ -0,0 +1,16 @@
|
|||
campcaster for Ubuntu
|
||||
---------------------
|
||||
|
||||
LiveSupport has been renamed to Campcaster, and the target distribution
|
||||
is now Ubuntu.
|
||||
|
||||
-- Ferenc Gerlits <fgerlits@campware.org>, Thu, 16 Nov 2006 12:00:27 +0100
|
||||
|
||||
|
||||
livesupport for Debian
|
||||
----------------------
|
||||
|
||||
First debian package of LiveSupport.
|
||||
|
||||
-- Akos Maroy <maroy@campware.org>, Wed, 03 Aug 2005 08:17:25 -0400
|
||||
|
3
etc/debian/campcaster-station.conffiles
Normal file
3
etc/debian/campcaster-station.conffiles
Normal file
|
@ -0,0 +1,3 @@
|
|||
/opt/campcaster/var/Campcaster/storageServer/var/conf.php
|
||||
/opt/campcaster/var/Campcaster/archiveServer/var/conf.php
|
||||
/opt/campcaster/etc/campcaster-scheduler.xml
|
76
etc/debian/campcaster-station.postinst
Normal file
76
etc/debian/campcaster-station.postinst
Normal file
|
@ -0,0 +1,76 @@
|
|||
#! /bin/sh
|
||||
# postinst script for livesupport
|
||||
#
|
||||
# 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>
|
||||
# * <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=/opt/campcaster
|
||||
apache_docroot=/var/www
|
||||
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
|
||||
else
|
||||
echo "no postgresql 8.1, 8.2 or 8.3 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 $installdir/storageServer.wasMounted ]; then
|
||||
echo "Remounting the remote storage..."
|
||||
mount $installdir/var/Campcaster/storageServer
|
||||
rm $installdir/storageServer.wasMounted
|
||||
fi
|
||||
|
||||
# register and start the Campcaster scheduler daemon
|
||||
cp -f $installdir/etc/campcaster-scheduler /etc/init.d
|
||||
update-rc.d campcaster-scheduler defaults 92 || true
|
||||
/etc/init.d/campcaster-scheduler start || 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
|
||||
|
||||
|
95
etc/debian/campcaster-station.postrm
Normal file
95
etc/debian/campcaster-station.postrm
Normal file
|
@ -0,0 +1,95 @@
|
|||
#! /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' <r>overwrit>r> <new-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
installdir=/opt/campcaster
|
||||
|
||||
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
|
||||
else
|
||||
echo "no postgresql 8.1, 8.2 or 8.3 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 $installdir/var/Campcaster/archiveServer/var/stor/*
|
||||
rm -rf $installdir/var/Campcaster/storageServer/var/stor/*
|
||||
rm -f $installdir/storageServer.wasMounted
|
||||
;;
|
||||
|
||||
*)
|
||||
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
|
43
etc/debian/campcaster-station.preinst
Normal file
43
etc/debian/campcaster-station.preinst
Normal file
|
@ -0,0 +1,43 @@
|
|||
#! /bin/sh
|
||||
# preinst script for livesupport
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <new-preinst> `install'
|
||||
# * <new-preinst> `install' <old-version>
|
||||
# * <new-preinst> `upgrade' <old-version>
|
||||
# * <old-preinst> `abort-upgrade' <new-version>
|
||||
#
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
case "$1" in
|
||||
install)
|
||||
;;
|
||||
|
||||
upgrade)
|
||||
# stop the Campcaster scheduler daemon
|
||||
/etc/init.d/campcaster-scheduler stop || true
|
||||
/etc/init.d/campcaster-scheduler kill || true
|
||||
;;
|
||||
|
||||
abort-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "preinst 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
|
||||
|
||||
|
118
etc/debian/campcaster-station.prerm
Normal file
118
etc/debian/campcaster-station.prerm
Normal file
|
@ -0,0 +1,118 @@
|
|||
#! /bin/sh
|
||||
# prerm script for livesupport
|
||||
#
|
||||
# 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=/opt/campcaster
|
||||
apache_docroot=/var/www
|
||||
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
|
||||
else
|
||||
echo "no postgresql 8.1, 8.2 or 8.3 found" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
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|deconfigure)
|
||||
# unmount the NFS share, if we have a 2-computer setup
|
||||
storagedir=$installdir/var/Campcaster/storageServer
|
||||
if [ "`mount | grep -o \"on $storagedir \"`" = "on $storagedir " ]; then
|
||||
echo "Unmounting the remote storage..."
|
||||
umount $storagedir
|
||||
touch $installdir/storageServer.wasMounted
|
||||
fi
|
||||
|
||||
# stop the livesupport scheduler daemon
|
||||
/etc/init.d/campcaster-scheduler stop || true
|
||||
/etc/init.d/campcaster-scheduler kill || true
|
||||
|
||||
# remove the init script
|
||||
rm -f /etc/init.d/campcaster-scheduler
|
||||
update-rc.d campcaster-scheduler remove || true
|
||||
|
||||
# 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
|
||||
|
||||
# remove the symlink to the campcaster web pages
|
||||
rm -f $apache_docroot/campcaster
|
||||
|
||||
# restore the old pg_hba.conf file
|
||||
if [ -f $postgresql_dir/pg_hba.conf ] \
|
||||
&& [ -f $postgresql_dir/pg_hba.conf.before-campcaster ] ; then
|
||||
mv -f $postgresql_dir/pg_hba.conf.before-campcaster \
|
||||
$postgresql_dir/pg_hba.conf ;
|
||||
fi
|
||||
|
||||
# remove generated files
|
||||
rm -rf $installdir/etc/pear.conf
|
||||
rm -rf $installdir/var/Campcaster/htmlUI/var/html/img/*
|
||||
rm -rf $installdir/var/Campcaster/htmlUI/var/templates_c/*
|
||||
rm -rf $installdir/var/Campcaster/archiveServer/var/access/*
|
||||
rm -rf $installdir/var/Campcaster/archiveServer/var/trans/*
|
||||
rm -rf $installdir/var/Campcaster/storageServer/var/access/*
|
||||
rm -rf $installdir/var/Campcaster/storageServer/var/trans/*
|
||||
;;
|
||||
|
||||
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
|
||||
|
||||
|
1
etc/debian/campcaster-studio.conffiles
Normal file
1
etc/debian/campcaster-studio.conffiles
Normal file
|
@ -0,0 +1 @@
|
|||
/opt/campcaster/etc/campcaster-studio.xml
|
14
etc/debian/campcaster-studio.desktop
Normal file
14
etc/debian/campcaster-studio.desktop
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
|
||||
Name=Campcaster-Studio
|
||||
GenericName=Campcaster Studio GUI Client
|
||||
Comment=Control your radio station
|
||||
Icon=/opt/campcaster/var/Campcaster/icon48.png
|
||||
|
||||
Type=Application
|
||||
Categories=Application;AudioVideo;Audio;
|
||||
|
||||
Exec=/opt/campcaster/bin/campcaster-studio.sh
|
||||
Terminal=false
|
||||
|
4
etc/debian/campcaster-studio.menu
Normal file
4
etc/debian/campcaster-studio.menu
Normal file
|
@ -0,0 +1,4 @@
|
|||
?package(campcaster-studio):needs="X11" section="Apps/Sound" \
|
||||
title="Campcaster-Studio" command="/opt/campcaster/bin/campcaster-studio.sh" \
|
||||
comment="Control your radio station" \
|
||||
icon="/opt/campcaster/var/Campcaster/icon48.png"
|
42
etc/debian/campcaster-studio.postinst
Normal file
42
etc/debian/campcaster-studio.postinst
Normal file
|
@ -0,0 +1,42 @@
|
|||
#! /bin/sh
|
||||
# postinst script for livesupport
|
||||
#
|
||||
# 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>
|
||||
# * <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
|
||||
#
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
|
||||
;;
|
||||
|
||||
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
|
||||
|
||||
|
38
etc/debian/campcaster-studio.postrm
Normal file
38
etc/debian/campcaster-studio.postrm
Normal file
|
@ -0,0 +1,38 @@
|
|||
#! /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' <r>overwrit>r> <new-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
|
||||
;;
|
||||
|
||||
purge|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
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
|
40
etc/debian/campcaster-studio.preinst
Normal file
40
etc/debian/campcaster-studio.preinst
Normal file
|
@ -0,0 +1,40 @@
|
|||
#! /bin/sh
|
||||
# preinst script for livesupport
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <new-preinst> `install'
|
||||
# * <new-preinst> `install' <old-version>
|
||||
# * <new-preinst> `upgrade' <old-version>
|
||||
# * <old-preinst> `abort-upgrade' <new-version>
|
||||
#
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
case "$1" in
|
||||
install)
|
||||
;;
|
||||
|
||||
upgrade)
|
||||
;;
|
||||
|
||||
abort-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "preinst 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
|
||||
|
||||
|
39
etc/debian/campcaster-studio.prerm
Normal file
39
etc/debian/campcaster-studio.prerm
Normal file
|
@ -0,0 +1,39 @@
|
|||
#! /bin/sh
|
||||
# prerm script for livesupport
|
||||
#
|
||||
# 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
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
;;
|
||||
|
||||
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
|
||||
|
||||
|
97
etc/debian/changelog
Normal file
97
etc/debian/changelog
Normal file
|
@ -0,0 +1,97 @@
|
|||
campcaster (1.4.0-1) lucid; urgency=low
|
||||
|
||||
* 1.4.0 release
|
||||
|
||||
-- Robin Gareus <robin@64studio.com> Fri 05 Feb 2010 02:56:27 +0100
|
||||
|
||||
|
||||
campcaster (1.3.0-1) dapper; urgency=low
|
||||
|
||||
* 1.3.0 release
|
||||
|
||||
-- Ferenc Gerlits <fgerlits@campware.org> Wed, 31 Oct 2007 11:45:50 +0100
|
||||
|
||||
|
||||
campcaster (1.2.0-1) dapper; urgency=low
|
||||
|
||||
* 1.2.0 release
|
||||
|
||||
-- Ferenc Gerlits <fgerlits@campware.org> Mon, 19 Feb 2007 16:01:25 +0100
|
||||
|
||||
|
||||
campcaster (1.1.1-2) dapper; urgency=low
|
||||
|
||||
* 1.1.1 final release, corrected packages
|
||||
|
||||
-- Ferenc Gerlits <fgerlits@campware.org> Mon, 11 Dec 2006 21:25:39 +0000
|
||||
|
||||
|
||||
campcaster (1.1.1-1) dapper; urgency=low
|
||||
|
||||
* 1.1.1 final release
|
||||
|
||||
-- Ferenc Gerlits <fgerlits@campware.org> Wed, 06 Dec 2006 22:19:07 +0100
|
||||
|
||||
|
||||
campcaster (1.1.0-1) dapper; urgency=low
|
||||
|
||||
* 1.1.0 final release
|
||||
|
||||
-- Ferenc Gerlits <fgerlits@campware.org> Fri, 01 Dec 2006 12:57:51 +0100
|
||||
|
||||
|
||||
campcaster (1.1.0rc1-1) unstable; urgency=low
|
||||
|
||||
* 1.1.0 first release candidate
|
||||
|
||||
-- Ferenc Gerlits <fgerlits@campware.org> Thu, 16 Nov 2006 12:00:27 +0100
|
||||
|
||||
|
||||
livesupport (1.1b1-1) unstable; urgency=low
|
||||
|
||||
* 1.1 beta release
|
||||
|
||||
-- Ferenc Gerlits <fgerlits@campware.org> Mon, 04 Sep 2006 13:50:24 +0200
|
||||
|
||||
|
||||
livesupport (1.0.2-1) unstable; urgency=low
|
||||
|
||||
* 1.0.2 bugfix release
|
||||
|
||||
-- Akos Maroy <maroy@campware.org> Sun, 13 Nov 2005 15:10:09 +0200
|
||||
|
||||
|
||||
livesupport (1.0.1-1) unstable; urgency=low
|
||||
|
||||
* 1.0.1 bugfix release
|
||||
|
||||
-- Akos Maroy <maroy@campware.org> Sat, 01 Oct 2005 17:19:29 +0200
|
||||
|
||||
|
||||
livesupport (1.0-1) unstable; urgency=low
|
||||
|
||||
* 1.0 final release
|
||||
|
||||
-- Akos Maroy <maroy@campware.org> Fri, 09 Sep 2005 15:04:13 +0200
|
||||
|
||||
|
||||
livesupport (1.0rc2-1) unstable; urgency=low
|
||||
|
||||
* second release candidate
|
||||
|
||||
-- Akos Maroy <maroy@campware.org> Wed, 03 Aug 2005 08:17:25 -0400
|
||||
|
||||
|
||||
livesupport (1.0rc1-1) unstable; urgency=low
|
||||
|
||||
* first release candidate
|
||||
|
||||
-- Akos Maroy <maroy@campware.org> Mon, 04 Jul 2005 14:39:11 +0200
|
||||
|
||||
|
||||
livesupport (0.9.1-1) unstable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
-- Akos Maroy <maroy@campware.org> Tue, 19 Apr 2005 07:40:13 -0400
|
||||
|
1
etc/debian/compat
Normal file
1
etc/debian/compat
Normal file
|
@ -0,0 +1 @@
|
|||
4
|
181
etc/debian/control
Normal file
181
etc/debian/control
Normal file
|
@ -0,0 +1,181 @@
|
|||
Source: campcaster
|
||||
Section: sound
|
||||
Priority: optional
|
||||
Maintainer: ls_maintainer
|
||||
Build-Depends: debhelper (>= 4.0.0),
|
||||
binutils (>= 2.13),
|
||||
gcc (>= 3.3),
|
||||
g++ (>= 3.3),
|
||||
libc6-dev,
|
||||
make (>= 3.80),
|
||||
automake1.8 | automake (>= 1.8),
|
||||
autoconf (>= 2.59),
|
||||
libtool,
|
||||
pkg-config (>= 0.15),
|
||||
patch (>= 2.5.9),
|
||||
doxygen,
|
||||
tar,
|
||||
gzip,
|
||||
unzip,
|
||||
bzip2,
|
||||
curl,
|
||||
graphviz,
|
||||
xsltproc,
|
||||
unixodbc-dev (>= 2.2),
|
||||
odbc-postgresql,
|
||||
fontconfig,
|
||||
libfontconfig1-dev,
|
||||
libpng12-dev,
|
||||
libjpeg62-dev,
|
||||
openssl,
|
||||
libssl-dev,
|
||||
libxml2-dev,
|
||||
libpopt-dev,
|
||||
alsa-base,
|
||||
libasound2-dev,
|
||||
libid3tag0-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,
|
||||
php-pear,
|
||||
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),
|
||||
libserial-dev (>= 0.5.2)
|
||||
Standards-Version: 3.6.1
|
||||
|
||||
Package: campcaster-libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
libc6 (>= 2.3.4-1),
|
||||
libgcc1 (>= 1:4.0.2),
|
||||
libstdc++6 (>= 4.0.2-4),
|
||||
libglib2.0-0 (>= 2.9.3),
|
||||
libpopt0 (>= 1.7),
|
||||
libxml2 (>= 2.6.23),
|
||||
zlib1g (>= 1:1.2.1),
|
||||
libasound2 (>> 1.0.10),
|
||||
libid3tag0 (>= 0.15.1b)
|
||||
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.
|
||||
.
|
||||
Web site: http://campcaster.campware.org
|
||||
|
||||
Package: campcaster-station
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
campcaster-libs (= ${binary:Version}),
|
||||
sed,
|
||||
pwgen,
|
||||
unixodbc (>= 2.2),
|
||||
odbc-postgresql,
|
||||
libfontconfig1,
|
||||
libpng12-0,
|
||||
libjpeg62,
|
||||
libssl0.9.8,
|
||||
libxml2,
|
||||
libpopt0,
|
||||
libasound2,
|
||||
libid3tag0,
|
||||
libbz2-1.0,
|
||||
libtar (>= 1.2.11),
|
||||
curl,
|
||||
libcurl3,
|
||||
libboost-date-time1.33.1 | libboost-date-time1.34.1,
|
||||
libxml++2.6c2a (>= 2.8.1),
|
||||
libicu34 | libicu36 | libicu38,
|
||||
apache2,
|
||||
php5-pgsql,
|
||||
libapache2-mod-php5,
|
||||
php-pear,
|
||||
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-0 (>= 0.10.17),
|
||||
gstreamer0.10-plugins-good (>= 0.10.7),
|
||||
gstreamer0.10-plugins-ugly (>= 0.10.7)
|
||||
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 server components of Campcaster:
|
||||
a storage server, a scheduler daemon, and a web interface.
|
||||
.
|
||||
Web site: http://campcaster.campware.org
|
||||
|
||||
Package: campcaster-studio
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
campcaster-libs (= ${binary:Version}),
|
||||
campcaster-station (= ${binary:Version}),
|
||||
sed,
|
||||
unixodbc (>= 2.2),
|
||||
odbc-postgresql,
|
||||
libfontconfig1,
|
||||
libpng12-0,
|
||||
libjpeg62,
|
||||
libssl0.9.8,
|
||||
libxml2,
|
||||
libpopt0,
|
||||
libasound2,
|
||||
libid3tag0,
|
||||
libmad0,
|
||||
libogg0,
|
||||
libvorbis0a,
|
||||
libbz2-1.0,
|
||||
libtar (>= 1.2.11),
|
||||
libcurl3 (>= 7.12.3),
|
||||
libboost-date-time1.33.1 | libboost-date-time1.34.1,
|
||||
libxml++2.6c2a (>= 2.8.1),
|
||||
libicu34 | libicu36 | libicu38,
|
||||
libgtk2.0-0 (>= 2.6.10),
|
||||
libgtkmm-2.4-1c2a (>= 1:2.6.5),
|
||||
libglademm-2.4-1c2a (>= 2.6.2),
|
||||
libserial0 (>= 0.5.2)
|
||||
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 GUI client component of Campcaster.
|
||||
.
|
||||
Web site: http://campcaster.campware.org
|
25
etc/debian/copyright
Normal file
25
etc/debian/copyright
Normal file
|
@ -0,0 +1,25 @@
|
|||
This package was debianized by Akos Maroy <maroy@campware.org> on
|
||||
Wed, 03 Aug 2005 08:17:25 -0400
|
||||
|
||||
It was downloaded from http://campcaster.campware.org/
|
||||
|
||||
Copyright:
|
||||
|
||||
Upstream Author(s): Media Development Loan Fund, http://www.mdlf.org/
|
||||
|
||||
License:
|
||||
|
||||
Campcaster 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.
|
||||
|
||||
Campcaster 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 Campcaster; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
1
etc/debian/dirs
Normal file
1
etc/debian/dirs
Normal file
|
@ -0,0 +1 @@
|
|||
opt/campcaster
|
183
etc/debian/rules
Executable file
183
etc/debian/rules
Executable file
|
@ -0,0 +1,183 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
#
|
||||
# This file was originally written by Joey Hess and Craig Small.
|
||||
# As a special exception, when this file is copied by dh-make into a
|
||||
# dh-make output file, you may use that output file without restriction.
|
||||
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# This has to be exported to make some magic below work.
|
||||
export DH_OPTIONS
|
||||
|
||||
# These are used for cross-compiling and for saving the configure script
|
||||
# from having to guess our platform (since we know it already)
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
|
||||
CFLAGS = -Wall -g
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
|
||||
config.status: configure
|
||||
dh_testdir
|
||||
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
|
||||
--build=$(DEB_BUILD_GNU_TYPE) \
|
||||
--prefix=/opt/campcaster \
|
||||
--with-www-docroot=/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-hostname=localhost
|
||||
|
||||
build: build-arch
|
||||
|
||||
build-arch: build-arch-stamp
|
||||
build-arch-stamp: config.status
|
||||
|
||||
$(MAKE) setup compile
|
||||
touch build-arch-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-arch-stamp #CONFIGURE-STAMP#
|
||||
|
||||
-$(MAKE) distclean clean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: install-arch
|
||||
|
||||
install-arch:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k -s
|
||||
dh_installdirs -s
|
||||
|
||||
# this will install everything into /opt/campcaster/usr
|
||||
$(MAKE) install
|
||||
|
||||
# move the installation to debian/campcaster
|
||||
mkdir -p $(CURDIR)/debian/campcaster/opt
|
||||
mv /opt/campcaster $(CURDIR)/debian/campcaster/opt
|
||||
|
||||
# now separate the libraries into debian/campcaster-libs
|
||||
mkdir -p $(CURDIR)/debian/campcaster-libs
|
||||
mkdir -p $(CURDIR)/debian/campcaster-libs/opt/campcaster
|
||||
mkdir -p $(CURDIR)/debian/campcaster-libs/opt/campcaster/bin
|
||||
mkdir -p $(CURDIR)/debian/campcaster-libs/opt/campcaster/tmp
|
||||
mkdir -p $(CURDIR)/debian/campcaster-libs/opt/campcaster/usr/lib
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/lib \
|
||||
$(CURDIR)/debian/campcaster-libs/opt/campcaster
|
||||
|
||||
# now separate the station (server) files into debian/campcaster-station
|
||||
mkdir -p $(CURDIR)/debian/campcaster-station
|
||||
mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster
|
||||
mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/bin
|
||||
mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/etc
|
||||
mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/tmp
|
||||
mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/var/Campcaster
|
||||
mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/usr/lib
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-scheduler \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-scheduler.sh \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/postInstallStation.sh \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/createDatabase.sh \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/createOdbcDataSource.sh \
|
||||
$(CURDIR)/debian/campcaster-station/opt/campcaster/bin
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/etc/campcaster-scheduler.xml* \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/etc/odbc* \
|
||||
$(CURDIR)/debian/campcaster-station/opt/campcaster/etc
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/alib \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/archiveServer \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/getid3 \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/htmlUI \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/index.php \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/scheduler \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/storageServer \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/storageAdmin \
|
||||
$(CURDIR)/debian/campcaster-station/opt/campcaster/var/Campcaster
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-backup \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-import \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/dumpDbSchema.sh \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-restore \
|
||||
$(CURDIR)/debian/campcaster-station/opt/campcaster/bin
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/etc/apache \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/etc/pg_hba.conf \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/etc/campcaster-scheduler \
|
||||
$(CURDIR)/debian/campcaster-station/opt/campcaster/etc
|
||||
|
||||
# now separate the studio (client) files into debian/campcaster-studio
|
||||
mkdir -p $(CURDIR)/debian/campcaster-studio
|
||||
mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster
|
||||
mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster/bin
|
||||
mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster/etc
|
||||
mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster/tmp
|
||||
mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster/var/Campcaster
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-studio \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-studio.sh \
|
||||
$(CURDIR)/debian/campcaster-studio/opt/campcaster/bin
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/etc/campcaster-studio.xml* \
|
||||
$(CURDIR)/debian/campcaster-studio/opt/campcaster/etc
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/Widgets \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/studio-localization \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/glade \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/campcaster.png \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/icon*.png \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/stationLogo.png \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/testAudio.ogg \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/testAudio.ogg.license \
|
||||
$(CURDIR)/debian/campcaster-studio/opt/campcaster/var/Campcaster
|
||||
mkdir -p $(CURDIR)/debian/campcaster-studio/usr/share/applications
|
||||
cp -a $(CURDIR)/debian/campcaster-studio.desktop \
|
||||
$(CURDIR)/debian/campcaster-studio/usr/share/applications/
|
||||
dh_desktop -pcampcaster-studio
|
||||
dh_installmenu
|
||||
|
||||
dh_install -s
|
||||
|
||||
binary-common:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
# dh_installdocs
|
||||
# dh_installexamples
|
||||
dh_installmenu
|
||||
# dh_installdebconf
|
||||
# dh_installlogrotate
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installmime
|
||||
# Replaced dh_installinit with manual init script installation
|
||||
# because invoke.rc-d is linked to /bin/true in the knoppix hdd install.
|
||||
# Should be changed back when/if knoppix is fixed.
|
||||
# dh_installinit --update-rcd-params="defaults 92"
|
||||
# dh_installcron
|
||||
# dh_installinfo
|
||||
# dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_shlibdeps -l${CURDIR}/debian/campcaster-libs/opt/campcaster/lib
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
# Build architecture dependant packages using the common target.
|
||||
binary-arch: build-arch install-arch
|
||||
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
|
||||
|
||||
binary: binary-arch
|
||||
.PHONY: build clean binary-arch binary install install-arch
|
1167
etc/doxygen.config
Normal file
1167
etc/doxygen.config
Normal file
File diff suppressed because it is too large
Load diff
101
etc/pg_hba.conf
Normal file
101
etc/pg_hba.conf
Normal file
|
@ -0,0 +1,101 @@
|
|||
# PostgreSQL Client Authentication Configuration File
|
||||
# ===================================================
|
||||
#
|
||||
# Refer to the PostgreSQL Administrator's Guide, chapter "Client
|
||||
# Authentication" for a complete description. A short synopsis
|
||||
# follows.
|
||||
#
|
||||
# This file controls: which hosts are allowed to connect, how clients
|
||||
# are authenticated, which PostgreSQL user names they can use, which
|
||||
# databases they can access. Records take one of seven forms:
|
||||
#
|
||||
# local DATABASE USER METHOD [OPTION]
|
||||
# host DATABASE USER IP-ADDRESS IP-MASK METHOD [OPTION]
|
||||
# hostssl DATABASE USER IP-ADDRESS IP-MASK METHOD [OPTION]
|
||||
# hostnossl DATABASE USER IP-ADDRESS IP-MASK METHOD [OPTION]
|
||||
# host DATABASE USER IP-ADDRESS/CIDR-MASK METHOD [OPTION]
|
||||
# hostssl DATABASE USER IP-ADDRESS/CIDR-MASK METHOD [OPTION]
|
||||
# hostnossl DATABASE USER IP-ADDRESS/CIDR-MASK METHOD [OPTION]
|
||||
#
|
||||
# (The uppercase quantities should be replaced by actual values.)
|
||||
# The first field is the connection type: "local" is a Unix-domain socket,
|
||||
# "host" is either a plain or SSL-encrypted TCP/IP socket, "hostssl" is an
|
||||
# SSL-encrypted TCP/IP socket, and "hostnossl" is a plain TCP/IP socket.
|
||||
# DATABASE can be "all", "sameuser", "samegroup", a database name (or
|
||||
# a comma-separated list thereof), or a file name prefixed with "@".
|
||||
# USER can be "all", an actual user name or a group name prefixed with
|
||||
# "+", an include file prefixed with "@" or a list containing either.
|
||||
# IP-ADDRESS and IP-MASK specify the set of hosts the record matches.
|
||||
# CIDR-MASK is an integer between 0 and 32 (IPv6) or 128(IPv6)
|
||||
# inclusive, that specifies the number of significant bits in the
|
||||
# mask, so an IPv4 CIDR-MASK of 8 is equivalent to an IP-MASK of
|
||||
# 255.0.0.0, and an IPv6 CIDR-MASK of 64 is equivalent to an IP-MASK
|
||||
# of ffff:ffff:ffff:ffff::. METHOD can be "trust", "reject", "md5",
|
||||
# "crypt", "password", "krb5", "ident", or "pam". Note that
|
||||
# "password" uses clear-text passwords; "md5" is preferred for
|
||||
# encrypted passwords. OPTION is the ident map or the name of the PAM
|
||||
# service.
|
||||
#
|
||||
# INCLUDE FILES:
|
||||
# If you use include files for users and/or databases (see PostgreSQL
|
||||
# documentation, section 19.1), these files must be placed in the
|
||||
# database directory. Usually this is /var/lib/postgres/data/, but
|
||||
# that can be changed in /etc/postgresql/postmaster.conf with the
|
||||
# POSTGRES_DATA variable. Putting them in /etc/postgresql/ will NOT
|
||||
# work since the configuration files are only symlinked from
|
||||
# POSTGRES_DATA.
|
||||
#
|
||||
# This file is read on server startup and when the postmaster receives
|
||||
# a SIGHUP signal. If you edit the file on a running system, you have
|
||||
# to SIGHUP the postmaster for the changes to take effect, or use
|
||||
# "pg_ctl reload".
|
||||
#
|
||||
# Upstream default configuration
|
||||
#
|
||||
# The following configuration is the upstream default, which allows
|
||||
# unrestricted access to amy database by any user on the local machine.
|
||||
#
|
||||
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
|
||||
#
|
||||
#local all all trust
|
||||
# IPv4-style local connections:
|
||||
#host all all 127.0.0.1 255.255.255.255 trust
|
||||
# IPv6-style local connections:
|
||||
#
|
||||
# Put your actual configuration here
|
||||
# ----------------------------------
|
||||
#
|
||||
# This default configuration allows any local user to connect as himself
|
||||
# without a password, either through a Unix socket or through TCP/IP; users
|
||||
# on other machines are denied access.
|
||||
#
|
||||
# If you want to allow non-local connections, you need to add more
|
||||
# "host" records before the final line that rejects all TCP/IP connections.
|
||||
# Also, remember TCP/IP connections are only enabled if you enable
|
||||
# "tcpip_socket" in /etc/postgresql/postgresql.conf.
|
||||
#
|
||||
# DO NOT DISABLE!
|
||||
# If you change this first entry you will need to make sure the postgres user
|
||||
# can access the database using some other method. The postgres user needs
|
||||
# non-interactive access to all databases during automatic maintenance
|
||||
# (see the vacuum command and the /usr/lib/postgresql/bin/do.maintenance
|
||||
# script).
|
||||
#
|
||||
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
|
||||
# Database administrative login by UNIX sockets
|
||||
local all postgres ident sameuser
|
||||
#
|
||||
# All IPv4 connections from localhost
|
||||
# The following line was inserted by the campcaster-station package installer
|
||||
# the original pg_hba.conf file is saved under pg_hba.conf.before-campcaster
|
||||
host all all 127.0.0.1 255.255.255.255 password
|
||||
#host all all 127.0.0.1 255.255.255.255 ident sameuser
|
||||
#
|
||||
# All other connections by UNIX sockets
|
||||
local all all password
|
||||
#
|
||||
# All IPv6 localhost connections
|
||||
#
|
||||
# reject all other connection attempts
|
||||
host all all 0.0.0.0 0.0.0.0 reject
|
||||
|
2
etc/portage/dev-db/libodbc++/Manifest
Normal file
2
etc/portage/dev-db/libodbc++/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 9dd6a3434f7eaef06fb2956937bbfe2c libodbc++-0.2.3-r2.ebuild 2335
|
||||
MD5 76859551271b481b467298625eca2fbf files/digest-libodbc++-0.2.3-r2 67
|
|
@ -0,0 +1 @@
|
|||
MD5 92cb6171e5235324c710d89cd271eff9 libodbc++-0.2.3.tar.gz 450097
|
77
etc/portage/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild
Normal file
77
etc/portage/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild
Normal file
|
@ -0,0 +1,77 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Libodbc++ is a c++ class library that provides a subset of the well-known JDBC 2.0(tm) and runs on top of ODBC."
|
||||
SRC_URI="mirror://sourceforge/libodbcxx/${P}.tar.gz"
|
||||
HOMEPAGE="http://libodbcxx.sourceforge.net/"
|
||||
LICENSE="LGPL-2"
|
||||
|
||||
DEPEND="dev-db/unixODBC
|
||||
sys-libs/libtermcap-compat"
|
||||
KEYWORDS="~x86 ~ppc ~hppa ~alpha ~amd64"
|
||||
IUSE="qt"
|
||||
SLOT=0
|
||||
|
||||
SB="${S}-build"
|
||||
SB_MT="${S}-build-mt"
|
||||
SB_QT="${S}-build_qt"
|
||||
SB_QT_MT="${S}-build_qt-mt"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
|
||||
# toch the programmers reference stamp, so that it is not re-generated
|
||||
touch doc/progref/progref-stamp
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local commonconf
|
||||
commonconf="--with-odbc=/usr --without-tests"
|
||||
commonconf="${commonconf} --enable-static --enable-shared"
|
||||
# " --enable-threads"
|
||||
if ! has ccache FEATURES; then
|
||||
einfo "ccache would really help you compiling this package..."
|
||||
fi
|
||||
|
||||
export ECONF_SOURCE="${S}"
|
||||
append-flags -DODBCXX_DISABLE_READLINE_HACK
|
||||
|
||||
buildlist="${SB} ${SB_MT}"
|
||||
use qt && buildlist="${buildlist} $SB_QT $SB_QT_MT"
|
||||
|
||||
for sd in ${buildlist}; do
|
||||
mkdir -p "${sd}"
|
||||
cd "${sd}"
|
||||
commonconf2=''
|
||||
LIBS=''
|
||||
[ "${sd}" == "${SB_MT}" -o "${sd}" == "${SB_QT_MT}" ] && commonconf2="${commonconf2} --enable-threads"
|
||||
[ "${sd}" == "${SB_QT}" -o "${sd}" == "${SB_QT_MT}" ] && commonconf2="${commonconf2} --with-qt"
|
||||
[ "${sd}" == "${SB}" ] && commonconf2="${commonconf2} --with-isqlxx"
|
||||
[ "${sd}" == "${SB_QT}" ] && commonconf2="${commonconf2} --with-qtsqlxx"
|
||||
export LIBS
|
||||
# using without-qt breaks the build
|
||||
#--without-qt \
|
||||
libtoolize --copy --force
|
||||
econf \
|
||||
${commonconf} \
|
||||
${commonconf2} \
|
||||
|| die "econf failed"
|
||||
emake || die "emake failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd ${S}
|
||||
dodoc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README THANKS TODO
|
||||
|
||||
buildlist="${SB} ${SB_MT}"
|
||||
use qt && buildlist="${buildlist} $SB_QT $SB_QT_MT"
|
||||
for sd in ${buildlist}; do
|
||||
cd ${sd}
|
||||
make DESTDIR=${D} install || die "make install failed"
|
||||
done
|
||||
}
|
6
etc/portage/dev-libs/xmlrpc++/Manifest
Normal file
6
etc/portage/dev-libs/xmlrpc++/Manifest
Normal file
|
@ -0,0 +1,6 @@
|
|||
MD5 c98236a5a9e80d523bd9ae18b85d92c7 xmlrpc++-0.7.ebuild 1046
|
||||
MD5 9c03b31bd18ec67ca2d1a38ea5e0da59 files/digest-xmlrpc++-0.7 62
|
||||
MD5 30ffa4ae3a5736ec63cb3d72867211a2 files/xmlrpc++-automake.patch 7756
|
||||
MD5 1bfb17903af3f417349ffbb38db5abc0 files/incorrect_XmlRpcValue_struct_tm_conversion.patch 1207
|
||||
MD5 b5bdda7867960ddfb6530224a2e1dc88 files/uninitialised_XmlRpcSource_ssl_ssl.patch 423
|
||||
MD5 ec8a71135df6f24e75e41b0f8b27556b files/xmlrpc++-0.7-to-cvs-20040713.patch 79370
|
1
etc/portage/dev-libs/xmlrpc++/files/digest-xmlrpc++-0.7
Normal file
1
etc/portage/dev-libs/xmlrpc++/files/digest-xmlrpc++-0.7
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 d88f0f9c36d938316d672d16f6c37d7e xmlrpc++0.7.tar.gz 64037
|
|
@ -0,0 +1,31 @@
|
|||
diff -Nur xmlrpc++/src/XmlRpcValue.cpp x/src/XmlRpcValue.cpp
|
||||
--- xmlrpc++/src/XmlRpcValue.cpp 2003-06-06 20:13:28.000000000 +0200
|
||||
+++ x/src/XmlRpcValue.cpp 2004-12-13 21:02:39.505001617 +0100
|
||||
@@ -390,6 +390,7 @@
|
||||
return false;
|
||||
|
||||
t.tm_year -= 1900;
|
||||
+ t.tm_mon -= 1;
|
||||
t.tm_isdst = -1;
|
||||
_type = TypeDateTime;
|
||||
_value.asTime = new struct tm(t);
|
||||
@@ -402,7 +403,7 @@
|
||||
struct tm* t = _value.asTime;
|
||||
char buf[20];
|
||||
snprintf(buf, sizeof(buf)-1, "%04d%02d%02dT%02d:%02d:%02d",
|
||||
- 1900+t->tm_year,t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec);
|
||||
+ 1900+t->tm_year,1+t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec);
|
||||
buf[sizeof(buf)-1] = 0;
|
||||
|
||||
std::string xml = VALUE_TAG;
|
||||
@@ -553,8 +554,8 @@
|
||||
{
|
||||
struct tm* t = _value.asTime;
|
||||
char buf[20];
|
||||
- snprintf(buf, sizeof(buf)-1, "%4d%02d%02dT%02d:%02d:%02d",
|
||||
- t->tm_year,t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec);
|
||||
+ snprintf(buf, sizeof(buf)-1, "%04d%02d%02dT%02d:%02d:%02d",
|
||||
+ 1900+t->tm_year,1+t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec);
|
||||
buf[sizeof(buf)-1] = 0;
|
||||
os << buf;
|
||||
break;
|
|
@ -0,0 +1,11 @@
|
|||
diff -Nur xmlrpc++/src/XmlRpcSource.cpp x/src/XmlRpcSource.cpp
|
||||
--- xmlrpc++/src/XmlRpcSource.cpp 2004-04-13 22:21:59.000000000 +0700
|
||||
+++ x/src/XmlRpcSource.cpp 2004-07-14 12:26:28.227768848 +0700
|
||||
@@ -9,6 +9,7 @@
|
||||
XmlRpcSource::XmlRpcSource(int fd /*= -1*/, bool deleteOnClose /*= false*/)
|
||||
: _fd(fd), _deleteOnClose(deleteOnClose), _keepOpen(false)
|
||||
{
|
||||
+ _ssl_ssl = NULL;
|
||||
}
|
||||
|
||||
XmlRpcSource::~XmlRpcSource()
|
File diff suppressed because it is too large
Load diff
252
etc/portage/dev-libs/xmlrpc++/files/xmlrpc++-automake.patch
Normal file
252
etc/portage/dev-libs/xmlrpc++/files/xmlrpc++-automake.patch
Normal file
|
@ -0,0 +1,252 @@
|
|||
diff -Naur xmlrpc++/Makefile xmlrpc++-automake/Makefile
|
||||
--- xmlrpc++/Makefile 2004-04-19 20:53:00.000000000 +0700
|
||||
+++ xmlrpc++-automake/Makefile 1970-01-01 07:00:00.000000000 +0700
|
||||
@@ -1,71 +0,0 @@
|
||||
-# makefile written for gnu make
|
||||
-CXX = g++
|
||||
-SRC = ./src
|
||||
-SHARED = -shared
|
||||
-CPPFLAGS = -I$(SRC)
|
||||
-DEBUG = -g
|
||||
-OPTIMIZE = -O2
|
||||
-GCCWARN = -Wall -Wstrict-prototypes
|
||||
-CXXFLAGS = $(DEBUG) $(GCCWARN) $(OPTIMIZE) $(INCLUDES)
|
||||
-VERSION = 0.8
|
||||
-
|
||||
-DESTDIR =
|
||||
-prefix = /usr
|
||||
-MKDIR = mkdir -p
|
||||
-CP = cp
|
||||
-LN = ln -s
|
||||
-
|
||||
-LIB = ./libXmlRpc.a
|
||||
-LIBALT = ./libxmlrpc++.a
|
||||
-SO = ./libxmlrpc++.so.$(VERSION)
|
||||
-
|
||||
-# Add your system-dependent network libs here. These are
|
||||
-# only used to build the tests (your application will need them too).
|
||||
-# Linux: none
|
||||
-# Solaris: -lsocket -lnsl
|
||||
-#SYSTEMLIBS = -lsocket -lnsl
|
||||
-SYSTEMLIBS =
|
||||
-LDLIBS = $(LIB) $(SYSTEMLIBS)
|
||||
-
|
||||
-OBJ = $(SRC)/XmlRpcClient.o $(SRC)/XmlRpcDispatch.o \
|
||||
- $(SRC)/XmlRpcServer.o $(SRC)/XmlRpcServerConnection.o \
|
||||
- $(SRC)/XmlRpcServerMethod.o $(SRC)/XmlRpcSocket.o $(SRC)/XmlRpcSource.o \
|
||||
- $(SRC)/XmlRpcUtil.o $(SRC)/XmlRpcValue.o
|
||||
-
|
||||
-all: $(LIB) $(SO) tests
|
||||
-
|
||||
-$(LIB): $(OBJ)
|
||||
- $(AR) $(ARFLAGS) $(LIB) $(OBJ)
|
||||
- cp $(LIB) $(LIBALT)
|
||||
-
|
||||
-$(SO): $(OBJ)
|
||||
- $(CXX) -o $(SO) $(SHARED) $(OBJ)
|
||||
-
|
||||
-
|
||||
-tests: $(LIB)
|
||||
- cd test && $(MAKE) CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" SYSTEMLIBS="$(SYSTEMLIBS)"
|
||||
-
|
||||
-doc doxygen:
|
||||
- cd src && doxygen Doxyfile
|
||||
-
|
||||
-distclean: clean
|
||||
-
|
||||
-clean:
|
||||
- rm -f $(SRC)/*.o
|
||||
- rm -f $(SRC)/*~
|
||||
- rm -f $(LIB) $(LIBALT) $(SO)
|
||||
- rm -f build
|
||||
- cd test && $(MAKE) clean
|
||||
-
|
||||
-install:
|
||||
- $(MKDIR) $(DESTDIR)$(prefix)/lib
|
||||
- $(CP) $(SO) $(LIB) $(DESTDIR)$(prefix)/lib
|
||||
- $(MKDIR) $(DESTDIR)$(prefix)/include
|
||||
- $(CP) src/*.h $(DESTDIR)$(prefix)/include
|
||||
- ( cd $(DESTDIR)$(prefix)/lib; rm -f libxmlrpc++.so; $(LN) $(SO) libxmlrpc++.so )
|
||||
- # Does not install tests right now
|
||||
-
|
||||
-# Debian package make target, in case you want to manually build a package
|
||||
-# from the distribution.
|
||||
-deb:
|
||||
- dpkg-buildpackage -rfakeroot
|
||||
diff -Naur xmlrpc++/Makefile.am xmlrpc++-automake/Makefile.am
|
||||
--- xmlrpc++/Makefile.am 1970-01-01 07:00:00.000000000 +0700
|
||||
+++ xmlrpc++-automake/Makefile.am 2004-07-26 11:54:16.610066768 +0700
|
||||
@@ -0,0 +1,17 @@
|
||||
+SUBDIRS = src
|
||||
+
|
||||
+EXTRA_DIST = README.html
|
||||
+
|
||||
+DOC_DIR=@datadir@/doc/xmlrpc++
|
||||
+
|
||||
+doc:
|
||||
+ cd src && doxygen Doxyfile
|
||||
+
|
||||
+install-data-local: doc
|
||||
+ $(mkinstalldirs) $(DOC_DIR); \
|
||||
+ for i in doc/html/*; do \
|
||||
+ if test -r "$$i"; then \
|
||||
+ fn=`basename $$i` \
|
||||
+ $(INSTALL_DATA) $$i $(DOC_DIR)/$$fn; \
|
||||
+ fi; \
|
||||
+ done
|
||||
diff -Naur xmlrpc++/autogen.sh xmlrpc++-automake/autogen.sh
|
||||
--- xmlrpc++/autogen.sh 1970-01-01 07:00:00.000000000 +0700
|
||||
+++ xmlrpc++-automake/autogen.sh 2004-07-26 11:54:11.578831632 +0700
|
||||
@@ -0,0 +1,69 @@
|
||||
+#!/bin/sh
|
||||
+# Run this to set up the build system: configure, makefiles, etc.
|
||||
+# (based on the version in enlightenment's cvs)
|
||||
+
|
||||
+package="xmlrpc++"
|
||||
+
|
||||
+srcdir=`dirname $0`
|
||||
+test -z "$srcdir" && srcdir=.
|
||||
+
|
||||
+cd "$srcdir"
|
||||
+DIE=0
|
||||
+
|
||||
+(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
||||
+ echo
|
||||
+ echo "You must have autoconf installed to compile $package."
|
||||
+ echo "Download the appropriate package for your distribution,"
|
||||
+ echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
+ DIE=1
|
||||
+}
|
||||
+
|
||||
+(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||
+ echo
|
||||
+ echo "You must have autoconf installed to compile $package."
|
||||
+ echo "Download the appropriate package for your distribution,"
|
||||
+ echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
+ DIE=1
|
||||
+}
|
||||
+
|
||||
+(automake --version) < /dev/null > /dev/null 2>&1 || {
|
||||
+ echo
|
||||
+ echo "You must have automake installed to compile $package."
|
||||
+ echo "Download the appropriate package for your system,"
|
||||
+ echo "or get the source from one of the GNU ftp sites"
|
||||
+ echo "listed in http://www.gnu.org/order/ftp.html"
|
||||
+ DIE=1
|
||||
+}
|
||||
+
|
||||
+(libtool --help) < /dev/null > /dev/null 2>&1 || {
|
||||
+ echo
|
||||
+ echo "You must have libtool installed to compile $package."
|
||||
+ echo "Download the appropriate package for your system,"
|
||||
+ echo "or get the source from one of the GNU ftp sites"
|
||||
+ echo "listed in http://www.gnu.org/order/ftp.html"
|
||||
+ DIE=1
|
||||
+}
|
||||
+
|
||||
+if test "$DIE" -eq 1; then
|
||||
+ exit 1
|
||||
+fi
|
||||
+
|
||||
+if test -z "$*"; then
|
||||
+ echo "I am going to run ./configure with no arguments - if you wish "
|
||||
+ echo "to pass any to it, please specify them on the $0 command line."
|
||||
+fi
|
||||
+
|
||||
+echo "Generating configuration files for $package, please wait...."
|
||||
+
|
||||
+echo " aclocal $ACLOCAL_FLAGS"
|
||||
+aclocal $ACLOCAL_FLAGS
|
||||
+echo " autoheader"
|
||||
+autoheader
|
||||
+echo " libtoolize --automake"
|
||||
+libtoolize --automake
|
||||
+echo " automake --add-missing --foreign $AUTOMAKE_FLAGS"
|
||||
+automake --add-missing --foreign $AUTOMAKE_FLAGS
|
||||
+echo " autoconf"
|
||||
+autoconf
|
||||
+
|
||||
+$srcdir/configure "$@" && echo
|
||||
diff -Naur xmlrpc++/configure.in xmlrpc++-automake/configure.in
|
||||
--- xmlrpc++/configure.in 1970-01-01 07:00:00.000000000 +0700
|
||||
+++ xmlrpc++-automake/configure.in 2004-07-26 11:54:11.578831632 +0700
|
||||
@@ -0,0 +1,40 @@
|
||||
+dnl Process this file with autoconf to produce a configure script.
|
||||
+AC_INIT(src/XmlRpc.h)
|
||||
+
|
||||
+XMLRPC_MAJOR_VERSION=0
|
||||
+XMLRPC_MINOR_VERSION=8
|
||||
+XMLRPC_MICRO_VERSION=0
|
||||
+
|
||||
+#shared library versioning
|
||||
+XMLRPC_INTERFACE_AGE=0 # increment if interfaces have been added,
|
||||
+ # zero if interfaces have changed or been removed
|
||||
+XMLRPC_BINARY_AGE=0 # increment if binary-compatability is broken
|
||||
+
|
||||
+XMLRPC_VERSION=$XMLRPC_MAJOR_VERSION.$XMLRPC_MINOR_VERSION.$XMLRPC_MICRO_VERSION
|
||||
+
|
||||
+LT_RELEASE=$XMLRPC_MAJOR_VERSION.$XMLRPC_MINOR_VERSION
|
||||
+LT_CURRENT=`expr $XMLRPC_MICRO_VERSION - $XMLRPC_INTERFACE_AGE`
|
||||
+LT_REVISION=$XMLRPC_INTERFACE_AGE
|
||||
+LT_AGE=`expr $XMLRPC_BINARY_AGE - $XMLRPC_INTERFACE_AGE`
|
||||
+
|
||||
+AC_SUBST(LT_RELEASE)
|
||||
+AC_SUBST(LT_CURRENT)
|
||||
+AC_SUBST(LT_REVISION)
|
||||
+AC_SUBST(LT_AGE)
|
||||
+AC_SUBST(XMLRPC_VERSION)
|
||||
+
|
||||
+AM_INIT_AUTOMAKE(libxmlrpc++,$XMLRPC_VERSION)
|
||||
+
|
||||
+AM_CONFIG_HEADER(configure.h)
|
||||
+
|
||||
+AC_PROG_CXX
|
||||
+AC_PROG_INSTALL
|
||||
+AC_PROG_LIBTOOL
|
||||
+
|
||||
+dnl AC_STDC_HEADERS
|
||||
+AC_CHECK_LIB( socket, socket)
|
||||
+AC_CHECK_LIB( nsl, gethostbyname)
|
||||
+AC_CHECK_LIB( ssl, SSL_connect)
|
||||
+
|
||||
+AC_OUTPUT(Makefile src/Makefile)
|
||||
+
|
||||
diff -Naur xmlrpc++/src/Makefile.am xmlrpc++-automake/src/Makefile.am
|
||||
--- xmlrpc++/src/Makefile.am 1970-01-01 07:00:00.000000000 +0700
|
||||
+++ xmlrpc++-automake/src/Makefile.am 2004-07-26 11:54:11.578831632 +0700
|
||||
@@ -0,0 +1,35 @@
|
||||
+lib_LTLIBRARIES = libxmlrpc++.la
|
||||
+
|
||||
+libxmlrpc___la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
+
|
||||
+library_includedir=$(includedir)
|
||||
+library_include_HEADERS = XmlRpc.h \
|
||||
+ XmlRpcServer.h \
|
||||
+ XmlRpcSocket.h \
|
||||
+ XmlRpcValue.h \
|
||||
+ XmlRpcClient.h \
|
||||
+ XmlRpcServerConnection.h \
|
||||
+ XmlRpcSource.h \
|
||||
+ XmlRpcDispatch.h \
|
||||
+ XmlRpcServerMethod.h \
|
||||
+ XmlRpcUtil.h \
|
||||
+ XmlRpcThreadedServer.h \
|
||||
+ XmlRpcException.h \
|
||||
+ XmlRpcMutex.h \
|
||||
+ XmlRpcThread.h
|
||||
+
|
||||
+libxmlrpc___la_SOURCES = $(library_include_HEADERS) \
|
||||
+ base64.h \
|
||||
+ XmlRpcClient.cpp \
|
||||
+ XmlRpcServerConnection.cpp \
|
||||
+ XmlRpcSource.cpp \
|
||||
+ XmlRpcDispatch.cpp \
|
||||
+ XmlRpcServerMethod.cpp \
|
||||
+ XmlRpcUtil.cpp \
|
||||
+ XmlRpcServer.cpp \
|
||||
+ XmlRpcSocket.cpp \
|
||||
+ XmlRpcValue.cpp \
|
||||
+ XmlRpcThreadedServer.cpp \
|
||||
+ XmlRpcMutex.cpp\
|
||||
+ XmlRpcThread.cpp
|
||||
+
|
47
etc/portage/dev-libs/xmlrpc++/xmlrpc++-0.7.ebuild
Normal file
47
etc/portage/dev-libs/xmlrpc++/xmlrpc++-0.7.ebuild
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="XmlRpc++ is a C++ implementation of the XML-RPC protocol."
|
||||
SRC_URI="mirror://sourceforge/xmlrpcpp/${PN}${PV}.tar.gz"
|
||||
HOMEPAGE="http://xmlrpcpp.sourceforge.net/"
|
||||
LICENSE="LGPL"
|
||||
|
||||
DEPEND=""
|
||||
KEYWORDS="~x86 ~ppc ~hppa ~alpha ~amd64"
|
||||
IUSE=""
|
||||
SLOT=0
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${PN}${PV}
|
||||
|
||||
epatch ${FILESDIR}/xmlrpc++-0.7-to-cvs-20040713.patch
|
||||
epatch ${FILESDIR}/xmlrpc++-automake.patch
|
||||
epatch ${FILESDIR}/uninitialised_XmlRpcSource_ssl_ssl.patch
|
||||
epatch ${FILESDIR}/incorrect_XmlRpcValue_struct_tm_conversion.patch
|
||||
|
||||
sh autogen.sh
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd ${WORKDIR}/${PN}${PV}
|
||||
|
||||
econf || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd ${WORKDIR}/${PN}${PV}
|
||||
|
||||
dodoc COPYING README.html
|
||||
emake prefix=${D} \
|
||||
includedir=${D}/usr/include \
|
||||
libdir=${D}/usr/lib \
|
||||
DOC_DIR=${D}/usr/share/doc/${PF} \
|
||||
install \
|
||||
|| die "make install failed"
|
||||
}
|
||||
|
2
etc/portage/dev-php/PEAR-Calendar/Manifest
Normal file
2
etc/portage/dev-php/PEAR-Calendar/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 4240a059d8243567ea2b783f05c29c14 PEAR-Calendar-0.5.2.ebuild 317
|
||||
MD5 f85abc41078747dcbe66b80ddbfea88c files/digest-PEAR-Calendar-0.5.2 62
|
13
etc/portage/dev-php/PEAR-Calendar/PEAR-Calendar-0.5.2.ebuild
Normal file
13
etc/portage/dev-php/PEAR-Calendar/PEAR-Calendar-0.5.2.ebuild
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="A package for building Calendar data structures (irrespective of
|
||||
output)"
|
||||
|
||||
LICENSE="PHP"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"
|
||||
IUSE=""
|
|
@ -0,0 +1 @@
|
|||
MD5 26e2dedc175fd5056856b1fee6c0415a Calendar-0.5.2.tgz 60164
|
2
etc/portage/dev-php/PEAR-File/Manifest
Normal file
2
etc/portage/dev-php/PEAR-File/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 e0f58b576c8dc7b50a16cc8ab4ed5295 PEAR-File-1.2.0.ebuild 244
|
||||
MD5 dfbc729e39566a4af97ca144c293a308 files/digest-PEAR-File-1.2.0 58
|
12
etc/portage/dev-php/PEAR-File/PEAR-File-1.2.0.ebuild
Normal file
12
etc/portage/dev-php/PEAR-File/PEAR-File-1.2.0.ebuild
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Common file and directory routines"
|
||||
|
||||
LICENSE="PHP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~sparc ~x86"
|
||||
IUSE=""
|
|
@ -0,0 +1 @@
|
|||
MD5 40ccd2236328fbb2475ba74ea575787d File-1.2.0.tgz 15450
|
2
etc/portage/dev-php/PEAR-File_Find/Manifest
Normal file
2
etc/portage/dev-php/PEAR-File_Find/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 790c4721e6436b79a12dada33b5391fa PEAR-File_Find-0.3.1.ebuild 289
|
||||
MD5 7ff24f071f24225d832b6b7a8ef4bf36 files/digest-PEAR-File_Find-0.3.1 62
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="A class that facillitates the search of filesystems."
|
||||
LICENSE="PHP"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 ~ppc ~sparc alpha ~hppa amd64 ppc64"
|
||||
IUSE=""
|
|
@ -0,0 +1 @@
|
|||
MD5 a81c83a7ce53f4fb9bec8a0019fde0e8 File_Find-0.3.1.tgz 4759
|
2
etc/portage/dev-php/PEAR-HTML_QuickForm/Manifest
Normal file
2
etc/portage/dev-php/PEAR-HTML_QuickForm/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 64e1cc953c0f89144e5865d9e95e0405 PEAR-HTML_QuickForm-3.2.4.ebuild 523
|
||||
MD5 4273f257f8706d090b9dbf9856189504 files/digest-PEAR-HTML_QuickForm-3.2.4 68
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="The PEAR::HTML_QuickForm package provides methods for creating, validating, processing HTML forms."
|
||||
LICENSE="PHP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~sparc ~ppc ~ia64 ~amd64"
|
||||
DEPEND=">=dev-php/PEAR-HTML_Common-1.2.1
|
||||
dev-php/PEAR-HTML_Template_Flexy
|
||||
dev-php/PEAR-HTML_Template_IT"
|
||||
# the last two would be option on doc? but I think we should put the docs there
|
||||
# anyway
|
||||
IUSE=""
|
|
@ -0,0 +1 @@
|
|||
MD5 63e41c52445c3c975a4d81a801fcd1c6 HTML_QuickForm-3.2.4.tgz 92946
|
2
etc/portage/dev-php/PEAR-XML_Parser/Manifest
Normal file
2
etc/portage/dev-php/PEAR-XML_Parser/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 20e860b9eaed5ae49ab9e7fc3fc2edf3 PEAR-XML_Parser-1.2.6.ebuild 317
|
||||
MD5 1000e0267dc48ce81fa7d8085e801b78 files/digest-PEAR-XML_Parser-1.2.6 64
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="XML parsing class based on PHP's SAX parser"
|
||||
|
||||
LICENSE="PHP"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-php/PEAR-PEAR"
|
|
@ -0,0 +1 @@
|
|||
MD5 96ebc0fc2f349249f1455389797e72a4 XML_Parser-1.2.6.tgz 12944
|
4
etc/portage/media-libs/taglib/Manifest
Normal file
4
etc/portage/media-libs/taglib/Manifest
Normal file
|
@ -0,0 +1,4 @@
|
|||
MD5 7a549789db883fd2a1fece00159db85b taglib-1.3.1-r3.ebuild 916
|
||||
MD5 103dd47ff1744397288b44834902e16c files/taglib-1.3.1-memleak-fix2.patch 2514
|
||||
MD5 5be2e7958dd0c6985fd109659eb90b6b files/taglib-1.3.1-length-in-microseconds.patch 5962
|
||||
MD5 cc8a58ea8028f3539fcee148baeffcc1 files/digest-taglib-1.3.1-r3 64
|
|
@ -0,0 +1 @@
|
|||
MD5 f5c7c71513ba51b240864d7475a199c0 taglib-1.3.1.tar.gz 734938
|
|
@ -0,0 +1,172 @@
|
|||
--- taglib-1.3.1/taglib/audioproperties.h 2003-11-04 03:48:25.000000000 +0100
|
||||
+++ taglib-1.3.1-microseconds/taglib/audioproperties.h 2005-06-15 19:27:31.805943362 +0200
|
||||
@@ -59,11 +59,16 @@
|
||||
virtual ~AudioProperties();
|
||||
|
||||
/*!
|
||||
- * Returns the lenght of the file in seconds.
|
||||
+ * Returns the length of the file in seconds (rounded down).
|
||||
*/
|
||||
virtual int length() const = 0;
|
||||
|
||||
/*!
|
||||
+ * Returns the fractional part of the length of the file, in microseconds.
|
||||
+ */
|
||||
+ virtual int length_microseconds() const = 0;
|
||||
+
|
||||
+ /*!
|
||||
* Returns the most appropriate bit rate for the file in kb/s. For constant
|
||||
* bitrate formats this is simply the bitrate of the file. For variable
|
||||
* bitrate formats this is either the average or nominal bitrate.
|
||||
--- taglib-1.3.1/taglib/flac/flacproperties.h 2004-06-24 21:27:02.000000000 +0200
|
||||
+++ taglib-1.3.1-microseconds/taglib/flac/flacproperties.h 2005-06-15 19:41:27.176791223 +0200
|
||||
@@ -62,6 +62,7 @@
|
||||
// Reimplementations.
|
||||
|
||||
virtual int length() const;
|
||||
+ virtual int length_microseconds() const;
|
||||
virtual int bitrate() const;
|
||||
virtual int sampleRate() const;
|
||||
virtual int channels() const;
|
||||
--- taglib-1.3.1/taglib/flac/flacproperties.cpp 2004-08-02 16:18:58.000000000 +0200
|
||||
+++ taglib-1.3.1-microseconds/taglib/flac/flacproperties.cpp 2005-06-15 21:42:48.714138847 +0200
|
||||
@@ -76,6 +76,11 @@
|
||||
return d->length;
|
||||
}
|
||||
|
||||
+int FLAC::Properties::length_microseconds() const
|
||||
+{
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
int FLAC::Properties::bitrate() const
|
||||
{
|
||||
return d->bitrate;
|
||||
--- taglib-1.3.1/taglib/mpc/mpcproperties.h 2004-07-21 00:30:00.000000000 +0200
|
||||
+++ taglib-1.3.1-microseconds/taglib/mpc/mpcproperties.h 2005-06-15 19:46:10.845016974 +0200
|
||||
@@ -56,6 +56,7 @@
|
||||
// Reimplementations.
|
||||
|
||||
virtual int length() const;
|
||||
+ virtual int length_microseconds() const;
|
||||
virtual int bitrate() const;
|
||||
virtual int sampleRate() const;
|
||||
virtual int channels() const;
|
||||
--- taglib-1.3.1/taglib/mpc/mpcproperties.cpp 2004-09-09 02:28:18.000000000 +0200
|
||||
+++ taglib-1.3.1-microseconds/taglib/mpc/mpcproperties.cpp 2005-06-15 21:43:14.322020672 +0200
|
||||
@@ -71,6 +71,11 @@
|
||||
return d->length;
|
||||
}
|
||||
|
||||
+int MPC::Properties::length_microseconds() const
|
||||
+{
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
int MPC::Properties::bitrate() const
|
||||
{
|
||||
return d->bitrate;
|
||||
--- taglib-1.3.1/taglib/mpeg/mpegproperties.h 2003-11-05 05:29:05.000000000 +0100
|
||||
+++ taglib-1.3.1-microseconds/taglib/mpeg/mpegproperties.h 2005-06-15 19:33:00.669147926 +0200
|
||||
@@ -56,6 +56,7 @@
|
||||
// Reimplementations.
|
||||
|
||||
virtual int length() const;
|
||||
+ virtual int length_microseconds() const;
|
||||
virtual int bitrate() const;
|
||||
virtual int sampleRate() const;
|
||||
virtual int channels() const;
|
||||
--- taglib-1.3.1/taglib/mpeg/mpegproperties.cpp 2004-08-02 16:18:58.000000000 +0200
|
||||
+++ taglib-1.3.1-microseconds/taglib/mpeg/mpegproperties.cpp 2005-06-15 20:57:14.538631543 +0200
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
File *file;
|
||||
ReadStyle style;
|
||||
- int length;
|
||||
+ long long length;
|
||||
int bitrate;
|
||||
int sampleRate;
|
||||
int channels;
|
||||
@@ -71,7 +71,12 @@
|
||||
|
||||
int MPEG::Properties::length() const
|
||||
{
|
||||
- return d->length;
|
||||
+ return int(d->length / 1000000);
|
||||
+}
|
||||
+
|
||||
+int MPEG::Properties::length_microseconds() const
|
||||
+{
|
||||
+ return int(d->length % 1000000);
|
||||
}
|
||||
|
||||
int MPEG::Properties::bitrate() const
|
||||
@@ -191,8 +196,9 @@
|
||||
|
||||
double timePerFrame = blockSize[firstHeader.layer()];
|
||||
timePerFrame = firstHeader.sampleRate() > 0 ? timePerFrame / firstHeader.sampleRate() : 0;
|
||||
- d->length = int(timePerFrame * xingHeader.totalFrames());
|
||||
- d->bitrate = d->length > 0 ? xingHeader.totalSize() * 8 / d->length / 1000 : 0;
|
||||
+ d->length = (long long)(
|
||||
+ timePerFrame * xingHeader.totalFrames() * 1000000 + 0.5);
|
||||
+ d->bitrate = d->length > 0 ? xingHeader.totalSize() * 8000 / d->length : 0;
|
||||
}
|
||||
|
||||
// Since there was no valid Xing header found, we hope that we're in a constant
|
||||
@@ -204,8 +210,10 @@
|
||||
else if(firstHeader.frameLength() > 0 && firstHeader.bitrate() > 0) {
|
||||
int frames = (last - first) / firstHeader.frameLength() + 1;
|
||||
|
||||
- d->length = int(float(firstHeader.frameLength() * frames) /
|
||||
- float(firstHeader.bitrate() * 125) + 0.5);
|
||||
+ d->length = (long long)(
|
||||
+ (double(firstHeader.frameLength()) * frames * 1000000) /
|
||||
+ (double(firstHeader.bitrate()) * 125) + 0.5);
|
||||
+
|
||||
d->bitrate = firstHeader.bitrate();
|
||||
}
|
||||
|
||||
--- taglib-1.3.1/taglib/ogg/vorbis/vorbisproperties.h 2004-05-13 02:29:48.000000000 +0200
|
||||
+++ taglib-1.3.1-microseconds/taglib/ogg/vorbis/vorbisproperties.h 2005-06-15 19:48:18.365492520 +0200
|
||||
@@ -65,6 +65,7 @@
|
||||
// Reimplementations.
|
||||
|
||||
virtual int length() const;
|
||||
+ virtual int length_microseconds() const;
|
||||
virtual int bitrate() const;
|
||||
virtual int sampleRate() const;
|
||||
virtual int channels() const;
|
||||
--- taglib-1.3.1/taglib/ogg/vorbis/vorbisproperties.cpp 2003-12-02 06:00:23.000000000 +0100
|
||||
+++ taglib-1.3.1-microseconds/taglib/ogg/vorbis/vorbisproperties.cpp 2005-06-15 20:36:41.687062239 +0200
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
File *file;
|
||||
ReadStyle style;
|
||||
- int length;
|
||||
+ long long length;
|
||||
int bitrate;
|
||||
int sampleRate;
|
||||
int channels;
|
||||
@@ -81,7 +81,12 @@
|
||||
|
||||
int Vorbis::Properties::length() const
|
||||
{
|
||||
- return d->length;
|
||||
+ return int(d->length / 1000000);
|
||||
+}
|
||||
+
|
||||
+int Vorbis::Properties::length_microseconds() const
|
||||
+{
|
||||
+ return int(d->length % 1000000);
|
||||
}
|
||||
|
||||
int Vorbis::Properties::bitrate() const
|
||||
@@ -169,7 +174,7 @@
|
||||
long long end = last->absoluteGranularPosition();
|
||||
|
||||
if(start >= 0 && end >= 0 && d->sampleRate > 0)
|
||||
- d->length = (end - start) / (long long) d->sampleRate;
|
||||
+ d->length = ((end - start) * 1000000) / (long long) d->sampleRate;
|
||||
else
|
||||
debug("Vorbis::Properties::read() -- Either the PCM values for the start or "
|
||||
"end of this file was incorrect or the sample rate is zero.");
|
|
@ -0,0 +1,112 @@
|
|||
--- taglib/mpc/mpcproperties.cpp 2004/09/09 00:28:57 345141
|
||||
+++ taglib/mpc/mpcproperties.cpp 2005/04/02 20:53:11 402712
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
void MPC::Properties::read()
|
||||
{
|
||||
- if(d->data.mid(0, 3) != "MP+")
|
||||
+ if(!d->data.startsWith("MP+"))
|
||||
return;
|
||||
|
||||
d->version = d->data[3] & 15;
|
||||
@@ -116,7 +116,7 @@
|
||||
if(d->version >= 7) {
|
||||
frames = d->data.mid(4, 4).toUInt(false);
|
||||
|
||||
- std::bitset<32> flags = d->data.mid(8, 4).toUInt(true);
|
||||
+ std::bitset<32> flags = d->data.mid(8, 4).toUInt(false);
|
||||
d->sampleRate = sftable[flags[17] * 2 + flags[16]];
|
||||
d->channels = 2;
|
||||
}
|
||||
|
||||
|
||||
--- taglib/mpc/mpcfile.cpp 2004/09/02 18:50:26 343576
|
||||
+++ taglib/mpc/mpcfile.cpp 2005/04/03 16:41:17 402896
|
||||
@@ -53,7 +53,10 @@
|
||||
|
||||
~FilePrivate()
|
||||
{
|
||||
+ if (tag != ID3v1Tag && tag != APETag) delete tag;
|
||||
delete ID3v1Tag;
|
||||
+ delete APETag;
|
||||
+ delete ID3v2Header;
|
||||
delete properties;
|
||||
}
|
||||
|
||||
@@ -227,7 +230,7 @@
|
||||
if(d->APETag)
|
||||
d->tag = d->APETag;
|
||||
else
|
||||
- d->tag = d->APETag = new APE::Tag();
|
||||
+ d->tag = d->APETag = new APE::Tag;
|
||||
}
|
||||
|
||||
if(tags & ID3v2) {
|
||||
@@ -242,7 +245,7 @@
|
||||
if(d->ID3v1Tag)
|
||||
d->tag = d->ID3v1Tag;
|
||||
else
|
||||
- d->tag = d->APETag = new APE::Tag();
|
||||
+ d->tag = d->APETag = new APE::Tag;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,7 +287,7 @@
|
||||
if(d->hasAPE)
|
||||
d->tag = d->APETag;
|
||||
else
|
||||
- d->tag = d->APETag = new APE::Tag();
|
||||
+ d->tag = d->APETag = new APE::Tag;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
--- taglib/ape/apeitem.h 2004/11/06 14:24:40 360969
|
||||
+++ taglib/ape/apeitem.h 2005/04/03 16:35:55 402891
|
||||
@@ -70,6 +70,11 @@
|
||||
Item(const Item &item);
|
||||
|
||||
/*!
|
||||
+ * Destroys the item.
|
||||
+ */
|
||||
+ virtual ~Item();
|
||||
+
|
||||
+ /*!
|
||||
* Copies the contents of \a item into this item.
|
||||
*/
|
||||
Item &operator=(const Item &item);
|
||||
|
||||
|
||||
--- taglib/ape/apeitem.cpp 2004/11/06 14:43:24 360973
|
||||
+++ taglib/ape/apeitem.cpp 2005/04/03 16:35:55 402891
|
||||
@@ -62,6 +62,11 @@
|
||||
d = new ItemPrivate(*item.d);
|
||||
}
|
||||
|
||||
+APE::Item::~Item()
|
||||
+{
|
||||
+ delete d;
|
||||
+}
|
||||
+
|
||||
Item &APE::Item::operator=(const Item &item)
|
||||
{
|
||||
delete d;
|
||||
@@ -111,7 +116,7 @@
|
||||
|
||||
String APE::Item::toString() const
|
||||
{
|
||||
- return d->text.front();
|
||||
+ return isEmpty() ? String::null : d->text.front();
|
||||
}
|
||||
|
||||
bool APE::Item::isEmpty() const
|
||||
@@ -121,7 +126,7 @@
|
||||
case 1:
|
||||
if(d->text.isEmpty())
|
||||
return true;
|
||||
- if(d->text.size() == 1 && d->text.front() == "")
|
||||
+ if(d->text.size() == 1 && d->text.front().isEmpty())
|
||||
return true;
|
||||
return false;
|
||||
case 2:
|
||||
|
39
etc/portage/media-libs/taglib/taglib-1.3.1-r3.ebuild
Normal file
39
etc/portage/media-libs/taglib/taglib-1.3.1-r3.ebuild
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="A library for reading and editing audio meta data"
|
||||
HOMEPAGE="http://developer.kde.org/~wheeler/taglib.html"
|
||||
SRC_URI="http://developer.kde.org/~wheeler/files/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~mips"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=">=sys-devel/autoconf-2.58"
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
epatch ${FILESDIR}/${P}-memleak-fix2.patch
|
||||
epatch ${FILESDIR}/${P}-length-in-microseconds.patch
|
||||
|
||||
rm -rf autom4te.cache
|
||||
export WANT_AUTOCONF=2.5
|
||||
export WANT_AUTOMAKE=1.7
|
||||
aclocal && autoconf && automake || die "autotools failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
replace-flags -O3 -O2
|
||||
econf `use_enable debug` || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR=${D} destdir=${D} || die
|
||||
}
|
8
etc/portage/media-radio/livesupport/Manifest
Normal file
8
etc/portage/media-radio/livesupport/Manifest
Normal file
|
@ -0,0 +1,8 @@
|
|||
MD5 327ed3bdd51bf26a7fc4f8a097ec163f livesupport-1.0.ebuild 2745
|
||||
MD5 88922583359d4f48bb62fe32edcf49bf files/storageServer-docroot.patch 496
|
||||
MD5 748c25d0b1d9b77b549de03d2d054796 files/prefix-as-make-variable.patch 9729
|
||||
MD5 c2d1ff785cf48e5379f9a3c408c44eb7 files/setup-install-dirs.patch 1430
|
||||
MD5 f1b36bd5e8064413975e891f7e698909 files/taglib-curl-icu.patch 46021
|
||||
MD5 a538c0d8cca6f56f49e849d02e7eeaf5 files/pg_hba.patch 1271
|
||||
MD5 11fe70fcc870ab186dcc8ce354c43076 files/digest-livesupport-1.0 70
|
||||
MD5 aa45773c2de23cc856a1bc11153637ec files/postinstall-config-file.patch 7791
|
|
@ -0,0 +1 @@
|
|||
MD5 73d76a5c9cd0c0b9e2f527e8a169183b livesupport-1.0.tar.bz2 10666438
|
24
etc/portage/media-radio/livesupport/files/pg_hba.patch
Normal file
24
etc/portage/media-radio/livesupport/files/pg_hba.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- livesupport-1.0/etc/pg_hba.conf 2005-08-13 12:33:33.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/etc/pg_hba.conf 2005-09-22 13:48:24.000000000 +0200
|
||||
@@ -85,18 +85,16 @@
|
||||
# Database administrative login by UNIX sockets
|
||||
local all postgres ident sameuser
|
||||
#
|
||||
-# All other connections by UNIX sockets
|
||||
-local all all ident sameuser
|
||||
-#
|
||||
# All IPv4 connections from localhost
|
||||
# The following line was inserted by the livesupport-station package installer
|
||||
# the original pg_hba.conf file is saved under pg_hba.conf.before-livesupport
|
||||
host all all 127.0.0.1 255.255.255.255 password
|
||||
#host all all 127.0.0.1 255.255.255.255 ident sameuser
|
||||
#
|
||||
+# All other connections by UNIX sockets
|
||||
+local all all password
|
||||
+#
|
||||
# All IPv6 localhost connections
|
||||
-host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ident sameuser
|
||||
-host all all ::ffff:127.0.0.1/128 ident sameuser
|
||||
#
|
||||
# reject all other connection attempts
|
||||
host all all 0.0.0.0 0.0.0.0 reject
|
|
@ -0,0 +1,193 @@
|
|||
--- livesupport-1.0/bin/postInstallStation.sh 2005-08-14 14:15:30.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/bin/postInstallStation.sh 2005-09-22 13:16:23.000000000 +0200
|
||||
@@ -155,9 +155,13 @@
|
||||
echo " apache document root: $www_root";
|
||||
echo ""
|
||||
|
||||
+
|
||||
#-------------------------------------------------------------------------------
|
||||
# The details of installation
|
||||
#-------------------------------------------------------------------------------
|
||||
+ls_hostname=localhost
|
||||
+ls_www_port=80
|
||||
+
|
||||
ls_dbserver=$dbserver
|
||||
ls_dbuser=$dbuser
|
||||
ls_dbpassword=$dbpassword
|
||||
@@ -168,9 +172,15 @@
|
||||
install_bin=$installdir/bin
|
||||
install_etc=$installdir/etc
|
||||
install_lib=$installdir/lib
|
||||
+install_tmp=$installdir/tmp
|
||||
install_usr=$installdir/usr
|
||||
install_var_ls=$installdir/var/LiveSupport
|
||||
|
||||
+php_url_prefix=livesupport
|
||||
+alib_xml_rpc_prefix=xmlrpc/xrLocStor.php
|
||||
+audio_out=default
|
||||
+scheduler_port=3344
|
||||
+
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Function to check for the existence of an executable on the PATH
|
||||
@@ -226,19 +236,68 @@
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
+# Create the replacement string for the config files
|
||||
+#-------------------------------------------------------------------------------
|
||||
+install_lib_s=`echo ${install_lib} | sed -e "s/\//\\\\\\\\\//g"`
|
||||
+install_tmp_s=`echo ${install_tmp} | sed -e "s/\//\\\\\\\\\//g"`
|
||||
+php_url_prefix_s=`echo ${php_url_prefix} | sed -e "s/\//\\\\\\\\\//g"`
|
||||
+alib_xml_rpc_prefix_s=`echo ${alib_xml_rpc_prefix} | sed -e "s/\//\\\\\\\\\//g"`
|
||||
+audio_out_s=`echo ${audio_out} | sed -e "s/\//\\\\\\\\\//g"`
|
||||
+
|
||||
+
|
||||
+replace_sed_string="s/ls_lib_dir/${install_lib_s}/; \
|
||||
+ s/ls_dbuser/${ls_dbuser}/; \
|
||||
+ s/ls_dbpassword/${ls_dbpassword}/; \
|
||||
+ s/ls_dbserver/${ls_dbserver}/; \
|
||||
+ s/ls_database/${ls_database}/; \
|
||||
+ s/ls_php_urlPrefix/${php_url_prefix_s}/; \
|
||||
+ s/ls_php_host/${ls_hostname}/; \
|
||||
+ s/ls_php_port/${ls_www_port}/; \
|
||||
+ s/ls_alib_xmlRpcPrefix/${alib_xml_rpc_prefix_s}/; \
|
||||
+ s/ls_tmp_dir/${install_tmp_s}/; \
|
||||
+ s/ls_audio_output_device/${audio_out_s}/; \
|
||||
+ s/ls_scheduler_host/${ls_hostname}/; \
|
||||
+ s/ls_scheduler_port/${scheduler_port}/;"
|
||||
+
|
||||
+
|
||||
+#-------------------------------------------------------------------------------
|
||||
+# Creating configuration files
|
||||
+#-------------------------------------------------------------------------------
|
||||
+echo "Creating configuration files...";
|
||||
+
|
||||
+cat $install_etc/scheduler.xml.template | sed -e "${replace_sed_string}" \
|
||||
+ > $install_etc/scheduler.xml
|
||||
+
|
||||
+cat $install_var_ls/archiveServer/var/conf.php.template \
|
||||
+ | sed -e "${replace_sed_string}" \
|
||||
+ > $install_var_ls/archiveServer/var/conf.php
|
||||
+
|
||||
+cat $install_var_ls/storageServer/var/conf.php.template \
|
||||
+ | sed -e "${replace_sed_string}" \
|
||||
+ > $install_var_ls/storageServer/var/conf.php
|
||||
+
|
||||
+
|
||||
+#-------------------------------------------------------------------------------
|
||||
# Install the new pg_hba.conf file
|
||||
#-------------------------------------------------------------------------------
|
||||
echo "Modifying postgresql access permissions...";
|
||||
|
||||
-pg_config_dir=/etc/postgresql
|
||||
pg_config_file=pg_hba.conf
|
||||
pg_config_file_saved=pg_hba.conf.before-livesupport
|
||||
|
||||
+pg_config_dir=/etc/postgresql
|
||||
if [ -f $pg_config_dir/$pg_config_file ] ; then
|
||||
mv -f $pg_config_dir/$pg_config_file $pg_config_dir/$pg_config_file_saved ;
|
||||
+ cp $install_etc/$pg_config_file $pg_config_dir/$pg_config_file
|
||||
+ chown root:$postgres_user $pg_config_dir/$pg_config_file
|
||||
+fi
|
||||
+
|
||||
+pg_config_dir=/var/lib/postgresql/data/
|
||||
+if [ -f $pg_config_dir/$pg_config_file ] ; then
|
||||
+ mv -f $pg_config_dir/$pg_config_file $pg_config_dir/$pg_config_file_saved ;
|
||||
+ cp $install_etc/$pg_config_file $pg_config_dir/$pg_config_file
|
||||
+ chown root:$postgres_user $pg_config_dir/$pg_config_file
|
||||
fi
|
||||
-cp $install_etc/$pg_config_file $pg_config_dir/$pg_config_file
|
||||
-chown root:$postgres_user $pg_config_dir/$pg_config_file
|
||||
|
||||
/etc/init.d/postgresql restart
|
||||
|
||||
@@ -290,6 +349,10 @@
|
||||
odbc_template=$install_etc/odbc_template
|
||||
odbc_template_tmp=/tmp/odbc_template.$$
|
||||
|
||||
+# customied odbc template file
|
||||
+cat $install_etc/odbc_template | sed -e "${replace_sed_string}" \
|
||||
+ > $odbc_template_tmp
|
||||
+
|
||||
# check for an existing PostgreSQL ODBC driver, and only install if necessary
|
||||
odbcinst_res=`odbcinst -q -d | grep "\[PostgreSQL\]"`
|
||||
if [ "x$odbcinst_res" == "x" ]; then
|
||||
@@ -298,13 +361,17 @@
|
||||
fi
|
||||
|
||||
echo "Registering LiveSupport ODBC data source...";
|
||||
-odbcinst -i -s -l -f $odbc_template || exit 1;
|
||||
+odbcinst -i -s -l -f $odbc_template_tmp || exit 1;
|
||||
+
|
||||
+rm -f $odbc_template_tmp
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Install PEAR packages (locally in the LiveSupport)
|
||||
#-------------------------------------------------------------------------------
|
||||
-$install_usr/lib/pear/bin/install.sh -d $installdir || exit 1;
|
||||
+if [ -f $install_usr/lib/pear/bin/install.sh ]; then
|
||||
+ $install_usr/lib/pear/bin/install.sh -d $installdir || exit 1;
|
||||
+fi
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
@@ -338,6 +405,7 @@
|
||||
chmod g+sw $install_var_ls/htmlUI/var/templates_c
|
||||
chmod g+sw $install_var_ls/htmlUI/var/html/img
|
||||
|
||||
+
|
||||
#-------------------------------------------------------------------------------
|
||||
# Configuring Apache
|
||||
#-------------------------------------------------------------------------------
|
||||
@@ -421,7 +489,9 @@
|
||||
export LD_LIBRARY_PATH=$install_lib
|
||||
export GST_REGISTRY=$install_etc/gst-registry.xml
|
||||
export GST_PLUGIN_PATH=$gstreamer_dir
|
||||
-$install_bin/gst-register > /dev/null 2>&1
|
||||
+if [ -f $install_bin/gst-register ]; then
|
||||
+ $install_bin/gst-register > /dev/null 2>&1
|
||||
+fi
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
--- livesupport-1.0/products/scheduler/etc/Makefile.in 2005-09-21 15:33:18.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/products/scheduler/etc/Makefile.in 2005-09-22 12:47:38.000000000 +0200
|
||||
@@ -375,10 +375,8 @@
|
||||
${CP} ${SCHEDULER_EXE} ${USR_BIN_DIR}
|
||||
${CP} ${ETC_DIR}/odbcinst_debian_template \
|
||||
${ETC_DIR}/odbcinst_template ${USR_ETC_DIR}
|
||||
- ${CAT} ${ETC_DIR}/odbc_template | ${SED} -e ${REPLACE_SED_STRING} \
|
||||
- > ${USR_ETC_DIR}/odbc_template
|
||||
- ${CAT} ${ETC_DIR}/scheduler.xml.template | ${SED} -e ${REPLACE_SED_STRING} \
|
||||
- > ${USR_ETC_DIR}/scheduler.xml
|
||||
+ ${CP} ${ETC_DIR}/odbc_template ${USR_ETC_DIR}
|
||||
+ ${CP} ${ETC_DIR}/scheduler.xml.template ${USR_ETC_DIR}
|
||||
|
||||
create_database:
|
||||
ifeq (@CREATE_LS_DATABASE@,yes)
|
||||
--- livesupport-1.0/modules/archiveServer/etc/Makefile.in 2005-09-21 15:33:18.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/archiveServer/etc/Makefile.in 2005-09-22 13:14:20.000000000 +0200
|
||||
@@ -165,8 +165,7 @@
|
||||
${CP} ${VAR_DIR}/*.{php,template} ${DEST_DIR}
|
||||
${CP} ${VAR_DIR}/install/*.php ${DEST_DIR}/install
|
||||
${CP} ${VAR_DIR}/xmlrpc/*.php ${DEST_DIR}/xmlrpc
|
||||
- ${CAT} ${VAR_DIR}/conf.php.template | ${SED} -e ${REPLACE_SED_STRING} \
|
||||
- > ${DEST_DIR}/conf.php
|
||||
+ ${CP} ${VAR_DIR}/conf.php.template ${DEST_DIR}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
--- livesupport-1.0/modules/storageServer/etc/Makefile.in 2005-09-21 15:33:18.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/storageServer/etc/Makefile.in 2005-09-22 13:14:20.000000000 +0200
|
||||
@@ -183,8 +183,7 @@
|
||||
${DEST_DIR}/install
|
||||
${CP} ${VAR_DIR}/xmlrpc/*.php \
|
||||
${DEST_DIR}/xmlrpc
|
||||
- ${CAT} ${VAR_DIR}/conf.php.template | ${SED} -e ${REPLACE_SED_STRING} \
|
||||
- > ${DEST_DIR}/conf.php
|
||||
+ ${CP} ${VAR_DIR}/conf.php.template ${DEST_DIR}
|
||||
|
||||
chgrp ${APACHE_GROUP} ${DEST_DIR}/access
|
||||
chgrp ${APACHE_GROUP} ${DEST_DIR}/stor
|
|
@ -0,0 +1,224 @@
|
|||
diff -Naur livesupport-1.0/modules/alib/etc/Makefile.in livesupport-1.0-gentoo/modules/alib/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/alib/etc/Makefile.in 2005-08-01 21:25:59.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/alib/etc/Makefile.in 2005-09-21 11:55:23.000000000 +0200
|
||||
@@ -59,7 +59,9 @@
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
VAR_DIR = ${BASE_DIR}/var
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_VAR_DIR = ${USR_DIR}/var
|
||||
|
||||
diff -Naur livesupport-1.0/modules/archiveServer/etc/Makefile.in livesupport-1.0-gentoo/modules/archiveServer/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/archiveServer/etc/Makefile.in 2005-08-01 21:25:59.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/archiveServer/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -62,7 +62,9 @@
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
VAR_DIR = ${BASE_DIR}/var
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
USR_VAR_DIR = ${USR_DIR}/var
|
||||
diff -Naur livesupport-1.0/modules/authentication/etc/Makefile.in livesupport-1.0-gentoo/modules/authentication/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/authentication/etc/Makefile.in 2005-08-01 21:25:59.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/authentication/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -50,7 +50,9 @@
|
||||
SRC_DIR = ${BASE_DIR}/src
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
BOOST_INCLUDE_DIR = ${USR_INCLUDE_DIR}/boost-1_33_1
|
||||
diff -Naur livesupport-1.0/modules/core/etc/Makefile.in livesupport-1.0-gentoo/modules/core/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/core/etc/Makefile.in 2005-09-21 11:57:28.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/core/etc/Makefile.in 2005-09-21 11:55:38.000000000 +0200
|
||||
@@ -53,7 +53,9 @@
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
VAR_DIR = ${BASE_DIR}/var
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_BIN_DIR = ${USR_DIR}/bin
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
diff -Naur livesupport-1.0/modules/db/etc/Makefile.in livesupport-1.0-gentoo/modules/db/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/db/etc/Makefile.in 2005-08-01 21:25:59.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/db/etc/Makefile.in 2005-09-21 11:55:10.000000000 +0200
|
||||
@@ -51,7 +51,9 @@
|
||||
SRC_DIR = ${BASE_DIR}/src
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
BOOST_INCLUDE_DIR = ${USR_INCLUDE_DIR}/boost-1_33_1
|
||||
diff -Naur livesupport-1.0/modules/eventScheduler/etc/Makefile.in livesupport-1.0-gentoo/modules/eventScheduler/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/eventScheduler/etc/Makefile.in 2005-08-08 13:57:53.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/eventScheduler/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -50,7 +50,9 @@
|
||||
SRC_DIR = ${BASE_DIR}/src
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
BOOST_INCLUDE_DIR = ${USR_INCLUDE_DIR}/boost-1_33_1
|
||||
diff -Naur livesupport-1.0/modules/getid3/etc/Makefile.in livesupport-1.0-gentoo/modules/getid3/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/getid3/etc/Makefile.in 2005-08-01 21:25:59.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/getid3/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -60,7 +60,9 @@
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
VAR_DIR = ${BASE_DIR}/var
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_VAR_DIR = ${USR_DIR}/var
|
||||
|
||||
diff -Naur livesupport-1.0/modules/htmlUI/etc/Makefile.in livesupport-1.0-gentoo/modules/htmlUI/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/htmlUI/etc/Makefile.in 2005-08-10 00:03:11.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/htmlUI/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -61,7 +61,9 @@
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
VAR_DIR = ${BASE_DIR}/var
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_VAR_DIR = ${USR_DIR}/var
|
||||
|
||||
diff -Naur livesupport-1.0/modules/playlistExecutor/etc/Makefile.in livesupport-1.0-gentoo/modules/playlistExecutor/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/playlistExecutor/etc/Makefile.in 2005-09-21 11:57:28.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/playlistExecutor/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -53,7 +53,9 @@
|
||||
REAL_BASE_DIR=$(shell cd ${BASE_DIR}; pwd)
|
||||
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
BOOST_INCLUDE_DIR = ${USR_INCLUDE_DIR}/boost-1_33_1
|
||||
diff -Naur livesupport-1.0/modules/schedulerClient/etc/Makefile.in livesupport-1.0-gentoo/modules/schedulerClient/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/schedulerClient/etc/Makefile.in 2005-09-21 11:57:29.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/schedulerClient/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -50,7 +50,9 @@
|
||||
SRC_DIR = ${BASE_DIR}/src
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
BOOST_INCLUDE_DIR = ${USR_INCLUDE_DIR}/boost-1_33_1
|
||||
diff -Naur livesupport-1.0/modules/storage/etc/Makefile.in livesupport-1.0-gentoo/modules/storage/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/storage/etc/Makefile.in 2005-09-21 11:57:29.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/storage/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -50,7 +50,9 @@
|
||||
SRC_DIR = ${BASE_DIR}/src
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
BOOST_INCLUDE_DIR = ${USR_INCLUDE_DIR}/boost-1_33_1
|
||||
diff -Naur livesupport-1.0/modules/storageAdmin/etc/Makefile.in livesupport-1.0-gentoo/modules/storageAdmin/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/storageAdmin/etc/Makefile.in 2005-08-11 02:41:22.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/storageAdmin/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -64,7 +64,9 @@
|
||||
VAR_DIR = ${BASE_DIR}/var
|
||||
BIN_DIR = ${BASE_DIR}/bin
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_VAR_DIR = ${USR_DIR}/var
|
||||
|
||||
diff -Naur livesupport-1.0/modules/storageServer/etc/Makefile.in livesupport-1.0-gentoo/modules/storageServer/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/storageServer/etc/Makefile.in 2005-08-16 14:45:00.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/storageServer/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -64,7 +64,9 @@
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
VAR_DIR = ${BASE_DIR}/var
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
USR_VAR_DIR = ${USR_DIR}/var
|
||||
diff -Naur livesupport-1.0/modules/widgets/etc/Makefile.in livesupport-1.0-gentoo/modules/widgets/etc/Makefile.in
|
||||
--- livesupport-1.0/modules/widgets/etc/Makefile.in 2005-08-08 13:57:53.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/modules/widgets/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -53,7 +53,9 @@
|
||||
TMP_DIR = ${BASE_DIR}/tmp
|
||||
VAR_DIR = ${BASE_DIR}/var
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
USR_BIN_DIR = ${USR_DIR}/bin
|
||||
USR_LIB_DIR = ${USR_DIR}/lib
|
||||
diff -Naur livesupport-1.0/products/gLiveSupport/etc/Makefile.in livesupport-1.0-gentoo/products/gLiveSupport/etc/Makefile.in
|
||||
--- livesupport-1.0/products/gLiveSupport/etc/Makefile.in 2005-09-21 11:57:29.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/products/gLiveSupport/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -58,7 +58,9 @@
|
||||
REAL_BASE_DIR=$(shell cd ${BASE_DIR}; pwd)
|
||||
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_BIN_DIR = ${USR_DIR}/bin
|
||||
USR_ETC_DIR = ${USR_DIR}/etc
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
||||
diff -Naur livesupport-1.0/products/scheduler/etc/Makefile.in livesupport-1.0-gentoo/products/scheduler/etc/Makefile.in
|
||||
--- livesupport-1.0/products/scheduler/etc/Makefile.in 2005-09-21 11:57:29.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/products/scheduler/etc/Makefile.in 2005-09-21 11:56:57.000000000 +0200
|
||||
@@ -56,7 +56,9 @@
|
||||
REAL_BASE_DIR=$(shell cd ${BASE_DIR}; pwd)
|
||||
|
||||
|
||||
-USR_DIR = @prefix@
|
||||
+prefix = @prefix@
|
||||
+
|
||||
+USR_DIR = ${prefix}
|
||||
USR_BIN_DIR = ${USR_DIR}/bin
|
||||
USR_ETC_DIR = ${USR_DIR}/etc
|
||||
USR_INCLUDE_DIR = ${USR_DIR}/include
|
|
@ -0,0 +1,40 @@
|
|||
--- livesupport-1.0/etc/Makefile.in 2005-08-25 13:09:41.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/etc/Makefile.in 2005-09-21 13:26:08.000000000 +0200
|
||||
@@ -54,7 +54,10 @@
|
||||
|
||||
USR_DIR = ${prefix}
|
||||
USR_BIN_DIR = ${USR_DIR}/bin
|
||||
+USR_DOC_DIR = ${USR_DIR}/doc
|
||||
USR_ETC_DIR = ${USR_DIR}/etc
|
||||
+USR_LIB_DIR = ${USR_DIR}/lib
|
||||
+USR_VAR_DIR = ${USR_DIR}/var
|
||||
|
||||
HOSTNAME = @HOSTNAME@
|
||||
APACHE_GROUP = @APACHE_GROUP@
|
||||
@@ -426,9 +430,10 @@
|
||||
#-------------------------------------------------------------------------------
|
||||
# Installation related targets
|
||||
#-------------------------------------------------------------------------------
|
||||
-.PHONY: install create_database install_modules install_products
|
||||
+.PHONY: install create_database setup_install_dirs
|
||||
+.PHONY: install_modules install_products
|
||||
|
||||
-install: setup compile create_database install_modules install_products
|
||||
+install: setup compile setup_install_dirs create_database install_modules install_products
|
||||
${MKDIR} ${USR_ETC_DIR}/apache
|
||||
${CP} ${ETC_DIR}/apache/*.conf ${USR_ETC_DIR}/apache
|
||||
${MKDIR} ${USR_BIN_DIR}
|
||||
@@ -444,6 +449,13 @@
|
||||
--dbpassword=${DB_PASSWORD}
|
||||
endif
|
||||
|
||||
+setup_install_dirs:
|
||||
+ ${MKDIR} ${USR_BIN_DIR}
|
||||
+ ${MKDIR} ${USR_DOC_DIR}
|
||||
+ ${MKDIR} ${USR_ETC_DIR}
|
||||
+ ${MKDIR} ${USR_LIB_DIR}
|
||||
+ ${MKDIR} ${USR_VAR_DIR}
|
||||
+
|
||||
install_modules:
|
||||
${MAKE} -C ${ALIB_DIR} install
|
||||
${MAKE} -C ${ARCHIVE_SERVER_DIR} install
|
|
@ -0,0 +1,10 @@
|
|||
--- livesupport-1.0/etc/Makefile.in 2005-08-25 13:09:41.000000000 +0200
|
||||
+++ livesupport-1.0-gentoo/etc/Makefile.in 2005-09-21 13:08:47.000000000 +0200
|
||||
@@ -314,6 +314,7 @@
|
||||
./configure --prefix=${prefix} \
|
||||
--with-apache-group=${APACHE_GROUP} \
|
||||
--with-hostname=${HOSTNAME} \
|
||||
+ --with-www-docroot=${WWW_DOCROOT} \
|
||||
--with-www-port=${WWW_PORT} \
|
||||
--with-scheduler-port=${SCHEDULER_PORT} \
|
||||
--with-database-server=${DB_SERVER} \
|
1240
etc/portage/media-radio/livesupport/files/taglib-curl-icu.patch
Normal file
1240
etc/portage/media-radio/livesupport/files/taglib-curl-icu.patch
Normal file
File diff suppressed because it is too large
Load diff
101
etc/portage/media-radio/livesupport/livesupport-1.0.ebuild
Normal file
101
etc/portage/media-radio/livesupport/livesupport-1.0.ebuild
Normal file
|
@ -0,0 +1,101 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
IUSE=""
|
||||
|
||||
DESCRIPTION="LiveSupport is a radio broadcast support tool."
|
||||
HOMEPAGE="http://livesupport.campware.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
|
||||
RESTRICT="maketest"
|
||||
|
||||
DEPEND=">=dev-db/unixODBC-2.2
|
||||
media-libs/fontconfig
|
||||
>=media-libs/libpng-1.2
|
||||
media-libs/jpeg
|
||||
dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
dev-libs/popt
|
||||
media-libs/alsa-lib
|
||||
media-libs/libid3tag
|
||||
media-libs/libmad
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
>=dev-libs/boost-0.31
|
||||
sys-apps/sed
|
||||
net-www/apache
|
||||
dev-lang/php
|
||||
>=dev-php/PEAR-PEAR-1.3.5
|
||||
>=dev-php/PEAR-Archive_Tar-1.3.1
|
||||
>=dev-php/PEAR-Calendar-0.5.2
|
||||
>=dev-php/PEAR-Console_Getopt-1.2
|
||||
>=dev-php/PEAR-DB-1.7.6
|
||||
>=dev-php/PEAR-File-1.2.0
|
||||
>=dev-php/PEAR-File_Find-0.3.1
|
||||
>=dev-php/PEAR-HTML_Common-1.2.1-r1
|
||||
>=dev-php/PEAR-HTML_QuickForm-3.2.4
|
||||
>=dev-php/PEAR-XML_Beautifier-1.1
|
||||
>=dev-php/PEAR-XML_Parser-1.2.6
|
||||
>=dev-php/PEAR-XML_RPC-1.4.0
|
||||
>=dev-php/PEAR-XML_Serializer-0.15
|
||||
>=dev-php/PEAR-XML_Util-1.1.1
|
||||
>=dev-db/postgresql-7.4
|
||||
>=x11-libs/gtk+-2.6.1
|
||||
>=dev-cpp/gtkmm-2.5.5
|
||||
>=net-misc/curl-7.13.2
|
||||
>=dev-cpp/libxmlpp-2.8.1
|
||||
=dev-db/libodbc++-0.2.3-r2
|
||||
=dev-libs/xmlrpc++-0.7
|
||||
=media-libs/taglib-1.3.1-r3
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
|
||||
# these patches are committed to the source as of 2005-09-23
|
||||
epatch ${FILESDIR}/taglib-curl-icu.patch
|
||||
epatch ${FILESDIR}/prefix-as-make-variable.patch
|
||||
epatch ${FILESDIR}/storageServer-docroot.patch
|
||||
epatch ${FILESDIR}/setup-install-dirs.patch
|
||||
epatch ${FILESDIR}/pg_hba.patch
|
||||
# this patch not committed
|
||||
epatch ${FILESDIR}/postinstall-config-file.patch
|
||||
|
||||
# toch the tools make stamp, so that tools don't get built
|
||||
touch tmp/tools_setup.stamp
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# append -g, otherwise we get 'defined in discared section' linkage errors
|
||||
append-flags -g
|
||||
|
||||
econf --with-create-database=no \
|
||||
--with-create-odbc-data-source=no \
|
||||
--with-init-database=no \
|
||||
--with-configure-apache=no \
|
||||
--with-apache-group=apache \
|
||||
--with-www-docroot=${D}/var/www/localhost/htdocs \
|
||||
|| die "configure failed"
|
||||
emake -j1 || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# to make sure the link from the docroot works
|
||||
mkdir -p ${D}/var/www/localhost/htdocs
|
||||
emake -j1 prefix=${D}/usr install || die "install failed"
|
||||
dodoc doc INSTALL README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
/usr/bin/postInstallStation.sh --directory /usr \
|
||||
--www-root /var/www/localhost/htdocs \
|
||||
--apache-group apache
|
||||
}
|
||||
|
57
etc/testResultToHtml.xsl
Normal file
57
etc/testResultToHtml.xsl
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
<head>
|
||||
<title>Campcaster unit test results</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Preface</h1>
|
||||
This document is part of the
|
||||
<a href="http://campcaster.campware.org/">Campcaster</a>
|
||||
project, Copyright © 2004 <a href="http://www.mdlf.org/">Media
|
||||
Development Loan Fund</a>, under the GNU
|
||||
<a href="http://www.gnu.org/licenses/gpl.html">GPL</a>.
|
||||
<br/>
|
||||
This is an automatically generated document.
|
||||
<h1>Scope</h1>
|
||||
This document contains the generated unit test results for the
|
||||
<a href="http://campcaster.campware.org/">Campcaster</a> project.
|
||||
<h1>Summary</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<td><b>Total number of tests:</b></td>
|
||||
<td><xsl:value-of select="count(//Test | //FailedTest)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Tests passed:</b></td>
|
||||
<td><xsl:value-of select="count(//SuccessfulTests/Test)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Tests failed:</b></td>
|
||||
<td><xsl:value-of select="count(//FailedTests/FailedTest)"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1>Tests</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<th>test name</th>
|
||||
<th>test status</th>
|
||||
</tr>
|
||||
<xsl:for-each select="//Test | //FailedTest">
|
||||
<xsl:sort select="Name"/>
|
||||
<tr>
|
||||
<td><xsl:value-of select="Name"/></td>
|
||||
<xsl:if test="ancestor::FailedTests"><td bgcolor="red">failed</td></xsl:if>
|
||||
<xsl:if test="ancestor::SuccessfulTests"><td bgcolor="lightblue">passed</td></xsl:if>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
24
etc/testResults.xml
Normal file
24
etc/testResults.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml-stylesheet type="text/xsl" href="testResultToHtml.xsl"?>
|
||||
<!DOCTYPE TestResults [
|
||||
|
||||
<!ENTITY authenticationResults SYSTEM "../src/modules/authentication/doc/testResults.xml" >
|
||||
<!ENTITY coreResults SYSTEM "../src/modules/core/doc/testResults.xml" >
|
||||
<!ENTITY dbResults SYSTEM "../src/modules/db/doc/testResults.xml" >
|
||||
<!ENTITY eventSchedulerResults SYSTEM "../src/modules/eventScheduler/doc/testResults.xml" >
|
||||
<!ENTITY gstreamerElementsResults SYSTEM "../src/modules/gstreamerElements/doc/testResults.xml" >
|
||||
<!ENTITY schedulerClientResults SYSTEM "../src/modules/schedulerClient/doc/testResults.xml" >
|
||||
<!ENTITY storageClientResults SYSTEM "../src/modules/storageClient/doc/testResults.xml" >
|
||||
|
||||
]>
|
||||
<TestResults>
|
||||
&authenticationResults;
|
||||
&coreResults;
|
||||
&dbResults;
|
||||
&eventSchedulerResults;
|
||||
&gstreamerElementsResults;
|
||||
<!-- disabled &playlistExecutorResults; -->
|
||||
&schedulerClientResults;
|
||||
&storageClientResults;
|
||||
<!-- disabled &schedulerResults; -->
|
||||
</TestResults>
|
1147
etc/xmlrpc-doxygen.config
Normal file
1147
etc/xmlrpc-doxygen.config
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue