Compare commits
17 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00b61d3086 | ||
|
|
71b34d8533 | ||
|
|
3d47af8a31 | ||
| 8090f57ecf | |||
|
|
6e4f29d950 | ||
|
|
7f31750ebc | ||
|
|
f79aae54b7 | ||
|
|
3db272aae9 | ||
|
|
489e0dd398 | ||
|
|
85ab81d788 | ||
|
|
8e2eeeb3b5 | ||
|
|
86435d16ec | ||
|
|
fef80425c3 | ||
|
|
2b0bd16857 | ||
|
|
1ea3b0b79a | ||
|
|
0c4308d612 | ||
| 35d73e5e4b |
9 changed files with 1 additions and 524 deletions
|
|
@ -1,2 +0,0 @@
|
||||||
ser-0.9.6_src.tar.gz
|
|
||||||
serweb-0.9.4.tar.gz
|
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: ser
|
|
||||||
# $Id$
|
|
||||||
NAME := ser
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Retire packages without systemd support, See FESCo ticket 1605
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
diff -up ser-0.9.6/modules/postgres/aug_sysdep.h.orig ser-0.9.6/modules/postgres/aug_sysdep.h
|
|
||||||
--- ser-0.9.6/modules/postgres/aug_sysdep.h.orig 2007-08-29 18:55:35.000000000 +0200
|
|
||||||
+++ ser-0.9.6/modules/postgres/aug_sysdep.h 2007-08-29 18:55:04.000000000 +0200
|
|
||||||
@@ -207,24 +207,12 @@ typedef unsigned int augUInt32;
|
|
||||||
#define AUG_NO_PTHREADS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#if defined(__i386)
|
|
||||||
-
|
|
||||||
-#if defined(__GNUC__)
|
|
||||||
-#define AUG_CONFIGURATION "Linux x86 with GCC"
|
|
||||||
-#endif
|
|
||||||
-
|
|
||||||
-typedef unsigned int augUInt32;
|
|
||||||
-
|
|
||||||
-#endif /* x86 */
|
|
||||||
-#if defined(__x86_64)
|
|
||||||
-
|
|
||||||
#if defined(__GNUC__)
|
|
||||||
-#define AUG_CONFIGURATION "Linux x86_64 with GCC"
|
|
||||||
+#define AUG_CONFIGURATION "Linux with GCC"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef unsigned int augUInt32;
|
|
||||||
|
|
||||||
-#endif /* x86-64 */
|
|
||||||
#endif /* linux */
|
|
||||||
|
|
||||||
/*
|
|
||||||
97
ser.init
97
ser.init
|
|
@ -1,97 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# ser This shell script takes care of starting and stopping
|
|
||||||
# the sip express router.
|
|
||||||
#
|
|
||||||
# chkconfig: - 80 30
|
|
||||||
# description: Ser is a fast SIP Proxy.
|
|
||||||
# processname: ser
|
|
||||||
# config: /etc/ser/ser.cfg
|
|
||||||
# pidfile: /var/run/ser.pid
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: lsb-ser
|
|
||||||
# Required-Start: $local_fs $network $remote_fs
|
|
||||||
# Required-Stop: $local_fs $network $remote_fs
|
|
||||||
# Default-Start: 2 3 4 5
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: start and stop the SIP express Router
|
|
||||||
# Description: Ser is a fast SIP Proxy.
|
|
||||||
### END INIT INFO
|
|
||||||
|
|
||||||
# Source function library.
|
|
||||||
. /etc/rc.d/init.d/functions
|
|
||||||
|
|
||||||
# Source ser configureation.
|
|
||||||
if [ -f /etc/sysconfig/ser ] ; then
|
|
||||||
. /etc/sysconfig/ser
|
|
||||||
else
|
|
||||||
HTTPUSER=apache
|
|
||||||
fi
|
|
||||||
|
|
||||||
ser=/usr/sbin/ser
|
|
||||||
prog=ser
|
|
||||||
RETVAL=0
|
|
||||||
|
|
||||||
start() {
|
|
||||||
echo -n $"Starting $prog: "
|
|
||||||
daemon $ser $OPTIONS
|
|
||||||
RETVAL=$?
|
|
||||||
echo
|
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/ser
|
|
||||||
return $RETVAL
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
echo -n $"Stopping $prog: "
|
|
||||||
killproc $ser
|
|
||||||
RETVAL=$?
|
|
||||||
echo
|
|
||||||
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/ser /var/run/ser.pid
|
|
||||||
}
|
|
||||||
|
|
||||||
reload() {
|
|
||||||
echo -n $"Reloading $prog: "
|
|
||||||
killproc $ser -HUP
|
|
||||||
RETVAL=$?
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
fixperm() {
|
|
||||||
# Correct permissions of the ser_fifo file, to allow the webinterface
|
|
||||||
# communicate with the ser daemon.
|
|
||||||
if [ -d /usr/share/serweb ]; then
|
|
||||||
chgrp $HTTPUSER /tmp/ser_fifo
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# See how we were called.
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
start
|
|
||||||
fixperm
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
stop
|
|
||||||
;;
|
|
||||||
status)
|
|
||||||
status $ser
|
|
||||||
RETVAL=$?
|
|
||||||
;;
|
|
||||||
restart)
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
fixperm
|
|
||||||
;;
|
|
||||||
condrestart)
|
|
||||||
if [ -f /var/run/ser.pid ] ; then
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
fixperm
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo $"Usage: $prog {start|stop|restart|condrestart|status|help}"
|
|
||||||
exit 1
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit $RETVAL
|
|
||||||
265
ser.spec
265
ser.spec
|
|
@ -1,265 +0,0 @@
|
||||||
%define special_modules mysql jabber cpl-c postgres pa
|
|
||||||
%define serweb_version 0.9.4
|
|
||||||
|
|
||||||
%if 0%{?fedora} >= 4
|
|
||||||
%define serweb true
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Summary: SIP Express Router
|
|
||||||
Name: ser
|
|
||||||
Version: 0.9.6
|
|
||||||
Release: 15%{?dist}
|
|
||||||
License: GPLv2+
|
|
||||||
Group: System Environment/Daemons
|
|
||||||
Source0: http://ftp.iptel.org/pub/ser/latest/src/ser-%{version}_src.tar.gz
|
|
||||||
Source1: ftp://ftp.berlios.de/pub/ser/latest/contrib/serweb-%{serweb_version}.tar.gz
|
|
||||||
Source2: serweb.conf
|
|
||||||
Source3: ser.init
|
|
||||||
Patch0: serweb-path.patch
|
|
||||||
Patch1: ser-0.9.6-sysdef.patch
|
|
||||||
URL: http://www.iptel.org/ser/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: expat-devel, libxml2-devel, mysql-devel, postgresql-devel, bison
|
|
||||||
BuildRequires: flex
|
|
||||||
Requires(post): chkconfig
|
|
||||||
Requires(preun): chkconfig
|
|
||||||
# for /sbin/service
|
|
||||||
Requires(preun): initscripts
|
|
||||||
|
|
||||||
%description
|
|
||||||
A high-performance, configurable SIP server. It can act as registrar, proxy
|
|
||||||
or redirect server. It features an application-server interface, presence
|
|
||||||
support, SMS gateway, SIMPLE2Jabber gateway, RADIUS/syslog accounting and
|
|
||||||
authorization, server status monitoring, FCP security, etc.
|
|
||||||
|
|
||||||
%package mysql
|
|
||||||
Summary: MySQL Storage Support for the SIP Express Router
|
|
||||||
Group: System Environment/Daemons
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description mysql
|
|
||||||
The %{name}-mysql package contains the MySQL plugin for %{name}, which allows
|
|
||||||
a MySQL-Database to be used for persistent storage.
|
|
||||||
|
|
||||||
%package postgresql
|
|
||||||
Summary: PostgreSQL Storage Support for the SIP Express Router
|
|
||||||
Group: System Environment/Daemons
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description postgresql
|
|
||||||
The %{name}-postgresql package contains the PostgreSQL plugin for %{name}, which allows
|
|
||||||
a PostgreSQL-Database to be used for persistent storage.
|
|
||||||
|
|
||||||
%package serweb
|
|
||||||
Summary: Web interface for ser user self-provisioning and administration
|
|
||||||
Group: System Environment/Daemons
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Requires: httpd, mysql >= 4.0, php >= 4.3, php-mysql
|
|
||||||
|
|
||||||
%description serweb
|
|
||||||
SERWEB is web toolbox for SIP Express Router (ser). It can be used for:
|
|
||||||
|
|
||||||
* registering new users
|
|
||||||
* managing user's accounts
|
|
||||||
* finding new friends
|
|
||||||
* viewing missed calls
|
|
||||||
* viewing realized calls
|
|
||||||
* sending instant messages
|
|
||||||
* subscribing notifications
|
|
||||||
* viewing stored instant and voicemail messages
|
|
||||||
* server monitoring
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q
|
|
||||||
%setup -q -a 1
|
|
||||||
%patch0 -p1 -b .path
|
|
||||||
%patch1 -p1 -b .sysdef
|
|
||||||
|
|
||||||
# Enable SQL support for the acc module
|
|
||||||
sed -i -e 's/#DEFS+=-DSQL_ACC/DEFS+=-DSQL_ACC/' modules/acc/Makefile
|
|
||||||
|
|
||||||
# Remove unnecessary .cvsignores
|
|
||||||
find -name '.cvsignore' -exec rm -f {} \;
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
%{__make} all skip_modules="%{special_modules}" cfg-target=%{_sysconfdir}/ser/ modules-dir=%{_lib}/ser/modules/
|
|
||||||
|
|
||||||
for MOD in %{special_modules}; do
|
|
||||||
%{__make} modules modules="modules/$MOD" cfg-target=%{_sysconfdir}/ser/ modules-dir=%{_lib}/ser/modules/
|
|
||||||
done
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%{__make} install skip_modules="%{special_modules}" basedir=%{buildroot} prefix=%{_prefix} cfg-prefix=%{buildroot} modules-dir=%{_lib}/ser/modules/
|
|
||||||
|
|
||||||
for MOD in %{special_modules}; do
|
|
||||||
%{__make} install-modules-all modules="modules/$MOD" basedir=%{buildroot} prefix=%{_prefix} cfg-prefix=%{buildroot} modules-dir=%{_lib}/ser/modules/
|
|
||||||
done
|
|
||||||
|
|
||||||
# postgres extras
|
|
||||||
sed -i -e 's@#!/usr/local/bin/perl@#!/usr/bin/perl@' modules/postgres/copy_to_psql
|
|
||||||
install -D -m 755 modules/postgres/serpgctl %{buildroot}%{_sbindir}/serpgctl
|
|
||||||
|
|
||||||
# Initscript
|
|
||||||
install -D -m 755 %{SOURCE3} %{buildroot}%{_initrddir}/ser
|
|
||||||
|
|
||||||
# Remove docs incorrectly installed by make install
|
|
||||||
rm -rf %{buildroot}%{_docdir}/ser
|
|
||||||
|
|
||||||
# Generate docs
|
|
||||||
for file in `find modules -iname README`; do
|
|
||||||
ext=$(echo $file|cut -d / -f 2)
|
|
||||||
cp $file README.$ext
|
|
||||||
done
|
|
||||||
|
|
||||||
# Copy docs
|
|
||||||
cp -r modules/permissions/config permissions.config
|
|
||||||
cp -r modules/mediaproxy/config mediaproxy.config
|
|
||||||
cp -r modules/nathelper/examples nathelper.config
|
|
||||||
cp -r modules/acc/etc acc.config
|
|
||||||
if [ ! -d Jabber ]; then
|
|
||||||
mkdir Jabber
|
|
||||||
fi
|
|
||||||
cp -f modules/jabber/doc/faq.txt Jabber/faq.txt
|
|
||||||
cp -f modules/jabber/doc/gateways.txt Jabber/gateways.txt
|
|
||||||
cp -f modules/jabber/doc/regjab.pl Jabber/regjab.pl
|
|
||||||
cp -f modules/jabber/doc/xxjab.* Jabber/
|
|
||||||
cp -f modules/jabber/doc/web/* Jabber/
|
|
||||||
find Jabber -type f -exec chmod -x {} \;
|
|
||||||
|
|
||||||
# Fix more permissions
|
|
||||||
chmod -x modules/postgres/copy_to_psql
|
|
||||||
|
|
||||||
### Build filelist
|
|
||||||
# Add modules
|
|
||||||
find %{buildroot}%{_libdir}/ser/modules/ -name *.so | \
|
|
||||||
grep -v -E '(mysql|postgres)' | \
|
|
||||||
sed -e "s#^%{buildroot}##" > filelist
|
|
||||||
|
|
||||||
# Add documentation
|
|
||||||
ls README.* | grep -v -E '(mysql|postgres)' | sed -e 's/\(.*\)/%doc \1/' >> filelist
|
|
||||||
|
|
||||||
# serweb configuration
|
|
||||||
%if "%{serweb}" == "true"
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/serweb
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/ser/serweb
|
|
||||||
find serweb-%{serweb_version} -name '.cvsignore' -exec rm -f {} \;
|
|
||||||
for file in application_layer data_layer html lang phplib scripts smarty templates; do
|
|
||||||
cp -rP serweb-%{serweb_version}/$file %{buildroot}%{_datadir}/serweb/
|
|
||||||
done
|
|
||||||
cp -rP serweb-%{serweb_version}/config/* %{buildroot}%{_sysconfdir}/ser/serweb/
|
|
||||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/httpd/conf.d/serweb.conf
|
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
|
||||||
/sbin/chkconfig --add ser
|
|
||||||
|
|
||||||
%preun
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
/sbin/service ser stop >/dev/null 2>&1
|
|
||||||
/sbin/chkconfig --del ser
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
|
||||||
if [ "$1" -ge "1" ]; then
|
|
||||||
/sbin/service ser condrestart >/dev/null 2>&1
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files -f filelist
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README README-MODULES INSTALL NEWS AUTHORS COPYING CREDITS Jabber permissions.config mediaproxy.config
|
|
||||||
%doc nathelper.config acc.config examples
|
|
||||||
%{_sbindir}/gen_ha1
|
|
||||||
%{_sbindir}/ser
|
|
||||||
%{_sbindir}/serunix
|
|
||||||
%{_sbindir}/serctl
|
|
||||||
%dir %{_libdir}/ser/
|
|
||||||
%dir %{_libdir}/ser/modules/
|
|
||||||
%dir %{_sysconfdir}/ser
|
|
||||||
%config(noreplace) %{_sysconfdir}/ser/dictionary.ser
|
|
||||||
%config(noreplace) %{_sysconfdir}/ser/ser.cfg
|
|
||||||
%{_initrddir}/ser
|
|
||||||
%{_mandir}/man5/ser.cfg.5*
|
|
||||||
%{_mandir}/man8/ser.8*
|
|
||||||
|
|
||||||
%files mysql
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc modules/mysql/doc/mysql_parser.dia
|
|
||||||
%{_libdir}/ser/modules/mysql.so
|
|
||||||
%{_sbindir}/ser_mysql.sh
|
|
||||||
|
|
||||||
%files postgresql
|
|
||||||
%doc README.postgres modules/postgres/copy_to_psql
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/ser/modules/postgres.so
|
|
||||||
%{_sbindir}/serpgctl
|
|
||||||
|
|
||||||
# Only package, if dependencies can be met
|
|
||||||
%if "%{serweb}" == "true"
|
|
||||||
|
|
||||||
%files serweb
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc serweb-%{serweb_version}/README serweb-%{serweb_version}/INSTALL serweb-%{serweb_version}/COPYING serweb-%{serweb_version}/CHANGELOG
|
|
||||||
%dir %{_datadir}/serweb
|
|
||||||
%{_datadir}/serweb/*
|
|
||||||
%dir %{_sysconfdir}/ser/serweb
|
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/serweb.conf
|
|
||||||
%config(noreplace) %{_sysconfdir}/ser/serweb/*.php
|
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.9.6-15
|
|
||||||
- fix conditional comparison
|
|
||||||
- fix license tag
|
|
||||||
- fix unnecessary file deps
|
|
||||||
|
|
||||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.6-14
|
|
||||||
- Autorebuild for GCC 4.3
|
|
||||||
|
|
||||||
* Wed Aug 29 2007 Andreas Thienemann <andreas@bawue.net> 0.9.6-13
|
|
||||||
- Fix build issues on non x86 systems for good
|
|
||||||
|
|
||||||
* Wed Aug 29 2007 Andreas Thienemann <andreas@bawue.net> 0.9.6-12
|
|
||||||
- Upgraded ppc patch to work on PPC64
|
|
||||||
|
|
||||||
* Tue Aug 28 2007 Andreas Thienemann <andreas@bawue.net> 0.9.6-11
|
|
||||||
- Fixing #199245, #247054, #253987
|
|
||||||
- Rebuilt for expat 2.0
|
|
||||||
|
|
||||||
* Sun Dec 24 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.9.6-10
|
|
||||||
- Rebuild with updated Postgres.
|
|
||||||
|
|
||||||
* Sun Sep 10 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-9
|
|
||||||
- *bump*
|
|
||||||
|
|
||||||
* Sat Aug 26 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-8
|
|
||||||
- Added flex dependency
|
|
||||||
|
|
||||||
* Sun Jul 23 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-7
|
|
||||||
- Added bison dependency
|
|
||||||
|
|
||||||
* Thu Apr 01 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-6
|
|
||||||
- *bump*
|
|
||||||
|
|
||||||
* Thu Apr 01 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-5
|
|
||||||
- Do not package serweb for FC-3, as we do not have MySQL 4
|
|
||||||
|
|
||||||
* Thu Mar 30 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-4
|
|
||||||
- Fix buildissue with %%{_libdir}
|
|
||||||
|
|
||||||
* Thu Mar 30 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-3
|
|
||||||
- PPC patch to build the postgresql module on ppc
|
|
||||||
|
|
||||||
* Tue Mar 28 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-2
|
|
||||||
- Changes to the spec-file, to conform to FE policies.
|
|
||||||
|
|
||||||
* Fri Feb 18 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-1
|
|
||||||
- Initial spec.
|
|
||||||
|
|
@ -1,102 +0,0 @@
|
||||||
--- ser-0.9.6/serweb-0.9.4/html/js/sip_address_completion.js.php.orig 2006-02-03 15:23:47.812053976 +0100
|
|
||||||
+++ ser-0.9.6/serweb-0.9.4/html/js/sip_address_completion.js.php 2006-02-03 15:24:27.470025048 +0100
|
|
||||||
@@ -9,9 +9,9 @@
|
|
||||||
$_SERWEB["serwebdir"] = "../";
|
|
||||||
|
|
||||||
require ($_SERWEB["serwebdir"] . "class_definitions.php");
|
|
||||||
-require ($_SERWEB["serwebdir"] . "../config/config_paths.php");
|
|
||||||
-require ($_SERWEB["serwebdir"] . "../config/set_domain.php");
|
|
||||||
-require ($_SERWEB["serwebdir"] . "../config/config.php");
|
|
||||||
+require ("/etc/ser/serweb//config_paths.php");
|
|
||||||
+require ("/etc/ser/serweb/set_domain.php");
|
|
||||||
+require ("/etc/ser/serweb/config.php");
|
|
||||||
require ($_SERWEB["serwebdir"] . "functions.php");
|
|
||||||
|
|
||||||
$reg = new Creg; // create regular expressions class
|
|
||||||
--- ser-0.9.6/serweb-0.9.4/html/js/click_to_dial.js.php.orig 2006-02-03 15:23:12.900361360 +0100
|
|
||||||
+++ ser-0.9.6/serweb-0.9.4/html/js/click_to_dial.js.php 2006-02-03 15:23:30.370705464 +0100
|
|
||||||
@@ -8,7 +8,7 @@
|
|
||||||
$_SERWEB = array();
|
|
||||||
$_SERWEB["serwebdir"] = "../";
|
|
||||||
|
|
||||||
-require ($_SERWEB["serwebdir"] . "../config/config_paths.php");
|
|
||||||
+require ("/etc/ser/serweb/config_paths.php");
|
|
||||||
|
|
||||||
//if config.developer is present, replace default config by developer config
|
|
||||||
if (file_exists($_SERWEB["serwebdir"] . "../config/config.developer.php")){
|
|
||||||
--- ser-0.9.6/serweb-0.9.4/html/js/login_completion.js.php.orig 2006-02-03 15:21:51.790691904 +0100
|
|
||||||
+++ ser-0.9.6/serweb-0.9.4/html/js/login_completion.js.php 2006-02-03 15:22:42.819934280 +0100
|
|
||||||
@@ -9,9 +9,9 @@
|
|
||||||
$_SERWEB["serwebdir"] = "../";
|
|
||||||
|
|
||||||
require ($_SERWEB["serwebdir"] . "class_definitions.php");
|
|
||||||
-require ($_SERWEB["serwebdir"] . "../config/config_paths.php");
|
|
||||||
-require ($_SERWEB["serwebdir"] . "../config/set_domain.php");
|
|
||||||
-require ($_SERWEB["serwebdir"] . "../config/config.php");
|
|
||||||
+require ("/etc/ser/serweb/config_paths.php");
|
|
||||||
+require ("/etc/ser/serweb/set_domain.php");
|
|
||||||
+require ("/etc/ser/serweb/config.php");
|
|
||||||
require ($_SERWEB["serwebdir"] . "functions.php");
|
|
||||||
|
|
||||||
$reg = new Creg; // create regular expressions class
|
|
||||||
--- ser-0.9.6/serweb-0.9.4/html/index.php.orig 2005-07-20 16:43:01.000000000 +0200
|
|
||||||
+++ ser-0.9.6/serweb-0.9.4/html/index.php 2006-02-03 15:20:23.429124904 +0100
|
|
||||||
@@ -9,7 +9,7 @@
|
|
||||||
$_SERWEB = array();
|
|
||||||
$_SERWEB["serwebdir"] = "./";
|
|
||||||
|
|
||||||
-require "../config/config_paths.php";
|
|
||||||
+require "/etc/ser/serweb/config_paths.php";
|
|
||||||
Header("Location: ".$config->user_pages_path."index.php");
|
|
||||||
|
|
||||||
?>
|
|
||||||
--- ser-0.9.6/serweb-0.9.4/html/load_lang.php.orig 2006-02-03 15:21:01.363358024 +0100
|
|
||||||
+++ ser-0.9.6/serweb-0.9.4/html/load_lang.php 2006-02-03 15:21:17.652881640 +0100
|
|
||||||
@@ -7,7 +7,7 @@
|
|
||||||
* @package serweb
|
|
||||||
*/
|
|
||||||
|
|
||||||
-require_once($_SERWEB["serwebdir"]."../config/config_lang.php");
|
|
||||||
+require_once("/etc/ser/serweb/config_lang.php");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Change names of tabs according to $lang_str
|
|
||||||
--- ser-0.9.6/serweb-0.9.4/html/main_prepend.php.orig 2005-07-18 13:22:55.000000000 +0200
|
|
||||||
+++ ser-0.9.6/serweb-0.9.4/html/main_prepend.php 2006-02-03 15:20:23.429124904 +0100
|
|
||||||
@@ -4,29 +4,29 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
//require class defintions
|
|
||||||
-require_once ($_SERWEB["serwebdir"] . "class_definitions.php");
|
|
||||||
+require_once ("class_definitions.php");
|
|
||||||
|
|
||||||
//require paths configuration
|
|
||||||
-require_once ($_SERWEB["serwebdir"] . "../config/config_paths.php");
|
|
||||||
+require_once ("/etc/ser/serweb/config_paths.php");
|
|
||||||
|
|
||||||
//set $config->domain
|
|
||||||
-require_once ($_SERWEB["serwebdir"] . "../config/set_domain.php");
|
|
||||||
+require_once ("/etc/ser/serweb/set_domain.php");
|
|
||||||
|
|
||||||
//require domain depending config
|
|
||||||
require_once ($_SERWEB["serwebdir"] . "config_domain.php");
|
|
||||||
$domain_config=new CDomain_config();
|
|
||||||
|
|
||||||
//require sql access configuration and table names
|
|
||||||
-require_once ($_SERWEB["serwebdir"] . "../config/config_data_layer.php");
|
|
||||||
+require_once ("/etc/ser/serweb/config_data_layer.php");
|
|
||||||
|
|
||||||
//require default values for domain depending options
|
|
||||||
-require_once ($_SERWEB["serwebdir"] . "../config/config_domain_defaults.php");
|
|
||||||
+require_once ("/etc/ser/serweb/config_domain_defaults.php");
|
|
||||||
|
|
||||||
//require other configuration
|
|
||||||
-require_once ($_SERWEB["serwebdir"] . "../config/config.php");
|
|
||||||
+require_once ("/etc/ser/serweb/config.php");
|
|
||||||
|
|
||||||
//if config.developer is present, replace default config by developer config
|
|
||||||
-if (file_exists($_SERWEB["serwebdir"] . "../config/config.developer.php")){
|
|
||||||
+if (file_exists($_SERWEB["serwebdir"] . "../config.developer.php")){
|
|
||||||
require_once ($_SERWEB["serwebdir"] . "../config/config.developer.php");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
#
|
|
||||||
# serweb is a SIP Express Router webfrontend
|
|
||||||
#
|
|
||||||
|
|
||||||
Alias /serweb /usr/share/serweb/html
|
|
||||||
|
|
||||||
2
sources
2
sources
|
|
@ -1,2 +0,0 @@
|
||||||
31031225d483c0d5ac43e8eb5d0428e0 ser-0.9.6_src.tar.gz
|
|
||||||
fa0647598c9370c91650386befd63fba serweb-0.9.4.tar.gz
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue