Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2007 15:37:31 -0700 (MST)
From:      Mike Durian <durian@shadetreesoftware.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/107931: New sipX ports
Message-ID:  <200701142237.l0EMbVIa032268@man.boogie.com>
Resent-Message-ID: <200701142240.l0EMeLKC075390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         107931
>Category:       ports
>Synopsis:       New sipX ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 14 22:40:21 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Mike Durian
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Shade Tree Software
>Environment:
System: FreeBSD man.boogie.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Fri Oct 13 10:41:27 MDT 2006 root@man.boogie.com:/usr/obj/usr/src/sys/BOOGIE i386


	
>Description:
	Here are new ports that implement sipX
		http://sipx-wiki.calivia.com/index.php/Main_Page
	There's a lot here, so please go over it before checking it in.

	These new ports do require a change to the libwww port and I've
	included a patch for it.

	sipX also requires apache be built with the SSL module, but I'm
	not sure how to specify that aspect of the dependancy.  It would
	also be nicer if the httpd.conf mods could be done as a virtual
	host, but I'm not sure how to do that.

	There is a bug in www/mod_cplusplus that causes httpd to core
	dump when it exits.  I've reported the bug to the author, but
	at the moment there is no fix.  The core dump does not affect
	normal operation as it only occurs when httpd exits.  See
	https://sourceforge.net/forum/forum.php?thread_id=1642640&forum_id=130499
>How-To-Repeat:
	N/A
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./libwww-ssl.patch
#	./sipxportlib
#	./sipxportlib/Makefile
#	./sipxportlib/pkg-descr
#	./sipxportlib/distinfo
#	./sipxportlib/files
#	./sipxportlib/files/patch-bin_sipx-config
#	./sipxportlib/files/patch-include_os_OsUtil.h
#	./sipxportlib/files/patch-src_test_testplugin_Makefile.am
#	./sipxportlib/files/patch-src_test_testplugin_Makefile.in
#	./sipxportlib/files/patch-src_os_linux_OsDateTimeLinux.cpp
#	./sipxportlib/files/patch-src_os_linux_AdapterInfo.cpp
#	./sipxportlib/files/patch-src_os_OsUtil.cpp
#	./sipxportlib/files/patch-src_os_linux_OsProcessIteratorLinux.cpp
#	./sipxportlib/files/patch-src_os_OsSocket.cpp
#	./sipxportlib/files/patch-src_os_OsServerSocket.cpp
#	./sipxportlib/files/patch-src_Makefile.in
#	./sipxportlib/files/patch-src_Makefile.am
#	./sipxportlib/files/patch-configure
#	./sipxportlib/pkg-plist
#	./sipxtacklib
#	./sipxtacklib/Makefile
#	./sipxtacklib/pkg-descr
#	./sipxtacklib/files
#	./sipxtacklib/files/patch-src_net_SipUserAgent.cpp
#	./sipxtacklib/files/patch-src_Makefile.in
#	./sipxtacklib/files/patch-src_Makefile.am
#	./sipxtacklib/distinfo
#	./sipxtacklib/pkg-plist
#	./sipxcommserverlib
#	./sipxcommserverlib/Makefile
#	./sipxcommserverlib/pkg-descr
#	./sipxcommserverlib/distinfo
#	./sipxcommserverlib/files
#	./sipxcommserverlib/files/pkg-deinstall.in
#	./sipxcommserverlib/files/patch-bin_ssl-cert_check-cert.sh.in
#	./sipxcommserverlib/files/patch-bin_ssl-cert_gen-ssl-keys.sh.in
#	./sipxcommserverlib/files/patch-bin_ssl-cert_install-cert.sh.in
#	./sipxcommserverlib/files/patch-bin_get_def_addr
#	./sipxcommserverlib/files/patch-bin_pgpatch.sh
#	./sipxcommserverlib/files/patch-include_fastdb_sync.h
#	./sipxcommserverlib/files/patch-include_fastdb_cliproto.h
#	./sipxcommserverlib/files/patch-src_sipx-utils.sh
#	./sipxcommserverlib/files/patch-src_test_Makefile.am
#	./sipxcommserverlib/files/patch-src_test_Makefile.in
#	./sipxcommserverlib/files/patch-src_test_OdbcWrapperTest.cpp
#	./sipxcommserverlib/files/patch-etc_config.defs.in
#	./sipxcommserverlib/pkg-plist
#	./sipxmedialib
#	./sipxmedialib/Makefile
#	./sipxmedialib/pkg-descr
#	./sipxmedialib/distinfo
#	./sipxmedialib/files
#	./sipxmedialib/files/patch-src_mp_MprFromMic.cpp
#	./sipxmedialib/files/patch-src_mp_MprToSpkr.cpp
#	./sipxmedialib/pkg-plist
#	./sipxmediaadapterlib
#	./sipxmediaadapterlib/Makefile
#	./sipxmediaadapterlib/pkg-descr
#	./sipxmediaadapterlib/distinfo
#	./sipxmediaadapterlib/files
#	./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.am
#	./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.in
#	./sipxmediaadapterlib/pkg-plist
#	./sipxcalllib
#	./sipxcalllib/Makefile
#	./sipxcalllib/pkg-descr
#	./sipxcalllib/distinfo
#	./sipxcalllib/pkg-plist
#	./sipxpublisher
#	./sipxpublisher/Makefile
#	./sipxpublisher/pkg-descr
#	./sipxpublisher/distinfo
#	./sipxpublisher/files
#	./sipxpublisher/files/pkg-deinstall.in
#	./sipxpublisher/depends
#	./sipxpublisher/pkg-plist
#	./sipxregistry
#	./sipxregistry/Makefile
#	./sipxregistry/pkg-plist
#	./sipxregistry/pkg-descr
#	./sipxregistry/distinfo
#	./sipxregistry/files
#	./sipxregistry/files/pkg-deinstall.in
#	./sipxproxy
#	./sipxproxy/Makefile
#	./sipxproxy/pkg-descr
#	./sipxproxy/files
#	./sipxproxy/files/patch-bin_sipxcallresolver.sh.in
#	./sipxproxy/files/patch-bin_sipproxy.sh.in
#	./sipxproxy/files/pkg-deinstall.in
#	./sipxproxy/distinfo
#	./sipxproxy/pkg-plist
#	./sipxvxml
#	./sipxvxml/Makefile
#	./sipxvxml/pkg-descr
#	./sipxvxml/distinfo
#	./sipxvxml/files
#	./sipxvxml/files/patch-include_wwwconf.h
#	./sipxvxml/files/patch-src_trd_OSBtrdPthreads.cpp
#	./sipxvxml/files/patch-src_inet_SBinetHttpStream.cpp
#	./sipxvxml/files/patch-src_client_Makefile.am
#	./sipxvxml/files/patch-src_client_Makefile.in
#	./sipxvxml/files/patch-src_log_SBlogOSUtils.cpp
#	./sipxvxml/files/patch-src_VXI_XMLChConverter.hpp
#	./sipxvxml/files/pkg-deinstall.in
#	./sipxvxml/pkg-plist
#	./sipxconfig
#	./sipxconfig/Makefile
#	./sipxconfig/pkg-descr
#	./sipxconfig/distinfo
#	./sipxconfig/files
#	./sipxconfig/files/pkg-deinstall.in
#	./sipxconfig/files/patch-neoconf_src_org_sipfoundry_sipxconfig_system.beans.xml
#	./sipxconfig/files/patch-neoconf_etc_database_database.xml
#	./sipxconfig/files/patch-neoconf_build.xml
#	./sipxconfig/files/patch-meta_hibernate.properties
#	./sipxconfig/files/patch-web_bin_sipxconfig.sh.in
#	./sipxconfig/files/patch-web_bin_sipxconfig-testsuite
#	./sipxconfig/files/patch-web_bin_create-ssl-keystore.sh.in
#	./sipxconfig/files/patch-build.properties.in
#	./sipxconfig/files/patch-configure
#	./sipxconfig/files/patch-web_bin_create-ssl-truststore.sh.in
#	./sipxconfig/pkg-plist
#	./sipxpbx
#	./sipxpbx/Makefile
#	./sipxpbx/pkg-descr
#	./sipxpbx/distinfo
#	./sipxpbx/files
#	./sipxpbx/files/pkg-deinstall.in
#	./sipxpbx/files/sipxpbx.in
#	./sipxpbx/files/patch-bin_Makefile.am
#	./sipxpbx/files/patch-bin_Makefile.in
#	./sipxpbx/files/patch-bin_autodel
#	./sipxpbx/files/patch-bin_backup-configs.sh.in
#	./sipxpbx/files/patch-bin_restore-configs.sh.in
#	./sipxpbx/files/patch-sipXpark_doc_Makefile.in
#	./sipxpbx/files/patch-sipXpark_doc_Makefile.am
#	./sipxpbx/files/pkg-message.in
#	./sipxpbx/files/patch-sipXdialog_doc_Makefile.am
#	./sipxpbx/files/patch-sipXdialog_doc_Makefile.in
#	./sipxpbx/files/patch-doc_developer_gen-config.sh
#	./sipxpbx/files/patch-etc_httpd.conf.in
#	./sipxpbx/files/patch-src_watchdog_EmailReporter.cpp
#	./sipxpbx/files/patch-etc_httpd-sipxchange-common.conf.in.in
#	./sipxpbx/files/patch-etc_httpd-sipxchange-common-ssl.conf.in.in
#	./sipxpbx/files/patch-etc_httpd-sipxchange-mediaserver.conf.in.in
#	./sipxpbx/files/pkg-install.in
#	./sipxpbx/files/patch-sipXpresence_doc_Makefile.in
#	./sipxpbx/files/patch-sipXpresence_doc_Makefile.am
#	./sipxpbx/pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./libwww-ssl.patch
sed 's/^X//' >./libwww-ssl.patch << 'END-of-./libwww-ssl.patch'
X--- Makefile.orig	Fri Dec 29 14:44:08 2006
X+++ Makefile	Thu Dec 28 21:02:12 2006
X@@ -18,7 +18,7 @@
X 
X GNU_CONFIGURE=	yes
X USE_GMAKE=	yes
X-CONFIGURE_ARGS=	--enable-shared --enable-static --with-zlib
X+CONFIGURE_ARGS=	--enable-shared --enable-static --with-zlib --with-ssl
X USE_PERL5_BUILD=yes
X MAKE_ENV=	objformat=${PORTOBJFORMAT}
X USE_LDCONFIG=	yes
X--- pkg-plist.orig	Fri Dec 29 14:44:34 2006
X+++ pkg-plist	Fri Dec 29 14:50:00 2006
X@@ -222,6 +222,10 @@
X lib/libwwwnews.la
X lib/libwwwnews.so
X lib/libwwwnews.so.1
X+lib/libwwwssl.a
X+lib/libwwwssl.la
X+lib/libwwwssl.so
X+lib/libwwwssl.so.1
X lib/libwwwstream.a
X lib/libwwwstream.la
X lib/libwwwstream.so
END-of-./libwww-ssl.patch
echo c - ./sipxportlib
mkdir -p ./sipxportlib > /dev/null 2>&1
echo x - ./sipxportlib/Makefile
sed 's/^X//' >./sipxportlib/Makefile << 'END-of-./sipxportlib/Makefile'
X# Ports collection makefile for: sipxportlib
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxportlib
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX library of general purpose utils and OS abstration APIs.
X
XLIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
XBUILD_DEPENDS=	cppunit-config:${PORTSDIR}/devel/cppunit \
X		ginstall:${PORTSDIR}/sysutils/coreutils
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XUSE_PERL5_RUN=  yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipx-upgrade-testsuite.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipx-upgrade.in
X
X.include <bsd.port.mk>
END-of-./sipxportlib/Makefile
echo x - ./sipxportlib/pkg-descr
sed 's/^X//' >./sipxportlib/pkg-descr << 'END-of-./sipxportlib/pkg-descr'
XsipXportLib is a library of general purpose utilities and OS
Xabstraction APIs.  It is a necessary dependancy of the sipX project.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxportlib/pkg-descr
echo x - ./sipxportlib/distinfo
sed 's/^X//' >./sipxportlib/distinfo << 'END-of-./sipxportlib/distinfo'
XMD5 (sipxportlib-3.6.0.tar.bz2) = 57f3dd270f6850f306a7a69bf5d4321f
XSHA256 (sipxportlib-3.6.0.tar.bz2) = 4789322353ead4e62fd57b6fe6f77b2114547a07ebd3a41d18b5584bca8aa5b2
XSIZE (sipxportlib-3.6.0.tar.bz2) = 793881
END-of-./sipxportlib/distinfo
echo c - ./sipxportlib/files
mkdir -p ./sipxportlib/files > /dev/null 2>&1
echo x - ./sipxportlib/files/patch-bin_sipx-config
sed 's/^X//' >./sipxportlib/files/patch-bin_sipx-config << 'END-of-./sipxportlib/files/patch-bin_sipx-config'
X--- ./bin/sipx-config.orig	Mon Jan  1 15:54:41 2007
X+++ ./bin/sipx-config	Mon Jan  1 16:05:31 2007
X@@ -68,14 +68,14 @@
X findJava()
X {
X     # Gentoo
X-    JavaConfig=`java-config --jdk 2>/dev/null`
X-    if [ -n "${JavaConfig}" ]
X-    then
X- 
X-        testJava $JavaConfig
X+#    JavaConfig=`java-config --jdk 2>/dev/null`
X+#    if [ -n "${JavaConfig}" ]
X+#    then
X+# 
X+#        testJava $JavaConfig
X 
X     # If explict setting of location of java does not work, die
X-    elif [ -n "${JAVA_HOME}" ]
X+    if [ -n "${JAVA_HOME}" ]
X     then
X 
X         testJava ${JAVA_HOME}
X@@ -87,7 +87,7 @@
X         # sipXportLib/config/general.m4. Plans to import general.m4
X         # file were scrapped because of carrying all of autoconf
X         TRY_JAVA_HOME=`ls -dr /usr/lib/jvm/java-1.* /usr/java/* 2> /dev/null | head -n 1`
X-        for dir in /usr/lib/jvm/jre-ibm $TRY_JAVA_HOME /usr /usr/local/jdk /usr/local/java
X+        for dir in /usr/lib/jvm/jre-ibm $TRY_JAVA_HOME /usr /usr/local/jdk /usr/local/java /usr/local/jdk1.5* /usr/local/diablo-jdk1.5.0
X         do
X             if testJava ${dir}
X             then
END-of-./sipxportlib/files/patch-bin_sipx-config
echo x - ./sipxportlib/files/patch-include_os_OsUtil.h
sed 's/^X//' >./sipxportlib/files/patch-include_os_OsUtil.h << 'END-of-./sipxportlib/files/patch-include_os_OsUtil.h'
X--- ./include/os/OsUtil.h.orig	Wed Aug 17 13:30:25 2005
X+++ ./include/os/OsUtil.h	Thu Dec 28 16:14:44 2006
X@@ -47,7 +47,8 @@
X       PLATFORM_MACOSX=97,
X       PLATFORM_SOLARIS=98,
X       PLATFORM_LINUX=99,
X-      PLATFORM_WIN32=100
X+      PLATFORM_WIN32=100,
X+      PLATFORM_FREEBSD=101
X    };
X 
X    enum OsProductType
END-of-./sipxportlib/files/patch-include_os_OsUtil.h
echo x - ./sipxportlib/files/patch-src_test_testplugin_Makefile.am
sed 's/^X//' >./sipxportlib/files/patch-src_test_testplugin_Makefile.am << 'END-of-./sipxportlib/files/patch-src_test_testplugin_Makefile.am'
X--- ./src/test/testplugin/Makefile.am.orig	Thu Dec 28 16:20:59 2006
X+++ ./src/test/testplugin/Makefile.am	Thu Dec 28 16:21:18 2006
X@@ -32,7 +32,6 @@
X 
X libtestpluginA_la_LIBADD = \
X 	@RT_LIBS@  \
X-	-ldl \
X 	-lpthread  
X 
X if ISGCC
END-of-./sipxportlib/files/patch-src_test_testplugin_Makefile.am
echo x - ./sipxportlib/files/patch-src_test_testplugin_Makefile.in
sed 's/^X//' >./sipxportlib/files/patch-src_test_testplugin_Makefile.in << 'END-of-./sipxportlib/files/patch-src_test_testplugin_Makefile.in'
X--- ./src/test/testplugin/Makefile.in.orig	Thu Dec 28 16:21:05 2006
X+++ ./src/test/testplugin/Makefile.in	Thu Dec 28 16:22:57 2006
X@@ -319,7 +319,7 @@
X # Age - set to 0 of any interfaces have been removed
X #       increment if any interfaces have been added
X version_Age = 0
X-libtestpluginA_la_LIBADD = @RT_LIBS@ -ldl -lpthread $(am__append_1)
X+libtestpluginA_la_LIBADD = @RT_LIBS@ -lpthread $(am__append_1)
X libtestpluginB_la_LIBADD = $(libtestpluginA_la_LIBADD)
X libtestpluginA_la_CXXFLAGS = \
X 	-DLIBRARY_NAME=\"TestPluginA\" \
END-of-./sipxportlib/files/patch-src_test_testplugin_Makefile.in
echo x - ./sipxportlib/files/patch-src_os_linux_OsDateTimeLinux.cpp
sed 's/^X//' >./sipxportlib/files/patch-src_os_linux_OsDateTimeLinux.cpp << 'END-of-./sipxportlib/files/patch-src_os_linux_OsDateTimeLinux.cpp'
X--- ./src/os/linux/OsDateTimeLinux.cpp.orig	Tue Aug  1 03:09:34 2006
X+++ ./src/os/linux/OsDateTimeLinux.cpp	Thu Dec 28 16:14:44 2006
X@@ -169,7 +169,7 @@
X    gettimeofday( &theTime, NULL );
X 
X    struct tm curDateTime;
X-   gmtime_r(&theTime.tv_sec, &curDateTime);
X+   gmtime_r((time_t *)&theTime.tv_sec, &curDateTime);
X 
X    rDateTime.mYear        = 1900 + curDateTime.tm_year;
X    rDateTime.mMonth       = (unsigned char) curDateTime.tm_mon;
END-of-./sipxportlib/files/patch-src_os_linux_OsDateTimeLinux.cpp
echo x - ./sipxportlib/files/patch-src_os_linux_AdapterInfo.cpp
sed 's/^X//' >./sipxportlib/files/patch-src_os_linux_AdapterInfo.cpp << 'END-of-./sipxportlib/files/patch-src_os_linux_AdapterInfo.cpp'
X--- ./src/os/linux/AdapterInfo.cpp.orig	Tue Jan  2 17:19:45 2007
X+++ ./src/os/linux/AdapterInfo.cpp	Tue Jan  2 17:20:04 2007
X@@ -68,7 +68,7 @@
X       else
X       {
X          rc = TRUE;
X-#ifndef __MACH__
X+#if !defined(__MACH__) && !defined(__FreeBSD__)
X          // Get the number of returned addresses from ifc_len.
X          numAddresses = ifconf_structure.ifc_len / sizeof (struct ifreq);
X          int j = 0;
END-of-./sipxportlib/files/patch-src_os_linux_AdapterInfo.cpp
echo x - ./sipxportlib/files/patch-src_os_OsUtil.cpp
sed 's/^X//' >./sipxportlib/files/patch-src_os_OsUtil.cpp << 'END-of-./sipxportlib/files/patch-src_os_OsUtil.cpp'
X--- ./src/os/OsUtil.cpp.orig	Tue Jul 25 17:05:55 2006
X+++ ./src/os/OsUtil.cpp	Thu Dec 28 16:14:44 2006
X@@ -426,6 +426,8 @@
X    platform = PLATFORM_LINUX;
X #elif defined(sun) /* ] [ */
X    platform = PLATFORM_SOLARIS;
X+#elif defined(__FreeBSD__)
X+   platform = PLATFORM_FREEBSD;
X #else /* ] [ */
X #error Unexpected Platform/CPU type
X #endif /* ] ]*/
END-of-./sipxportlib/files/patch-src_os_OsUtil.cpp
echo x - ./sipxportlib/files/patch-src_os_linux_OsProcessIteratorLinux.cpp
sed 's/^X//' >./sipxportlib/files/patch-src_os_linux_OsProcessIteratorLinux.cpp << 'END-of-./sipxportlib/files/patch-src_os_linux_OsProcessIteratorLinux.cpp'
X--- ./src/os/linux/OsProcessIteratorLinux.cpp.orig	Wed Jan  3 17:16:44 2007
X+++ ./src/os/linux/OsProcessIteratorLinux.cpp	Wed Jan  3 20:45:43 2007
X@@ -9,6 +9,16 @@
X #include <assert.h>
X #include <stdlib.h>
X 
X+#if defined(__FreeBSD__)
X+#include <fcntl.h>
X+#include <kvm.h>
X+#include <sys/param.h>
X+#include <sys/sysctl.h>
X+#include <sys/user.h>
X+#include <limits.h>
X+#include <paths.h>
X+#endif
X+
X // APPLICATION INCLUDES
X #include "os/OsFS.h"
X #include "os/linux/OsProcessIteratorLinux.h"
X@@ -100,6 +110,7 @@
X 
X /* //////////////////////////// PRIVATE /////////////////////////////////// */
X 
X+#if !defined(__FreeBSD__)
X //reads the status file in the /proc/nnnn directory
X OsStatus OsProcessIteratorLinux::readProcFile(OsPath &procDirname, OsProcess & rProcess)
X {
X@@ -165,5 +176,43 @@
X 
X     return retval;
X }
X+#else
X+/*
X+ * We need to do this differently under FreeBSD.  We could open the
X+ * appropriate /proc/nnnn/status file as shown above, but OsFile
X+ * wants to call fcntl() to lock the file when it is opened.  FreeBSD
X+ * does not allow locking the procfs file and fails the fcntl() call.
X+ * This in turn means we don't get to read the PID information and
X+ * all sorts of bad things start happening.
X+ *
X+ * Rather than try to find a way to bypass the fcntl() call in some
X+ * cases, let's just go ahead and use another method to get this PID
X+ * information.
X+ */
X+OsStatus OsProcessIteratorLinux::readProcFile(OsPath &procDirname, OsProcess & rProcess)
X+{
X+    OsStatus retval = OS_FAILED;
X+    kvm_t *kd;
X+    struct kinfo_proc *kp;
X+    int nentries, pid;
X+    char errbuf[_POSIX2_LINE_MAX];
X+
X+    kd = kvm_openfiles(_PATH_DEVNULL, _PATH_DEVNULL, NULL, O_RDONLY, errbuf);
X+    if (kd != NULL) {
X+        nentries = -1;
X+        pid = atoi(procDirname.data());
X+        kp = kvm_getprocs(kd, KERN_PROC_PID, pid, &nentries);
X+        if (kp != NULL && nentries > 0) {
X+            rProcess.mProcessName = kp->ki_comm;
X+            rProcess.mPID = kp->ki_pid;
X+            rProcess.mParentPID = kp->ki_ppid;
X+            retval = OS_SUCCESS;
X+        }
X+        kvm_close(kd);
X+    }
X+
X+    return retval;
X+}
X+#endif
X 
X /* ============================ FUNCTIONS ================================= */
END-of-./sipxportlib/files/patch-src_os_linux_OsProcessIteratorLinux.cpp
echo x - ./sipxportlib/files/patch-src_os_OsSocket.cpp
sed 's/^X//' >./sipxportlib/files/patch-src_os_OsSocket.cpp << 'END-of-./sipxportlib/files/patch-src_os_OsSocket.cpp'
X--- ./src/os/OsSocket.cpp.orig	Tue Jan  2 17:37:30 2007
X+++ ./src/os/OsSocket.cpp	Sat Jan  6 22:41:02 2007
X@@ -165,7 +165,7 @@
X 
X    int flags = 0;
X 
X-#if defined(__linux__) || defined(sun)
X+#if defined(__linux__) || defined(sun) || defined(__FreeBSD__)
X    // We do not want send to throw signals if there is a
X    // problem with the socket as this results in the process
X    // getting aborted. We just want it to return an error.
X@@ -224,7 +224,7 @@
X 
X    int flags = 0;
X 
X-#if defined(__linux__) || defined(sun)
X+#if defined(__linux__) || defined(sun) || defined(__FreeBSD__)
X    // We do not want send to throw signals if there is a
X    // problem with the socket as this results in the process
X    // getting aborted. We just want it to return an error.
X@@ -275,7 +275,7 @@
X 
X    int flags = 0;
X 
X-#if defined(__linux__) || defined(sun)
X+#if defined(__linux__) || defined(sun) || defined(__FreeBSD__)
X    // We do not want send to throw signals if there is a
X    // problem with the socket as this results in the process
X    // getting aborted. We just want it to return an error.
END-of-./sipxportlib/files/patch-src_os_OsSocket.cpp
echo x - ./sipxportlib/files/patch-src_os_OsServerSocket.cpp
sed 's/^X//' >./sipxportlib/files/patch-src_os_OsServerSocket.cpp << 'END-of-./sipxportlib/files/patch-src_os_OsServerSocket.cpp'
X--- ./src/os/OsServerSocket.cpp.orig	Tue Jan  2 17:41:00 2007
X+++ ./src/os/OsServerSocket.cpp	Tue Jan  2 18:00:22 2007
X@@ -142,7 +142,8 @@
X    {
X       error = OsSocketGetERRNO();
X       OsSysLog::add(FAC_KERNEL, PRI_ERR,
X-                    "OsServerSocket:  bind to port %d failed with error: %d = 0x%x",
X+                    "OsServerSocket:  bind to port %s:%d failed with error: %d = 0x%x",
X+                    inet_ntoa(localAddr.sin_addr),
X                     ((PORT_DEFAULT == serverPort) ? 0 : serverPort), error, error);
X       socketDescriptor = OS_INVALID_SOCKET_DESCRIPTOR;
X       goto EXIT;
END-of-./sipxportlib/files/patch-src_os_OsServerSocket.cpp
echo x - ./sipxportlib/files/patch-src_Makefile.in
sed 's/^X//' >./sipxportlib/files/patch-src_Makefile.in << 'END-of-./sipxportlib/files/patch-src_Makefile.in'
X--- ./src/Makefile.in.orig	Thu Dec 28 16:19:58 2006
X+++ ./src/Makefile.in	Wed Jan  3 20:40:21 2007
X@@ -404,8 +404,8 @@
X 	@PCRE_LDFLAGS@ \
X 	@SSL_LDFLAGS@
X 
X-libsipXport_la_LIBADD = @PCRE_LIBS@ @SSL_LIBS@ @RT_LIBS@ -ldl \
X-	-lpthread $(am__append_1)
X+libsipXport_la_LIBADD = @PCRE_LIBS@ @SSL_LIBS@ @RT_LIBS@ \
X+	-lpthread -lkvm $(am__append_1)
X 
X # this is helpful if you're debugging something with lots of inlines (like the UtlLink code)
X # 		-fno-gcse -O0 -fno-implement-inlines -fno-default-inline
END-of-./sipxportlib/files/patch-src_Makefile.in
echo x - ./sipxportlib/files/patch-src_Makefile.am
sed 's/^X//' >./sipxportlib/files/patch-src_Makefile.am << 'END-of-./sipxportlib/files/patch-src_Makefile.am'
X--- ./src/Makefile.am.orig	Thu Dec 28 16:20:02 2006
X+++ ./src/Makefile.am	Wed Jan  3 20:40:10 2007
X@@ -26,8 +26,8 @@
X 	@PCRE_LIBS@ \
X 	@SSL_LIBS@ \
X 	@RT_LIBS@ \
X-	-ldl \
X-	-lpthread 
X+	-lpthread \
X+        -lkvm
X 
X if ISGCC
X libsipXport_la_LIBADD += -lstdc++
END-of-./sipxportlib/files/patch-src_Makefile.am
echo x - ./sipxportlib/files/patch-configure
sed 's/^X//' >./sipxportlib/files/patch-configure << 'END-of-./sipxportlib/files/patch-configure'
X--- ./configure.orig	Mon Jan  8 10:53:10 2007
X+++ ./configure	Mon Jan  8 10:53:31 2007
X@@ -2254,7 +2254,7 @@
X 
X    echo "$as_me:$LINENO: checking for automake version >= 1.6" >&5
X echo $ECHO_N "checking for automake version >= 1.6... $ECHO_C" >&6
X-   sf_am_version=`automake --version | head -n 1 | awk '/^automake/ {print $NF}'`
X+   sf_am_version=`automake19 --version | head -n 1 | awk '/^automake/ {print $NF}'`
X 
X   # Used to indicate true or false condition
X   ax_compare_version=false
X@@ -2333,7 +2333,7 @@
X echo "${ECHO_T}no" >&6
X fi
X 
X-    if test `autoconf --version | grep "2.58" | wc -c` -ne 0 ; then
X+    if test `autoconf259 --version | grep "2.58" | wc -c` -ne 0 ; then
X         { echo "$as_me:$LINENO: WARNING: \"Autoconf 2.58 was found on system.  If you are a maintainer of this library it has known incompatilities.  If you are not a maintainer, 2.58 has serious bugs and you should consider upgrading autoconf\"" >&5
X echo "$as_me: WARNING: \"Autoconf 2.58 was found on system.  If you are a maintainer of this library it has known incompatilities.  If you are not a maintainer, 2.58 has serious bugs and you should consider upgrading autoconf\"" >&2;};
X     fi
END-of-./sipxportlib/files/patch-configure
echo x - ./sipxportlib/pkg-plist
sed 's/^X//' >./sipxportlib/pkg-plist << 'END-of-./sipxportlib/pkg-plist'
Xbin/sipx-config
Xbin/sipx-upgrade
Xbin/sipxportlib-config
Xbin/syslogviewer
Xinclude/os/HostAdapterAddress.h
Xinclude/os/OsAssert.h
Xinclude/os/OsBSem.h
Xinclude/os/OsCSem.h
Xinclude/os/OsCallback.h
Xinclude/os/OsConfigDb.h
Xinclude/os/OsConfigEncryption.h
Xinclude/os/OsConnectionSocket.h
Xinclude/os/OsDatagramSocket.h
Xinclude/os/OsDateTime.h
Xinclude/os/OsDefs.h
Xinclude/os/OsDirBase.h
Xinclude/os/OsEncryption.h
Xinclude/os/OsEvent.h
Xinclude/os/OsEventMsg.h
Xinclude/os/OsExcept.h
Xinclude/os/OsFS.h
Xinclude/os/OsFileBase.h
Xinclude/os/OsFileInfoBase.h
Xinclude/os/OsFileIteratorBase.h
Xinclude/os/OsFileSystem.h
Xinclude/os/OsLock.h
Xinclude/os/OsLockingList.h
Xinclude/os/OsMsg.h
Xinclude/os/OsMsgPool.h
Xinclude/os/OsMsgQ.h
Xinclude/os/OsMulticastSocket.h
Xinclude/os/OsMutex.h
Xinclude/os/OsNameDb.h
Xinclude/os/OsNotification.h
Xinclude/os/OsPathBase.h
Xinclude/os/OsProcess.h
Xinclude/os/OsProcessIterator.h
Xinclude/os/OsProcessMgr.h
Xinclude/os/OsProtectEvent.h
Xinclude/os/OsProtectEventMgr.h
Xinclude/os/OsPtrMsg.h
Xinclude/os/OsQueuedEvent.h
Xinclude/os/OsRWMutex.h
Xinclude/os/OsReadLock.h
Xinclude/os/OsRpcMsg.h
Xinclude/os/OsSSL.h
Xinclude/os/OsSSLConnectionSocket.h
Xinclude/os/OsSSLServerSocket.h
Xinclude/os/OsServerSocket.h
Xinclude/os/OsServerTask.h
Xinclude/os/OsSharedLibMgr.h
Xinclude/os/OsSocket.h
Xinclude/os/OsStatus.h
Xinclude/os/OsStunAgentTask.h
Xinclude/os/OsStunDatagramSocket.h
Xinclude/os/OsStunQueryAgent.h
Xinclude/os/OsSyncBase.h
Xinclude/os/OsSysLog.h
Xinclude/os/OsSysLogFacilities.h
Xinclude/os/OsSysLogMsg.h
Xinclude/os/OsSysLogTask.h
Xinclude/os/OsTask.h
Xinclude/os/OsTime.h
Xinclude/os/OsTimeLog.h
Xinclude/os/OsTimer.h
Xinclude/os/OsTimerMsg.h
Xinclude/os/OsTimerTask.h
Xinclude/os/OsTokenizer.h
Xinclude/os/OsUtil.h
Xinclude/os/OsWriteLock.h
Xinclude/os/fstream
Xinclude/os/iostream
Xinclude/os/istream
Xinclude/os/linux/AdapterInfo.h
Xinclude/os/linux/OsBSemLinux.h
Xinclude/os/linux/OsCSemLinux.h
Xinclude/os/linux/OsDateTimeLinux.h
Xinclude/os/linux/OsDirLinux.h
Xinclude/os/linux/OsFileInfoLinux.h
Xinclude/os/linux/OsFileIteratorLinux.h
Xinclude/os/linux/OsFileLinux.h
Xinclude/os/linux/OsLinuxDefs.h
Xinclude/os/linux/OsMutexLinux.h
Xinclude/os/linux/OsPathLinux.h
Xinclude/os/linux/OsProcessIteratorLinux.h
Xinclude/os/linux/OsProcessLinux.h
Xinclude/os/linux/OsSharedLibMgrLinux.h
Xinclude/os/linux/OsTaskLinux.h
Xinclude/os/linux/OsUtilLinux.h
Xinclude/os/linux/host_address.h
Xinclude/os/linux/pt_csem.h
Xinclude/os/linux/pt_mutex.h
Xinclude/os/ostream
Xinclude/os/qsTypes.h
Xinclude/os/shared/OsMsgQShared.h
Xinclude/os/shared/OsTimerMessage.h
Xinclude/sipxunit/TestUtilities.h
Xinclude/utl/Plugin.h
Xinclude/utl/PluginHooks.h
Xinclude/utl/UtlBool.h
Xinclude/utl/UtlContainable.h
Xinclude/utl/UtlContainableAtomic.h
Xinclude/utl/UtlContainer.h
Xinclude/utl/UtlDList.h
Xinclude/utl/UtlDListIterator.h
Xinclude/utl/UtlDateTime.h
Xinclude/utl/UtlDefs.h
Xinclude/utl/UtlHashBag.h
Xinclude/utl/UtlHashBagIterator.h
Xinclude/utl/UtlHashMap.h
Xinclude/utl/UtlHashMapIterator.h
Xinclude/utl/UtlHistogram.h
Xinclude/utl/UtlInt.h
Xinclude/utl/UtlIterator.h
Xinclude/utl/UtlLink.h
Xinclude/utl/UtlList.h
Xinclude/utl/UtlListIterator.h
Xinclude/utl/UtlLongLongInt.h
Xinclude/utl/UtlRandom.h
Xinclude/utl/UtlRegex.h
Xinclude/utl/UtlRscStore.h
Xinclude/utl/UtlRscTrace.h
Xinclude/utl/UtlSList.h
Xinclude/utl/UtlSListIterator.h
Xinclude/utl/UtlSortedList.h
Xinclude/utl/UtlSortedListIterator.h
Xinclude/utl/UtlString.h
Xinclude/utl/UtlTokenizer.h
Xinclude/utl/UtlVoidPtr.h
Xinclude/utl/XmlContent.h
Xinclude/xmlparser/ExtractContent.h
Xinclude/xmlparser/TiXmlIterator.h
Xinclude/xmlparser/tinystr.h
Xinclude/xmlparser/tinyxml.h
Xlib/libsipXport.a
Xlib/libsipXport.la
Xlib/libsipXport.so
Xlib/libsipXport.so.2
Xlib/libsipXunit.a
Xlib/libsipXunit.la
X@dirrm include/xmlparser
X@dirrm include/utl
X@dirrm include/sipxunit
X@dirrm include/os/shared
X@dirrm include/os/linux
X@dirrm include/os
END-of-./sipxportlib/pkg-plist
echo c - ./sipxtacklib
mkdir -p ./sipxtacklib > /dev/null 2>&1
echo x - ./sipxtacklib/Makefile
sed 's/^X//' >./sipxtacklib/Makefile << 'END-of-./sipxtacklib/Makefile'
X# Ports collection makefile for: sipxtacklib
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxtacklib
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX library of utilities and SIP stack info processing
X
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		pcre.0:${PORTSDIR}/devel/pcre
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
XBUILD_DEPENDS=	ant:${PORTSDIR}/devel/apache-ant \
X		ginstall:${PORTSDIR}/sysutils/coreutils
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XUSE_PERL5_RUN=  yes
XUSE_JAVA=	1.4+
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	JAVA_HOME=${JAVA_HOME} \
X		wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/siptest/src/siptest/subscribe-dialog-test
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/syslog2siptrace/merge-logs
X
X.include <bsd.port.mk>
END-of-./sipxtacklib/Makefile
echo x - ./sipxtacklib/pkg-descr
sed 's/^X//' >./sipxtacklib/pkg-descr << 'END-of-./sipxtacklib/pkg-descr'
XsipXportLib is a library of SIP related functions and information
Xprocessing utilities.  It is a necessary dependancy of the sipX
Xproject.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxtacklib/pkg-descr
echo c - ./sipxtacklib/files
mkdir -p ./sipxtacklib/files > /dev/null 2>&1
echo x - ./sipxtacklib/files/patch-src_net_SipUserAgent.cpp
sed 's/^X//' >./sipxtacklib/files/patch-src_net_SipUserAgent.cpp << 'END-of-./sipxtacklib/files/patch-src_net_SipUserAgent.cpp'
X--- ./src/net/SipUserAgent.cpp.orig	Thu Dec 28 17:59:14 2006
X+++ ./src/net/SipUserAgent.cpp	Thu Dec 28 18:00:20 2006
X@@ -83,6 +83,8 @@
X #  define PLATFORM_UA_PARAM " (Linux)"
X #elif defined(sun)
X #  define PLATFORM_UA_PARAM " (Solaris)"
X+#elif defined(__FreeBSD__)
X+#  define PLATFORM_UA_PARAM " (FreeBSD)"
X #endif
X #endif /* PLATFORM_UA_PARAM */
X 
END-of-./sipxtacklib/files/patch-src_net_SipUserAgent.cpp
echo x - ./sipxtacklib/files/patch-src_Makefile.in
sed 's/^X//' >./sipxtacklib/files/patch-src_Makefile.in << 'END-of-./sipxtacklib/files/patch-src_Makefile.in'
X--- ./src/Makefile.in.orig	Thu Dec 28 18:02:25 2006
X+++ ./src/Makefile.in	Thu Dec 28 18:02:45 2006
X@@ -352,7 +352,7 @@
X 	-DSIPX_CONFDIR=\"@SIPX_CONFDIR@\"
X 
X libsipXtack_la_LIBADD = @SIPXPORT_LIBS@ @SSL_LIBS@ @PCRE_LIBS@ \
X-	-lresolv $(am__append_1)
X+	$(am__append_1)
X libsipXtack_la_SOURCES = \
X     $(top_builddir)/config/sipxtacklib-buildstamp.h \
X     $(top_builddir)/config/sipxtacklib-buildstamp.cpp \
END-of-./sipxtacklib/files/patch-src_Makefile.in
echo x - ./sipxtacklib/files/patch-src_Makefile.am
sed 's/^X//' >./sipxtacklib/files/patch-src_Makefile.am << 'END-of-./sipxtacklib/files/patch-src_Makefile.am'
X--- ./src/Makefile.am.orig	Thu Dec 28 18:02:19 2006
X+++ ./src/Makefile.am	Thu Dec 28 18:02:39 2006
X@@ -38,8 +38,7 @@
X libsipXtack_la_LIBADD = \
X 	@SIPXPORT_LIBS@ \
X 	@SSL_LIBS@ \
X-	@PCRE_LIBS@ \
X-	-lresolv 
X+	@PCRE_LIBS@
X if ISGCC
X libsipXtack_la_LIBADD += -lstdc++
X endif
END-of-./sipxtacklib/files/patch-src_Makefile.am
echo x - ./sipxtacklib/distinfo
sed 's/^X//' >./sipxtacklib/distinfo << 'END-of-./sipxtacklib/distinfo'
XMD5 (sipxtacklib-3.6.0.tar.bz2) = 5ec6a0a4f02d9d94cea3e2b28b888834
XSHA256 (sipxtacklib-3.6.0.tar.bz2) = 31a83e89b0566aaa6c723cb2afa2447d77f96f682721234019272e429171f292
XSIZE (sipxtacklib-3.6.0.tar.bz2) = 1059941
X
END-of-./sipxtacklib/distinfo
echo x - ./sipxtacklib/pkg-plist
sed 's/^X//' >./sipxtacklib/pkg-plist << 'END-of-./sipxtacklib/pkg-plist'
Xbin/merge-logs
Xbin/siplog2siptrace
Xbin/siptest
Xbin/siptrace-merge
Xbin/sipviewer
Xbin/sipxtacklib-config
Xbin/subscribe-dialog-test
Xbin/syslog2siptrace
Xinclude/net/HttpBody.h
Xinclude/net/HttpConnection.h
Xinclude/net/HttpConnectionMap.h
Xinclude/net/HttpMessage.h
Xinclude/net/HttpRequestContext.h
Xinclude/net/HttpServer.h
Xinclude/net/HttpService.h
Xinclude/net/MailAttachment.h
Xinclude/net/MailMessage.h
Xinclude/net/MimeBodyPart.h
Xinclude/net/NameValuePair.h
Xinclude/net/NameValuePairInsensitive.h
Xinclude/net/NameValueTokenizer.h
Xinclude/net/NetAttributeTokenizer.h
Xinclude/net/NetBase64Codec.h
Xinclude/net/NetMd5Codec.h
Xinclude/net/PidfBody.h
Xinclude/net/ProvisioningAgent.h
Xinclude/net/ProvisioningAgentXmlRpcAdapter.h
Xinclude/net/ProvisioningAttrList.h
Xinclude/net/ProvisioningClass.h
Xinclude/net/QoS.h
Xinclude/net/SdpBody.h
Xinclude/net/SdpCodec.h
Xinclude/net/SdpCodecFactory.h
Xinclude/net/SipClient.h
Xinclude/net/SipConfigServerAgent.h
Xinclude/net/SipContactDb.h
Xinclude/net/SipDialog.h
Xinclude/net/SipDialogEvent.h
Xinclude/net/SipDialogMgr.h
Xinclude/net/SipDialogMonitor.h
Xinclude/net/SipLine.h
Xinclude/net/SipLineCredentials.h
Xinclude/net/SipLineEvent.h
Xinclude/net/SipLineList.h
Xinclude/net/SipLineMgr.h
Xinclude/net/SipMessage.h
Xinclude/net/SipMessageEvent.h
Xinclude/net/SipMessageList.h
Xinclude/net/SipNonceDb.h
Xinclude/net/SipNotifyStateTask.h
Xinclude/net/SipObserverCriteria.h
Xinclude/net/SipPimClient.h
Xinclude/net/SipPresenceEvent.h
Xinclude/net/SipProtocolServerBase.h
Xinclude/net/SipPublishContentMgr.h
Xinclude/net/SipPublishServer.h
Xinclude/net/SipPublishServerEventStateCompositor.h
Xinclude/net/SipPublishServerEventStateMgr.h
Xinclude/net/SipRefreshManager.h
Xinclude/net/SipRefreshMgr.h
Xinclude/net/SipRequestContext.h
Xinclude/net/SipResourceList.h
Xinclude/net/SipServerBase.h
Xinclude/net/SipServerBroker.h
Xinclude/net/SipSession.h
Xinclude/net/SipSrvLookup.h
Xinclude/net/SipSubscribeClient.h
Xinclude/net/SipSubscribeServer.h
Xinclude/net/SipSubscribeServerEventHandler.h
Xinclude/net/SipSubscriptionMgr.h
Xinclude/net/SipTcpServer.h
Xinclude/net/SipTlsServer.h
Xinclude/net/SipTransaction.h
Xinclude/net/SipTransactionList.h
Xinclude/net/SipUdpServer.h
Xinclude/net/SipUserAgent.h
Xinclude/net/SipUserAgentBase.h
Xinclude/net/SipUserAgentStateless.h
Xinclude/net/SmimeBody.h
Xinclude/net/StateChangeNotifier.h
Xinclude/net/TapiMgr.h
Xinclude/net/Url.h
Xinclude/net/XmlRpcBody.h
Xinclude/net/XmlRpcDispatch.h
Xinclude/net/XmlRpcMethod.h
Xinclude/net/XmlRpcRequest.h
Xinclude/net/XmlRpcResponse.h
Xinclude/net/version.h
Xinclude/resparse/bzero.h
Xinclude/resparse/ns_name.h
Xinclude/resparse/poll.h
Xinclude/resparse/res_config.h
Xinclude/resparse/res_info.h
Xinclude/resparse/rr.h
Xinclude/resparse/types.h
Xinclude/siptest/AuthCommand.h
Xinclude/siptest/Command.h
Xinclude/siptest/CommandMsgProcessor.h
Xinclude/siptest/CommandProcessor.h
Xinclude/siptest/ExitCommand.h
Xinclude/siptest/HelpCommand.h
Xinclude/siptest/HistoryCommand.h
Xinclude/siptest/HttpGetCommand.h
Xinclude/siptest/RespondCommand.h
Xinclude/siptest/RespondTemplate.h
Xinclude/siptest/SipLSendCommand.h
Xinclude/siptest/SipLogCommand.h
Xinclude/siptest/SipSendCommand.h
Xinclude/tapi/SipXHandleMap.h
Xinclude/tapi/SipXMessageObserver.h
Xinclude/tapi/SipXtapiEventDispatcher.h
Xinclude/tapi/doxyfile
Xinclude/tapi/sipXtapi.h
Xinclude/tapi/sipXtapiEvents.h
Xinclude/tapi/sipXtapiInternal.h
Xlib/libsipXtack.a
Xlib/libsipXtack.la
Xlib/libsipXtack.so
Xlib/libsipXtack.so.2
Xlib/sipviewer/jdom.jar
Xlib/sipviewer/sipviewer.jar
Xshare/sipx/schema/sip_types.xsd
X@dirrm share/sipx/schema
X@dirrm share/sipx
X@dirrm lib/sipviewer
X@dirrm include/tapi
X@dirrm include/siptest
X@dirrm include/resparse
X@dirrm include/net
END-of-./sipxtacklib/pkg-plist
echo c - ./sipxcommserverlib
mkdir -p ./sipxcommserverlib > /dev/null 2>&1
echo x - ./sipxcommserverlib/Makefile
sed 's/^X//' >./sipxcommserverlib/Makefile << 'END-of-./sipxcommserverlib/Makefile'
X# Ports collection makefile for: sipxcommserverlib
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxcommserverlib
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX library for communications between components
X
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		wwwssl:${PORTSDIR}/www/libwww \
X		xerces-c:${PORTSDIR}/textproc/xerces-c2 \
X		odbc:${PORTSDIR}/databases/unixODBC \
X		pcre.0:${PORTSDIR}/devel/pcre
XBUILD_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed \
X		ginstall:${PORTSDIR}/sysutils/coreutils
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
X		postmaster:${PORTSDIR}/databases/postgresql81-server
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XUSE_PERL5_RUN=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
XSUB_LIST=	LOCALSTATEDIR=${LOCALSTATEDIR}
XSUB_FILES=	pkg-deinstall
XDOCSDIR=	${TARGETDIR}/share/doc/sipX
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/configpp
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipx-validate-xml.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/pgpatch.sh
X	@${REINPLACE_CMD} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/bin/pgpatch.sh
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/src/sipdbtest/sipdbtest.sh.in
X
Xpost-install:
X.if !defined(NOPORTSDOCS)
X	${SED} -e "s,@bindir@,${PREFIX}/bin,g" < ${WRKSRC}/doc/INSTALL.ssl.in \
X	    > ${WRKSRC}/doc/INSTALL.ssl
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/doc/INSTALL.ssl ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-./sipxcommserverlib/Makefile
echo x - ./sipxcommserverlib/pkg-descr
sed 's/^X//' >./sipxcommserverlib/pkg-descr << 'END-of-./sipxcommserverlib/pkg-descr'
XsipXcommserverlib is a library that handles communication between
Xvarious sipX components.  It is a necessary dependancy of the sipX
Xproject.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxcommserverlib/pkg-descr
echo x - ./sipxcommserverlib/distinfo
sed 's/^X//' >./sipxcommserverlib/distinfo << 'END-of-./sipxcommserverlib/distinfo'
XMD5 (sipxcommserverlib-3.6.0.tar.bz2) = fe341477cf22241a89c554ccb0eed52e
XSHA256 (sipxcommserverlib-3.6.0.tar.bz2) = 9152a4d6a671d1034aaef742d222511b450a0ea89b5803c4c51689e111e3c9eb
XSIZE (sipxcommserverlib-3.6.0.tar.bz2) = 551916
END-of-./sipxcommserverlib/distinfo
echo c - ./sipxcommserverlib/files
mkdir -p ./sipxcommserverlib/files > /dev/null 2>&1
echo x - ./sipxcommserverlib/files/pkg-deinstall.in
sed 's/^X//' >./sipxcommserverlib/files/pkg-deinstall.in << 'END-of-./sipxcommserverlib/files/pkg-deinstall.in'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XLOCALSTATEDIR="%%LOCALSTATEDIR%%"
X
Xpost-deinstall() {
X        rm -rf ${LOCALSTATEDIR}/sipxdata/tmp
X        rm -rf ${LOCALSTATEDIR}/run/sipxdata
X        rm -rf ${LOCALSTATEDIR}/log/sipxdata
X
X
X        echo "WARNING: If you will *NOT* use this package anymore, please remove
X the"
X        echo "  following file and directories manually:"
X        echo "  ${LOCALSTATEDIR}/sipxdata/upgrade/sipxcommserverlib-previous.tgz"
X        echo "  ${LOCALSTATEDIR}/sipxdata/sipdb"
X        echo "  ${LOCALSTATEDIR}/sipxdata"
X        echo
X}
X
Xcase $2 in
X        POST-DEINSTALL)
X                post-deinstall
X                ;;
Xesac
END-of-./sipxcommserverlib/files/pkg-deinstall.in
echo x - ./sipxcommserverlib/files/patch-bin_ssl-cert_check-cert.sh.in
sed 's/^X//' >./sipxcommserverlib/files/patch-bin_ssl-cert_check-cert.sh.in << 'END-of-./sipxcommserverlib/files/patch-bin_ssl-cert_check-cert.sh.in'
X--- ./bin/ssl-cert/check-cert.sh.in.orig	Sat Dec 30 16:41:04 2006
X+++ ./bin/ssl-cert/check-cert.sh.in	Sat Dec 30 16:41:37 2006
X@@ -216,7 +216,7 @@
X     now=`date +%s`
X     if [ $? -eq 0 ] # date command support epoch format
X     then
X-        exp=`date --date="${cert_expires}" +%s`
X+        exp=`date -j -f "%b %d %T %Y %Z" "${cert_expires}" +%s`
X         remaining=$(($exp - $now))
X 
X         if [ ${remaining} -le 0 ] # cert expired
END-of-./sipxcommserverlib/files/patch-bin_ssl-cert_check-cert.sh.in
echo x - ./sipxcommserverlib/files/patch-bin_ssl-cert_gen-ssl-keys.sh.in
sed 's/^X//' >./sipxcommserverlib/files/patch-bin_ssl-cert_gen-ssl-keys.sh.in << 'END-of-./sipxcommserverlib/files/patch-bin_ssl-cert_gen-ssl-keys.sh.in'
X--- ./bin/ssl-cert/gen-ssl-keys.sh.in.orig	Sat Dec 30 16:45:06 2006
X+++ ./bin/ssl-cert/gen-ssl-keys.sh.in	Sat Dec 30 16:45:55 2006
X@@ -1,4 +1,4 @@
X-#!/bin/sh
X+#!/usr/local/bin/bash
X ##
X ##  gen-ssl-keys.sh - generate SSL key and certificate files.
X ##
X@@ -33,7 +33,8 @@
X openssl="@OPENSSL@"
X 
X # default base name for ca and its files
X-caName=ca.`hostname --domain`
X+dom=`hostname | sed 's/[^\.]*\.\(.*\)/\1/'`
X+caName=ca.$dom
X 
X # if there is a file of saved default answers for the questions, read them
X Defaults=SSL_DEFAULTS
X@@ -207,14 +208,15 @@
X 
X EOF
X 
X-    askfor sipDomainName "SIP domain name" `hostname --domain` 
X-    askfor server        "Full DNS name for the server" `hostname --fqdn` NOSTORE
X+    dom=`hostname | sed 's/[^\.]*\.\(.*\)/\1/'`
X+    askfor sipDomainName "SIP domain name" $dom
X+    askfor server        "Full DNS name for the server" `hostname` NOSTORE
X     while test ${caName} = ${server}
X       do
X       echo "" 1>&2
X       echo "Error: The Server name must not be the same as the CA name." 1>&2
X       server=""
X-      askfor server "Server Common Name (DNS name for Server)" `hostname --fqdn` NOSTORE
X+      askfor server "Server Common Name (DNS name for Server)" `hostname` NOSTORE
X     done
X 
X     askfor serverEmail "Email Contact Address for Server (name@example.org)" "${caEmail}" NOSTORE
END-of-./sipxcommserverlib/files/patch-bin_ssl-cert_gen-ssl-keys.sh.in
echo x - ./sipxcommserverlib/files/patch-bin_ssl-cert_install-cert.sh.in
sed 's/^X//' >./sipxcommserverlib/files/patch-bin_ssl-cert_install-cert.sh.in << 'END-of-./sipxcommserverlib/files/patch-bin_ssl-cert_install-cert.sh.in'
X--- ./bin/ssl-cert/install-cert.sh.in.orig	Sat Dec 30 16:46:08 2006
X+++ ./bin/ssl-cert/install-cert.sh.in	Sat Dec 30 16:46:33 2006
X@@ -1,4 +1,4 @@
X-#!/bin/sh
X+#!/usr/local/bin/bash
X ##
X ## install-cert.sh
X ##
X@@ -41,7 +41,7 @@
X 
X if [ -z "${Basename}" ]
X then
X-    Basename=`hostname --fqdn`
X+    Basename=`hostname`
X fi
X 
X if ! [ -f "${Basename}.crt" -a -f "${Basename}.key" ]
END-of-./sipxcommserverlib/files/patch-bin_ssl-cert_install-cert.sh.in
echo x - ./sipxcommserverlib/files/patch-bin_get_def_addr
sed 's/^X//' >./sipxcommserverlib/files/patch-bin_get_def_addr << 'END-of-./sipxcommserverlib/files/patch-bin_get_def_addr'
X--- ./bin/get_def_addr.orig	Sun Dec 31 14:18:20 2006
X+++ ./bin/get_def_addr	Sun Dec 31 14:23:06 2006
X@@ -1,15 +1,14 @@
X-#!/bin/bash
X+#!/bin/sh
X 
X # Get the address of the interface through which our default gateway is reached.
X # This is very likely to be the correct IP to bind to most of the time.
X 
X-# 'route -n' prints out something that looks like this.
X-# The interface name of the default route starts at character 73...
X-#Kernel IP routing table
X-#Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
X-#10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
X-#127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
X-#0.0.0.0         10.1.1.1        0.0.0.0         UG    0      0        0 eth0
X-
X-IFACE=`/sbin/route -n | grep '^0\\.0\\.0\\.0' | cut -c 73-`
X-/sbin/ifconfig $IFACE | grep "inet addr" | head -n 1 | cut -d: -f 2 | awk '{ print $1 }'
X+# 'netstat -nr' prints out something that looks like this.
X+#Routing tables
X+#
X+#Internet:
X+#Destination        Gateway            Flags    Refs      Use  Netif Expire
X+#default            192.168.1.2        UGS         0  7840565    re0
X+#127.0.0.1          127.0.0.1          UH          0  1312935    lo0
X+IFACE=`netstat -nr | awk '/^default/ {print $6}'`
X+ifconfig $IFACE | grep "inet " | head -n 1 | awk '{print $2}'
END-of-./sipxcommserverlib/files/patch-bin_get_def_addr
echo x - ./sipxcommserverlib/files/patch-bin_pgpatch.sh
sed 's/^X//' >./sipxcommserverlib/files/patch-bin_pgpatch.sh << 'END-of-./sipxcommserverlib/files/patch-bin_pgpatch.sh'
X--- bin/pgpatch.sh.orig	Wed Jan  3 14:07:38 2007
X+++ bin/pgpatch.sh	Mon Jan  8 16:11:32 2007
X@@ -8,7 +8,7 @@
X 
X Action=RUN
X 
X-: ${ServiceDir:=/etc/init.d}
X+: ${ServiceDir:=@PREFIX@/etc/rc.d}
X : ${Chown:=chown}
X 
X # This function determines the correct service name for Postgres.
X@@ -37,19 +37,12 @@
X   Service=`postgresService`
X 
X   # May not by running, so eat up error (ENG-314)
X-  ${ServiceDir}/${Service} stop 2>&1 1> /dev/null
X+  ${ServiceDir}/postgresql stop 2>&1 1> /dev/null
X 
X   # Custom
X   if test -z $PGDATA
X   then
X-      # Debian/Gentoo
X-      if test -d /var/lib/postgresql/data
X-      then
X-          PGDATA=/var/lib/postgresql/data
X-      else
X-          # Redhat
X-          PGDATA=/var/lib/pgsql/data
X-      fi
X+      PGDATA=~pgsql/data
X   fi
X 
X   # Postgres db is initialized on startup on Redhat, but not on other
X@@ -84,16 +77,16 @@
X   fi
X 
X   # Open up TCP/IP connections
X-  sed -i-sipx.bak -e 's/\#tcpip_socket\s=\sfalse/tcpip_socket = true/g' \
X+  gsed -i-sipx.bak -e 's/\#tcpip_socket\s=\sfalse/tcpip_socket = true/g' \
X           $PGDATA/postgresql.conf
X-  ${Chown} postgres:postgres $PGDATA/postgresql.conf
X+  ${Chown} pgsql:pgsql $PGDATA/postgresql.conf
X 
X   # Postmaster to allow connections
X   echo "-i" > $PGDATA/postmaster.opts.default
X   chmod 664 $PGDATA/postmaster.opts.default
X-  ${Chown} postgres:postgres $PGDATA/postmaster.opts.default
X+  ${Chown} pgsql:pgsql $PGDATA/postmaster.opts.default
X 
X-  ${ServiceDir}/$Service start
X+  ${ServiceDir}/postgresql start
X }
X 
X # Have postgres start automatically with system reboot
X@@ -129,7 +122,6 @@
X if [ ${Action} = RUN ]
X then
X   postgresSetup
X-  setPostgresRunlevels
X elif [ ${Action} = HELP ]
X then
X cat <<USAGE
END-of-./sipxcommserverlib/files/patch-bin_pgpatch.sh
echo x - ./sipxcommserverlib/files/patch-include_fastdb_sync.h
sed 's/^X//' >./sipxcommserverlib/files/patch-include_fastdb_sync.h << 'END-of-./sipxcommserverlib/files/patch-include_fastdb_sync.h'
X--- ./include/fastdb/sync.h.orig	Thu Dec 28 18:42:54 2006
X+++ ./include/fastdb/sync.h	Thu Dec 28 18:47:03 2006
X@@ -613,7 +613,7 @@
X 
X     // for Linux: Temporary addition to aid debugging
X     int getTid() {
X-       return tid;
X+       return (int)tid;
X     }
X 
X     int getPid() {
END-of-./sipxcommserverlib/files/patch-include_fastdb_sync.h
echo x - ./sipxcommserverlib/files/patch-include_fastdb_cliproto.h
sed 's/^X//' >./sipxcommserverlib/files/patch-include_fastdb_cliproto.h << 'END-of-./sipxcommserverlib/files/patch-include_fastdb_cliproto.h'
X--- ./include/fastdb/cliproto.h.orig	Thu Dec 28 18:47:56 2006
X+++ ./include/fastdb/cliproto.h	Thu Dec 28 18:49:16 2006
X@@ -81,10 +81,7 @@
X     cli_oid
X };
X 
X-#if defined(__FreeBSD__)
X-#include <sys/param.h>
X-#define USE_HTON_NTOH
X-#elif defined(__linux__)
X+#if defined(__linux__) || defined(__FreeBSD__)
X //
X // At Linux inline assembly declarations of ntohl, htonl... are available
X //
END-of-./sipxcommserverlib/files/patch-include_fastdb_cliproto.h
echo x - ./sipxcommserverlib/files/patch-src_sipx-utils.sh
sed 's/^X//' >./sipxcommserverlib/files/patch-src_sipx-utils.sh << 'END-of-./sipxcommserverlib/files/patch-src_sipx-utils.sh'
X--- ./src/sipx-utils.sh.orig	Mon Jan  1 19:30:33 2007
X+++ ./src/sipx-utils.sh	Mon Jan  1 19:37:57 2007
X@@ -41,16 +41,24 @@
X   }
X 
X 
X+#
X+# Let's modify this slightly to allow a hostname as the second arg and
X+# not just an IP address.
X+#
X sip_resolves_to () { # ( unresolved, targetIp )
X     # returns true (0) if the unresolved name resolves to the targetIp address by sip rules
X      unresolvedName=$1
X      targetAddr=$2
X+     targetAddr2=`dns_a $2`
X 
X      for ip in `dns_a ${unresolvedName}`
X      do
X        if [ "${ip}" = "${targetAddr}" ]
X        then
X            return 0
X+       elif [ "${ip}" = "${targetAddr2}" ]
X+       then
X+           return 0
X        fi
X      done
X 
X@@ -61,6 +69,9 @@
X          if [ "${ip}" = "${targetAddr}" ]
X          then
X              return 0
X+         elif [ "${ip}" = "${targetAddr2}" ]
X+         then
X+             return 0
X          fi
X        done
X      done
X@@ -70,12 +81,18 @@
X        if [ "${tcpSrv}" = "${targetAddr}" ]
X        then
X            return 0
X+       elif [ "${tcpSrv}" = "${targetAddr2}" ]
X+       then
X+           return 0
X        else
X            for ip in `dns_a ${tcpSrv}`
X            do
X              if [ "${ip}" = "${targetAddr}" ]
X              then
X                  return 0
X+             elif [ "${ip}" = "${targetAddr2}" ]
X+             then
X+                 return 0
X              fi
X            done
X        fi
X@@ -86,10 +103,16 @@
X        if [ "${udpSrv}" = "${targetAddr}" ]
X        then
X            return 0
X+       elif [ "${udpSrv}" = "${targetAddr2}" ]
X+       then
X+           return 0
X        else
X            for ip in `dns_a ${udpSrv}`
X            do
X              if [ "${ip}" = "${targetAddr}" ]
X+             then
X+                 return 0
X+             elif [ "${ip}" = "${targetAddr2}" ]
X              then
X                  return 0
X              fi
END-of-./sipxcommserverlib/files/patch-src_sipx-utils.sh
echo x - ./sipxcommserverlib/files/patch-src_test_Makefile.am
sed 's/^X//' >./sipxcommserverlib/files/patch-src_test_Makefile.am << 'END-of-./sipxcommserverlib/files/patch-src_test_Makefile.am'
X--- ./src/test/Makefile.am.orig	Sun Jan  7 16:20:05 2007
X+++ ./src/test/Makefile.am	Sun Jan  7 16:34:25 2007
X@@ -9,8 +9,8 @@
X   OdbcWrapperTest.cpp
X db_CXXFLAGS = -DTESTDATABASE=\"$(SIPXTEST_DATABASE)\"
X db_deps = db_setup
X-PG_USER = postgres
X-SCHEMA_FILE = $(top_srcdir)/../sipXproxy/etc/database/schema.sql
X+PG_USER = pgsql
X+SCHEMA_FILE = $(top_srcdir)/../sipxproxy-3.6.0/etc/database/schema.sql
X else
X db_FILES = 
X db_CXXFLAGS =
X@@ -19,7 +19,7 @@
X 
X ## All tests under this GNU variable should run relatively quickly
X ## and of course require no setup
X-TESTS = testsuite sipx_config_value_test
X+TESTS = testsuite sipx_config_value/test
X 
X check_PROGRAMS = testsuite sandbox
X 
X@@ -78,6 +78,6 @@
X     psql -U $(PG_USER) -d $(SIPXTEST_DATABASE) \
X       -f $(SCHEMA_FILE) &>/dev/null; \
X   else \
X-    @echo "Schema file $(SCHEMA_FILE) not found"; \
X+    echo "Schema file $(SCHEMA_FILE) not found"; \
X   fi
X 	@echo "Done."
END-of-./sipxcommserverlib/files/patch-src_test_Makefile.am
echo x - ./sipxcommserverlib/files/patch-src_test_Makefile.in
sed 's/^X//' >./sipxcommserverlib/files/patch-src_test_Makefile.in << 'END-of-./sipxcommserverlib/files/patch-src_test_Makefile.in'
X--- ./src/test/Makefile.in.orig	Sun Jan  7 16:20:12 2007
X+++ ./src/test/Makefile.in	Sun Jan  7 16:34:30 2007
X@@ -268,9 +268,9 @@
X @ENABLE_ODBC_TESTS_TRUE@db_CXXFLAGS = -DTESTDATABASE=\"$(SIPXTEST_DATABASE)\"
X @ENABLE_ODBC_TESTS_FALSE@db_deps = 
X @ENABLE_ODBC_TESTS_TRUE@db_deps = db_setup
X-@ENABLE_ODBC_TESTS_TRUE@PG_USER = postgres
X-@ENABLE_ODBC_TESTS_TRUE@SCHEMA_FILE = $(top_srcdir)/../sipXproxy/etc/database/schema.sql
X-TESTS = testsuite sipx_config_value_test
X+@ENABLE_ODBC_TESTS_TRUE@PG_USER = pgsql
X+@ENABLE_ODBC_TESTS_TRUE@SCHEMA_FILE = $(top_srcdir)/../sipxproxy-3.6.0/etc/database/schema.sql
X+TESTS = testsuite sipx_config_value/test
X testsuite_CXXFLAGS = \
X     -DTEST_DATA_DIR=\"@abs_top_srcdir@/src/test\" \
X     -DTEST_WORK_DIR=\"@abs_top_builddir@/src/test/work\" \
X@@ -833,7 +833,7 @@
X     psql -U $(PG_USER) -d $(SIPXTEST_DATABASE) \
X       -f $(SCHEMA_FILE) &>/dev/null; \
X   else \
X-    @echo "Schema file $(SCHEMA_FILE) not found"; \
X+    echo "Schema file $(SCHEMA_FILE) not found"; \
X   fi
X 	@echo "Done."
X # Tell versions [3.59,3.63) of GNU make to not export all variables.
END-of-./sipxcommserverlib/files/patch-src_test_Makefile.in
echo x - ./sipxcommserverlib/files/patch-src_test_OdbcWrapperTest.cpp
sed 's/^X//' >./sipxcommserverlib/files/patch-src_test_OdbcWrapperTest.cpp << 'END-of-./sipxcommserverlib/files/patch-src_test_OdbcWrapperTest.cpp'
X--- ./src/test/OdbcWrapperTest.cpp.orig	Sun Jan  7 16:20:24 2007
X+++ ./src/test/OdbcWrapperTest.cpp	Sun Jan  7 16:21:01 2007
X@@ -54,7 +54,7 @@
X          
X          CPPUNIT_ASSERT((handle=odbcConnect(DATABASE_NAME,
X                                             "localhost",
X-                                            "postgres",
X+                                            "pgsql",
X                                             "{PostgreSQL}"))!=NULL);
X          if (handle)
X          {                                                     
X@@ -141,7 +141,7 @@
X        
X          CPPUNIT_ASSERT((handle=odbcConnect(DATABASE_NAME,
X                                             "localhost",
X-                                            "postgres",
X+                                            "pgsql",
X                                             "{PostgreSQL}"))!=NULL);
X          
X          if (handle)
X@@ -156,7 +156,7 @@
X          
X          CPPUNIT_ASSERT((handle=odbcConnect(DATABASE_NAME,
X                                             "localhost",
X-                                            "postgres",
X+                                            "pgsql",
X                                             "{PostgreSQL}"))!=NULL);
X          if (handle)
X          {
X@@ -173,7 +173,7 @@
X       
X          CPPUNIT_ASSERT((handle=odbcConnect(DATABASE_NAME,
X                                             "localhost",
X-                                            "postgres",
X+                                            "pgsql",
X                                             "{PostgreSQL}"))!=NULL);
X          
X          if (handle)
X@@ -216,7 +216,7 @@
X       
X          CPPUNIT_ASSERT((handle=odbcConnect(DATABASE_NAME,
X                                             "localhost",
X-                                            "postgres",
X+                                            "pgsql",
X                                             "{PostgreSQL}"))!=NULL);
X          
X          if (handle)
END-of-./sipxcommserverlib/files/patch-src_test_OdbcWrapperTest.cpp
echo x - ./sipxcommserverlib/files/patch-etc_config.defs.in
sed 's/^X//' >./sipxcommserverlib/files/patch-etc_config.defs.in << 'END-of-./sipxcommserverlib/files/patch-etc_config.defs.in'
X--- ./etc/config.defs.in.orig	Sun Dec 31 14:13:17 2006
X+++ ./etc/config.defs.in	Thu Jan  4 13:33:39 2007
X@@ -12,10 +12,10 @@
X # host name (e.g. myhost.domain.com).
X # If you use DNS SRV, the SIPXCHANGE_DOMAIN_NAME should be set 
X # to domain name (e.g. domain.com), so comment out the assignment
X-# below that uses -f and uncomment the one that uses -d:
X+# below that uses hostname and uncomment the one that uses hostname | cut
X #
X-SIPXCHANGE_DOMAIN_NAME=`hostname -f`
X-# SIPXCHANGE_DOMAIN_NAME=`hostname -d`
X+SIPXCHANGE_DOMAIN_NAME=`hostname`
X+# SIPXCHANGE_DOMAIN_NAME=`hostname | cut -d . -f 2-`
X 
X #### Core Limit
X # Control whether or not core files are saved in a server failure.
X@@ -24,10 +24,10 @@
X SIPX_CORELIMIT=unlimited
X 
X # the realm string used in authentication challenges
X-SIPXCHANGE_REALM=`hostname -d`
X+SIPXCHANGE_REALM=`hostname | cut -d . -f 2-`
X 
X ##### Information about this server #####
X-MY_FULL_HOSTNAME=`hostname -f`
X+MY_FULL_HOSTNAME=`hostname`
X MY_HOSTNAME=`hostname -s`
X MY_IP_ADDR=`@bindir@/get_def_addr`
X 
END-of-./sipxcommserverlib/files/patch-etc_config.defs.in
echo x - ./sipxcommserverlib/pkg-plist
sed 's/^X//' >./sipxcommserverlib/pkg-plist << 'END-of-./sipxcommserverlib/pkg-plist'
Xbin/configpp
Xbin/get_def_addr
Xbin/pgpatch.sh
Xbin/pkg-upgrade
Xbin/sipdbtest
Xbin/sipdbtest.sh
Xbin/sipx-dns
Xbin/sipx-validate-xml
Xbin/sipxcommserverlib-config
Xbin/ssl-cert/ca_rehash
Xbin/ssl-cert/check-cert.sh
Xbin/ssl-cert/gen-ssl-keys.sh
Xbin/ssl-cert/install-cert.sh
Xbin/xsdvalid
Xetc/sipxpbx/config.defs
Xetc/sipxpbx/process.d/keepalive.process.xml
Xinclude/configrpc/ConfigRPC.h
Xinclude/digitmaps/UrlMapping.h
Xinclude/fastdb/CHANGES
Xinclude/fastdb/array.h
Xinclude/fastdb/bugdb.h
Xinclude/fastdb/class.h
Xinclude/fastdb/cli.h
Xinclude/fastdb/clidb.h
Xinclude/fastdb/cliproto.h
Xinclude/fastdb/compiler.d
Xinclude/fastdb/compiler.h
Xinclude/fastdb/container.h
Xinclude/fastdb/cursor.h
Xinclude/fastdb/database.h
Xinclude/fastdb/date.h
Xinclude/fastdb/datetime.h
Xinclude/fastdb/exception.h
Xinclude/fastdb/fastdb.h
Xinclude/fastdb/file.h
Xinclude/fastdb/harray.h
Xinclude/fastdb/hashtab.h
Xinclude/fastdb/localcli.h
Xinclude/fastdb/query.h
Xinclude/fastdb/reference.h
Xinclude/fastdb/repsock.h
Xinclude/fastdb/server.h
Xinclude/fastdb/set.h
Xinclude/fastdb/sockio.h
Xinclude/fastdb/stdtp.h
Xinclude/fastdb/subsql.h
Xinclude/fastdb/symtab.h
Xinclude/fastdb/sync.h
Xinclude/fastdb/ttree.h
Xinclude/fastdb/unisock.h
Xinclude/fastdb/w32sock.h
Xinclude/fastdb/wwwapi.h
Xinclude/filereader/OrbitFileReader.h
Xinclude/odbc/OdbcWrapper.h
Xinclude/sipdb/AliasDB.h
Xinclude/sipdb/AliasRow.h
Xinclude/sipdb/AuthexceptionDB.h
Xinclude/sipdb/AuthexceptionRow.h
Xinclude/sipdb/CallerAliasDB.h
Xinclude/sipdb/CallerAliasRow.h
Xinclude/sipdb/CredentialDB.h
Xinclude/sipdb/CredentialRow.h
Xinclude/sipdb/DialByNameDB.h
Xinclude/sipdb/DialByNameRow.h
Xinclude/sipdb/ExtensionDB.h
Xinclude/sipdb/ExtensionRow.h
Xinclude/sipdb/HuntgroupDB.h
Xinclude/sipdb/HuntgroupRow.h
Xinclude/sipdb/PermissionDB.h
Xinclude/sipdb/PermissionRow.h
Xinclude/sipdb/RegistrationBinding.h
Xinclude/sipdb/RegistrationDB.h
Xinclude/sipdb/RegistrationRow.h
Xinclude/sipdb/ResultSet.h
Xinclude/sipdb/SIPDBManager.h
Xinclude/sipdb/SIPXAuthHelper.h
Xinclude/sipdb/SubscriptionDB.h
Xinclude/sipdb/SubscriptionRow.h
Xinclude/testlib/FileTestContext.h
Xinclude/testlib/RegistrationDbTestContext.h
Xinclude/testlib/SipDbTestContext.h
Xlib/libsipXcommserver.a
Xlib/libsipXcommserver.la
Xlib/libsipXcommserver.so
Xlib/libsipXcommserver.so.1
Xlib/libsipXcommserverTest.a
Xlib/libsipXcommserverTest.la
Xlibexec/sipx-utils.sh
Xshare/sipx/schema/authrules.xsd
Xshare/sipx/schema/urlmap.xsd
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL.ssl
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm share/sipxpbx
X@dirrm share/sipx/schema
X@dirrm share/sipx
X@dirrm include/testlib
X@dirrm include/sipdb
X@dirrm include/odbc
X@dirrm include/filereader
X@dirrm include/fastdb
X@dirrm include/digitmaps
X@dirrm include/configrpc
X@dirrm etc/sipxpbx/ssl/authorities
X@dirrm etc/sipxpbx/ssl
X@dirrm etc/sipxpbx/process.d
X@dirrm etc/sipxpbx
X@dirrm bin/ssl-cert
END-of-./sipxcommserverlib/pkg-plist
echo c - ./sipxmedialib
mkdir -p ./sipxmedialib > /dev/null 2>&1
echo x - ./sipxmedialib/Makefile
sed 's/^X//' >./sipxmedialib/Makefile << 'END-of-./sipxmedialib/Makefile'
X# Ports collection makefile for: sipxmedialib
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxmedialib
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX library for media streams
X
XBUILD_DEPENDS=	ginstall:${PORTSDIR}/sysutils/coreutils
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		pcre.0:${PORTSDIR}/devel/pcre
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
X
X.include <bsd.port.mk>
END-of-./sipxmedialib/Makefile
echo x - ./sipxmedialib/pkg-descr
sed 's/^X//' >./sipxmedialib/pkg-descr << 'END-of-./sipxmedialib/pkg-descr'
XsipXmedialib is a library that handles media streams, such as real-time
Xpackets and WAV files.  It is a necessary dependancy of the sipX
Xproject.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxmedialib/pkg-descr
echo x - ./sipxmedialib/distinfo
sed 's/^X//' >./sipxmedialib/distinfo << 'END-of-./sipxmedialib/distinfo'
XMD5 (sipxmedialib-3.6.0.tar.bz2) = e55592da8fe232800646ddf1bcda79ee
XSHA256 (sipxmedialib-3.6.0.tar.bz2) = dace2aef1766fb8f082dc2b09587498263f805cc7b3f3c074eac8e35f90f8ece
XSIZE (sipxmedialib-3.6.0.tar.bz2) = 635932
END-of-./sipxmedialib/distinfo
echo c - ./sipxmedialib/files
mkdir -p ./sipxmedialib/files > /dev/null 2>&1
echo x - ./sipxmedialib/files/patch-src_mp_MprFromMic.cpp
sed 's/^X//' >./sipxmedialib/files/patch-src_mp_MprFromMic.cpp << 'END-of-./sipxmedialib/files/patch-src_mp_MprFromMic.cpp'
X--- ./src/mp/MprFromMic.cpp.orig	Thu Dec 28 19:37:48 2006
X+++ ./src/mp/MprFromMic.cpp	Thu Dec 28 19:38:44 2006
X@@ -16,7 +16,7 @@
X #include <assert.h>
X 
X #ifdef __pingtel_on_posix__
X-#  ifdef __linux__
X+#  if defined(__linux__) || defined(__FreeBSD__)
X #     include <stdlib.h>
X       typedef __int64_t __int64;
X #  elif defined(sun)
END-of-./sipxmedialib/files/patch-src_mp_MprFromMic.cpp
echo x - ./sipxmedialib/files/patch-src_mp_MprToSpkr.cpp
sed 's/^X//' >./sipxmedialib/files/patch-src_mp_MprToSpkr.cpp << 'END-of-./sipxmedialib/files/patch-src_mp_MprToSpkr.cpp'
X--- ./src/mp/MprToSpkr.cpp.orig	Thu Dec 28 19:39:15 2006
X+++ ./src/mp/MprToSpkr.cpp	Thu Dec 28 19:39:33 2006
X@@ -17,7 +17,7 @@
X #include <assert.h>
X 
X #ifdef __pingtel_on_posix__
X-#  ifdef __linux__
X+#  if defined(__linux__) || defined(__FreeBSD__)
X #     include <stdlib.h>
X       typedef __int64_t __int64;
X #  elif defined(sun)
END-of-./sipxmedialib/files/patch-src_mp_MprToSpkr.cpp
echo x - ./sipxmedialib/pkg-plist
sed 's/^X//' >./sipxmedialib/pkg-plist << 'END-of-./sipxmedialib/pkg-plist'
Xbin/sipxmedialib-config
Xinclude/mp/DSP_type.h
Xinclude/mp/DspResampling.h
Xinclude/mp/FilterBank.h
Xinclude/mp/GIPS/G729Interface.h
Xinclude/mp/GIPS/GIPS_API.h
Xinclude/mp/GIPS/gips_typedefs.h
Xinclude/mp/HandsetFilterBank.h
Xinclude/mp/HandsetFilterbankWindows.h
Xinclude/mp/JB/JB_API.h
Xinclude/mp/JB/jb_typedefs.h
Xinclude/mp/MpAudioAbstract.h
Xinclude/mp/MpAudioFileDecompress.h
Xinclude/mp/MpAudioFileOpen.h
Xinclude/mp/MpAudioFileUtils.h
Xinclude/mp/MpAudioUtils.h
Xinclude/mp/MpAudioWaveFileRead.h
Xinclude/mp/MpBuf.h
Xinclude/mp/MpBufferMsg.h
Xinclude/mp/MpCallFlowGraph.h
Xinclude/mp/MpCodec.h
Xinclude/mp/MpCodecFactory.h
Xinclude/mp/MpCodecInfo.h
Xinclude/mp/MpConnection.h
Xinclude/mp/MpDecoderBase.h
Xinclude/mp/MpDefs.h
Xinclude/mp/MpEncoderBase.h
Xinclude/mp/MpFlowGraphBase.h
Xinclude/mp/MpFlowGraphMsg.h
Xinclude/mp/MpJitterBuffer.h
Xinclude/mp/MpMediaTask.h
Xinclude/mp/MpMediaTaskMsg.h
Xinclude/mp/MpMisc.h
Xinclude/mp/MpPlayer.h
Xinclude/mp/MpPlayerEvent.h
Xinclude/mp/MpPlayerListener.h
Xinclude/mp/MpQueuePlayerListener.h
Xinclude/mp/MpRawAudioBuffer.h
Xinclude/mp/MpResource.h
Xinclude/mp/MpResourceSortAlg.h
Xinclude/mp/MpSipxDecoders.h
Xinclude/mp/MpStreamFeeder.h
Xinclude/mp/MpStreamMsg.h
Xinclude/mp/MpStreamPlayer.h
Xinclude/mp/MpStreamPlaylistPlayer.h
Xinclude/mp/MpStreamQueuePlayer.h
Xinclude/mp/MpTypes.h
Xinclude/mp/MpdGIPSG729ab.h
Xinclude/mp/MpdGIPSPCMA.h
Xinclude/mp/MpdGIPSPCMU.h
Xinclude/mp/MpdGIPSiLBC.h
Xinclude/mp/MpdGIPSiPCMA.h
Xinclude/mp/MpdGIPSiPCMU.h
Xinclude/mp/MpdGIPSiPCMWB.h
Xinclude/mp/MpdPtAVT.h
Xinclude/mp/MpdSipxPcma.h
Xinclude/mp/MpdSipxPcmu.h
Xinclude/mp/MpeGIPSG729ab.h
Xinclude/mp/MpeGIPSPCMA.h
Xinclude/mp/MpeGIPSPCMU.h
Xinclude/mp/MpeGIPSiLBC.h
Xinclude/mp/MpeGIPSiPCMA.h
Xinclude/mp/MpeGIPSiPCMU.h
Xinclude/mp/MpeGIPSiPCMWB.h
Xinclude/mp/MpePtAVT.h
Xinclude/mp/MpeSipxPcma.h
Xinclude/mp/MpeSipxPcmu.h
Xinclude/mp/MprBridge.h
Xinclude/mp/MprDecode.h
Xinclude/mp/MprDejitter.h
Xinclude/mp/MprEchoSuppress.h
Xinclude/mp/MprEncode.h
Xinclude/mp/MprFromFile.h
Xinclude/mp/MprFromMic.h
Xinclude/mp/MprFromNet.h
Xinclude/mp/MprFromStream.h
Xinclude/mp/MprMixer.h
Xinclude/mp/MprRecorder.h
Xinclude/mp/MprSplitter.h
Xinclude/mp/MprToNet.h
Xinclude/mp/MprToSpkr.h
Xinclude/mp/MprToneGen.h
Xinclude/mp/NetInTask.h
Xinclude/mp/StreamBufferDataSource.h
Xinclude/mp/StreamDataSource.h
Xinclude/mp/StreamDataSourceListener.h
Xinclude/mp/StreamDecoderListener.h
Xinclude/mp/StreamDefs.h
Xinclude/mp/StreamFileDataSource.h
Xinclude/mp/StreamFormatDecoder.h
Xinclude/mp/StreamHttpDataSource.h
Xinclude/mp/StreamQueueMsg.h
Xinclude/mp/StreamQueueingFormatDecoder.h
Xinclude/mp/StreamRAWFormatDecoder.h
Xinclude/mp/StreamWAVFormatDecoder.h
Xinclude/mp/dmaTask.h
Xinclude/mp/dsplib.h
Xinclude/mp/dtmflib.h
Xinclude/mp/mpau.h
Xinclude/mp/resamplingby2.h
Xinclude/rtcp/BaseClass.h
Xinclude/rtcp/ByeReport.h
Xinclude/rtcp/IBaseClass.h
Xinclude/rtcp/IByeReport.h
Xinclude/rtcp/IGetByeInfo.h
Xinclude/rtcp/IGetReceiverStatistics.h
Xinclude/rtcp/IGetSenderStatistics.h
Xinclude/rtcp/IGetSrcDescription.h
Xinclude/rtcp/INetDispatch.h
Xinclude/rtcp/INetworkChannel.h
Xinclude/rtcp/INetworkRender.h
Xinclude/rtcp/INetworkSource.h
Xinclude/rtcp/IRTCPConnection.h
Xinclude/rtcp/IRTCPControl.h
Xinclude/rtcp/IRTCPHeader.h
Xinclude/rtcp/IRTCPNotify.h
Xinclude/rtcp/IRTCPRegister.h
Xinclude/rtcp/IRTCPRender.h
Xinclude/rtcp/IRTCPSession.h
Xinclude/rtcp/IRTCPStatistics.h
Xinclude/rtcp/IRTPDispatch.h
Xinclude/rtcp/IRTPHeader.h
Xinclude/rtcp/IReceiverReport.h
Xinclude/rtcp/ISDESReport.h
Xinclude/rtcp/ISenderReport.h
Xinclude/rtcp/ISetReceiverStatistics.h
Xinclude/rtcp/ISetSenderStatistics.h
Xinclude/rtcp/ISetSrcDescription.h
Xinclude/rtcp/Message.h
Xinclude/rtcp/MsgQueue.h
Xinclude/rtcp/NetworkChannel.h
Xinclude/rtcp/RTCManager.h
Xinclude/rtcp/RTCPConnection.h
Xinclude/rtcp/RTCPHeader.h
Xinclude/rtcp/RTCPRender.h
Xinclude/rtcp/RTCPSession.h
Xinclude/rtcp/RTCPSource.h
Xinclude/rtcp/RTCPTimer.h
Xinclude/rtcp/RTPHeader.h
Xinclude/rtcp/ReceiverReport.h
Xinclude/rtcp/RtcpConfig.h
Xinclude/rtcp/SenderReport.h
Xinclude/rtcp/SourceDescription.h
Xinclude/rtcp/TLink.h
Xinclude/rtcp/TLinkedList.h
Xlib/libsipXmedia.a
Xlib/libsipXmedia.la
Xlib/libsipXmedia.so
Xlib/libsipXmedia.so.1
X@dirrm include/rtcp
X@dirrm include/mp/JB
X@dirrm include/mp/GIPS
X@dirrm include/mp
END-of-./sipxmedialib/pkg-plist
echo c - ./sipxmediaadapterlib
mkdir -p ./sipxmediaadapterlib > /dev/null 2>&1
echo x - ./sipxmediaadapterlib/Makefile
sed 's/^X//' >./sipxmediaadapterlib/Makefile << 'END-of-./sipxmediaadapterlib/Makefile'
X# Ports collection makefile for: sipxmediaadapterlib
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxmediaadapterlib
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX library for media adapters (like phones)
X
XBUILD_DEPENDS=	ginstall:${PORTSDIR}/sysutils/coreutils
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		sipXmedia:${PORTSDIR}/net/sipxmedialib \
X		pcre.0:${PORTSDIR}/devel/pcre
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
X
X.include <bsd.port.mk>
END-of-./sipxmediaadapterlib/Makefile
echo x - ./sipxmediaadapterlib/pkg-descr
sed 's/^X//' >./sipxmediaadapterlib/pkg-descr << 'END-of-./sipxmediaadapterlib/pkg-descr'
XsipXmediaadapterlib is a library that handles media adapter, such as
Xphones.  It is a necessary dependancy of the sipX project.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxmediaadapterlib/pkg-descr
echo x - ./sipxmediaadapterlib/distinfo
sed 's/^X//' >./sipxmediaadapterlib/distinfo << 'END-of-./sipxmediaadapterlib/distinfo'
XMD5 (sipxmediaadapterlib-3.6.0.tar.bz2) = b106ba1bf65e058937394fd862062329
XSHA256 (sipxmediaadapterlib-3.6.0.tar.bz2) = 30d20c6434ec43c1e56af6246ae840d206846d9c745260fa2b0d040bba606959
XSIZE (sipxmediaadapterlib-3.6.0.tar.bz2) = 269367
END-of-./sipxmediaadapterlib/distinfo
echo c - ./sipxmediaadapterlib/files
mkdir -p ./sipxmediaadapterlib/files > /dev/null 2>&1
echo x - ./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.am
sed 's/^X//' >./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.am << 'END-of-./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.am'
X--- ./sipXmediaMediaProcessing/src/Makefile.am.orig	Thu Dec 28 19:45:21 2006
X+++ ./sipXmediaMediaProcessing/src/Makefile.am	Thu Dec 28 19:45:38 2006
X@@ -26,8 +26,7 @@
X libsipXmediaProcessing_la_LIBADD = \
X 	../../interface/libmediainterface.la \
X 	@SIPXPORT_LIBS@ \
X-	@SSL_LIBS@ \
X-	-lresolv
X+	@SSL_LIBS@
X 
X libsipXmediaProcessing_la_SOURCES =  \
X     sipXmediaFactoryImpl.cpp \
END-of-./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.am
echo x - ./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.in
sed 's/^X//' >./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.in << 'END-of-./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.in'
X--- ./sipXmediaMediaProcessing/src/Makefile.in.orig	Thu Dec 28 19:45:25 2006
X+++ ./sipXmediaMediaProcessing/src/Makefile.in	Thu Dec 28 19:45:47 2006
X@@ -275,8 +275,7 @@
X libsipXmediaProcessing_la_LIBADD = \
X 	../../interface/libmediainterface.la \
X 	@SIPXPORT_LIBS@ \
X-	@SSL_LIBS@ \
X-	-lresolv
X+	@SSL_LIBS@
X 
X libsipXmediaProcessing_la_SOURCES = \
X     sipXmediaFactoryImpl.cpp \
END-of-./sipxmediaadapterlib/files/patch-sipXmediaMediaProcessing_src_Makefile.in
echo x - ./sipxmediaadapterlib/pkg-plist
sed 's/^X//' >./sipxmediaadapterlib/pkg-plist << 'END-of-./sipxmediaadapterlib/pkg-plist'
Xinclude/mi/CpMediaInterface.h
Xinclude/mi/CpMediaInterfaceFactory.h
Xinclude/mi/CpMediaInterfaceFactoryFactory.h
Xinclude/mi/CpMediaInterfaceFactoryImpl.h
Xlib/libsipXmediaProcessing.a
Xlib/libsipXmediaProcessing.la
Xlib/libsipXmediaProcessing.so
Xlib/libsipXmediaProcessing.so.1
X@dirrm include/mi
END-of-./sipxmediaadapterlib/pkg-plist
echo c - ./sipxcalllib
mkdir -p ./sipxcalllib > /dev/null 2>&1
echo x - ./sipxcalllib/Makefile
sed 's/^X//' >./sipxcalllib/Makefile << 'END-of-./sipxcalllib/Makefile'
X# Ports collection makefile for: sipxcalllib
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxcalllib
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX library for call handling
X
XBUILD_DEPENDS=	ginstall:${PORTSDIR}/sysutils/coreutils
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		sipXmedia:${PORTSDIR}/net/sipxmedialib \
X		pcre.0:${PORTSDIR}/devel/pcre
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
X
X.include <bsd.port.mk>
END-of-./sipxcalllib/Makefile
echo x - ./sipxcalllib/pkg-descr
sed 's/^X//' >./sipxcalllib/pkg-descr << 'END-of-./sipxcalllib/pkg-descr'
XsipXcalllib is a library that handles call signaling.  It is a
Xnecessary dependancy of the sipX project.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxcalllib/pkg-descr
echo x - ./sipxcalllib/distinfo
sed 's/^X//' >./sipxcalllib/distinfo << 'END-of-./sipxcalllib/distinfo'
XMD5 (sipxcalllib-3.6.0.tar.bz2) = 3e273db8695059b8782de7b580eff783
XSHA256 (sipxcalllib-3.6.0.tar.bz2) = e4ba743468e9ef905c0c493e106ec3078aedfbcc924ef97cd9a6d6cd334c69e3
XSIZE (sipxcalllib-3.6.0.tar.bz2) = 767085
END-of-./sipxcalllib/distinfo
echo x - ./sipxcalllib/pkg-plist
sed 's/^X//' >./sipxcalllib/pkg-plist << 'END-of-./sipxcalllib/pkg-plist'
Xbin/sipxcalllib-config
Xinclude/cp/CallManager.h
Xinclude/cp/Connection.h
Xinclude/cp/CpCall.h
Xinclude/cp/CpCallManager.h
Xinclude/cp/CpGatewayManager.h
Xinclude/cp/CpGhostConnection.h
Xinclude/cp/CpIntMessage.h
Xinclude/cp/CpMultiStringMessage.h
Xinclude/cp/CpPeerCall.h
Xinclude/cp/CpStringMessage.h
Xinclude/cp/DialogEventPublisher.h
Xinclude/cp/LinePresenceBase.h
Xinclude/cp/LinePresenceMonitor.h
Xinclude/cp/PresenceDialInServer.h
Xinclude/cp/SipConnection.h
Xinclude/cp/SipPresenceMonitor.h
Xinclude/ps/PsButtonId.h
Xinclude/ps/PsButtonInfo.h
Xinclude/ps/PsButtonTask.h
Xinclude/ps/PsHookswDev.h
Xinclude/ps/PsHookswTask.h
Xinclude/ps/PsKeybdDev.h
Xinclude/ps/PsLampDev.h
Xinclude/ps/PsLampId.h
Xinclude/ps/PsLampInfo.h
Xinclude/ps/PsLampTask.h
Xinclude/ps/PsMsg.h
Xinclude/ps/PsPhoneTask.h
Xinclude/ps/PsTaoButton.h
Xinclude/ps/PsTaoComponent.h
Xinclude/ps/PsTaoComponentGroup.h
Xinclude/ps/PsTaoDisplay.h
Xinclude/ps/PsTaoHookswitch.h
Xinclude/ps/PsTaoLamp.h
Xinclude/ps/PsTaoMicrophone.h
Xinclude/ps/PsTaoRinger.h
Xinclude/ps/PsTaoSpeaker.h
Xinclude/ps/linux/PsHookswDevLinux.h
Xinclude/ps/linux/PsKeybdDevLinux.h
Xinclude/ps/linux/PsLampDevLinux.h
Xinclude/ps/wnt/PsHookswDevWnt.h
Xinclude/ps/wnt/PsKeybdDevWnt.h
Xinclude/ps/wnt/PsLampDevWnt.h
Xinclude/ptapi/PtAddessCapabilities.h
Xinclude/ptapi/PtAddress.h
Xinclude/ptapi/PtAddressEvent.h
Xinclude/ptapi/PtAddressForwarding.h
Xinclude/ptapi/PtAddressListener.h
Xinclude/ptapi/PtAudioCodec.h
Xinclude/ptapi/PtCall.h
Xinclude/ptapi/PtCallCapabilities.h
Xinclude/ptapi/PtCallEvent.h
Xinclude/ptapi/PtCallListener.h
Xinclude/ptapi/PtComponent.h
Xinclude/ptapi/PtComponentGroup.h
Xinclude/ptapi/PtComponentGroupCapabilities.h
Xinclude/ptapi/PtComponentIntChangeEvent.h
Xinclude/ptapi/PtComponentStringChangeEvent.h
Xinclude/ptapi/PtConfigDb.h
Xinclude/ptapi/PtConnection.h
Xinclude/ptapi/PtConnectionCapabilities.h
Xinclude/ptapi/PtConnectionEvent.h
Xinclude/ptapi/PtConnectionListener.h
Xinclude/ptapi/PtDefs.h
Xinclude/ptapi/PtEvent.h
Xinclude/ptapi/PtEventListener.h
Xinclude/ptapi/PtEventMask.h
Xinclude/ptapi/PtGatewayInterface.h
Xinclude/ptapi/PtMediaCapabilities.h
Xinclude/ptapi/PtMetaEvent.h
Xinclude/ptapi/PtMultiCallEvent.h
Xinclude/ptapi/PtMultiCallMetaEvent.h
Xinclude/ptapi/PtPhoneButton.h
Xinclude/ptapi/PtPhoneDisplay.h
Xinclude/ptapi/PtPhoneExtSpeaker.h
Xinclude/ptapi/PtPhoneGraphicDisplay.h
Xinclude/ptapi/PtPhoneHookswitch.h
Xinclude/ptapi/PtPhoneLamp.h
Xinclude/ptapi/PtPhoneMicrophone.h
Xinclude/ptapi/PtPhoneRinger.h
Xinclude/ptapi/PtPhoneSpeaker.h
Xinclude/ptapi/PtPhoneTerminal.h
Xinclude/ptapi/PtPhoneTextDisplay.h
Xinclude/ptapi/PtProvider.h
Xinclude/ptapi/PtProviderCapabilities.h
Xinclude/ptapi/PtProviderEvent.h
Xinclude/ptapi/PtProviderListener.h
Xinclude/ptapi/PtSessionDesc.h
Xinclude/ptapi/PtSingleCallMetaEvent.h
Xinclude/ptapi/PtTerminal.h
Xinclude/ptapi/PtTerminalCapabilities.h
Xinclude/ptapi/PtTerminalComponentEvent.h
Xinclude/ptapi/PtTerminalComponentListener.h
Xinclude/ptapi/PtTerminalConnection.h
Xinclude/ptapi/PtTerminalConnectionCapabilities.h
Xinclude/ptapi/PtTerminalConnectionEvent.h
Xinclude/ptapi/PtTerminalConnectionListener.h
Xinclude/ptapi/PtTerminalEvent.h
Xinclude/ptapi/PtTerminalListener.h
Xinclude/tao/TaoAdaptor.h
Xinclude/tao/TaoAddressAdaptor.h
Xinclude/tao/TaoCallAdaptor.h
Xinclude/tao/TaoClientTask.h
Xinclude/tao/TaoConnectionAdaptor.h
Xinclude/tao/TaoDefs.h
Xinclude/tao/TaoEvent.h
Xinclude/tao/TaoEventDispatcher.h
Xinclude/tao/TaoEventListener.h
Xinclude/tao/TaoListenerClient.h
Xinclude/tao/TaoListenerEventMessage.h
Xinclude/tao/TaoListenerManager.h
Xinclude/tao/TaoListeningTask.h
Xinclude/tao/TaoMessage.h
Xinclude/tao/TaoObject.h
Xinclude/tao/TaoObjectMap.h
Xinclude/tao/TaoPhoneComponentAdaptor.h
Xinclude/tao/TaoProviderAdaptor.h
Xinclude/tao/TaoProviderListener.h
Xinclude/tao/TaoReference.h
Xinclude/tao/TaoServerTask.h
Xinclude/tao/TaoString.h
Xinclude/tao/TaoTerminalAdaptor.h
Xinclude/tao/TaoTerminalConnectionAdaptor.h
Xinclude/tao/TaoTerminalConnectionListener.h
Xinclude/tao/TaoTransportAgent.h
Xinclude/tao/TaoTransportTask.h
Xinclude/tapi/SipXHandleMap.h
Xinclude/tapi/SipXMessageObserver.h
Xinclude/tapi/SipXtapiEventDispatcher.h
Xinclude/tapi/sipXtapi.h
Xinclude/tapi/sipXtapiEvents.h
Xinclude/tapi/sipXtapiInternal.h
Xlib/libsipXcall.a
Xlib/libsipXcall.la
Xlib/libsipXcall.so
Xlib/libsipXcall.so.1
X@dirrm include/tapi
X@dirrm include/tao
X@dirrm include/ptapi
X@dirrm include/ps/wnt
X@dirrm include/ps/linux
X@dirrm include/ps
X@dirrm include/cp
END-of-./sipxcalllib/pkg-plist
echo c - ./sipxpublisher
mkdir -p ./sipxpublisher > /dev/null 2>&1
echo x - ./sipxpublisher/Makefile
sed 's/^X//' >./sipxpublisher/Makefile << 'END-of-./sipxpublisher/Makefile'
X# Ports collection makefile for: sipxpublisher
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxpublisher
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX server for handling SIP event subscriptions
X
XBUILD_DEPENDS=	ginstall:${PORTSDIR}/sysutils/coreutils
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		sipXcommserver:${PORTSDIR}/net/sipxcommserverlib \
X		pcre.0:${PORTSDIR}/devel/pcre
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
XSUB_LIST=	LOCALSTATEDIR=${LOCALSTATEDIR}
XSUB_FILES=	pkg-deinstall
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipstatus.sh.in
X
X.include <bsd.port.mk>
END-of-./sipxpublisher/Makefile
echo x - ./sipxpublisher/pkg-descr
sed 's/^X//' >./sipxpublisher/pkg-descr << 'END-of-./sipxpublisher/pkg-descr'
XsipXpublisher is a modular server for handling SIP event subscriptions; event
Xpackage types can be added through a dynamically linked library
Xinterface, configured through a simple XML plugin configuration file.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxpublisher/pkg-descr
echo x - ./sipxpublisher/distinfo
sed 's/^X//' >./sipxpublisher/distinfo << 'END-of-./sipxpublisher/distinfo'
XMD5 (sipxpublisher-3.6.0.tar.bz2) = bb2220caf5c7c5d028b2bbda0af35a8f
XSHA256 (sipxpublisher-3.6.0.tar.bz2) = 0edc7b5e04579bed68c49da6e836b46440f99334920c1b5ca82057af7fec7908
XSIZE (sipxpublisher-3.6.0.tar.bz2) = 279622
END-of-./sipxpublisher/distinfo
echo c - ./sipxpublisher/files
mkdir -p ./sipxpublisher/files > /dev/null 2>&1
echo x - ./sipxpublisher/files/pkg-deinstall.in
sed 's/^X//' >./sipxpublisher/files/pkg-deinstall.in << 'END-of-./sipxpublisher/files/pkg-deinstall.in'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XLOCALSTATEDIR="%%LOCALSTATEDIR%%"
X
Xpost-deinstall() {
X        echo "WARNING: If you will *NOT* use this package anymore, please remove
X the"
X        echo "  following file manually:"
X        echo "  ${LOCALSTATEDIR}/sipxdata/upgrade/sipxpublisher-previous.tgz"
X        echo
X}
X
Xcase $2 in
X        POST-DEINSTALL)
X                post-deinstall
X                ;;
Xesac
END-of-./sipxpublisher/files/pkg-deinstall.in
echo c - ./sipxpublisher/depends
mkdir -p ./sipxpublisher/depends > /dev/null 2>&1
echo x - ./sipxpublisher/pkg-plist
sed 's/^X//' >./sipxpublisher/pkg-plist << 'END-of-./sipxpublisher/pkg-plist'
Xbin/sipstatus
Xbin/sipstatus.sh
Xbin/sipxpublisher-config
Xetc/sipxpbx/process.d/sipstatus.process.xml
Xetc/sipxpbx/status-config.in
Xetc/sipxpbx/status-plugin.xml.in
Xinclude/statusserver/MwiPlugin.h
Xinclude/statusserver/Notifier.h
Xinclude/statusserver/NotifierBase.h
Xinclude/statusserver/PluginXmlParser.h
Xinclude/statusserver/StatusPluginReference.h
Xinclude/statusserver/StatusServer.h
Xinclude/statusserver/SubscribePersistThread.h
Xinclude/statusserver/SubscribeServerPluginBase.h
Xinclude/statusserver/SubscribeServerThread.h
Xinclude/statusserver/WebServer.h
X@dirrm include/statusserver
X@dirrm etc/sipxpbx/process.d
X@dirrm etc/sipxpbx
END-of-./sipxpublisher/pkg-plist
echo c - ./sipxregistry
mkdir -p ./sipxregistry > /dev/null 2>&1
echo x - ./sipxregistry/Makefile
sed 's/^X//' >./sipxregistry/Makefile << 'END-of-./sipxregistry/Makefile'
X# Ports collection makefile for: sipxregistry
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxregistry
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX server for handling SIP UA registrations
X
XBUILD_DEPENDS=	ginstall:${PORTSDIR}/sysutils/coreutils
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		sipXcommserver:${PORTSDIR}/net/sipxcommserverlib \
X		pcre.0:${PORTSDIR}/devel/pcre
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
XSUB_LIST=	LOCALSTATEDIR=${LOCALSTATEDIR}
XSUB_FILES=	pkg-deinstall
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipregistrar.sh.in
X
X.include <bsd.port.mk>
END-of-./sipxregistry/Makefile
echo x - ./sipxregistry/pkg-plist
sed 's/^X//' >./sipxregistry/pkg-plist << 'END-of-./sipxregistry/pkg-plist'
Xbin/sipregistrar
Xbin/sipregistrar.sh
Xbin/sipxregistry-config
Xetc/sipxpbx/fallbackrules.xml.in
Xetc/sipxpbx/mappingrules.xml.in
Xetc/sipxpbx/process.d/sipregistrar.process.xml
Xetc/sipxpbx/registrar-config.in
Xinclude/registry/RegisterPlugin.h
Xlib/libRegistrarImpliedMWI.a
Xlib/libRegistrarImpliedMWI.la
Xlib/libRegistrarImpliedMWI.so
Xlib/libRegistrarImpliedMWI.so.1
Xshare/sipx/schema/alias.xsd
Xshare/sipx/schema/caller-alias.xsd
Xshare/sipx/schema/huntgroup.xsd
X@dirrm share/sipx/schema
X@dirrm share/sipx
X@dirrm include/registry
X@dirrm etc/sipxpbx/process.d
X@dirrm etc/sipxpbx
END-of-./sipxregistry/pkg-plist
echo x - ./sipxregistry/pkg-descr
sed 's/^X//' >./sipxregistry/pkg-descr << 'END-of-./sipxregistry/pkg-descr'
XsipXregistry is the registry/redirect server component of the sipX
Xfamily. It shares a number of common components with the rest of the
Xfamily, but can be used alone.  It implements several powerful address
Xmapping capabilities in addtion to supporting UAC registration.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxregistry/pkg-descr
echo x - ./sipxregistry/distinfo
sed 's/^X//' >./sipxregistry/distinfo << 'END-of-./sipxregistry/distinfo'
XMD5 (sipxregistry-3.6.0.tar.bz2) = f837c77fa69e4e5a9889ecc385d9d7c5
XSHA256 (sipxregistry-3.6.0.tar.bz2) = d68eefb2265306f20d8037ac214498a6bfc6703be4e902f2cf16739da835db57
XSIZE (sipxregistry-3.6.0.tar.bz2) = 361997
END-of-./sipxregistry/distinfo
echo c - ./sipxregistry/files
mkdir -p ./sipxregistry/files > /dev/null 2>&1
echo x - ./sipxregistry/files/pkg-deinstall.in
sed 's/^X//' >./sipxregistry/files/pkg-deinstall.in << 'END-of-./sipxregistry/files/pkg-deinstall.in'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XLOCALSTATEDIR="%%LOCALSTATEDIR%%"
X
Xpost-deinstall() {
X        echo "WARNING: If you will *NOT* use this package anymore, please remove
X the"
X        echo "  following file manually:"
X        echo "  ${LOCALSTATEDIR}/sipxdata/upgrade/sipxregistry-previous.tgz"
X        echo
X}
X
Xcase $2 in
X        POST-DEINSTALL)
X                post-deinstall
X                ;;
Xesac
END-of-./sipxregistry/files/pkg-deinstall.in
echo c - ./sipxproxy
mkdir -p ./sipxproxy > /dev/null 2>&1
echo x - ./sipxproxy/Makefile
sed 's/^X//' >./sipxproxy/Makefile << 'END-of-./sipxproxy/Makefile'
X# Ports collection makefile for: sipxproxy
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxproxy
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX server for handling SIP authorization and call records
X
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		sipXcommserver:${PORTSDIR}/net/sipxcommserverlib \
X		pcre.0:${PORTSDIR}/devel/pcre
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
X		psql:${PORTSDIR}/databases/postgresql81-client
XBUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip \
X		gem:${PORTSDIR}/devel/ruby-gems \
X		rake:${PORTSDIR}/devel/rubygem-rake \
X		ginstall:${PORTSDIR}/sysutils/coreutils
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_RUBY=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
XSUB_LIST=	LOCALSTATEDIR=${LOCALSTATEDIR}
XSUB_FILES=	pkg-deinstall
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipxcallresolver.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipproxy.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipauthproxy.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipxha-distrib.sh.in
X
X.include <bsd.port.mk>
END-of-./sipxproxy/Makefile
echo x - ./sipxproxy/pkg-descr
sed 's/^X//' >./sipxproxy/pkg-descr << 'END-of-./sipxproxy/pkg-descr'
XsipXproxy is the authorization and call record server component of the
XsipX family.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxproxy/pkg-descr
echo c - ./sipxproxy/files
mkdir -p ./sipxproxy/files > /dev/null 2>&1
echo x - ./sipxproxy/files/patch-bin_sipxcallresolver.sh.in
sed 's/^X//' >./sipxproxy/files/patch-bin_sipxcallresolver.sh.in << 'END-of-./sipxproxy/files/patch-bin_sipxcallresolver.sh.in'
X--- ./bin/sipxcallresolver.sh.in.orig	Mon Jan  1 15:29:43 2007
X+++ ./bin/sipxcallresolver.sh.in	Mon Jan  1 16:28:32 2007
X@@ -30,7 +30,7 @@
X : ${LogDir:=@SIPX_LOGDIR@}
X : ${TmpDir:=@SIPX_TMPDIR@}
X : ${RunningUser:=@SIPXPBXUSER@}
X-: ${PgUser:=postgres}
X+: ${PgUser:=pgsql}
X : ${PgSchema:=@SIPX_CONFDIR@/cdr/schema.sql}
X : ${DbVersion:=2}
X : ${DbPatchDir:=@SIPX_CONFDIR@/cdr}
X@@ -178,7 +178,7 @@
X #  2. running but not setup to communicate w/java or ${Psql} command
X #  3. Database is not created
X databaseCheck() {
X-   if ! ${Psql} -l -U postgres | grep "${Database}" >/dev/null 2>&1
X+   if ! ${Psql} -l -U pgsql | grep "${Database}" >/dev/null 2>&1
X    then
X       procs=`ps -C postmaster`
X       if ! expr match "$procs" '.*postmaster.*' >/dev/null; then
X@@ -190,15 +190,9 @@
X          fi
X       else
X          # Check postgres configuration
X-         Service=`postgresService`
X+         Service=postgresql
X          if test -z $PGDATA; then
X-            # Debian/Gentoo
X-            if test -d /var/lib/postgresql/data; then
X-               PGDATA=/var/lib/postgresql/data
X-            else
X-               # Redhat
X-               PGDATA=/var/lib/pgsql/data
X-            fi
X+	    PGDATA=/usr/local/pgsql/data
X          fi          
X          # Check for conf file
X          if [ -f $PGDATA/pg_hba.conf ]; then
X@@ -213,7 +207,7 @@
X                fi  
X             else
X                #  Check if psql command works at all
X-               if ${Psql} -l -U postgres >/dev/null 2>&1; then
X+               if ${Psql} -l -U pgsql >/dev/null 2>&1; then
X                   if [ "$1" != "Silent" ]; then               
X                      echo
X                      echo "  Error: The SIPXCDR database does not exist. Run the sipxcallresolver.sh"
X@@ -415,7 +409,7 @@
X # Check the database version.  If it is wrong, then exit, because it's dangerous to
X # run call resolver on top of the wrong database version.
X databaseVersionCheck() {
X-   dbver=`${Psql} -c "select max(vh.version) from version_history vh;" ${Database} postgres | sed -n 's/^\s*\([0-9][0-9]*\)\s*$/\1/p'`
X+   dbver=`${Psql} -c "select max(vh.version) from version_history vh;" ${Database} pgsql | sed -n 's/^\s*\([0-9][0-9]*\)\s*$/\1/p'`
X    if [ "$dbver" = "" ]
X    then
X       echo "  Error: could not get the database version."
END-of-./sipxproxy/files/patch-bin_sipxcallresolver.sh.in
echo x - ./sipxproxy/files/patch-bin_sipproxy.sh.in
sed 's/^X//' >./sipxproxy/files/patch-bin_sipproxy.sh.in << 'END-of-./sipxproxy/files/patch-bin_sipproxy.sh.in'
X--- ./bin/sipproxy.sh.in.orig	Mon Jan  1 19:19:25 2007
X+++ ./bin/sipproxy.sh.in	Mon Jan  1 19:30:05 2007
X@@ -57,7 +57,7 @@
X      #@bindir@/sipx-validate-xml @SIPX_CONFDIR@/forwardingrules.xml
X      #Status=$?
X 
X-     myHostname=`hostname -f | tr A-Z a-z`
X+     myHostname=`hostname | tr A-Z a-z`
X      status=$? 
X      Status=$((${Status}+${status}))
X      
END-of-./sipxproxy/files/patch-bin_sipproxy.sh.in
echo x - ./sipxproxy/files/pkg-deinstall.in
sed 's/^X//' >./sipxproxy/files/pkg-deinstall.in << 'END-of-./sipxproxy/files/pkg-deinstall.in'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XLOCALSTATEDIR="%%LOCALSTATEDIR%%"
X
Xpost-deinstall() {
X        echo "WARNING: If you will *NOT* use this package anymore, please remove
X the"
X        echo "  following file manually:"
X        echo "  ${LOCALSTATEDIR}/sipxdata/upgrade/sipxproxy-previous.tgz"
X        echo
X}
X
Xcase $2 in
X        POST-DEINSTALL)
X                post-deinstall
X                ;;
Xesac
END-of-./sipxproxy/files/pkg-deinstall.in
echo x - ./sipxproxy/distinfo
sed 's/^X//' >./sipxproxy/distinfo << 'END-of-./sipxproxy/distinfo'
XMD5 (sipxproxy-3.6.0.tar.bz2) = 1828c83176d658b17d9a94841158066c
XSHA256 (sipxproxy-3.6.0.tar.bz2) = d6eb035182c23cc7385a1239f3e14548a19b19662acc436cc3228629b6e6344b
XSIZE (sipxproxy-3.6.0.tar.bz2) = 372433
END-of-./sipxproxy/distinfo
echo x - ./sipxproxy/pkg-plist
sed 's/^X//' >./sipxproxy/pkg-plist << 'END-of-./sipxproxy/pkg-plist'
Xbin/sipauthproxy
Xbin/sipauthproxy.sh
Xbin/sipproxy
Xbin/sipproxy.sh
Xbin/sipxcallresolver.sh
Xbin/sipxha-distrib.sh
Xbin/sipxproxy-config
Xetc/sipxpbx/authproxy-config.in
Xetc/sipxpbx/authrules.xml.in
Xetc/sipxpbx/callresolver-config.in
Xetc/sipxpbx/cdr/refer_uri.sql
Xetc/sipxpbx/cdr/schema.sql
Xetc/sipxpbx/cdr/view_cdrs.sql
Xetc/sipxpbx/forwardingrules.xml.in
Xetc/sipxpbx/process.d/sipauthproxy.process.xml
Xetc/sipxpbx/process.d/sipproxy.process.xml
Xetc/sipxpbx/proxy-config.in
X@dirrm etc/sipxpbx/process.d
X@dirrm etc/sipxpbx/cdr
X@dirrm etc/sipxpbx
END-of-./sipxproxy/pkg-plist
echo c - ./sipxvxml
mkdir -p ./sipxvxml > /dev/null 2>&1
echo x - ./sipxvxml/Makefile
sed 's/^X//' >./sipxvxml/Makefile << 'END-of-./sipxvxml/Makefile'
X# Ports collection makefile for: sipxvxml
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxvxml
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX server for managing XML files
X
XBUILD_DEPENDS=	ginstall:${PORTSDIR}/sysutils/coreutils
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		sipXmedia:${PORTSDIR}/net/sipxmedialib \
X		sipXmediaProcessing:${PORTSDIR}/net/sipxmediaadapterlib \
X		sipXcall:${PORTSDIR}/net/sipxcalllib \
X		wwwssl:${PORTSDIR}/www/libwww \
X		xerces-c:${PORTSDIR}/textproc/xerces-c \
X		pcre.0:${PORTSDIR}/devel/pcre
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XGNU_CONFIGURE=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR}
XSUB_LIST=	LOCALSTATEDIR=${LOCALSTATEDIR}
XSUB_FILES=	pkg-deinstall
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipXvxml.sh.in
X
X.include <bsd.port.mk>
END-of-./sipxvxml/Makefile
echo x - ./sipxvxml/pkg-descr
sed 's/^X//' >./sipxvxml/pkg-descr << 'END-of-./sipxvxml/pkg-descr'
XsipXproxy is the authorization and call record server component of the
XsipX family.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxvxml/pkg-descr
echo x - ./sipxvxml/distinfo
sed 's/^X//' >./sipxvxml/distinfo << 'END-of-./sipxvxml/distinfo'
XMD5 (sipxvxml-3.6.0.tar.bz2) = 8d21a8db4876d29563750d3c932156ad
XSHA256 (sipxvxml-3.6.0.tar.bz2) = ad49a92227bb6769fbf3dcbe0b5885f223113ed2b70ee2bafe12dec37e581577
XSIZE (sipxvxml-3.6.0.tar.bz2) = 982923
END-of-./sipxvxml/distinfo
echo c - ./sipxvxml/files
mkdir -p ./sipxvxml/files > /dev/null 2>&1
echo x - ./sipxvxml/files/patch-include_wwwconf.h
sed 's/^X//' >./sipxvxml/files/patch-include_wwwconf.h << 'END-of-./sipxvxml/files/patch-include_wwwconf.h'
X--- ./include/wwwconf.h.orig	Fri Dec 29 10:57:47 2006
X+++ ./include/wwwconf.h	Fri Dec 29 10:58:09 2006
X@@ -348,7 +348,7 @@
X #define HAVE_LIMITS_H 1
X 
X /* Define if you have the <malloc.h> header file.  */
X-#define HAVE_MALLOC_H 1
X+/* #undef HAVE_MALLOC_H  */
X 
X /* Define if you have the <manifest.h> header file.  */
X /* #undef HAVE_MANIFEST_H */
END-of-./sipxvxml/files/patch-include_wwwconf.h
echo x - ./sipxvxml/files/patch-src_trd_OSBtrdPthreads.cpp
sed 's/^X//' >./sipxvxml/files/patch-src_trd_OSBtrdPthreads.cpp << 'END-of-./sipxvxml/files/patch-src_trd_OSBtrdPthreads.cpp'
X--- ./src/trd/OSBtrdPthreads.cpp.orig	Fri Dec 29 10:46:31 2006
X+++ ./src/trd/OSBtrdPthreads.cpp	Fri Dec 29 10:48:57 2006
X@@ -497,7 +497,7 @@
X   if (thread == NULL) 
X 	return -1;
X 
X-  return thread->thread;
X+  return (VXIlong)thread->thread;
X }
X 
X 
END-of-./sipxvxml/files/patch-src_trd_OSBtrdPthreads.cpp
echo x - ./sipxvxml/files/patch-src_inet_SBinetHttpStream.cpp
sed 's/^X//' >./sipxvxml/files/patch-src_inet_SBinetHttpStream.cpp << 'END-of-./sipxvxml/files/patch-src_inet_SBinetHttpStream.cpp'
X--- ./src/inet/SBinetHttpStream.cpp.orig	Fri Dec 29 10:58:52 2006
X+++ ./src/inet/SBinetHttpStream.cpp	Fri Dec 29 10:59:06 2006
X@@ -35,6 +35,7 @@
X #include <windows.h>
X #endif
X 
X+#include <sys/types.h>
X #include <sys/timeb.h>                  // for _ftime( )/ftime( )
X #include <assert.h>
X 
END-of-./sipxvxml/files/patch-src_inet_SBinetHttpStream.cpp
echo x - ./sipxvxml/files/patch-src_client_Makefile.am
sed 's/^X//' >./sipxvxml/files/patch-src_client_Makefile.am << 'END-of-./sipxvxml/files/patch-src_client_Makefile.am'
X--- ./src/client/Makefile.am.orig	Fri Dec 29 11:05:14 2006
X+++ ./src/client/Makefile.am	Fri Dec 29 11:05:50 2006
X@@ -39,7 +39,8 @@
X 	@SIPXMEDIAADAPTER_LIBS@ \
X 	@SIPXCALL_LIBS@ \
X 	@LIBWWW_LIBS@ \
X-	@XERCES_LIBS@
X+	@XERCES_LIBS@ \
X+	-lcompat
X 
X noinst_HEADERS = \
X 	ivr/clientMain.h \
END-of-./sipxvxml/files/patch-src_client_Makefile.am
echo x - ./sipxvxml/files/patch-src_client_Makefile.in
sed 's/^X//' >./sipxvxml/files/patch-src_client_Makefile.in << 'END-of-./sipxvxml/files/patch-src_client_Makefile.in'
X--- ./src/client/Makefile.in.orig	Fri Dec 29 11:05:19 2006
X+++ ./src/client/Makefile.in	Fri Dec 29 11:06:14 2006
X@@ -306,7 +306,8 @@
X 	@SIPXMEDIAADAPTER_LIBS@ \
X 	@SIPXCALL_LIBS@ \
X 	@LIBWWW_LIBS@ \
X-	@XERCES_LIBS@
X+	@XERCES_LIBS@ \
X+	-lcompat
X 
X noinst_HEADERS = \
X 	ivr/clientMain.h \
END-of-./sipxvxml/files/patch-src_client_Makefile.in
echo x - ./sipxvxml/files/patch-src_log_SBlogOSUtils.cpp
sed 's/^X//' >./sipxvxml/files/patch-src_log_SBlogOSUtils.cpp << 'END-of-./sipxvxml/files/patch-src_log_SBlogOSUtils.cpp'
X--- ./src/log/SBlogOSUtils.cpp.orig	Fri Dec 29 10:50:07 2006
X+++ ./src/log/SBlogOSUtils.cpp	Fri Dec 29 10:50:26 2006
X@@ -37,6 +37,7 @@
X #include <sys/times.h>                  // For times( )
X #endif
X 
X+#include <sys/types.h>
X #include <sys/timeb.h>                  // for ftime( )/_ftime( )
X #include <sys/stat.h>                   // for stat( )
X 
END-of-./sipxvxml/files/patch-src_log_SBlogOSUtils.cpp
echo x - ./sipxvxml/files/patch-src_VXI_XMLChConverter.hpp
sed 's/^X//' >./sipxvxml/files/patch-src_VXI_XMLChConverter.hpp << 'END-of-./sipxvxml/files/patch-src_VXI_XMLChConverter.hpp'
X--- ./src/VXI/XMLChConverter.hpp.orig	Fri Dec 29 11:01:48 2006
X+++ ./src/VXI/XMLChConverter.hpp	Fri Dec 29 11:02:27 2006
X@@ -27,7 +27,7 @@
X // provides an imperfect conversion from UTF-16 to UTF-32, ignoring all
X // surrogate pairs.
X 
X-#if defined(__linux__) || \
X+#if defined(__linux__) || defined(__FreeBSD__) || \
X     defined(SOLARIS) || defined(__SVR4) || defined(UNIXWARE)
X #define UTF16TO32
X 
END-of-./sipxvxml/files/patch-src_VXI_XMLChConverter.hpp
echo x - ./sipxvxml/files/pkg-deinstall.in
sed 's/^X//' >./sipxvxml/files/pkg-deinstall.in << 'END-of-./sipxvxml/files/pkg-deinstall.in'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XLOCALSTATEDIR="%%LOCALSTATEDIR%%"
X
Xpost-deinstall() {
X        echo "WARNING: If you will *NOT* use this package anymore, please remove
X the"
X        echo "  following file manually:"
X        echo "  ${LOCALSTATEDIR}/sipxdata/upgrade/sipxvxml-previous.tgz"
X        echo
X}
X
Xcase $2 in
X        POST-DEINSTALL)
X                post-deinstall
X                ;;
Xesac
END-of-./sipxvxml/files/pkg-deinstall.in
echo x - ./sipxvxml/pkg-plist
sed 's/^X//' >./sipxvxml/pkg-plist << 'END-of-./sipxvxml/pkg-plist'
Xbin/sipXvxml
Xbin/sipXvxml.sh
Xbin/sipxvxml-config
Xetc/sipxpbx/mediaserver-config.in
Xetc/sipxpbx/process.d/sipXvxml.process.xml
Xinclude/src/fdlibm/fdlibm.h
Xinclude/src/jsapi.h
Xinclude/src/jsarena.h
Xinclude/src/jsarray.h
Xinclude/src/jsatom.h
Xinclude/src/jsbit.h
Xinclude/src/jsbool.h
Xinclude/src/jsclist.h
Xinclude/src/jscntxt.h
Xinclude/src/jscompat.h
Xinclude/src/jsconfig.h
Xinclude/src/jscpucfg.h
Xinclude/src/jsdate.h
Xinclude/src/jsdbgapi.h
Xinclude/src/jsdhash.h
Xinclude/src/jsdtoa.h
Xinclude/src/jsemit.h
Xinclude/src/jsexn.h
Xinclude/src/jsfile.h
Xinclude/src/jsfun.h
Xinclude/src/jsgc.h
Xinclude/src/jshash.h
Xinclude/src/jsinterp.h
Xinclude/src/jslibmath.h
Xinclude/src/jslock.h
Xinclude/src/jslong.h
Xinclude/src/jsmath.h
Xinclude/src/jsnum.h
Xinclude/src/jsobj.h
Xinclude/src/jsopcode.h
Xinclude/src/jsosdep.h
Xinclude/src/jsotypes.h
Xinclude/src/jsparse.h
Xinclude/src/jsprf.h
Xinclude/src/jsprvtd.h
Xinclude/src/jspubtd.h
Xinclude/src/jsregexp.h
Xinclude/src/jsscan.h
Xinclude/src/jsscope.h
Xinclude/src/jsscript.h
Xinclude/src/jsstddef.h
Xinclude/src/jsstr.h
Xinclude/src/jstypes.h
Xinclude/src/jsutil.h
Xinclude/src/jsxdrapi.h
Xinclude/src/prmjtime.h
Xinclude/src/resource.h
X@dirrm www/sipX/conf
X@dirrm www/sipX
X@dirrm include/src/fdlibm
X@dirrm include/src
X@dirrm etc/sipxpbx/process.d
X@dirrm etc/sipxpbx
END-of-./sipxvxml/pkg-plist
echo c - ./sipxconfig
mkdir -p ./sipxconfig > /dev/null 2>&1
echo x - ./sipxconfig/Makefile
sed 's/^X//' >./sipxconfig/Makefile << 'END-of-./sipxconfig/Makefile'
X# Ports collection makefile for: sipxconfig
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxconfig
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX server for configuring sipX via a web interface
X
XBUILD_DEPENDS=	ant:${PORTSDIR}/devel/apache-ant \
X		${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
X		gem:${PORTSDIR}/devel/ruby-gems \
X		rake:${PORTSDIR}/devel/rubygem-rake \
X		zip:${PORTSDIR}/archivers/zip \
X		ginstall:${PORTSDIR}/sysutils/coreutils
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		sipXcommserver:${PORTSDIR}/net/sipxcommserverlib \
X		pcre.0:${PORTSDIR}/devel/pcre
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
X		psql:${PORTSDIR}/databases/postgresql81-client
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XUSE_JAVA=	1.4+
XUSE_APACHE=	2.0+
XUSE_RUBY=	yes
XGNU_CONFIGURE=	yes
XLOCALSTATEDIR=${DESTDIR}/var
XCONFIGURE_ENV+=	JAVA_HOME=${JAVA_HOME} \
X		wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR} \
X		--enable-ruby-bindings
XSUB_LIST=	LOCALSTATEDIR=${LOCALSTATEDIR}
XSUB_FILES=	pkg-deinstall
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/web/bin/sipxconfig.sh.in
X	@${REINPLACE_CMD} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/web/bin/sipxconfig.sh.in
X
X.include <bsd.port.mk>
END-of-./sipxconfig/Makefile
echo x - ./sipxconfig/pkg-descr
sed 's/^X//' >./sipxconfig/pkg-descr << 'END-of-./sipxconfig/pkg-descr'
XsipXconfig is the web based configuration system for sipX.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxconfig/pkg-descr
echo x - ./sipxconfig/distinfo
sed 's/^X//' >./sipxconfig/distinfo << 'END-of-./sipxconfig/distinfo'
XMD5 (sipxconfig-3.6.0.tar.bz2) = cb88f76aec1952340520a087af388651
XSHA256 (sipxconfig-3.6.0.tar.bz2) = b2b523d43352f3b23e69ec8c35df80acf791384f5b0c9d58e34eaed72b975bc7
XSIZE (sipxconfig-3.6.0.tar.bz2) = 22531358
END-of-./sipxconfig/distinfo
echo c - ./sipxconfig/files
mkdir -p ./sipxconfig/files > /dev/null 2>&1
echo x - ./sipxconfig/files/pkg-deinstall.in
sed 's/^X//' >./sipxconfig/files/pkg-deinstall.in << 'END-of-./sipxconfig/files/pkg-deinstall.in'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XLOCALSTATEDIR="%%LOCALSTATEDIR%%"
X
Xpost-deinstall() {
X        echo "WARNING: If you will *NOT* use this package anymore, please remove
X the"
X        echo "  following file manually:"
X        echo "  ${LOCALSTATEDIR}/sipxdata/upgrade/sipxconfig-previous.tgz"
X        echo
X}
X
Xcase $2 in
X        POST-DEINSTALL)
X                post-deinstall
X                ;;
Xesac
END-of-./sipxconfig/files/pkg-deinstall.in
echo x - ./sipxconfig/files/patch-neoconf_src_org_sipfoundry_sipxconfig_system.beans.xml
sed 's/^X//' >./sipxconfig/files/patch-neoconf_src_org_sipfoundry_sipxconfig_system.beans.xml << 'END-of-./sipxconfig/files/patch-neoconf_src_org_sipfoundry_sipxconfig_system.beans.xml'
X--- ./neoconf/src/org/sipfoundry/sipxconfig/system.beans.xml.orig	Wed Jan  3 13:50:37 2007
X+++ ./neoconf/src/org/sipfoundry/sipxconfig/system.beans.xml	Wed Jan  3 13:50:58 2007
X@@ -47,7 +47,7 @@
X       <value>jdbc:postgresql://localhost/SIPXCONFIG</value>
X     </property>
X     <property name="user">
X-      <value>postgres</value>
X+      <value>pgsql</value>
X     </property>
X     <!-- Determines how many connections at a time c3p0 will try to acquire when the pool
X     is exhausted.  Default: 3.
END-of-./sipxconfig/files/patch-neoconf_src_org_sipfoundry_sipxconfig_system.beans.xml
echo x - ./sipxconfig/files/patch-neoconf_etc_database_database.xml
sed 's/^X//' >./sipxconfig/files/patch-neoconf_etc_database_database.xml << 'END-of-./sipxconfig/files/patch-neoconf_etc_database_database.xml'
X--- ./neoconf/etc/database/database.xml.orig	Mon Jan  1 16:22:08 2007
X+++ ./neoconf/etc/database/database.xml	Mon Jan  1 16:22:15 2007
X@@ -18,7 +18,7 @@
X   -->
X <project name="database" basedir=".">
X   <property name="sipxconfig.db.name" value="SIPXCONFIG"/>
X-  <property name="sipxconfig.db.user" value="postgres"/>
X+  <property name="sipxconfig.db.user" value="pgsql"/>
X   <property name="sipxconfig.db.password" value=""/>
X   <property name="sql.dir" location="${basedir}"/>
X   <property name="sipxpbx.conf.dir" location="${basedir}/.."/>  
END-of-./sipxconfig/files/patch-neoconf_etc_database_database.xml
echo x - ./sipxconfig/files/patch-neoconf_build.xml
sed 's/^X//' >./sipxconfig/files/patch-neoconf_build.xml << 'END-of-./sipxconfig/files/patch-neoconf_build.xml'
X--- ./neoconf/build.xml.orig	Wed Jan  3 13:56:01 2007
X+++ ./neoconf/build.xml	Wed Jan  3 13:56:07 2007
X@@ -1,6 +1,6 @@
X <project name="neoconf" default="default">
X   <property name="sipxconfig.db.pds" value="SIPXCONFIG_TEST" />
X-  <property name="sipxconfig.db.user" value="postgres" />
X+  <property name="sipxconfig.db.user" value="pgsql" />
X 
X   <property name="test.src.dir" value="test" />
X   <property name="checkstyle.severity" value="error" />
END-of-./sipxconfig/files/patch-neoconf_build.xml
echo x - ./sipxconfig/files/patch-meta_hibernate.properties
sed 's/^X//' >./sipxconfig/files/patch-meta_hibernate.properties << 'END-of-./sipxconfig/files/patch-meta_hibernate.properties'
X--- ./meta/hibernate.properties.orig	Wed Jan  3 13:48:37 2007
X+++ ./meta/hibernate.properties	Wed Jan  3 13:48:45 2007
X@@ -3,4 +3,4 @@
X hibernate.dialect org.hibernate.dialect.PostgreSQLDialect
X hibernate.connection.url jdbc:postgresql://localhost/SIPXCONFIG
X hibernate.connection.driver_class org.postgresql.Driver
X-hibernate.connection.username postgres
X+hibernate.connection.username pgsql
END-of-./sipxconfig/files/patch-meta_hibernate.properties
echo x - ./sipxconfig/files/patch-web_bin_sipxconfig.sh.in
sed 's/^X//' >./sipxconfig/files/patch-web_bin_sipxconfig.sh.in << 'END-of-./sipxconfig/files/patch-web_bin_sipxconfig.sh.in'
X--- web/bin/sipxconfig.sh.in.orig	Mon Jan  1 14:57:05 2007
X+++ web/bin/sipxconfig.sh.in	Tue Jan  9 14:48:22 2007
X@@ -23,7 +23,7 @@
X : ${DatabaseProject:=@sipxpbx.conf.dir@/database/database.xml}
X : ${LibDir:=@sipxconfig.lib.dir@}
X : ${Psql:=psql}
X-: ${ServiceDir:=/etc/init.d}
X+: ${ServiceDir:=/usr/local/etc/rc.d}
X : ${SubstituteUser:=su}
X : ${Chown:=chown}
X : ${LogDir:=@sipxpbx.log.dir@}
X@@ -215,8 +215,8 @@
X #  2. running but not setup to communicate w/java or ${Psql} command
X #  3. Database is not created
X databaseCheck() {
X-    ${Psql} --list --field-separator , --no-align --username postgres \
X-    | cut --delimiter , --fields 1 \
X+    ${Psql} --list --field-separator , --no-align --username pgsql \
X+    | cut -d , -f 1 \
X     | grep "${Database}" > /dev/null 2>&1
X }
X 
X@@ -225,7 +225,7 @@
X databaseVersionCheck() {
X     dbver=`${Psql} --tuples-only --no-align \
X            --command "select max(vh.version) from version_history vh;" \
X-           ${Database} postgres`
X+           ${Database} pgsql`
X     if [ $? -ne 0 -o "$dbver" = "" ]
X     then
X         echo "Error: could not get the database version.  Exiting now."
X@@ -263,7 +263,6 @@
X    then
X        echo "Initializing configuration database..."
X        postgresSetup
X-       setPostgresRunlevels
X        databaseCommand create
X        echo -n "Configuration database initialized"
X    fi
X@@ -274,7 +273,7 @@
X postgresSetup() {
X 
X   # Set up the server.
X-  Service=`postgresService`
X+  Service=postgresql
X 
X   # May not by running, so eat up error (ENG-314)
X   ${ServiceDir}/${Service} stop 2>&1 1> /dev/null
X@@ -282,21 +281,16 @@
X   # Custom
X   if test -z $PGDATA
X   then
X-      # Debian/Gentoo
X-      if test -d /var/lib/postgresql/data
X-      then
X-          PGDATA=/var/lib/postgresql/data
X-      else
X-          # Redhat
X-          PGDATA=/var/lib/pgsql/data
X-      fi
X+      PGDATA=~pgsql/data
X   fi
X 
X   # Postgres db is initialized on startup on Redhat, but not on other
X   # distros so unless we put a "if distro=rh"  we need to init here
X   if [ ! -f $PGDATA/PG_VERSION ] || [ ! -d $PGDATA/base ]
X   then
X-      $SubstituteUser - postgres -c "initdb --pgdata=$PGDATA"
X+      # XXX only works if user has added postgresql_enable="YES" to
X+      # an rc.conf file.
X+      sh @PREFIX@/rc.d/postgresql initdb
X   fi
X 
X   # Create backup file (possibly) requiring update
X@@ -324,19 +318,20 @@
X   fi
X 
X   # Open up TCP/IP connections
X-  sed -i-sipx.bak -e 's/\#tcpip_socket\s=\sfalse/tcpip_socket = true/g' \
X+  gsed -i-sipx.bak -e 's/\#tcpip_socket\s=\sfalse/tcpip_socket = true/g' \
X           $PGDATA/postgresql.conf
X-  ${Chown} postgres:postgres $PGDATA/postgresql.conf
X+  ${Chown} pgsql:pgsql $PGDATA/postgresql.conf
X 
X   # Postmaster to allow connections
X   echo "-i" > $PGDATA/postmaster.opts.default
X   chmod 664 $PGDATA/postmaster.opts.default
X-  ${Chown} postgres:postgres $PGDATA/postmaster.opts.default
X+  ${Chown} pgsql:pgsql $PGDATA/postmaster.opts.default
X 
X   ${ServiceDir}/$Service start
X }
X 
X # Have postgres start automatically with system reboot
X+# XXX Don't worry, we don't call this under FreeBSD
X setPostgresRunlevels() {
X     # Arrange for Postgres to be started automatically in runlevels 3
X     # and 5.
END-of-./sipxconfig/files/patch-web_bin_sipxconfig.sh.in
echo x - ./sipxconfig/files/patch-web_bin_sipxconfig-testsuite
sed 's/^X//' >./sipxconfig/files/patch-web_bin_sipxconfig-testsuite << 'END-of-./sipxconfig/files/patch-web_bin_sipxconfig-testsuite'
X--- ./web/bin/sipxconfig-testsuite.orig	Wed Jan  3 13:46:42 2007
X+++ ./web/bin/sipxconfig-testsuite	Wed Jan  3 13:47:37 2007
X@@ -78,8 +78,8 @@
X   Expected=`cat <<EOF
X /etc/init.d/postgresql stop
X su - postgres -c initdb --pgdata=$PGDATA
X-chown postgres:postgres $PGDATA/postgresql.conf
X-chown postgres:postgres $PGDATA/postmaster.opts.default
X+chown pgsql:pgsql $PGDATA/postgresql.conf
X+chown pgsql:pgsql $PGDATA/postmaster.opts.default
X /etc/init.d/postgresql start
X EOF
X `
END-of-./sipxconfig/files/patch-web_bin_sipxconfig-testsuite
echo x - ./sipxconfig/files/patch-web_bin_create-ssl-keystore.sh.in
sed 's/^X//' >./sipxconfig/files/patch-web_bin_create-ssl-keystore.sh.in << 'END-of-./sipxconfig/files/patch-web_bin_create-ssl-keystore.sh.in'
X--- ./web/bin/create-ssl-keystore.sh.in.orig	Thu Jan  4 16:15:06 2007
X+++ ./web/bin/create-ssl-keystore.sh.in	Thu Jan  4 16:26:01 2007
X@@ -1,4 +1,4 @@
X-#!/bin/sh
X+#!/usr/local/bin/bash
X ##
X ## create-ssl-keystore.sh
X ##
X@@ -21,11 +21,11 @@
X PreviousChecksum=""
X openssl="@openssl@"
X 
X-Checksum=`cat $Certificate $Key | md5sum | awk '{print $1}'`
X+Checksum=`cat $Certificate $Key | /sbin/md5 -r | awk '{print $1}'`
X if [ -f $KeyStoreFilesChecksum ]; then
X   if [ -f $KeyStore ]; then
X     PreviousChecksum=`cat $KeyStoreFilesChecksum`
X-    if [ "$Checksum" == "$PreviousChecksum" ]; then
X+    if [ "x$Checksum" = "x$PreviousChecksum" ]; then
X       echo "Creating $KeyStore was skipped, previous checksum of contents matched"
X       exit 0;
X     fi
END-of-./sipxconfig/files/patch-web_bin_create-ssl-keystore.sh.in
echo x - ./sipxconfig/files/patch-build.properties.in
sed 's/^X//' >./sipxconfig/files/patch-build.properties.in << 'END-of-./sipxconfig/files/patch-build.properties.in'
X--- ./build.properties.in.orig	Wed Jan  3 13:45:59 2007
X+++ ./build.properties.in	Wed Jan  3 13:46:08 2007
X@@ -28,7 +28,7 @@
X sipxpbx.user=@SIPXPBXUSER@
X 
X sipxconfig.db.pds=SIPXCONFIG_TEST
X-sipxconfig.db.user=postgres
X+sipxconfig.db.user=pgsql
X sipxpbx.log.dir=@SIPX_LOGDIR@
X sipxpbx.run.dir=@SIPX_RUNDIR@
X sipxpbx.tmp.dir=@SIPX_TMPDIR@
END-of-./sipxconfig/files/patch-build.properties.in
echo x - ./sipxconfig/files/patch-configure
sed 's/^X//' >./sipxconfig/files/patch-configure << 'END-of-./sipxconfig/files/patch-configure'
X--- configure.orig	Tue Jan  9 15:13:38 2007
X+++ configure	Tue Jan  9 15:14:11 2007
X@@ -2976,7 +2976,7 @@
X fi
X 
X 
X-  if test "x$RUBY" == "x" ; then
X+  if test "x$RUBY" = "x" ; then
X     { { echo "$as_me:$LINENO: error: ruby is required" >&5
X echo "$as_me: error: ruby is required" >&2;}
X    { (exit 1); exit 1; }; }
X@@ -3085,7 +3085,7 @@
X 
X 
X   minGemVersion=0.8.11
X-  if test "x$GEM" == "x" ; then
X+  if test "x$GEM" = "x" ; then
X     echo "$as_me:$LINENO: result: * to install ruby gems follow your distro instructions, " >&5
X echo "${ECHO_T}* to install ruby gems follow your distro instructions, " >&6
X     echo "$as_me:$LINENO: result: * locate the rpm on pbone or run the following commands: " >&5
X@@ -3186,7 +3186,7 @@
X fi
X 
X 
X-  if test "x$RAKE" == "x" ; then
X+  if test "x$RAKE" = "x" ; then
X     { { echo "$as_me:$LINENO: error: rake is required.  type 'gem install rake --no-rdoc'" >&5
X echo "$as_me: error: rake is required.  type 'gem install rake --no-rdoc'" >&2;}
X    { (exit 1); exit 1; }; }
X@@ -3239,7 +3239,7 @@
X # CHECK_RUBY_GEM([file-tail])
X 
X 
X-if test x$enable_ruby_binding == xyes ; then
X+if test x$enable_ruby_binding = xyes ; then
X   RUBY_BINDINGS_ENABLED="ruby-bindings-enabled="
X 
X     abs_srcdir=`cd $srcdir && pwd`
END-of-./sipxconfig/files/patch-configure
echo x - ./sipxconfig/files/patch-web_bin_create-ssl-truststore.sh.in
sed 's/^X//' >./sipxconfig/files/patch-web_bin_create-ssl-truststore.sh.in << 'END-of-./sipxconfig/files/patch-web_bin_create-ssl-truststore.sh.in'
X--- web/bin/create-ssl-truststore.sh.in.orig	Wed Jan 10 16:47:47 2007
X+++ web/bin/create-ssl-truststore.sh.in	Wed Jan 10 16:48:36 2007
X@@ -83,11 +83,11 @@
X fi
X 
X if [ "${Action}" = "CHECKSUM" ]; then
X-  Checksum=`cat $Certificates | md5sum | awk '{print $1}'`
X+  Checksum=`cat $Certificates | md5 -r | awk '{print $1}'`
X   if [ -f $CertificatesChecksum ]; then
X     if [ -f $TrustStore ]; then
X       PreviousChecksum=`cat $CertificatesChecksum`
X-      if [ $Checksum == $PreviousChecksum ]; then
X+      if [ "x$Checksum" = "x$PreviousChecksum" ]; then
X         echo "Creating $TrustStore was skipped, previous checksum of contents matched"
X         exit 0;
X       fi
END-of-./sipxconfig/files/patch-web_bin_create-ssl-truststore.sh.in
echo x - ./sipxconfig/pkg-plist
sed 's/^X//' >./sipxconfig/pkg-plist << 'END-of-./sipxconfig/pkg-plist'
Xbin/sipxconfig-agent
Xbin/sipxconfig-config
Xbin/sipxconfig.sh
Xbin/ssl-cert/create-ssl-keystore.sh
Xbin/ssl-cert/create-ssl-truststore.sh
Xetc/sipxpbx/VM_global_library.vm
Xetc/sipxpbx/acme/acme-gateway.vm
Xetc/sipxpbx/acme/acme-gateway.xml
Xetc/sipxpbx/audiocodes/MP108FXOProxy.ini
Xetc/sipxpbx/audiocodes/TP260.ini
Xetc/sipxpbx/audiocodes/mediant-gateway.xml
Xetc/sipxpbx/audiocodes/tp260-gateway.xml
Xetc/sipxpbx/ciscoAta/ata-ptag.dat
Xetc/sipxpbx/ciscoAta/gk-ptag.dat
Xetc/sipxpbx/ciscoAta/ld-ptag.dat
Xetc/sipxpbx/ciscoAta/line.xml
Xetc/sipxpbx/ciscoAta/phone.xml
Xetc/sipxpbx/ciscoAta/types.xml
Xetc/sipxpbx/ciscoIp/cisco-ip.vm
Xetc/sipxpbx/ciscoIp/line.xml
Xetc/sipxpbx/ciscoIp/phone.xml
Xetc/sipxpbx/ciscoIp/upload.xml
Xetc/sipxpbx/commserver/forwardingrules.vm
Xetc/sipxpbx/commserver/server.xml
Xetc/sipxpbx/database/attendant_schedule.sql
Xetc/sipxpbx/database/attendant_settings.sql
Xetc/sipxpbx/database/caller-alias-2.sql
Xetc/sipxpbx/database/caller-alias.sql
Xetc/sipxpbx/database/database.xml
Xetc/sipxpbx/database/database.xml.orig
Xetc/sipxpbx/database/domain.sql
Xetc/sipxpbx/database/grandstreamV2.sql
Xetc/sipxpbx/database/intercom.sql
Xetc/sipxpbx/database/ldap.sql
Xetc/sipxpbx/database/long-distance-rule.sql
Xetc/sipxpbx/database/migrate-2.8.sql
Xetc/sipxpbx/database/park-orbit-settings.sql
Xetc/sipxpbx/database/permission.sql
Xetc/sipxpbx/database/schema-3.0.sql
Xetc/sipxpbx/database/schema.sql
Xetc/sipxpbx/database/settings-refactoring.sql
Xetc/sipxpbx/database/supervisor.sql
Xetc/sipxpbx/database/upload.sql
Xetc/sipxpbx/database/upload_deployed.sql
Xetc/sipxpbx/dialplan/ch.dialrules.beans.xml
Xetc/sipxpbx/dialplan/de.dialrules.beans.xml
Xetc/sipxpbx/dialplan/dialrules.beans.xml
Xetc/sipxpbx/dialplan/pl.dialrules.beans.xml
Xetc/sipxpbx/dialplan/us.dialrules.beans.xml
Xetc/sipxpbx/grandstream/line.xml
Xetc/sipxpbx/grandstream/phone.xml
Xetc/sipxpbx/grandstream/types.xml
Xetc/sipxpbx/hitachi/line.xml
Xetc/sipxpbx/hitachi/loadrun.ini
Xetc/sipxpbx/hitachi/phone.xml
Xetc/sipxpbx/hitachi/types.xml
Xetc/sipxpbx/hitachi/user.ini.vm
Xetc/sipxpbx/kphone/kphonerc.vm
Xetc/sipxpbx/kphone/line.xml
Xetc/sipxpbx/kphone/phone.xml
Xetc/sipxpbx/log4j.properties
Xetc/sipxpbx/polycom/line.xml
Xetc/sipxpbx/polycom/mac-address.cfg.vm
Xetc/sipxpbx/polycom/mac-address.d/phone.cfg.vm
Xetc/sipxpbx/polycom/mac-address.d/sip-1.6.cfg.vm
Xetc/sipxpbx/polycom/mac-address.d/sip-2.0.cfg.vm
Xetc/sipxpbx/polycom/phone.xml
Xetc/sipxpbx/polycom/types.xml
Xetc/sipxpbx/polycom/upload.xml
Xetc/sipxpbx/process.d/sipxconfig.process.xml
Xetc/sipxpbx/setting.dtd
Xetc/sipxpbx/setting.xsl
Xetc/sipxpbx/sipxconference/bridge.xml
Xetc/sipxpbx/sipxconference/conference.xml
Xetc/sipxpbx/sipxconfig-jetty.xml
Xetc/sipxpbx/sipxconfig.properties.in
Xetc/sipxpbx/sipxpark/park-orbit.xml
Xetc/sipxpbx/sipxvxml/autoattendant.vm
Xetc/sipxpbx/sipxvxml/autoattendant.xml
Xetc/sipxpbx/snom/line.xml
Xetc/sipxpbx/snom/phone.xml
Xetc/sipxpbx/snom/snom.vm
Xetc/sipxpbx/snom/types.xml
Xetc/sipxpbx/topology.xml.in
Xetc/sipxpbx/unmanagedPhone/line.xml
Xetc/sipxpbx/unmanagedPhone/phone.xml
Xetc/sipxpbx/unmanagedPhone/upload.xml
Xetc/sipxpbx/user-settings.xml
Xlib/ruby/gems/1.8/cache/sipXconfig-agent-1.0.0.gem
Xlib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/bin
Xlib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/bin/sipxconfig-agent.in
Xlib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/lib
Xlib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/lib/main.rb
Xlib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/lib/server.rb
Xlib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/lib/sipxconfig-agent.wsdl
Xlib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/tests
Xlib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/tests/server_test.rb
Xlib/ruby/gems/1.8/specifications/sipXconfig-agent-1.0.0.gemspec
Xshare/sipxpbx/lib/acegi-security-1.0.0-RC1.jar
Xshare/sipxpbx/lib/activation-1.0.2.jar
Xshare/sipxpbx/lib/agent-bindings.jar
Xshare/sipxpbx/lib/ant-1.6.5.jar
Xshare/sipxpbx/lib/ant-launcher-1.6.5.jar
Xshare/sipxpbx/lib/antlr-2.7.5H3.jar
Xshare/sipxpbx/lib/aopalliance-1.0.jar
Xshare/sipxpbx/lib/asm-1.5.3.jar
Xshare/sipxpbx/lib/axis-1.3.jar
Xshare/sipxpbx/lib/axis-schema-1.3.jar
Xshare/sipxpbx/lib/bsf-2.3.0.jar
Xshare/sipxpbx/lib/c3p0-0.9.0.2.jar
Xshare/sipxpbx/lib/cglib-2.1.2.jar
Xshare/sipxpbx/lib/commons-beanutils-1.7.0.jar
Xshare/sipxpbx/lib/commons-codec-1.3.jar
Xshare/sipxpbx/lib/commons-collections-3.1.jar
Xshare/sipxpbx/lib/commons-digester-1.7.jar
Xshare/sipxpbx/lib/commons-discovery-0.2.jar
Xshare/sipxpbx/lib/commons-fileupload-1.1.1.jar
Xshare/sipxpbx/lib/commons-io-1.1.jar
Xshare/sipxpbx/lib/commons-lang-2.1.jar
Xshare/sipxpbx/lib/commons-logging-1.0.4.jar
Xshare/sipxpbx/lib/commons-pool-1.2.jar
Xshare/sipxpbx/lib/dom4j-1.6.1.jar
Xshare/sipxpbx/lib/ehcache-1.1.jar
Xshare/sipxpbx/lib/hibernate-3.1.3.jar
Xshare/sipxpbx/lib/hitachi-phones.jar
Xshare/sipxpbx/lib/hivemind-1.1.jar
Xshare/sipxpbx/lib/hivemind-lib-1.1.jar
Xshare/sipxpbx/lib/jakarta-oro-2.0.8.jar
Xshare/sipxpbx/lib/jasper-compiler-4.1.31.jar
Xshare/sipxpbx/lib/jasper-runtime-4.1.31.jar
Xshare/sipxpbx/lib/javamail-1.3.2.jar
Xshare/sipxpbx/lib/javassist-3.0.jar
Xshare/sipxpbx/lib/javax.servlet.jar
Xshare/sipxpbx/lib/javax.servlet.jsp.jar
Xshare/sipxpbx/lib/jaxen-full-1.0fcs.jar
Xshare/sipxpbx/lib/jaxrpc.jar
Xshare/sipxpbx/lib/jetty-5.1.4.jar
Xshare/sipxpbx/lib/jta.jar
Xshare/sipxpbx/lib/log4j-1.2.8.jar
Xshare/sipxpbx/lib/logkit-1.0.1.jar
Xshare/sipxpbx/lib/lucene-core-2.0.0.jar
Xshare/sipxpbx/lib/odmg-3.0.jar
Xshare/sipxpbx/lib/ognl-2.6.7.jar
Xshare/sipxpbx/lib/postgresql-8.0.309.jdbc3.jar
Xshare/sipxpbx/lib/saaj.jar
Xshare/sipxpbx/lib/saxpath-1.0fcs.jar
Xshare/sipxpbx/lib/sipxconfig.jar
Xshare/sipxpbx/lib/sipxconfig.war
Xshare/sipxpbx/lib/spring-1.2.7.jar
Xshare/sipxpbx/lib/tacos-4.0.0-lib.jar
Xshare/sipxpbx/lib/tapestry-4.0.2.jar
Xshare/sipxpbx/lib/tapestry-contrib-4.0.2.jar
Xshare/sipxpbx/lib/velocity-1.4.jar
Xshare/sipxpbx/lib/wsdl4j-1.5.1.jar
Xshare/sipxpbx/lib/xercesImpl-2.7.0.jar
Xshare/sipxpbx/lib/xml-apis-1.3.1.jar
Xshare/sipxpbx/lib/xmlrpc-2.0.jar
X@dirrm bin/ssl-cert
X@dirrm etc/sipxpbx/acme
X@dirrm etc/sipxpbx/audiocodes
X@dirrm etc/sipxpbx/ciscoAta
X@dirrm etc/sipxpbx/ciscoIp
X@dirrm etc/sipxpbx/commserver
X@dirrm etc/sipxpbx/database
X@dirrm etc/sipxpbx/dialplan
X@dirrm etc/sipxpbx/grandstream
X@dirrm etc/sipxpbx/hitachi
X@dirrm etc/sipxpbx/kphone
X@dirrm etc/sipxpbx/polycom
X@dirrm etc/sipxpbx/polycom/mac-address.d
X@dirrm etc/sipxpbx/process.d
X@dirrm etc/sipxpbx/sipxconference
X@dirrm etc/sipxpbx/sipxpark
X@dirrm etc/sipxpbx/sipxvxml
X@dirrm etc/sipxpbx/snom
X@dirrm etc/sipxpbx/unmanagedPhone
X@dirrm etc/sipxpbx
X@dirrm lib/ruby/gems/1.8/cache
X@dirrm lib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0
X@dirrm lib/ruby/gems/1.8/gems
X@dirrm lib/ruby/gems/1.8/specifications
X@dirrm share/sipxpbx/lib
END-of-./sipxconfig/pkg-plist
echo c - ./sipxpbx
mkdir -p ./sipxpbx > /dev/null 2>&1
echo x - ./sipxpbx/Makefile
sed 's/^X//' >./sipxpbx/Makefile << 'END-of-./sipxpbx/Makefile'
X# Ports collection makefile for: sipxpbx
X# Date created: Jan 8, 2007
X# Whom: Michael Durian <durian@shadetreesoftware.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sipxpbx
XPORTVERSION=	3.6.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.sipfoundry.org/pub/sipX/3.6/SRC/
X
XMAINTAINER=	durian@shadetreesoftware.com
XCOMMENT=	sipX PBX - Toplevel sipX port
X
XBUILD_DEPENDS=	${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so:${PORTSDIR}/www/mod_cplusplus \
X		ginstall:${PORTSDIR}/sysutils/coreutils
XLIB_DEPENDS=	sipXport:${PORTSDIR}/net/sipxportlib \
X		sipXtack:${PORTSDIR}/net/sipxtacklib \
X		sipXmedia:${PORTSDIR}/net/sipxmedialib \
X		sipXmediaProcessing:${PORTSDIR}/net/sipxmediaadapterlib \
X		sipXcall:${PORTSDIR}/net/sipxcalllib \
X		sipXcommserver:${PORTSDIR}/net/sipxcommserverlib \
X		expat:${PORTSDIR}/textproc/expat2 \
X		cgicc:${PORTSDIR}/www/cgicc \
X		pcre.0:${PORTSDIR}/devel/pcre
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
X		sipauthproxy:${PORTSDIR}/net/sipxproxy \
X		sipregistrar:${PORTSDIR}/net/sipxregistry \
X		sipxconfig.sh:${PORTSDIR}/net/sipxconfig \
X		sipstatus.sh:${PORTSDIR}/net/sipxpublisher \
X		sipXvxml.sh:${PORTSDIR}/net/sipxvxml \
X		psql:${PORTSDIR}/databases/postgresql81-client
X
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	autoconf:259:env automake:19:env
XUSE_APACHE=	2.0+
XUSE_PERL5_RUN=  yes
XUSE_RC_SUBR=	sipxpbx
XGNU_CONFIGURE=	yes
XLOCALSTATEDIR=${DESTDIR}/var
X
X.include <bsd.port.pre.mk>
XCONFIGURE_ENV+=	wwwdir=${PREFIX}/www/sipX \
X		INSTALL=`which ginstall`
XCONFIGURE_ARGS+=	--enable-sip-tls \
X		--prefix=${PREFIX} \
X		--localstatedir=${LOCALSTATEDIR} \
X		--with-apache-include=${PREFIX}/${APACHEINCLUDEDIR} \
X		--with-apr=${PREFIX}/include/apr-1 \
X		--with-apache-modules=${PREFIX}/${APACHEMODDIR} \
X		--with-apache-home=${PREFIX}/share/apache${APACHE_VERSION} \
X		--with-mod_cplusplus=${PREFIX}/${APACHEINCLUDEDIR}
XSUB_LIST=	LOCALSTATEDIR=${LOCALSTATEDIR} \
X		PREFIX=${PREFIX} \
X		DESTDIR=${DESTDIR}
XSUB_FILES=	pkg-deinstall sipxpbx pkg-message pkg-install
XPKGMESSAGE=	${WRKDIR}/pkg-message
XPKGINSTALL=	${WRKDIR}/pkg-install
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/autodel
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/httpd-sipxchange-config.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/keepalive.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/backup-configs.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/restore-configs.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/backup-mailstore.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/restore-mailstore.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/blat
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipx-chkspace.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/voicemail_clean.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/check-fqdn
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/sipXpark/bin/sipxpark.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/src/watchdog/watchdog.sh.in
X	@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/sipXpresence/bin/sipxpresence.sh.in
X
Xpre-install:
X	@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
X
Xpost-install:
X	# fix up permission on sipX directories under /var
X	${CHOWN} -R sipx:sipx ${LOCALSTATEDIR}/log/sipxpbx
X	${CHOWN} -R sipx:sipx ${LOCALSTATEDIR}/run/sipxpbx
X	${CHOWN} -R sipx:sipx ${LOCALSTATEDIR}/sipxdata
X	${CHOWN} -R sipx:sipx ${PREFIX}/etc/sipxpbx
X	${CHOWN} -R sipx:sipx ${PREFIX}/www/sipX
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-./sipxpbx/Makefile
echo x - ./sipxpbx/pkg-descr
sed 's/^X//' >./sipxpbx/pkg-descr << 'END-of-./sipxpbx/pkg-descr'
XsipXconfig is the web based configuration system for sipX.
X
XWWW: http://sipx-wiki.calivia.com/index.php/Main_Page
END-of-./sipxpbx/pkg-descr
echo x - ./sipxpbx/distinfo
sed 's/^X//' >./sipxpbx/distinfo << 'END-of-./sipxpbx/distinfo'
XMD5 (sipxpbx-3.6.0.tar.bz2) = 44f58fca6a2bfcad97c337fafef609a4
XSHA256 (sipxpbx-3.6.0.tar.bz2) = adc294100cf12e96fdccf3fe424c46447684f73b09b1738e8bd24b959a946fc1
XSIZE (sipxpbx-3.6.0.tar.bz2) = 12804927
END-of-./sipxpbx/distinfo
echo c - ./sipxpbx/files
mkdir -p ./sipxpbx/files > /dev/null 2>&1
echo x - ./sipxpbx/files/pkg-deinstall.in
sed 's/^X//' >./sipxpbx/files/pkg-deinstall.in << 'END-of-./sipxpbx/files/pkg-deinstall.in'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XLOCALSTATEDIR="%%LOCALSTATEDIR%%"
X
Xpost-deinstall() {
X        echo "WARNING: If you will *NOT* use this package anymore, please remove
X the"
X        echo "  following file manually:"
X        echo "  ${LOCALSTATEDIR}/sipxdata/upgrade/sipxpbx-previous.tgz"
X        echo
X}
X
Xcase $2 in
X        POST-DEINSTALL)
X                post-deinstall
X                ;;
Xesac
END-of-./sipxpbx/files/pkg-deinstall.in
echo x - ./sipxpbx/files/sipxpbx.in
sed 's/^X//' >./sipxpbx/files/sipxpbx.in << 'END-of-./sipxpbx/files/sipxpbx.in'
X#!/bin/sh
X
X# PROVIDE: sipxpbx
X# REQUIRE: NETWORKING SERVERS postgresql
X# BEFORE: apache22
X
X#
X# Add the following line to /etc/rc.conf to enable sipXpbx
X# sipxpbx_enable (bool):     Set to "NO" by default.
X#                            Set it to "YES" to enable sipxpbx
X
X. %%RC_SUBR%%
X
Xname="sipxpbx"
Xrcvar=`set_rcvar`
X
Xextra_commands="status"
Xstop_cmd="sipxpbx_stop"
Xstart_cmd="sipxpbx_start"
Xstatus_cmd="sipxpbx_status"
X
X[ -z "$sipxpbx_enable" ] && sipxpbx_enable="NO"
X
X# Source configuration
X. %%PREFIX%%/etc/sipxpbx/config.defs
X
Xiam=`whoami`
X
X# Set the limit for core file size based on the SIPX_CORELIMIT
X# variable in config.defs.
X# This either allows core files to be generated when sipX
X# processes crash (if SIPX_CORELIMIT is "unlimited"), or
X# disallows it (if SIPX_CORELIMIT is "0").
Xulimit -c ${SIPX_CORELIMIT:-0}
X
X# XXX
X# The linux version of this start up file checks to see
X# if coredumps can be made of suid processes and if possible
X# modifies the system to do so.  This makes it possible to
X# debug sipXvxml.  I don't think this is the appropriate place
X# to do this.  If you want to enable this feature,
X#    sysctl kern.sugid_coredump=1
X
X# This should somehow be syncronized with what's in
X# the ProcessDefinitions.xml and Watchdog.xml
Xsipx_processes="watchdog "`find %%PREFIX%%/etc/sipxpbx/process.d -name '*.process.xml' -print | sed -e 's/.process.xml//g' -e 's,%%PREFIX%%/etc/sipxpbx/process.d/,,g'`
X
Xsubproc_start ()
X{
X	proc_name=$1; shift
X	proc_cmd=%%PREFIX%%/bin/$proc_name.sh
X
X	if [ $iam = sipx ]
X	then
X		( exec $proc_cmd ) < /dev/null &
X	elif [ $iam = root ]
X	then
X		su sipx -c "$proc_cmd" < /dev/null &
X	else
X		echo "You must be able to start as sipx" 1>&2
X		exit 1
X	fi
X
X	for ticks in 3 2 1 0
X	do
X		sleep 1
X		test -e %%LOCALSTATEDIR%%/run/sipxpbx/$proc_name.pid && break
X	done
X	if [ ! -e %%LOCALSTATEDIR%%/run/sipxpbx/$proc_name.pid ]
X	then
X		STATUS=1
X		echo "$proc_name did not start"
X	fi
X
X	return $STATUS
X}
X
Xsubproc_stop ()
X{
X
X	proc_name=$1; shift
X
X	STATUS=0
X
X	pidFile=%%LOCALSTATEDIR%%/run/sipxpbx/$proc_name.pid
X	if [ -r $pidFile ]
X	then
X		PID=`cat $pidFile` 2> /dev/null
X		kill $PID 2> /dev/null
X	fi
X}
X
Xsubproc_stop_check ()
X{
X
X	proc_name=$1; shift
X
X	STATUS=0
X
X	pidFile=%%LOCALSTATEDIR%%/run/sipxpbx/$proc_name.pid
X	PID=`cat $pidFile`
X	found_pid=`ps -ax | awk "{if (\\\$1 == $PID) print \\\$1}"`
X	if [ -n "$found_pid" ]
X	then
X		for ticks in 5 4 3 2 1 0
X		do
X			sleep 1
X			found_pid=`ps -ax | \
X			    awk "{if (\\\$1 == $PID) print \\\$1}"`
X			test -n "$found_pid" || break
X		done
X		found_pid=`ps -ax | awk "{if (\\\$1 == $PID) print \\\$1}"`
X		if [ -n "$found_pid" ]
X		then
X			kill -9 $PID 2> /dev/null
X			for ticks in 3 2 1 0
X			do
X				sleep 1
X				found_pid=`ps -ax | \
X				    awk "{if (\\\$1 == $PID) print \\\$1}"`
X				test -n "$found_pid" || break
X			done
X		fi
X
X		found_pid=`ps -ax | awk "{if (\\\$1 == $PID) print \\\$1}"`
X		if [ -n "$found_pid" ]
X		then
X			echo "$proc_name did not stop"
X		fi
X
X		rm -f $pidFile
X	fi
X}
X
Xsubproc_configtest ()
X{
X
X	proc_name=$1; shift
X	proc_cmd=%%PREFIX%%/bin/$proc_name.sh
X
X	status=0
X	if [ -x $proc_cmd ]
X	then
X		if [ $iam = sipx ]
X		then
X			$proc_cmd --configtest
X			status=$?
X		elif [ $iam = root ]
X		then
X			su sipx -c \
X			    "test -x $proc_cmd && $proc_cmd --configtest; echo \$? > %%LOCALSTATEDIR%%/run/sipxpbx/$proc_name.result"
X			status=`cat %%LOCALSTATEDIR%%/run/sipxpbx/$proc_name.result`
X			rm -f %%LOCALSTATEDIR%%/run/sipxpbx/$proc_name.result
X		else
X			echo "You must be able to run as sipx" 1>&2
X		fi
X	else
X		echo "Installation error?  '$proc_cmd' not found" 1>&2
X	fi
X
X	test "$status" = 0 && echo "   OK"
X	# This assures that our return is either 0 or 1, regardless of what
X	# $status was.
X	return $?
X}
X
Xsubproc_status ()
X{
X
X	proc_name=$1
X
X	pidFile=%%LOCALSTATEDIR%%/run/sipxpbx/$proc_name.pid
X	PID=`cat $pidFile`
X
X	echo -n "Checking $proc_name: "
X	found_pid=`ps -ax | awk "{if (\\\$1 == $PID) print \\\$1}"`
X	if [ -n "$found_pid" ]
X	then
X		echo "Running"
X	else
X		echo "Not Running"
X	fi
X}
X
X
Xstart_check ()
X{
X
X	echo -n "Checking $1:"
X	echo "Check $1" > $steperrfile
X	echo -n "   " >> $steperrfile
X}
X
Xfinish_check ()
X{
X
X	check_status=$1
X	STATUS=$(($STATUS+$check_status))
X
X	if [ $check_status -eq 0 ]
X	then
X		echo "Success"
X		cat /dev/null > $steperrfile
X	else
X		echo "Failure"
X		cat $steperrfile >> $errfile
X		echo "" >> $errfile
X	fi
X	echo ""
X}
X
Xinitialize_databases ()
X{
X
X	##
X	## XXX
X	## Verbatim from the linux init script.
X	##
X	## The installation process cannot create the postgres databases
X	##  because (apparently) the network must be initialized first.
X	## Since we have to have root privs for some of the setup operations,
X	##  they must be done explicitly here rather than in the wrapper
X	##  scripts (which are run as user sipx)
X
X	# check to see if we need to do the initial database setup for
X	# sipxconfig
X	if test "CONFIG_SERVER_DISABLED" != "TRUE"
X	then
X		%%PREFIX%%/bin/sipxconfig.sh --setup
X	fi
X	# and the cdr database setup for the proxies and call resolver
X	if test -x %%PREFIX%%/sipxcallresolver.sh
X	then
X		%%PREFIX%%/bin/sipxcallresolver.sh --setup
X	fi
X}
X
X## High-level configtest function
X## Verify that the prerequisites for running sipX are OK.
Xdo_check ()
X{
X
X	## Do the 'global' check first, then call each shell script
X	## to let it do its own checks (using the configtest wrapper
X	## function).
X
X	## Start with a good status, accumulate each check result into this
X	STATUS=0
X
X	## All output is captured in a temporary file,
X	##   which is displayed at the end iff $STATUS != 0
X	errfile=/tmp/sipxpbx_check.$$.log
X	steperrfile=/tmp/sipxpbx_check_step.$$.log
X	cat /dev/null > $errfile
X	cat /dev/null > $steperrfile
X
X	## Check to see that SSL is configured.  THIS SHOULD BE FIRST.
X	start_check "TLS/SSL configuration"
X	if ! [ -e %%PREFIX%%/etc/sipxpbx/ssl/ssl.key -a -e %%PREFIX%%/etc/sipxpbx/ssl/ssl.crt ]
X	then
X		cat <<EOF >> $steperrfile
X	SSL key and/or certificate not found (%%PREFIX%%/etc/sipxpbx/ssl/ssl.{key,crt})
X
X	Run setup wizard or see the instructions in
X	    %%PREFIX%%/share/doc/sipX/INSTALL.ssl
XEOF
X
X		# If this has not been done, then lots of other stuff is
X		# going to fail in non-obvious ways.  Usually, this
X		# failure means that this is the first reboot after sipxpbx
X		# was activated, and the setup wizard has not been run yet.
X		# Rather than let things go and appear to be partly working,
X		# just bail out now.
X		finish_check 1	# force error
X		cat $steperrfile 1>&2
X		exit 1
X	else
X		## Rehash certificate authorities certificates.  If this
X		## fails, it will be caught below.
X		%%PREFIX%%/bin/ssl-cert/ca_rehash > /dev/null 2>&1
X
X		## check certificate
X		%%PREFIX%%/bin/ssl-cert/check-cert.sh \
X		    --name $SIPXCHANGE_DOMAIN_NAME --name $MY_FULL_HOSTNAME \
X		    --fail 5 %%PREFIX%%/etc/sipxpbx/ssl/ssl.crt \
X		    >> $steperrfile 2>&1
X		ssl_status=$?
X	fi
X	finish_check $ssl_status
X
X	initialize_databases
X
X	## Regenerate httpd configuration files from their .in's
X	%%PREFIX%%/bin/httpd-sipxchange-config.sh
X
X	# XXX skip this - a check is run when apache is started
X	## check apache configuration files
X#	start_check "apache"
X	# XXX use our common httpd.conf, not the sipX special one
X#	%%PREFIX%%/sbin/httpd -t -f %%PREFIX%%/etc/apache22/httpd.conf >> $steperrfile 2>&1
X#	finish_check $?
X
X	## Check to see that hosts file does not have extra names on
X	## localhost addresses
X	start_check "/etc/hosts file"
X	localhostStatus=0
X	badNames=/tmp/badnames.$$
X	cat /dev/null > $badNames
X	sed 's/#.*//' /etc/hosts \
X	    | awk '$1 == "127.0.0.1" {for (n = 2; n <= NF; n++) print $n;}' \
X	    | while read name ; \
X	    do
X		case $name in
X			localhost)
X				;;
X			localhost.localdomain)
X				;;
X			*)
X				echo "	$name" >> $badNames
X				;;
X		esac
X	    done
X	if [ -s $badNames ]
X	then
X		cat <<EOF >> $steperrfile
XThe 127.0.0.1 address should map only to the names
X  'localhost.localdomain' and 'localhost'.
X
X  Any other name for that address may cause routing or authentication errors.
X
X  Remove the following names from the 127.0.0.1 line in /etc/hosts:
XEOF
X		cat $badNames >> $steperrfile
X		localhostStatus=1
X	fi
X	rm -f $badNames
X	finish_check $localhostStatus
X
X	# Iterate throught he processes and let each shell script do its
X	# own checks.
X	for process in $sipx_processes
X	do
X		start_check "$process"
X		subproc_configtest $process >> $steperrfile 2>&1
X		finish_check $?
X	done
X
X	testdate=`date -u +%Y-%m-%dT%H:%M:%S`
X	if [ $STATUS -ne 0 ]
X	then
X		(echo ""; echo "sipXpbx configuration problems found:" \
X		echo ""; cat $errfile ) | logger -s -t sipXpbx -p daemon.err
X		echo "$testdate sipXpbx configuration problems found:" \
X		    >> %%LOCALSTATEDIR%%/log/sipxpbx/configtest.log
X		cat $errfile >> %%LOCALSTATEDIR%%/log/sipxpbx/configtest.log
X	else
X		echo "$testdate configtest passed" >> %%LOCALSTATEDIR%%/log/sipxpbx/configtest.log
X	fi
X	rm -f $errfile
X
X	return $STATUS
X}
X
Xsipxpbx_stop ()
X{
X
X	# Iterate through the list of processes, killing each one
X	for process in $sipx_processes
X	do
X		subproc_stop $process
X	done
X	for process in $sipx_processes
X	do
X		subproc_stop_check $process
X	done
X}
X
Xsipxpbx_start ()
X{
X
X	## Clean up various temporary files and locks.
X
X	# Clean up IMDB and all its dependent files.
X	%%PREFIX%%/bin/autodel sipx
X
X	# Remove the named semaphores.
X	rm -f %%LOCALSTATEDIR%%/sipxdata/tmp/imdb.*
X
X	# Remove the watchdog's temporary files.
X	rm -f %%LOCALSTATEDIR%%/sipxdata/tmp/processAlias.dat \
X	    %%LOCALSTATEDIR%%/sipxdata/tmp/locked.lck
X
X	## Check configuration
X	do_check || echo "Attempting to start despite configuration problems"
X
X	### Start the programs.
X
X	# Ensure that sipXvsml is owned by root and that the
X	# UID premission bit is set.
X	chown root %%PREFIX%%/bin/sipXvxml
X	chmod 4755 %%PREFIX%%/bin/sipXvxml
X
X	# Start up the watchdog
X	# Start the watchdog with SIPX_LOGDIR as the working directory,
X	# so that any core files it produces will be put there.
X	cd %%LOCALSTATEDIR%%/log/sipxpbx
X	subproc_start watchdog
X
X	# Wait for keepalive to prime the IMDB, as the CGIs need them
X	for seconds in 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
X	do
X		test -e %%LOCALSTATEDIR%%/run/sipxpbx/keepalive.pid && break
X		[ $seconds -eq 0 ] && break
X		sleep 1
X	done
X
X	[ $seconds -ne 0 ] && echo "sipxpbx" || echo "keepalive pid never appeard"
X}
X
Xsipxpbx_status ()
X{
X
X	for process in $sipx_processes
X	do
X		subproc_status $process
X	done
X}
X
Xload_rc_config $name
Xrun_rc_command "$1"
END-of-./sipxpbx/files/sipxpbx.in
echo x - ./sipxpbx/files/patch-bin_Makefile.am
sed 's/^X//' >./sipxpbx/files/patch-bin_Makefile.am << 'END-of-./sipxpbx/files/patch-bin_Makefile.am'
X--- bin/Makefile.am.orig	Fri Jan 12 17:42:51 2007
X+++ bin/Makefile.am	Fri Jan 12 17:46:27 2007
X@@ -32,9 +32,9 @@
X 	$(bin_SCRIPTS) \
X 	$(SCRIPT_TEMPLATES)
X 
X-install-exec-hook : $(DESTDIR)$(sysconfdir)/init.d/sipxpbx bin-scripts \
X-                    $(DESTDIR)$(sysconfdir)/cron.daily/voicemail_clean \
X-                    $(DESTDIR)$(sysconfdir)/cron.daily/sipx-chkspace
X+install-exec-hook : bin-scripts \
X+                    $(DESTDIR)$(bindir)/voicemail_clean \
X+                    $(DESTDIR)$(bindir)/sipx-chkspace
X 
X $(DESTDIR)$(sysconfdir)/init.d/sipxpbx: $(sysconfdir)/init.d sipxpbx
X 	$(INSTALL) -D -m 755 sipxpbx $(DESTDIR)$(sysconfdir)/init.d/sipxpbx
X@@ -42,18 +42,18 @@
X sipxpbx: sipxpbx.in
X 	$(LocalizeSipXconfig) $(srcdir)/sipxpbx.in > sipxpbx
X 
X-$(DESTDIR)$(sysconfdir)/cron.daily/voicemail_clean: voicemail_clean.in
X+$(DESTDIR)$(bindir)/voicemail_clean: voicemail_clean.in
X 	$(LocalizeSipXconfig) $(srcdir)/voicemail_clean.in > voicemail_clean
X-	$(INSTALL) -D -m 755 voicemail_clean $(DESTDIR)$(sysconfdir)/cron.daily/voicemail_clean
X+	$(INSTALL) -D -m 755 voicemail_clean $(DESTDIR)$(bindir)/voicemail_clean
X 
X-$(DESTDIR)$(sysconfdir)/cron.daily/sipx-chkspace: sipx-chkspace.in
X+$(DESTDIR)$(bindir)/sipx-chkspace: sipx-chkspace.in
X 	$(LocalizeSipXconfig) $(srcdir)/sipx-chkspace.in > sipx-chkspace
X-	$(INSTALL) -D -m 755 sipx-chkspace $(DESTDIR)$(sysconfdir)/cron.daily/sipx-chkspace
X+	$(INSTALL) -D -m 755 sipx-chkspace $(DESTDIR)$(bindir)/sipx-chkspace
X 
X $(sysconfdir)/init.d:
X 	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/init.d 
X 
X-bin-scripts: $(sysconfdir)/init.d
X+bin-scripts:
X 	for s in $(SCRIPT_TEMPLATES); \
X 	do \
X 		tgt=`basename $$s .in`; \
END-of-./sipxpbx/files/patch-bin_Makefile.am
echo x - ./sipxpbx/files/patch-bin_Makefile.in
sed 's/^X//' >./sipxpbx/files/patch-bin_Makefile.in << 'END-of-./sipxpbx/files/patch-bin_Makefile.in'
X--- bin/Makefile.in.orig	Sat Jan 13 16:33:54 2007
X+++ bin/Makefile.in	Sat Jan 13 16:35:35 2007
X@@ -530,9 +530,9 @@
X 	  > ${PACKAGE}-config
X 	chmod +x ${PACKAGE}-config
X 
X-install-exec-hook : $(DESTDIR)$(sysconfdir)/init.d/sipxpbx bin-scripts \
X-                    $(DESTDIR)$(sysconfdir)/cron.daily/voicemail_clean \
X-                    $(DESTDIR)$(sysconfdir)/cron.daily/sipx-chkspace
X+install-exec-hook : bin-scripts \
X+                    $(DESTDIR)$(bindir)/voicemail_clean \
X+                    $(DESTDIR)$(bindir)/sipx-chkspace
X 
X $(DESTDIR)$(sysconfdir)/init.d/sipxpbx: $(sysconfdir)/init.d sipxpbx
X 	$(INSTALL) -D -m 755 sipxpbx $(DESTDIR)$(sysconfdir)/init.d/sipxpbx
X@@ -540,18 +540,18 @@
X sipxpbx: sipxpbx.in
X 	$(LocalizeSipXconfig) $(srcdir)/sipxpbx.in > sipxpbx
X 
X-$(DESTDIR)$(sysconfdir)/cron.daily/voicemail_clean: voicemail_clean.in
X+$(DESTDIR)$(bindir)/voicemail_clean: voicemail_clean.in
X 	$(LocalizeSipXconfig) $(srcdir)/voicemail_clean.in > voicemail_clean
X-	$(INSTALL) -D -m 755 voicemail_clean $(DESTDIR)$(sysconfdir)/cron.daily/voicemail_clean
X+	$(INSTALL) -D -m 755 voicemail_clean $(DESTDIR)$(bindir)/voicemail_clean
X 
X-$(DESTDIR)$(sysconfdir)/cron.daily/sipx-chkspace: sipx-chkspace.in
X+$(DESTDIR)$(bindir)/sipx-chkspace: sipx-chkspace.in
X 	$(LocalizeSipXconfig) $(srcdir)/sipx-chkspace.in > sipx-chkspace
X-	$(INSTALL) -D -m 755 sipx-chkspace $(DESTDIR)$(sysconfdir)/cron.daily/sipx-chkspace
X+	$(INSTALL) -D -m 755 sipx-chkspace $(DESTDIR)$(bindir)/sipx-chkspace
X 
X $(sysconfdir)/init.d:
X 	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/init.d 
X 
X-bin-scripts: $(sysconfdir)/init.d
X+bin-scripts:
X 	for s in $(SCRIPT_TEMPLATES); \
X 	do \
X 		tgt=`basename $$s .in`; \
END-of-./sipxpbx/files/patch-bin_Makefile.in
echo x - ./sipxpbx/files/patch-bin_autodel
sed 's/^X//' >./sipxpbx/files/patch-bin_autodel << 'END-of-./sipxpbx/files/patch-bin_autodel'
X--- ./bin/autodel.orig	Mon Jan  1 14:51:46 2007
X+++ ./bin/autodel	Tue Jan  2 13:40:34 2007
X@@ -18,17 +18,17 @@
X OWNER=`echo ${1:-$USER} | cut -c 1-8`
X 
X # Parse the output of ipcs for the IDs of the resources we want
X-SEM_IDS=`ipcs -s -c | grep "$OWNER" | cut -d\  -f 1`
X+SEM_IDS=`ipcs -s -c | grep "$OWNER" | awk '{print $2}'`
X 
X for ID in $SEM_IDS
X do
X-        ipcrm sem $ID > /dev/null
X+        ipcrm -s $ID > /dev/null
X done
X 
X # Parse the output of ipcs for the IDs of the resources we want
X-SHM_IDS=`ipcs -m -c | grep "$OWNER" | cut -d\  -f 1`
X+SHM_IDS=`ipcs -m -c | grep "$OWNER" | awk '{print $2}'`
X 
X for ID in $SHM_IDS
X do
X-        ipcrm shm $ID > /dev/null
X+        ipcrm -m $ID > /dev/null
X done
END-of-./sipxpbx/files/patch-bin_autodel
echo x - ./sipxpbx/files/patch-bin_backup-configs.sh.in
sed 's/^X//' >./sipxpbx/files/patch-bin_backup-configs.sh.in << 'END-of-./sipxpbx/files/patch-bin_backup-configs.sh.in'
X--- ./bin/backup-configs.sh.in.orig	Wed Jan  3 14:10:48 2007
X+++ ./bin/backup-configs.sh.in	Wed Jan  3 14:12:57 2007
X@@ -54,7 +54,7 @@
X done
X 
X dump_database() {
X-        pg_dump -U postgres -F t SIPXCONFIG
X+        pg_dump -U pgsql -F t SIPXCONFIG
X }
X 
X if [ ! -f /var/run/postmaster*.pid ]
END-of-./sipxpbx/files/patch-bin_backup-configs.sh.in
echo x - ./sipxpbx/files/patch-bin_restore-configs.sh.in
sed 's/^X//' >./sipxpbx/files/patch-bin_restore-configs.sh.in << 'END-of-./sipxpbx/files/patch-bin_restore-configs.sh.in'
X--- ./bin/restore-configs.sh.in.orig	Wed Jan  3 14:13:23 2007
X+++ ./bin/restore-configs.sh.in	Wed Jan  3 14:13:44 2007
X@@ -81,7 +81,7 @@
X echo "done."
X 
X echo -n "Restoring database... "
X-dropdb -U postgres SIPXCONFIG > /dev/null
X-createdb -U postgres --encoding=UNICODE SIPXCONFIG > /dev/null
X-zcat $BACKUP_DIR/pds.tar.gz | pg_restore -U postgres -d SIPXCONFIG 2> /dev/null
X+dropdb -U pgsql SIPXCONFIG > /dev/null
X+createdb -U pgsql --encoding=UNICODE SIPXCONFIG > /dev/null
X+zcat $BACKUP_DIR/pds.tar.gz | pg_restore -U pgsql -d SIPXCONFIG 2> /dev/null
X echo "done."
END-of-./sipxpbx/files/patch-bin_restore-configs.sh.in
echo x - ./sipxpbx/files/patch-sipXpark_doc_Makefile.in
sed 's/^X//' >./sipxpbx/files/patch-sipXpark_doc_Makefile.in << 'END-of-./sipxpbx/files/patch-sipXpark_doc_Makefile.in'
X--- ./sipXpark/doc/Makefile.in.orig	Sat Dec 30 15:01:03 2006
X+++ ./sipXpark/doc/Makefile.in	Sat Dec 30 15:22:35 2006
X@@ -494,7 +494,7 @@
X 	rm -rf $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	@INSTALL@ -d $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	find @PACKAGE@ -type f -print \
X-	| xargs --replace=% @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X+	| xargs -J % @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X 
X clean: clean-doc
X 
END-of-./sipxpbx/files/patch-sipXpark_doc_Makefile.in
echo x - ./sipxpbx/files/patch-sipXpark_doc_Makefile.am
sed 's/^X//' >./sipxpbx/files/patch-sipXpark_doc_Makefile.am << 'END-of-./sipxpbx/files/patch-sipXpark_doc_Makefile.am'
X--- ./sipXpark/doc/Makefile.am.orig	Sat Dec 30 15:21:53 2006
X+++ ./sipXpark/doc/Makefile.am	Sat Dec 30 15:22:25 2006
X@@ -29,7 +29,7 @@
X 	rm -rf $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	@INSTALL@ -d $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	find @PACKAGE@ -type f -print \
X-	| xargs --replace=% @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X+	| xargs -J % @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X 
X clean: clean-doc
X 
END-of-./sipxpbx/files/patch-sipXpark_doc_Makefile.am
echo x - ./sipxpbx/files/pkg-message.in
sed 's/^X//' >./sipxpbx/files/pkg-message.in << 'END-of-./sipxpbx/files/pkg-message.in'
X
X********************************************************************
XBefore you can run sipX, you must perform a number of manual
Xconfiguration step.  This includes adding DNS entries, setting up
XSSL certificates and modifying your httpd.conf file.  The SSL
Xcertificate is *not* optional, even for quick tests, the various
XsipX modules use the SSL certificate when they communcation with
Xeach other).
X
XIn general, the following URL is a good place to get information
Xon installing and running sipX.  We've already taken care of the
Xcompiling and installing bits, but you still need to do some final
Xconfiguration:
X	http://sipx-wiki.calivia.com/index.php/SipX_Start_Here
X
XsipX can take advantage of DNS SRV for your SIP traffic.  This
Xaffords and extra level of flexibility if you choose to use it.
XPlease read:
X	http://sipx-wiki.calivia.com/index.php/DNS_Configuration
X
XsipX provide a couple scripts to simplify the SSL certificate
Xgeneration and installation procedure.  Please read:
X
X	%%DOCSDIR%%/INSTALL.ssl
X
XYou will also need to adjust your %%APACHEETCDIR%%/httpd.conf file.
X	Ensure httpd runs as user sipx and group sipx.  Ala:
X		User sipx
X		Group sipx
X	Change the document root to
X		DocumentRoot %%PREFIX%%/www/sipX/doc
X	The <Directory > instance should match
X		<Directory "%%PREFIX%%/www/sipX/doc">
X	Finally, include these lines:
X
X	<IfModule ssl_module>
X		Include %%PREFIX%%/etc/sipxpbx/httpd-sipxchange-common-ssl.conf
X	</IfModule>
X
X	Include %%PREFIX%%/etc/sipxpbx/httpd-sipxchange-common.conf
X	Include %%PREFIX%%/etc/sipxpbx/httpd-sipxchange-configserver.conf
X
X
XEdit the sipX configuration file.  Be sure to match the configuration
Xentries against your DNS configuration.
X
X	%%PREFIX%%/etc/sipxpbx/config.defs
X
XModify /etc/crontab to run the following daily
X	%%PREFIX%%/bin/sipx-chkspace
X	%%PREFIX%%/bin/voicemail_clean
X
XYou also need to configure unixODBC to map to the postgresql database.
XAdd the following lines to %%PREFIX%%/etc/odbcinst.ini
X	[PostgreSQL]
X	Description = PostgreSQL driver
X	Driver = %%PREFIX%%/lib/libodbcpsql.so
X	Setup = %%PREFIX%%/lib/libodbcpsqlS.so
X	FileUsage = 1
X	Threading = 2
X
XDon't forget to initialize the postgresql database if you haven't already.
XSee the postgresql port for details.
X
XI've found it necessary to increase the size of Sys V shared memory,
Xsemaphores, etc.  Add the following lines to %%DESTDIR%%/boot/loader.conf
X	kern.ipc.shmmax=134217728
X	kern.ipc.shmall=65536
X	kern.ipc.semmni=40
X	kern.ipc.semmns=240
X	kern.ipc.semume=40
X	kern.ipc.semmnu=120
X
XThe newly created user, sipx, will use the directory containing UA (phone)
Xboot files as its home directory.  Thus you can configure your phones to
XFTP their boot files as user sipx.
X
XAs of this writing, there is a bug in mod_cplusplus.  This bug causes
Xhttpd to core dump when httpd exits.  httpd behaves fine while running,
Xso it is usable.  At this point, the core dump is more an annoyance
Xthan anything else.
X
X********************************************************************
END-of-./sipxpbx/files/pkg-message.in
echo x - ./sipxpbx/files/patch-sipXdialog_doc_Makefile.am
sed 's/^X//' >./sipxpbx/files/patch-sipXdialog_doc_Makefile.am << 'END-of-./sipxpbx/files/patch-sipXdialog_doc_Makefile.am'
X--- ./sipXdialog/doc/Makefile.am.orig	Sat Dec 30 15:33:47 2006
X+++ ./sipXdialog/doc/Makefile.am	Sat Dec 30 15:34:00 2006
X@@ -29,7 +29,7 @@
X 	rm -rf $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	@INSTALL@ -d $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	find @PACKAGE@ -type f -print \
X-	| xargs --replace=% @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X+	| xargs -J % @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X 
X clean: clean-doc
X 
END-of-./sipxpbx/files/patch-sipXdialog_doc_Makefile.am
echo x - ./sipxpbx/files/patch-sipXdialog_doc_Makefile.in
sed 's/^X//' >./sipxpbx/files/patch-sipXdialog_doc_Makefile.in << 'END-of-./sipxpbx/files/patch-sipXdialog_doc_Makefile.in'
X--- ./sipXdialog/doc/Makefile.in.orig	Sat Dec 30 15:33:50 2006
X+++ ./sipXdialog/doc/Makefile.in	Sat Dec 30 15:34:09 2006
X@@ -494,7 +494,7 @@
X 	rm -rf $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	@INSTALL@ -d $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	find @PACKAGE@ -type f -print \
X-	| xargs --replace=% @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X+	| xargs -J % @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X 
X clean: clean-doc
X 
END-of-./sipxpbx/files/patch-sipXdialog_doc_Makefile.in
echo x - ./sipxpbx/files/patch-doc_developer_gen-config.sh
sed 's/^X//' >./sipxpbx/files/patch-doc_developer_gen-config.sh << 'END-of-./sipxpbx/files/patch-doc_developer_gen-config.sh'
X--- ./doc/developer/gen-config.sh.orig	Thu Jan  4 16:22:49 2007
X+++ ./doc/developer/gen-config.sh	Thu Jan  4 16:22:56 2007
X@@ -91,7 +91,7 @@
X     user="${userNum}@${host}"
X 
X     ################# Credential ################
X-    token=`echo -n "${userNum}:${host}:1234" | md5sum | cut -d " " -f 1`
X+    token=`echo -n "${userNum}:${host}:1234" | md5 -r | cut -d " " -f 1`
X     cat <<EOF >> ${CfgDir}/credential.xml
X   <item>
X     <uri>sip:${user}</uri>
END-of-./sipxpbx/files/patch-doc_developer_gen-config.sh
echo x - ./sipxpbx/files/patch-etc_httpd.conf.in
sed 's/^X//' >./sipxpbx/files/patch-etc_httpd.conf.in << 'END-of-./sipxpbx/files/patch-etc_httpd.conf.in'
X--- ./etc/httpd.conf.in.orig	Mon Jan  1 18:16:21 2007
X+++ ./etc/httpd.conf.in	Mon Jan  1 18:16:32 2007
X@@ -262,7 +262,7 @@
X LoadModule suexec_module @APACHE2_MOD@/mod_suexec.so
X LoadModule disk_cache_module @APACHE2_MOD@/mod_disk_cache.so
X LoadModule file_cache_module @APACHE2_MOD@/mod_file_cache.so
X-LoadModule mem_cache_module @APACHE2_MOD@/mod_mem_cache.so
X+#LoadModule mem_cache_module @APACHE2_MOD@/mod_mem_cache.so
X LoadModule cgi_module @APACHE2_MOD@/mod_cgi.so
X 
X #
END-of-./sipxpbx/files/patch-etc_httpd.conf.in
echo x - ./sipxpbx/files/patch-src_watchdog_EmailReporter.cpp
sed 's/^X//' >./sipxpbx/files/patch-src_watchdog_EmailReporter.cpp << 'END-of-./sipxpbx/files/patch-src_watchdog_EmailReporter.cpp'
X--- ./src/watchdog/EmailReporter.cpp.orig	Sat Dec 30 14:24:12 2006
X+++ ./src/watchdog/EmailReporter.cpp	Sat Dec 30 14:24:35 2006
X@@ -10,7 +10,11 @@
X //////////////////////////////////////////////////////////////////////////////
X 
X // SYSTEM INCLUDES
X+#if defined(__FreeBSD__)
X+#include <stdlib.h>
X+#else
X #include <malloc.h>
X+#endif
X 
X // APPLICATION INCLUDES
X #include "os/OsConnectionSocket.h"
END-of-./sipxpbx/files/patch-src_watchdog_EmailReporter.cpp
echo x - ./sipxpbx/files/patch-etc_httpd-sipxchange-common.conf.in.in
sed 's/^X//' >./sipxpbx/files/patch-etc_httpd-sipxchange-common.conf.in.in << 'END-of-./sipxpbx/files/patch-etc_httpd-sipxchange-common.conf.in.in'
X--- ./etc/httpd-sipxchange-common.conf.in.in.orig	Mon Jan  1 17:00:51 2007
X+++ ./etc/httpd-sipxchange-common.conf.in.in	Thu Jan  4 15:01:20 2007
X@@ -9,16 +9,16 @@
X CoreDumpDirectory @SIPX_LOGDIR@
X 
X # This is only available to the default (*:8090) port if there is no SSL
X-#<IfDefine !SSL>
X+#<IfModule !ssl_module>
X #    ScriptAlias /cgi-bin/ "@wwwdir@/cgi-bin/"
X-#</IfDefine>
X+#</IfModule>
X 
X # Added sipxchange Authentication Module. This uses the LoadModule syntax
X # and exports several commands
X # - LoadCPPHandler loads the specified handler shared object
X # - AddCPPHandler associates a particular handler with a directory spec
X #
X-LoadModule cplusplus_module @APACHE2_MOD@/libmod_cplusplus.so
X+LoadModule cplusplus_module @APACHE2_MOD@/mod_cplusplus.so
X LoadCPPHandler mod_sipxauth @APACHE2_MOD@/libmod_sipxauth.so
X 
X # protect the sipxchange cgi-bin directory from unauthorized access
END-of-./sipxpbx/files/patch-etc_httpd-sipxchange-common.conf.in.in
echo x - ./sipxpbx/files/patch-etc_httpd-sipxchange-common-ssl.conf.in.in
sed 's/^X//' >./sipxpbx/files/patch-etc_httpd-sipxchange-common-ssl.conf.in.in << 'END-of-./sipxpbx/files/patch-etc_httpd-sipxchange-common-ssl.conf.in.in'
X--- ./etc/httpd-sipxchange-common-ssl.conf.in.in.orig	Thu Jan  4 14:59:02 2007
X+++ ./etc/httpd-sipxchange-common-ssl.conf.in.in	Thu Jan  4 14:59:36 2007
X@@ -1,7 +1,7 @@
X # This file is included in place of ssl.conf.
X # It is included _before_ httpd-sipxchange-common.conf 
X 
X-<IfDefine SSL>
X+<IfModule ssl_module>
X 
X Listen 443
X Listen 8091
X@@ -59,4 +59,4 @@
X               "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
X </VirtualHost>
X 
X-</IfDefine>
X+</IfModule>
END-of-./sipxpbx/files/patch-etc_httpd-sipxchange-common-ssl.conf.in.in
echo x - ./sipxpbx/files/patch-etc_httpd-sipxchange-mediaserver.conf.in.in
sed 's/^X//' >./sipxpbx/files/patch-etc_httpd-sipxchange-mediaserver.conf.in.in << 'END-of-./sipxpbx/files/patch-etc_httpd-sipxchange-mediaserver.conf.in.in'
X--- ./etc/httpd-sipxchange-mediaserver.conf.in.in.orig	Thu Jan  4 15:00:40 2007
X+++ ./etc/httpd-sipxchange-mediaserver.conf.in.in	Thu Jan  4 15:01:07 2007
X@@ -7,9 +7,9 @@
X </Directory>
X 
X # This is only available to the default (*:8090) port if there is no SSL
X-<IfDefine !SSL>
X+<IfModule !ssl_module>
X     Alias /mailboxes/ "@SIPX_VXMLDATADIR@/"
X-</IfDefine>
X+</IfModule>
X 
X # Restrict the following directory
X # Otherwise it will be wide open to anyone with a web browser
END-of-./sipxpbx/files/patch-etc_httpd-sipxchange-mediaserver.conf.in.in
echo x - ./sipxpbx/files/pkg-install.in
sed 's/^X//' >./sipxpbx/files/pkg-install.in << 'END-of-./sipxpbx/files/pkg-install.in'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin
X
Xcase $2 in
XPRE-INSTALL)
X	USER=sipx
X	GROUP=sipx
X
X	if pw group show "${GROUP}" 2> /dev/null ; then
X		echo "You already have a group \"${GROUP}\", so I will use it."
X	else
X		if pw groupadd ${GROUP} ; then
X			echo "Added group \"${GROUP}\"."
X		else
X			echo "Add of group \"${GROUP}\" failed."
X			exit 1
X		fi
X	fi
X
X	if pw user show "${USER}" 2> /dev/null ; then
X		echo "You already have a user \"${USER}\", so I will use it."
X	else
X		if pw useradd ${USER} -g ${GROUP} -h - \
X		    -d %%LOCALSTATEDIR%%/sipxdata/configserver/phone/profile/tftproot -s %%PREFIX%%/bin/bash -c "sipX" ; then
X			echo "Added user \"${USER}\"."
X		else
X			echo "Add of user \"${USER}\" failed."
X			exit 1
X		fi
X	fi
X	;;
Xesac
END-of-./sipxpbx/files/pkg-install.in
echo x - ./sipxpbx/files/patch-sipXpresence_doc_Makefile.in
sed 's/^X//' >./sipxpbx/files/patch-sipXpresence_doc_Makefile.in << 'END-of-./sipxpbx/files/patch-sipXpresence_doc_Makefile.in'
X--- ./sipXpresence/doc/Makefile.in.orig	Sat Dec 30 15:28:22 2006
X+++ ./sipXpresence/doc/Makefile.in	Sat Dec 30 15:31:28 2006
X@@ -494,7 +494,7 @@
X 	rm -rf $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	@INSTALL@ -d $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	find @PACKAGE@ -type f -print \
X-	| xargs --replace=% @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X+	| xargs -J % @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X 
X clean: clean-doc
X 
END-of-./sipxpbx/files/patch-sipXpresence_doc_Makefile.in
echo x - ./sipxpbx/files/patch-sipXpresence_doc_Makefile.am
sed 's/^X//' >./sipxpbx/files/patch-sipXpresence_doc_Makefile.am << 'END-of-./sipxpbx/files/patch-sipXpresence_doc_Makefile.am'
X--- ./sipXpresence/doc/Makefile.am.orig	Sat Dec 30 15:31:07 2006
X+++ ./sipXpresence/doc/Makefile.am	Sat Dec 30 15:31:19 2006
X@@ -29,7 +29,7 @@
X 	rm -rf $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	@INSTALL@ -d $(DESTDIR)@SIPX_DOCDIR@/@PACKAGE@
X 	find @PACKAGE@ -type f -print \
X-	| xargs --replace=% @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X+	| xargs -J % @INSTALL@ -m u=rw,go=r % $(DESTDIR)@SIPX_DOCDIR@/%
X 
X clean: clean-doc
X 
END-of-./sipxpbx/files/patch-sipXpresence_doc_Makefile.am
echo x - ./sipxpbx/pkg-plist
sed 's/^X//' >./sipxpbx/pkg-plist << 'END-of-./sipxpbx/pkg-plist'
Xbin/autodel
Xbin/backup-configs.sh
Xbin/backup-mailstore.sh
Xbin/blat
Xbin/check-fqdn
Xbin/httpd-sipxchange-config.sh
Xbin/keepalive.sh
Xbin/restore-configs.sh
Xbin/restore-mailstore.sh
Xbin/sipx-chkspace
Xbin/sipx-snapshot
Xbin/sipxdialog
Xbin/sipxdialog-config
Xbin/sipxdialog.sh
Xbin/sipxpark
Xbin/sipxpark-config
Xbin/sipxpark.sh
Xbin/sipxpbx-config
Xbin/sipxpresence
Xbin/sipxpresence-config
Xbin/sipxpresence.sh
Xbin/voicemail_clean
Xbin/watchdog
Xbin/watchdog.sh
Xetc/rc.d/sipxpbx
Xetc/sipxpbx/ProcessDefinitions.xml
Xetc/sipxpbx/WatchDog.xml
Xetc/sipxpbx/cbadmission.xml.in
Xetc/sipxpbx/httpd-sipxchange-common-ssl.conf.in
Xetc/sipxpbx/httpd-sipxchange-common.conf.in
Xetc/sipxpbx/httpd-sipxchange-configserver.conf.in
Xetc/sipxpbx/httpd-sipxchange-mediaserver-ssl.conf.in
Xetc/sipxpbx/httpd-sipxchange-mediaserver.conf.in
Xetc/sipxpbx/httpd.conf
Xetc/sipxpbx/mime.types
Xetc/sipxpbx/process.d/sipxpark.process.xml
Xetc/sipxpbx/process.d/sipxpresence.process.xml
Xetc/sipxpbx/resourcemap.xml
Xetc/sipxpbx/sipxdialog-config.in
Xetc/sipxpbx/sipxpark-config.in
Xetc/sipxpbx/sipxpresence-config.in
Xetc/sipxpbx/voicemail.xml.in
Xshare/sipx/schema/processdefinitions.xsd
Xshare/sipx/schema/watchdog.xsd
Xshare/sipx/schema/watchdogprocess.xsd
Xwww/sipX/cgi-bin/cbadmission/cbadmission.cgi
Xwww/sipX/cgi-bin/processmonitor/process.cgi
Xwww/sipX/cgi-bin/replication/replication.cgi
Xwww/sipX/cgi-bin/voicemail/mediaserver.cgi
Xwww/sipX/doc/aa_vxml/autoattendant-afterhour.vxml
Xwww/sipX/doc/aa_vxml/autoattendant-operator.vxml
Xwww/sipX/doc/aa_vxml/dialbyname.vxml
Xwww/sipX/doc/aa_vxml/operator-schedule.xml
Xwww/sipX/doc/adminui/!SkinSubFolder!/Default.skn
Xwww/sipX/doc/adminui/!SkinSubFolder!/Default/Default.skn
Xwww/sipX/doc/adminui/!SkinSubFolder!/logosmall.gif
Xwww/sipX/doc/adminui/!SkinSubFolder!/media.skn
Xwww/sipX/doc/adminui/!SkinSubFolder!/pingtel-logo-smaller.png
Xwww/sipX/doc/adminui/WebHelp/Welcome.htm
Xwww/sipX/doc/adminui/WebHelp/access_log_page.htm
Xwww/sipX/doc/adminui/WebHelp/administrator_settings_page.htm
Xwww/sipX/doc/adminui/WebHelp/cshdat_robohelp.htm
Xwww/sipX/doc/adminui/WebHelp/cshdat_webhelp.htm
Xwww/sipX/doc/adminui/WebHelp/default.skn
Xwww/sipX/doc/adminui/WebHelp/del.gif
Xwww/sipX/doc/adminui/WebHelp/editicon.gif
Xwww/sipX/doc/adminui/WebHelp/ehlpdhtm.js
Xwww/sipX/doc/adminui/WebHelp/error_log_page.htm
Xwww/sipX/doc/adminui/WebHelp/log_in_log_out_page.htm
Xwww/sipX/doc/adminui/WebHelp/logosmall.gif
Xwww/sipX/doc/adminui/WebHelp/manage_distribution_lists_page.htm
Xwww/sipX/doc/adminui/WebHelp/manage_groups_page.htm
Xwww/sipX/doc/adminui/WebHelp/manage_inboxes.htm
Xwww/sipX/doc/adminui/WebHelp/manage_password.htm
Xwww/sipX/doc/adminui/WebHelp/media.skn
Xwww/sipX/doc/adminui/WebHelp/mediaadministrator.htm
Xwww/sipX/doc/adminui/WebHelp/mediaadministrator_csh.htm
Xwww/sipX/doc/adminui/WebHelp/mediaadministrator_rhc.htm
Xwww/sipX/doc/adminui/WebHelp/pingtel-logo-small.gif
Xwww/sipX/doc/adminui/WebHelp/pingtel1.css
Xwww/sipX/doc/adminui/WebHelp/pingtel1_ns.css
Xwww/sipX/doc/adminui/WebHelp/pingtel_bullet.gif
Xwww/sipX/doc/adminui/WebHelp/server_settings_page.htm
Xwww/sipX/doc/adminui/WebHelp/set_system_defaults_page.htm
Xwww/sipX/doc/adminui/WebHelp/setting_up_email_page.htm
Xwww/sipX/doc/adminui/WebHelp/webhelp.cab
Xwww/sipX/doc/adminui/WebHelp/webhelp.jar
Xwww/sipX/doc/adminui/WebHelp/whdata/where_are_these_files.txt
Xwww/sipX/doc/adminui/WebHelp/whdata/whftdata.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whftdata0.htm
Xwww/sipX/doc/adminui/WebHelp/whdata/whftdata0.xml
Xwww/sipX/doc/adminui/WebHelp/whdata/whfts.htm
Xwww/sipX/doc/adminui/WebHelp/whdata/whfts.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whfts.xml
Xwww/sipX/doc/adminui/WebHelp/whdata/whfwdata.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whfwdata0.htm
Xwww/sipX/doc/adminui/WebHelp/whdata/whfwdata0.xml
Xwww/sipX/doc/adminui/WebHelp/whdata/whgdata.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whglo.htm
Xwww/sipX/doc/adminui/WebHelp/whdata/whglo.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whglo.xml
Xwww/sipX/doc/adminui/WebHelp/whdata/whidata.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whidata0.htm
Xwww/sipX/doc/adminui/WebHelp/whdata/whidata0.xml
Xwww/sipX/doc/adminui/WebHelp/whdata/whidx.htm
Xwww/sipX/doc/adminui/WebHelp/whdata/whidx.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whidx.xml
Xwww/sipX/doc/adminui/WebHelp/whdata/whtdata.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whtdata0.htm
Xwww/sipX/doc/adminui/WebHelp/whdata/whtdata0.xml
Xwww/sipX/doc/adminui/WebHelp/whdata/whtoc.htm
Xwww/sipX/doc/adminui/WebHelp/whdata/whtoc.js
Xwww/sipX/doc/adminui/WebHelp/whdata/whtoc.xml
Xwww/sipX/doc/adminui/WebHelp/whestart.ico
Xwww/sipX/doc/adminui/WebHelp/whfbody.htm
Xwww/sipX/doc/adminui/WebHelp/whfdhtml.htm
Xwww/sipX/doc/adminui/WebHelp/whfform.htm
Xwww/sipX/doc/adminui/WebHelp/whfhost.js
Xwww/sipX/doc/adminui/WebHelp/whform.js
Xwww/sipX/doc/adminui/WebHelp/whframes.js
Xwww/sipX/doc/adminui/WebHelp/whgbody.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/where_are_these_files.txt
Xwww/sipX/doc/adminui/WebHelp/whgdata/whexpbar.gif
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstf0.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstf1.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl0.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl1.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl10.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl11.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl12.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl13.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl14.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl15.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl16.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl17.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl18.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl19.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl2.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl3.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl4.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl5.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl6.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl7.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl8.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstfl9.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstg0.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlsti0.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstt0.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstt1.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whlstt2.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvf30.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvf31.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvf32.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvf33.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvl31.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvl32.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvl33.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvp30.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvp31.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvp32.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvp33.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvt30.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvt31.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvt32.htm
Xwww/sipX/doc/adminui/WebHelp/whgdata/whnvt33.htm
Xwww/sipX/doc/adminui/WebHelp/whgdef.htm
Xwww/sipX/doc/adminui/WebHelp/whgdhtml.htm
Xwww/sipX/doc/adminui/WebHelp/whghost.js
Xwww/sipX/doc/adminui/WebHelp/whhost.js
Xwww/sipX/doc/adminui/WebHelp/whibody.htm
Xwww/sipX/doc/adminui/WebHelp/whidhtml.htm
Xwww/sipX/doc/adminui/WebHelp/whiform.htm
Xwww/sipX/doc/adminui/WebHelp/whihost.js
Xwww/sipX/doc/adminui/WebHelp/whlang.js
Xwww/sipX/doc/adminui/WebHelp/whmozemu.js
Xwww/sipX/doc/adminui/WebHelp/whmsg.js
Xwww/sipX/doc/adminui/WebHelp/whnjs.htm
Xwww/sipX/doc/adminui/WebHelp/whphost.js
Xwww/sipX/doc/adminui/WebHelp/whproj.htm
Xwww/sipX/doc/adminui/WebHelp/whproj.js
Xwww/sipX/doc/adminui/WebHelp/whproj.xml
Xwww/sipX/doc/adminui/WebHelp/whproxy.js
Xwww/sipX/doc/adminui/WebHelp/whres.xml
Xwww/sipX/doc/adminui/WebHelp/whrstart.ico
Xwww/sipX/doc/adminui/WebHelp/whskin_banner.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_blank.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_frmset01.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_frmset010.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_info.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_mbars.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_papplet.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_pdhtml.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_plist.htm
Xwww/sipX/doc/adminui/WebHelp/whskin_tbars.htm
Xwww/sipX/doc/adminui/WebHelp/whst_topics.xml
Xwww/sipX/doc/adminui/WebHelp/whstart.ico
Xwww/sipX/doc/adminui/WebHelp/whstart.js
Xwww/sipX/doc/adminui/WebHelp/whstub.js
Xwww/sipX/doc/adminui/WebHelp/wht_abge.jpg
Xwww/sipX/doc/adminui/WebHelp/wht_abgi.jpg
Xwww/sipX/doc/adminui/WebHelp/wht_abgw.jpg
Xwww/sipX/doc/adminui/WebHelp/wht_abte.jpg
Xwww/sipX/doc/adminui/WebHelp/wht_abti.jpg
Xwww/sipX/doc/adminui/WebHelp/wht_abtw.jpg
Xwww/sipX/doc/adminui/WebHelp/wht_fts_h.gif
Xwww/sipX/doc/adminui/WebHelp/wht_fts_n.gif
Xwww/sipX/doc/adminui/WebHelp/wht_glo_h.gif
Xwww/sipX/doc/adminui/WebHelp/wht_glo_n.gif
Xwww/sipX/doc/adminui/WebHelp/wht_go.gif
Xwww/sipX/doc/adminui/WebHelp/wht_hide.gif
Xwww/sipX/doc/adminui/WebHelp/wht_idx_h.gif
Xwww/sipX/doc/adminui/WebHelp/wht_idx_n.gif
Xwww/sipX/doc/adminui/WebHelp/wht_logo1.gif
Xwww/sipX/doc/adminui/WebHelp/wht_logo2.gif
Xwww/sipX/doc/adminui/WebHelp/wht_next.gif
Xwww/sipX/doc/adminui/WebHelp/wht_next_g.gif
Xwww/sipX/doc/adminui/WebHelp/wht_prev.gif
Xwww/sipX/doc/adminui/WebHelp/wht_prev_g.gif
Xwww/sipX/doc/adminui/WebHelp/wht_spac.gif
Xwww/sipX/doc/adminui/WebHelp/wht_sync.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab0.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab1.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab2.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab3.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab4.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab5.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab6.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab7.gif
Xwww/sipX/doc/adminui/WebHelp/wht_tab8.gif
Xwww/sipX/doc/adminui/WebHelp/wht_toc1.gif
Xwww/sipX/doc/adminui/WebHelp/wht_toc2.gif
Xwww/sipX/doc/adminui/WebHelp/wht_toc3.gif
Xwww/sipX/doc/adminui/WebHelp/wht_toc4.gif
Xwww/sipX/doc/adminui/WebHelp/wht_toc_h.gif
Xwww/sipX/doc/adminui/WebHelp/wht_toc_n.gif
Xwww/sipX/doc/adminui/WebHelp/wht_ws.gif
Xwww/sipX/doc/adminui/WebHelp/wht_ws_g.gif
Xwww/sipX/doc/adminui/WebHelp/whtbar.js
Xwww/sipX/doc/adminui/WebHelp/whtdhtml.htm
Xwww/sipX/doc/adminui/WebHelp/whthost.js
Xwww/sipX/doc/adminui/WebHelp/whtopic.js
Xwww/sipX/doc/adminui/WebHelp/whutils.js
Xwww/sipX/doc/adminui/WebHelp/whver.js
Xwww/sipX/doc/adminui/Welcome.htm
Xwww/sipX/doc/adminui/access_log_page.htm
Xwww/sipX/doc/adminui/del.gif
Xwww/sipX/doc/adminui/eHlpDhtm.js
Xwww/sipX/doc/adminui/editicon.gif
Xwww/sipX/doc/adminui/error_log_page.htm
Xwww/sipX/doc/adminui/logo.gif
Xwww/sipX/doc/adminui/logosmall.gif
Xwww/sipX/doc/adminui/manage_distribution_lists_page.htm
Xwww/sipX/doc/adminui/manage_groups_page.htm
Xwww/sipX/doc/adminui/manage_inboxes.htm
Xwww/sipX/doc/adminui/manage_password.htm
Xwww/sipX/doc/adminui/mediaadministrator.BRS
Xwww/sipX/doc/adminui/mediaadministrator.ali
Xwww/sipX/doc/adminui/mediaadministrator.hhc
Xwww/sipX/doc/adminui/mediaadministrator.hhc_backup
Xwww/sipX/doc/adminui/mediaadministrator.hhk
Xwww/sipX/doc/adminui/mediaadministrator.hhk_backup
Xwww/sipX/doc/adminui/mediaadministrator.hhp
Xwww/sipX/doc/adminui/mediaadministrator.hpr
Xwww/sipX/doc/adminui/mediaadministrator.mpj
Xwww/sipX/doc/adminui/mediaadministrator.ppf
Xwww/sipX/doc/adminui/pingtel1.css
Xwww/sipX/doc/adminui/pingtel_bullet.gif
Xwww/sipX/doc/adminui/pingtelbar.gif
Xwww/sipX/doc/adminui/procedure.htt
Xwww/sipX/doc/adminui/set_system_defaults_page.htm
Xwww/sipX/doc/adminui/setting_up_email_page.htm
Xwww/sipX/doc/adminui/viewimage.gif
Xwww/sipX/doc/adminui/viewimage.gig.gif
Xwww/sipX/doc/cb_vxml/cbadmission.vxml
Xwww/sipX/doc/images/asc.gif
Xwww/sipX/doc/images/bullet.gif
Xwww/sipX/doc/images/bulletdown.gif
Xwww/sipX/doc/images/bulletup.gif
Xwww/sipX/doc/images/buttons/addDistList_down.gif
Xwww/sipX/doc/images/buttons/addDistList_up.gif
Xwww/sipX/doc/images/buttons/addgroup_down.gif
Xwww/sipX/doc/images/buttons/addgroup_up.gif
Xwww/sipX/doc/images/buttons/addmailbox_down.gif
Xwww/sipX/doc/images/buttons/addmailbox_up.gif
Xwww/sipX/doc/images/create_new_folder_hot.gif
Xwww/sipX/doc/images/del.gif
Xwww/sipX/doc/images/delete_this_folder_hot.gif
Xwww/sipX/doc/images/desc.gif
Xwww/sipX/doc/images/editicon.gif
Xwww/sipX/doc/images/exclamation.gif
Xwww/sipX/doc/images/exclamation1.gif
Xwww/sipX/doc/images/go_off.gif
Xwww/sipX/doc/images/go_on.gif
Xwww/sipX/doc/images/headerbottom.gif
Xwww/sipX/doc/images/homeoff.gif
Xwww/sipX/doc/images/homeon.gif
Xwww/sipX/doc/images/logo.gif
Xwww/sipX/doc/images/logoutoff.gif
Xwww/sipX/doc/images/logouton.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c13.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c2_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c2_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c2_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c4.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c4_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c4_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r10_c4_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r11_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r11_c4.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c15.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c2_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c2_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c2_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c3_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c3_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c3_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c4.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c4_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c4_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r12_c4_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r13_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r13_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r13_c4.gif
Xwww/sipX/doc/images/navbar/navigation_r14_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r14_c3_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r14_c3_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r14_c3_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r15_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r1_c1.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c1.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c11.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c17.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c2_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c2_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c2_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c5.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c5_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c5_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r2_c5_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r3_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r3_c5.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c1.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c15.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c2_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c2_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c2_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c3_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c3_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r4_c3_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r5_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r5_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c16.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c2_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c2_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c2_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c4.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c4_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c4_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r6_c4_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r7_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r7_c4.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c1.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c12.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c14.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c2_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c2_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c2_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c3.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c3_f2.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c3_f3.gif
Xwww/sipX/doc/images/navbar/navigation_r8_c3_f4.gif
Xwww/sipX/doc/images/navbar/navigation_r9_c2.gif
Xwww/sipX/doc/images/navbar/navigation_r9_c3.gif
Xwww/sipX/doc/images/navbar/spacer.gif
Xwww/sipX/doc/images/pingtelbar.gif
Xwww/sipX/doc/images/read_only.gif
Xwww/sipX/doc/images/small_phone.gif
Xwww/sipX/doc/images/spacer.gif
Xwww/sipX/doc/images/spkr.gif
Xwww/sipX/doc/images/tick.gif
Xwww/sipX/doc/images/vmail.gif
Xwww/sipX/doc/images/yellowbullet.gif
Xwww/sipX/doc/images/yellowbullet_down.gif
Xwww/sipX/doc/index.html
Xwww/sipX/doc/stdprompts/0.wav
Xwww/sipX/doc/stdprompts/01.wav
Xwww/sipX/doc/stdprompts/02.wav
Xwww/sipX/doc/stdprompts/03.wav
Xwww/sipX/doc/stdprompts/04.wav
Xwww/sipX/doc/stdprompts/05.wav
Xwww/sipX/doc/stdprompts/06.wav
Xwww/sipX/doc/stdprompts/07.wav
Xwww/sipX/doc/stdprompts/08.wav
Xwww/sipX/doc/stdprompts/09.wav
Xwww/sipX/doc/stdprompts/1.wav
Xwww/sipX/doc/stdprompts/10.wav
Xwww/sipX/doc/stdprompts/100.wav
Xwww/sipX/doc/stdprompts/1000.wav
Xwww/sipX/doc/stdprompts/10th.wav
Xwww/sipX/doc/stdprompts/11.wav
Xwww/sipX/doc/stdprompts/11th.wav
Xwww/sipX/doc/stdprompts/12.wav
Xwww/sipX/doc/stdprompts/12th.wav
Xwww/sipX/doc/stdprompts/13.wav
Xwww/sipX/doc/stdprompts/13th.wav
Xwww/sipX/doc/stdprompts/14.wav
Xwww/sipX/doc/stdprompts/14th.wav
Xwww/sipX/doc/stdprompts/15.wav
Xwww/sipX/doc/stdprompts/15th.wav
Xwww/sipX/doc/stdprompts/16.wav
Xwww/sipX/doc/stdprompts/16th.wav
Xwww/sipX/doc/stdprompts/17.wav
Xwww/sipX/doc/stdprompts/17th.wav
Xwww/sipX/doc/stdprompts/18.wav
Xwww/sipX/doc/stdprompts/18th.wav
Xwww/sipX/doc/stdprompts/19.wav
Xwww/sipX/doc/stdprompts/19th.wav
Xwww/sipX/doc/stdprompts/1st.wav
Xwww/sipX/doc/stdprompts/2.wav
Xwww/sipX/doc/stdprompts/20.wav
Xwww/sipX/doc/stdprompts/200.wav
Xwww/sipX/doc/stdprompts/2000.wav
Xwww/sipX/doc/stdprompts/2002.wav
Xwww/sipX/doc/stdprompts/2003.wav
Xwww/sipX/doc/stdprompts/2004.wav
Xwww/sipX/doc/stdprompts/2005.wav
Xwww/sipX/doc/stdprompts/2006.wav
Xwww/sipX/doc/stdprompts/2007.wav
Xwww/sipX/doc/stdprompts/2008.wav
Xwww/sipX/doc/stdprompts/2009.wav
Xwww/sipX/doc/stdprompts/2010.wav
Xwww/sipX/doc/stdprompts/2011.wav
Xwww/sipX/doc/stdprompts/2012.wav
Xwww/sipX/doc/stdprompts/2013.wav
Xwww/sipX/doc/stdprompts/2014.wav
Xwww/sipX/doc/stdprompts/2015.wav
Xwww/sipX/doc/stdprompts/2016.wav
Xwww/sipX/doc/stdprompts/2017.wav
Xwww/sipX/doc/stdprompts/2018.wav
Xwww/sipX/doc/stdprompts/2019.wav
Xwww/sipX/doc/stdprompts/2020.wav
Xwww/sipX/doc/stdprompts/20th.wav
Xwww/sipX/doc/stdprompts/21.wav
Xwww/sipX/doc/stdprompts/21st.wav
Xwww/sipX/doc/stdprompts/22.wav
Xwww/sipX/doc/stdprompts/22nd.wav
Xwww/sipX/doc/stdprompts/23.wav
Xwww/sipX/doc/stdprompts/23rd.wav
Xwww/sipX/doc/stdprompts/24.wav
Xwww/sipX/doc/stdprompts/24th.wav
Xwww/sipX/doc/stdprompts/25.wav
Xwww/sipX/doc/stdprompts/25th.wav
Xwww/sipX/doc/stdprompts/26.wav
Xwww/sipX/doc/stdprompts/26th.wav
Xwww/sipX/doc/stdprompts/27.wav
Xwww/sipX/doc/stdprompts/27th.wav
Xwww/sipX/doc/stdprompts/28.wav
Xwww/sipX/doc/stdprompts/28th.wav
Xwww/sipX/doc/stdprompts/29.wav
Xwww/sipX/doc/stdprompts/29th.wav
Xwww/sipX/doc/stdprompts/2nd.wav
Xwww/sipX/doc/stdprompts/3.wav
Xwww/sipX/doc/stdprompts/30.wav
Xwww/sipX/doc/stdprompts/300.wav
Xwww/sipX/doc/stdprompts/3000.wav
Xwww/sipX/doc/stdprompts/30th.wav
Xwww/sipX/doc/stdprompts/31.wav
Xwww/sipX/doc/stdprompts/31st.wav
Xwww/sipX/doc/stdprompts/32.wav
Xwww/sipX/doc/stdprompts/33.wav
Xwww/sipX/doc/stdprompts/34.wav
Xwww/sipX/doc/stdprompts/35.wav
Xwww/sipX/doc/stdprompts/36.wav
Xwww/sipX/doc/stdprompts/37.wav
Xwww/sipX/doc/stdprompts/38.wav
Xwww/sipX/doc/stdprompts/39.wav
Xwww/sipX/doc/stdprompts/3rd.wav
Xwww/sipX/doc/stdprompts/4.wav
Xwww/sipX/doc/stdprompts/40.wav
Xwww/sipX/doc/stdprompts/400.wav
Xwww/sipX/doc/stdprompts/4000.wav
Xwww/sipX/doc/stdprompts/40th.wav
Xwww/sipX/doc/stdprompts/41.wav
Xwww/sipX/doc/stdprompts/42.wav
Xwww/sipX/doc/stdprompts/43.wav
Xwww/sipX/doc/stdprompts/44.wav
Xwww/sipX/doc/stdprompts/45.wav
Xwww/sipX/doc/stdprompts/46.wav
Xwww/sipX/doc/stdprompts/47.wav
Xwww/sipX/doc/stdprompts/48.wav
Xwww/sipX/doc/stdprompts/49.wav
Xwww/sipX/doc/stdprompts/4th.wav
Xwww/sipX/doc/stdprompts/5.wav
Xwww/sipX/doc/stdprompts/50.wav
Xwww/sipX/doc/stdprompts/500.wav
Xwww/sipX/doc/stdprompts/5000.wav
Xwww/sipX/doc/stdprompts/50th.wav
Xwww/sipX/doc/stdprompts/51.wav
Xwww/sipX/doc/stdprompts/52.wav
Xwww/sipX/doc/stdprompts/53.wav
Xwww/sipX/doc/stdprompts/54.wav
Xwww/sipX/doc/stdprompts/55.wav
Xwww/sipX/doc/stdprompts/56.wav
Xwww/sipX/doc/stdprompts/57.wav
Xwww/sipX/doc/stdprompts/58.wav
Xwww/sipX/doc/stdprompts/59.wav
Xwww/sipX/doc/stdprompts/5th.wav
Xwww/sipX/doc/stdprompts/6.wav
Xwww/sipX/doc/stdprompts/60.wav
Xwww/sipX/doc/stdprompts/600.wav
Xwww/sipX/doc/stdprompts/6000.wav
Xwww/sipX/doc/stdprompts/61.wav
Xwww/sipX/doc/stdprompts/62.wav
Xwww/sipX/doc/stdprompts/63.wav
Xwww/sipX/doc/stdprompts/64.wav
Xwww/sipX/doc/stdprompts/65.wav
Xwww/sipX/doc/stdprompts/66.wav
Xwww/sipX/doc/stdprompts/67.wav
Xwww/sipX/doc/stdprompts/68.wav
Xwww/sipX/doc/stdprompts/69.wav
Xwww/sipX/doc/stdprompts/6th.wav
Xwww/sipX/doc/stdprompts/7.wav
Xwww/sipX/doc/stdprompts/70.wav
Xwww/sipX/doc/stdprompts/700.wav
Xwww/sipX/doc/stdprompts/7000.wav
Xwww/sipX/doc/stdprompts/71.wav
Xwww/sipX/doc/stdprompts/72.wav
Xwww/sipX/doc/stdprompts/73.wav
Xwww/sipX/doc/stdprompts/74.wav
Xwww/sipX/doc/stdprompts/75.wav
Xwww/sipX/doc/stdprompts/76.wav
Xwww/sipX/doc/stdprompts/77.wav
Xwww/sipX/doc/stdprompts/78.wav
Xwww/sipX/doc/stdprompts/79.wav
Xwww/sipX/doc/stdprompts/7th.wav
Xwww/sipX/doc/stdprompts/8.wav
Xwww/sipX/doc/stdprompts/80.wav
Xwww/sipX/doc/stdprompts/800.wav
Xwww/sipX/doc/stdprompts/8000.wav
Xwww/sipX/doc/stdprompts/81.wav
Xwww/sipX/doc/stdprompts/82.wav
Xwww/sipX/doc/stdprompts/83.wav
Xwww/sipX/doc/stdprompts/84.wav
Xwww/sipX/doc/stdprompts/85.wav
Xwww/sipX/doc/stdprompts/86.wav
Xwww/sipX/doc/stdprompts/87.wav
Xwww/sipX/doc/stdprompts/88.wav
Xwww/sipX/doc/stdprompts/89.wav
Xwww/sipX/doc/stdprompts/8th.wav
Xwww/sipX/doc/stdprompts/9.wav
Xwww/sipX/doc/stdprompts/90.wav
Xwww/sipX/doc/stdprompts/900.wav
Xwww/sipX/doc/stdprompts/9000.wav
Xwww/sipX/doc/stdprompts/91.wav
Xwww/sipX/doc/stdprompts/92.wav
Xwww/sipX/doc/stdprompts/93.wav
Xwww/sipX/doc/stdprompts/94.wav
Xwww/sipX/doc/stdprompts/95.wav
Xwww/sipX/doc/stdprompts/96.wav
Xwww/sipX/doc/stdprompts/97.wav
Xwww/sipX/doc/stdprompts/98.wav
Xwww/sipX/doc/stdprompts/99.wav
Xwww/sipX/doc/stdprompts/9th.wav
Xwww/sipX/doc/stdprompts/a.wav
Xwww/sipX/doc/stdprompts/activate_greeting_success.wav
Xwww/sipX/doc/stdprompts/afterhours.wav
Xwww/sipX/doc/stdprompts/afterhours_greeting_is.wav
Xwww/sipX/doc/stdprompts/afterhours_greeting_selected.wav
Xwww/sipX/doc/stdprompts/am.wav
Xwww/sipX/doc/stdprompts/an_outside_caller.wav
Xwww/sipX/doc/stdprompts/and.wav
Xwww/sipX/doc/stdprompts/april.wav
Xwww/sipX/doc/stdprompts/at.wav
Xwww/sipX/doc/stdprompts/august.wav
Xwww/sipX/doc/stdprompts/autoattendant-internal.wav
Xwww/sipX/doc/stdprompts/autoattendant.wav
Xwww/sipX/doc/stdprompts/autoattendant2.wav
Xwww/sipX/doc/stdprompts/autoattendant_no_operator.wav
Xwww/sipX/doc/stdprompts/autoattendant_prompt_not_found.wav
Xwww/sipX/doc/stdprompts/autoattendant_prompt_recorded.wav
Xwww/sipX/doc/stdprompts/autoattendant_prompt_selected.wav
Xwww/sipX/doc/stdprompts/b.wav
Xwww/sipX/doc/stdprompts/beep.wav
Xwww/sipX/doc/stdprompts/c.wav
Xwww/sipX/doc/stdprompts/cancelled.wav
Xwww/sipX/doc/stdprompts/cb_welcome.wav
Xwww/sipX/doc/stdprompts/comment_options.wav
Xwww/sipX/doc/stdprompts/confirm_new_passwd.wav
Xwww/sipX/doc/stdprompts/confirm_new_pin.wav
Xwww/sipX/doc/stdprompts/copy_to_extn.wav
Xwww/sipX/doc/stdprompts/d.wav
Xwww/sipX/doc/stdprompts/day.wav
Xwww/sipX/doc/stdprompts/day_after_tomorrow.wav
Xwww/sipX/doc/stdprompts/day_before_yesterday.wav
Xwww/sipX/doc/stdprompts/days.wav
Xwww/sipX/doc/stdprompts/december.wav
Xwww/sipX/doc/stdprompts/default_greeting_prefix.wav
Xwww/sipX/doc/stdprompts/default_selected.wav
Xwww/sipX/doc/stdprompts/default_system_greeting_is.wav
Xwww/sipX/doc/stdprompts/delete_folder_failed.wav
Xwww/sipX/doc/stdprompts/deleted_folder_emptied.wav
Xwww/sipX/doc/stdprompts/deposit_greeting_extn.wav
Xwww/sipX/doc/stdprompts/deposit_greeting_extn_no_operator.wav
Xwww/sipX/doc/stdprompts/deposit_greeting_extn_no_operator_pound.wav
Xwww/sipX/doc/stdprompts/deposit_greeting_extn_pound.wav
Xwww/sipX/doc/stdprompts/deposit_options.wav
Xwww/sipX/doc/stdprompts/dial_0.wav
Xwww/sipX/doc/stdprompts/dial_extn.wav
Xwww/sipX/doc/stdprompts/dial_extn_short.wav
Xwww/sipX/doc/stdprompts/dial_pin.wav
Xwww/sipX/doc/stdprompts/dialbyname.wav
Xwww/sipX/doc/stdprompts/dialbyname_no_match.wav
Xwww/sipX/doc/stdprompts/disable_autoattendant_selected.wav
Xwww/sipX/doc/stdprompts/dist_list_invalid.wav
Xwww/sipX/doc/stdprompts/e.wav
Xwww/sipX/doc/stdprompts/end_of_messages.wav
Xwww/sipX/doc/stdprompts/enter_different_name.wav
Xwww/sipX/doc/stdprompts/enter_new_passwd.wav
Xwww/sipX/doc/stdprompts/enter_new_pin.wav
Xwww/sipX/doc/stdprompts/enter_new_pin_again.wav
Xwww/sipX/doc/stdprompts/enter_pin.wav
Xwww/sipX/doc/stdprompts/extd_abs_greeting_is.wav
Xwww/sipX/doc/stdprompts/extd_abs_selected.wav
Xwww/sipX/doc/stdprompts/extension.wav
Xwww/sipX/doc/stdprompts/extn_invalid.wav
Xwww/sipX/doc/stdprompts/f.wav
Xwww/sipX/doc/stdprompts/february.wav
Xwww/sipX/doc/stdprompts/for.wav
Xwww/sipX/doc/stdprompts/for_system_administration_options.wav
Xwww/sipX/doc/stdprompts/for_system_options.wav
Xwww/sipX/doc/stdprompts/for_voicemail_options.wav
Xwww/sipX/doc/stdprompts/forward_prompt.wav
Xwww/sipX/doc/stdprompts/friday.wav
Xwww/sipX/doc/stdprompts/from.wav
Xwww/sipX/doc/stdprompts/g.wav
Xwww/sipX/doc/stdprompts/generic_autoattendant_prompt_is.wav
Xwww/sipX/doc/stdprompts/generic_autoattendant_selected.wav
Xwww/sipX/doc/stdprompts/generic_system_greeting_is.wav
Xwww/sipX/doc/stdprompts/generic_system_greeting_selected.wav
Xwww/sipX/doc/stdprompts/greeting_not_found.wav
Xwww/sipX/doc/stdprompts/greeting_record_options.wav
Xwww/sipX/doc/stdprompts/greeting_recorded.wav
Xwww/sipX/doc/stdprompts/h.wav
Xwww/sipX/doc/stdprompts/heard_msg.wav
Xwww/sipX/doc/stdprompts/heard_msgs.wav
Xwww/sipX/doc/stdprompts/hour.wav
Xwww/sipX/doc/stdprompts/hours.wav
Xwww/sipX/doc/stdprompts/i.wav
Xwww/sipX/doc/stdprompts/if_this_is_correct.wav
Xwww/sipX/doc/stdprompts/if_you_are_finished.wav
Xwww/sipX/doc/stdprompts/if_you_do_not_want_auto_attendant_prompt.wav
Xwww/sipX/doc/stdprompts/invalid_entry_try_again.wav
Xwww/sipX/doc/stdprompts/invalid_old_pin.wav
Xwww/sipX/doc/stdprompts/invalid_password.wav
Xwww/sipX/doc/stdprompts/invalid_pin.wav
Xwww/sipX/doc/stdprompts/is_invalid.wav
Xwww/sipX/doc/stdprompts/is_not_available.wav
Xwww/sipX/doc/stdprompts/is_on_extended_leave.wav
Xwww/sipX/doc/stdprompts/is_out_of_office.wav
Xwww/sipX/doc/stdprompts/j.wav
Xwww/sipX/doc/stdprompts/january.wav
Xwww/sipX/doc/stdprompts/july.wav
Xwww/sipX/doc/stdprompts/june.wav
Xwww/sipX/doc/stdprompts/k.wav
Xwww/sipX/doc/stdprompts/l.wav
Xwww/sipX/doc/stdprompts/m.wav
Xwww/sipX/doc/stdprompts/mainmenu.wav
Xwww/sipX/doc/stdprompts/mainmenu_no_autoattendant.wav
Xwww/sipX/doc/stdprompts/mainmenu_short.wav
Xwww/sipX/doc/stdprompts/manage_autoattendant_options.wav
Xwww/sipX/doc/stdprompts/manage_special_menu_options.wav
Xwww/sipX/doc/stdprompts/manage_system_greetings_options.wav
Xwww/sipX/doc/stdprompts/march.wav
Xwww/sipX/doc/stdprompts/may.wav
Xwww/sipX/doc/stdprompts/midnight.wav
Xwww/sipX/doc/stdprompts/minute.wav
Xwww/sipX/doc/stdprompts/minutes.wav
Xwww/sipX/doc/stdprompts/mismatch_pin.wav
Xwww/sipX/doc/stdprompts/monday.wav
Xwww/sipX/doc/stdprompts/month.wav
Xwww/sipX/doc/stdprompts/months.wav
Xwww/sipX/doc/stdprompts/msg_copied.wav
Xwww/sipX/doc/stdprompts/msg_deleted.wav
Xwww/sipX/doc/stdprompts/msg_deleted_permanently.wav
Xwww/sipX/doc/stdprompts/msg_forwarded.wav
Xwww/sipX/doc/stdprompts/msg_listen_options.wav
Xwww/sipX/doc/stdprompts/msg_listen_options_deleted.wav
Xwww/sipX/doc/stdprompts/msg_listen_options_deleted2.wav
Xwww/sipX/doc/stdprompts/msg_listen_options_no_save.wav
Xwww/sipX/doc/stdprompts/msg_received.wav
Xwww/sipX/doc/stdprompts/msg_recorded.wav
Xwww/sipX/doc/stdprompts/msg_restored.wav
Xwww/sipX/doc/stdprompts/msg_saved.wav
Xwww/sipX/doc/stdprompts/msg_sent.wav
Xwww/sipX/doc/stdprompts/msg_too_short.wav
Xwww/sipX/doc/stdprompts/n.wav
Xwww/sipX/doc/stdprompts/name_record_options.wav
Xwww/sipX/doc/stdprompts/name_recorded.wav
Xwww/sipX/doc/stdprompts/no_deleted_msgs.wav
Xwww/sipX/doc/stdprompts/no_entry_matches.wav
Xwww/sipX/doc/stdprompts/no_msgs_in_inbox.wav
Xwww/sipX/doc/stdprompts/no_saved_msgs.wav
Xwww/sipX/doc/stdprompts/noon.wav
Xwww/sipX/doc/stdprompts/november.wav
Xwww/sipX/doc/stdprompts/o.wav
Xwww/sipX/doc/stdprompts/o_clock.wav
Xwww/sipX/doc/stdprompts/o_eight.wav
Xwww/sipX/doc/stdprompts/o_five.wav
Xwww/sipX/doc/stdprompts/o_four.wav
Xwww/sipX/doc/stdprompts/o_nine.wav
Xwww/sipX/doc/stdprompts/o_one.wav
Xwww/sipX/doc/stdprompts/o_seven.wav
Xwww/sipX/doc/stdprompts/o_six.wav
Xwww/sipX/doc/stdprompts/o_three.wav
Xwww/sipX/doc/stdprompts/o_two.wav
Xwww/sipX/doc/stdprompts/october.wav
Xwww/sipX/doc/stdprompts/on.wav
Xwww/sipX/doc/stdprompts/operator.wav
Xwww/sipX/doc/stdprompts/outofoffice_greeting_is.wav
Xwww/sipX/doc/stdprompts/outofoffice_selected.wav
Xwww/sipX/doc/stdprompts/p.wav
Xwww/sipX/doc/stdprompts/passwd_changed.wav
Xwww/sipX/doc/stdprompts/pin_changed.wav
Xwww/sipX/doc/stdprompts/pin_not_changed.wav
Xwww/sipX/doc/stdprompts/please_hold.wav
Xwww/sipX/doc/stdprompts/please_leave_a_msg.wav
Xwww/sipX/doc/stdprompts/pm.wav
Xwww/sipX/doc/stdprompts/pound.wav
Xwww/sipX/doc/stdprompts/press.wav
Xwww/sipX/doc/stdprompts/press_0.wav
Xwww/sipX/doc/stdprompts/press_1.wav
Xwww/sipX/doc/stdprompts/press_2.wav
Xwww/sipX/doc/stdprompts/press_3.wav
Xwww/sipX/doc/stdprompts/press_4.wav
Xwww/sipX/doc/stdprompts/press_5.wav
Xwww/sipX/doc/stdprompts/press_6.wav
Xwww/sipX/doc/stdprompts/press_7.wav
Xwww/sipX/doc/stdprompts/press_8.wav
Xwww/sipX/doc/stdprompts/press_9.wav
Xwww/sipX/doc/stdprompts/press_pound.wav
Xwww/sipX/doc/stdprompts/press_star.wav
Xwww/sipX/doc/stdprompts/prompt_not_found.wav
Xwww/sipX/doc/stdprompts/q.wav
Xwww/sipX/doc/stdprompts/r.wav
Xwww/sipX/doc/stdprompts/record_autoattendant_prompt.wav
Xwww/sipX/doc/stdprompts/record_comments.wav
Xwww/sipX/doc/stdprompts/record_greeting.wav
Xwww/sipX/doc/stdprompts/record_your_greeting.wav
Xwww/sipX/doc/stdprompts/record_your_message.wav
Xwww/sipX/doc/stdprompts/record_your_name.wav
Xwww/sipX/doc/stdprompts/recorded_autoattendant_prompt_is.wav
Xwww/sipX/doc/stdprompts/recorded_autoattendant_selected.wav
Xwww/sipX/doc/stdprompts/return_to_mainmenu.wav
Xwww/sipX/doc/stdprompts/s.wav
Xwww/sipX/doc/stdprompts/saturday.wav
Xwww/sipX/doc/stdprompts/saved_msg.wav
Xwww/sipX/doc/stdprompts/saved_msgs.wav
Xwww/sipX/doc/stdprompts/second.wav
Xwww/sipX/doc/stdprompts/seconds.wav
Xwww/sipX/doc/stdprompts/select_active_greeting.wav
Xwww/sipX/doc/stdprompts/select_active_greeting_confirm.wav
Xwww/sipX/doc/stdprompts/select_autoattendant_confirm.wav
Xwww/sipX/doc/stdprompts/select_autoattendant_prompt.wav
Xwww/sipX/doc/stdprompts/select_dist_list.wav
Xwww/sipX/doc/stdprompts/select_system_greeting_options.wav
Xwww/sipX/doc/stdprompts/select_the_greeting_to_play_to_all_inbound_callers.wav
Xwww/sipX/doc/stdprompts/september.wav
Xwww/sipX/doc/stdprompts/special_menu_disabled.wav
Xwww/sipX/doc/stdprompts/special_menu_enabled.wav
Xwww/sipX/doc/stdprompts/special_menu_not_set.wav
Xwww/sipX/doc/stdprompts/special_menu_option.wav
Xwww/sipX/doc/stdprompts/special_occasion_greeting_is.wav
Xwww/sipX/doc/stdprompts/special_occasion_greeting_selected.wav
Xwww/sipX/doc/stdprompts/standard_greeting_is.wav
Xwww/sipX/doc/stdprompts/standard_selected.wav
Xwww/sipX/doc/stdprompts/standard_system_greeting_is.wav
Xwww/sipX/doc/stdprompts/standard_system_greeting_selected.wav
Xwww/sipX/doc/stdprompts/star.wav
Xwww/sipX/doc/stdprompts/sunday.wav
Xwww/sipX/doc/stdprompts/system_admin_options.wav
Xwww/sipX/doc/stdprompts/system_error.wav
Xwww/sipX/doc/stdprompts/system_error_short.wav
Xwww/sipX/doc/stdprompts/system_greeting_set.wav
Xwww/sipX/doc/stdprompts/t.wav
Xwww/sipX/doc/stdprompts/thankyou_goodbye.wav
Xwww/sipX/doc/stdprompts/thousand.wav
Xwww/sipX/doc/stdprompts/thursday.wav
Xwww/sipX/doc/stdprompts/to_accept_your_comments.wav
Xwww/sipX/doc/stdprompts/to_cancel.wav
Xwww/sipX/doc/stdprompts/to_cancel_and_enter_diff.wav
Xwww/sipX/doc/stdprompts/to_cancel_press_star.wav
Xwww/sipX/doc/stdprompts/to_change_your_password.wav
Xwww/sipX/doc/stdprompts/to_change_your_pin.wav
Xwww/sipX/doc/stdprompts/to_clear_your_deleted_messages.wav
Xwww/sipX/doc/stdprompts/to_delete.wav
Xwww/sipX/doc/stdprompts/to_delete_comments.wav
Xwww/sipX/doc/stdprompts/to_delete_greeting.wav
Xwww/sipX/doc/stdprompts/to_delete_message.wav
Xwww/sipX/doc/stdprompts/to_delete_permanently.wav
Xwww/sipX/doc/stdprompts/to_delete_recording.wav
Xwww/sipX/doc/stdprompts/to_deliver_to_another_address.wav
Xwww/sipX/doc/stdprompts/to_dial_by_name.wav
Xwww/sipX/doc/stdprompts/to_empty_deleted_messages.wav
Xwww/sipX/doc/stdprompts/to_exit.wav
Xwww/sipX/doc/stdprompts/to_forward_this_message.wav
Xwww/sipX/doc/stdprompts/to_forward_to_another_inbox.wav
Xwww/sipX/doc/stdprompts/to_forward_wo_comments.wav
Xwww/sipX/doc/stdprompts/to_hear_the_systemwide_welcome_menu.wav
Xwww/sipX/doc/stdprompts/to_hear_welcome.wav
Xwww/sipX/doc/stdprompts/to_listen_to_auto_attendant_prompts.wav
Xwww/sipX/doc/stdprompts/to_listen_to_greeting.wav
Xwww/sipX/doc/stdprompts/to_listen_to_greetings_before_selection.wav
Xwww/sipX/doc/stdprompts/to_listen_to_messages.wav
Xwww/sipX/doc/stdprompts/to_listen_to_recording.wav
Xwww/sipX/doc/stdprompts/to_listen_to_saved_messages.wav
Xwww/sipX/doc/stdprompts/to_listen_to_your_deleted_messages.wav
Xwww/sipX/doc/stdprompts/to_listen_to_your_greetings.wav
Xwww/sipX/doc/stdprompts/to_listen_to_your_inbox_messages.wav
Xwww/sipX/doc/stdprompts/to_log_off.wav
Xwww/sipX/doc/stdprompts/to_manage_the_auto_attendant_prompt.wav
Xwww/sipX/doc/stdprompts/to_manage_the_systemwide_greeting.wav
Xwww/sipX/doc/stdprompts/to_play_comments.wav
Xwww/sipX/doc/stdprompts/to_play_info_about_message.wav
Xwww/sipX/doc/stdprompts/to_play_the_next_message.wav
Xwww/sipX/doc/stdprompts/to_play_this_message.wav
Xwww/sipX/doc/stdprompts/to_reach_the_operator.wav
Xwww/sipX/doc/stdprompts/to_record_a_special_occasion_greeting.wav
Xwww/sipX/doc/stdprompts/to_record_an_after_hours_greeting.wav
Xwww/sipX/doc/stdprompts/to_record_comments.wav
Xwww/sipX/doc/stdprompts/to_record_ext_absence_greeting.wav
Xwww/sipX/doc/stdprompts/to_record_out_of_office_greeting.wav
Xwww/sipX/doc/stdprompts/to_record_personal_greeting.wav
Xwww/sipX/doc/stdprompts/to_record_standard_greeting.wav
Xwww/sipX/doc/stdprompts/to_record_the_auto_attendant_prompt.wav
Xwww/sipX/doc/stdprompts/to_record_your_name.wav
Xwww/sipX/doc/stdprompts/to_replay.wav
Xwww/sipX/doc/stdprompts/to_reply.wav
Xwww/sipX/doc/stdprompts/to_restore_to_inbox.wav
Xwww/sipX/doc/stdprompts/to_retrieve_voicemail.wav
Xwww/sipX/doc/stdprompts/to_return_this_call.wav
Xwww/sipX/doc/stdprompts/to_return_to_main_menu.wav
Xwww/sipX/doc/stdprompts/to_save.wav
Xwww/sipX/doc/stdprompts/to_select_default_system_greeting.wav
Xwww/sipX/doc/stdprompts/to_select_different_auto_attendant_prompt.wav
Xwww/sipX/doc/stdprompts/to_select_different_greeting.wav
Xwww/sipX/doc/stdprompts/to_select_ext_absence_greeting.wav
Xwww/sipX/doc/stdprompts/to_select_out_of_office_greeting.wav
Xwww/sipX/doc/stdprompts/to_select_standard_greeting.wav
Xwww/sipX/doc/stdprompts/to_select_the_after_hours_greeting.wav
Xwww/sipX/doc/stdprompts/to_select_the_auto_attendant_prompt_to_play.wav
Xwww/sipX/doc/stdprompts/to_select_the_generic_auto_attendant_prompt.wav
Xwww/sipX/doc/stdprompts/to_select_the_generic_greeting.wav
Xwww/sipX/doc/stdprompts/to_select_the_greeting_for_all_inbound_callers.wav
Xwww/sipX/doc/stdprompts/to_select_the_greeting_to_play.wav
Xwww/sipX/doc/stdprompts/to_select_the_special_occasion_greeting.wav
Xwww/sipX/doc/stdprompts/to_select_your_recorded_auto_attendant_prompt.wav
Xwww/sipX/doc/stdprompts/to_send_a_message.wav
Xwww/sipX/doc/stdprompts/to_send_this_message.wav
Xwww/sipX/doc/stdprompts/to_try_again.wav
Xwww/sipX/doc/stdprompts/to_use_this_greeting.wav
Xwww/sipX/doc/stdprompts/to_use_this_recording.wav
Xwww/sipX/doc/stdprompts/today.wav
Xwww/sipX/doc/stdprompts/tuesday.wav
Xwww/sipX/doc/stdprompts/u.wav
Xwww/sipX/doc/stdprompts/unheard_msg.wav
Xwww/sipX/doc/stdprompts/unheard_msgs.wav
Xwww/sipX/doc/stdprompts/v.wav
Xwww/sipX/doc/stdprompts/vmoptions.wav
Xwww/sipX/doc/stdprompts/vmoptions2.wav
Xwww/sipX/doc/stdprompts/voicemail_options.wav
Xwww/sipX/doc/stdprompts/w.wav
Xwww/sipX/doc/stdprompts/wednesday.wav
Xwww/sipX/doc/stdprompts/week.wav
Xwww/sipX/doc/stdprompts/weeks.wav
Xwww/sipX/doc/stdprompts/welcome.wav
Xwww/sipX/doc/stdprompts/when_you_are_finished.wav
Xwww/sipX/doc/stdprompts/x.wav
Xwww/sipX/doc/stdprompts/y.wav
Xwww/sipX/doc/stdprompts/year.wav
Xwww/sipX/doc/stdprompts/years.wav
Xwww/sipX/doc/stdprompts/yesterday.wav
Xwww/sipX/doc/stdprompts/you_have.wav
Xwww/sipX/doc/stdprompts/your_active_greeting_is.wav
Xwww/sipX/doc/stdprompts/z.wav
Xwww/sipX/doc/style/voicemail.css
Xwww/sipX/doc/userui/!SkinSubFolder!/Default/Default.skn
Xwww/sipX/doc/userui/!SkinSubFolder!/Default/logosmall.gif
Xwww/sipX/doc/userui/!SkinSubFolder!/Default/media.skn
Xwww/sipX/doc/userui/!SkinSubFolder!/Default/pingtel-logo-small.png
Xwww/sipX/doc/userui/!SkinSubFolder!/Default/pingtel_bullet.png
Xwww/sipX/doc/userui/DEL.GIF
Xwww/sipX/doc/userui/EDITICON.GIF
Xwww/sipX/doc/userui/SIPxchangeVM.pdf
Xwww/sipX/doc/userui/WebHelp/advanced_settings.htm
Xwww/sipX/doc/userui/WebHelp/all_folders_managing_messages.htm
Xwww/sipX/doc/userui/WebHelp/call_handling_page.htm
Xwww/sipX/doc/userui/WebHelp/cshdat_robohelp.htm
Xwww/sipX/doc/userui/WebHelp/cshdat_webhelp.htm
Xwww/sipX/doc/userui/WebHelp/default.skn
Xwww/sipX/doc/userui/WebHelp/del.gif
Xwww/sipX/doc/userui/WebHelp/delete_this_folder_hot.gif
Xwww/sipX/doc/userui/WebHelp/editicon.gif
Xwww/sipX/doc/userui/WebHelp/ehlpdhtm.js
Xwww/sipX/doc/userui/WebHelp/email_notification_page.htm
Xwww/sipX/doc/userui/WebHelp/link_email_page.htm
Xwww/sipX/doc/userui/WebHelp/log_in_log_out_page.htm
Xwww/sipX/doc/userui/WebHelp/logosmall.gif
Xwww/sipX/doc/userui/WebHelp/manage_distribution_lists_page.htm
Xwww/sipX/doc/userui/WebHelp/manage_folders_page.htm
Xwww/sipX/doc/userui/WebHelp/manage_greetings_page.htm
Xwww/sipX/doc/userui/WebHelp/manage_lists_page.htm
Xwww/sipX/doc/userui/WebHelp/media.skn
Xwww/sipX/doc/userui/WebHelp/mediauser.htm
Xwww/sipX/doc/userui/WebHelp/mediauser_csh.htm
Xwww/sipX/doc/userui/WebHelp/mediauser_rhc.htm
Xwww/sipX/doc/userui/WebHelp/no_limits.gif
Xwww/sipX/doc/userui/WebHelp/note.gif
Xwww/sipX/doc/userui/WebHelp/notify_by_email_page.htm
Xwww/sipX/doc/userui/WebHelp/pingtel-logo-small.png
Xwww/sipX/doc/userui/WebHelp/pingtel1.css
Xwww/sipX/doc/userui/WebHelp/pingtel1_ns.css
Xwww/sipX/doc/userui/WebHelp/pingtel_bullet.gif
Xwww/sipX/doc/userui/WebHelp/pingtel_bullet.png
Xwww/sipX/doc/userui/WebHelp/sipxchangevm.pdf
Xwww/sipX/doc/userui/WebHelp/small_phone.gif
Xwww/sipX/doc/userui/WebHelp/spkr.gif
Xwww/sipX/doc/userui/WebHelp/webhelp.cab
Xwww/sipX/doc/userui/WebHelp/webhelp.jar
Xwww/sipX/doc/userui/WebHelp/welcome.htm
Xwww/sipX/doc/userui/WebHelp/whdata/where_are_these_files.txt
Xwww/sipX/doc/userui/WebHelp/whdata/whftdata.js
Xwww/sipX/doc/userui/WebHelp/whdata/whftdata0.htm
Xwww/sipX/doc/userui/WebHelp/whdata/whftdata0.xml
Xwww/sipX/doc/userui/WebHelp/whdata/whfts.htm
Xwww/sipX/doc/userui/WebHelp/whdata/whfts.js
Xwww/sipX/doc/userui/WebHelp/whdata/whfts.xml
Xwww/sipX/doc/userui/WebHelp/whdata/whfwdata.js
Xwww/sipX/doc/userui/WebHelp/whdata/whfwdata0.htm
Xwww/sipX/doc/userui/WebHelp/whdata/whfwdata0.xml
Xwww/sipX/doc/userui/WebHelp/whdata/whgdata.js
Xwww/sipX/doc/userui/WebHelp/whdata/whglo.htm
Xwww/sipX/doc/userui/WebHelp/whdata/whglo.js
Xwww/sipX/doc/userui/WebHelp/whdata/whglo.xml
Xwww/sipX/doc/userui/WebHelp/whdata/whidata.js
Xwww/sipX/doc/userui/WebHelp/whdata/whidata0.htm
Xwww/sipX/doc/userui/WebHelp/whdata/whidata0.xml
Xwww/sipX/doc/userui/WebHelp/whdata/whidx.htm
Xwww/sipX/doc/userui/WebHelp/whdata/whidx.js
Xwww/sipX/doc/userui/WebHelp/whdata/whidx.xml
Xwww/sipX/doc/userui/WebHelp/whdata/whtdata.js
Xwww/sipX/doc/userui/WebHelp/whdata/whtdata0.htm
Xwww/sipX/doc/userui/WebHelp/whdata/whtdata0.xml
Xwww/sipX/doc/userui/WebHelp/whdata/whtoc.htm
Xwww/sipX/doc/userui/WebHelp/whdata/whtoc.js
Xwww/sipX/doc/userui/WebHelp/whdata/whtoc.xml
Xwww/sipX/doc/userui/WebHelp/whestart.ico
Xwww/sipX/doc/userui/WebHelp/whfbody.htm
Xwww/sipX/doc/userui/WebHelp/whfdhtml.htm
Xwww/sipX/doc/userui/WebHelp/whfform.htm
Xwww/sipX/doc/userui/WebHelp/whfhost.js
Xwww/sipX/doc/userui/WebHelp/whform.js
Xwww/sipX/doc/userui/WebHelp/whframes.js
Xwww/sipX/doc/userui/WebHelp/whgbody.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/where_are_these_files.txt
Xwww/sipX/doc/userui/WebHelp/whgdata/whexpbar.gif
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstf0.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstf1.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl0.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl1.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl10.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl11.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl12.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl13.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl14.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl15.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl16.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl17.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl2.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl3.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl4.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl5.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl6.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl7.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl8.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstfl9.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstg0.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlsti0.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstt0.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstt1.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstt2.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstt3.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whlstt4.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvf30.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvf31.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvf32.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvf33.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvl31.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvl32.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvl33.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvp30.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvp31.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvp32.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvp33.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvt30.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvt31.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvt32.htm
Xwww/sipX/doc/userui/WebHelp/whgdata/whnvt33.htm
Xwww/sipX/doc/userui/WebHelp/whgdef.htm
Xwww/sipX/doc/userui/WebHelp/whgdhtml.htm
Xwww/sipX/doc/userui/WebHelp/whghost.js
Xwww/sipX/doc/userui/WebHelp/whhost.js
Xwww/sipX/doc/userui/WebHelp/whibody.htm
Xwww/sipX/doc/userui/WebHelp/whidhtml.htm
Xwww/sipX/doc/userui/WebHelp/whiform.htm
Xwww/sipX/doc/userui/WebHelp/whihost.js
Xwww/sipX/doc/userui/WebHelp/whlang.js
Xwww/sipX/doc/userui/WebHelp/whmozemu.js
Xwww/sipX/doc/userui/WebHelp/whmsg.js
Xwww/sipX/doc/userui/WebHelp/whnjs.htm
Xwww/sipX/doc/userui/WebHelp/whphost.js
Xwww/sipX/doc/userui/WebHelp/whproj.htm
Xwww/sipX/doc/userui/WebHelp/whproj.js
Xwww/sipX/doc/userui/WebHelp/whproj.xml
Xwww/sipX/doc/userui/WebHelp/whproxy.js
Xwww/sipX/doc/userui/WebHelp/whres.xml
Xwww/sipX/doc/userui/WebHelp/whrstart.ico
Xwww/sipX/doc/userui/WebHelp/whskin_banner.htm
Xwww/sipX/doc/userui/WebHelp/whskin_blank.htm
Xwww/sipX/doc/userui/WebHelp/whskin_frmset01.htm
Xwww/sipX/doc/userui/WebHelp/whskin_frmset010.htm
Xwww/sipX/doc/userui/WebHelp/whskin_info.htm
Xwww/sipX/doc/userui/WebHelp/whskin_mbars.htm
Xwww/sipX/doc/userui/WebHelp/whskin_papplet.htm
Xwww/sipX/doc/userui/WebHelp/whskin_pdhtml.htm
Xwww/sipX/doc/userui/WebHelp/whskin_plist.htm
Xwww/sipX/doc/userui/WebHelp/whskin_tbars.htm
Xwww/sipX/doc/userui/WebHelp/whst_topics.xml
Xwww/sipX/doc/userui/WebHelp/whstart.ico
Xwww/sipX/doc/userui/WebHelp/whstart.js
Xwww/sipX/doc/userui/WebHelp/whstub.js
Xwww/sipX/doc/userui/WebHelp/wht_abge.jpg
Xwww/sipX/doc/userui/WebHelp/wht_abgi.jpg
Xwww/sipX/doc/userui/WebHelp/wht_abgw.jpg
Xwww/sipX/doc/userui/WebHelp/wht_abte.jpg
Xwww/sipX/doc/userui/WebHelp/wht_abti.jpg
Xwww/sipX/doc/userui/WebHelp/wht_abtw.jpg
Xwww/sipX/doc/userui/WebHelp/wht_fts_h.gif
Xwww/sipX/doc/userui/WebHelp/wht_fts_n.gif
Xwww/sipX/doc/userui/WebHelp/wht_glo_h.gif
Xwww/sipX/doc/userui/WebHelp/wht_glo_n.gif
Xwww/sipX/doc/userui/WebHelp/wht_go.gif
Xwww/sipX/doc/userui/WebHelp/wht_hide.gif
Xwww/sipX/doc/userui/WebHelp/wht_idx_h.gif
Xwww/sipX/doc/userui/WebHelp/wht_idx_n.gif
Xwww/sipX/doc/userui/WebHelp/wht_logo1.gif
Xwww/sipX/doc/userui/WebHelp/wht_logo2.gif
Xwww/sipX/doc/userui/WebHelp/wht_next.gif
Xwww/sipX/doc/userui/WebHelp/wht_next_g.gif
Xwww/sipX/doc/userui/WebHelp/wht_prev.gif
Xwww/sipX/doc/userui/WebHelp/wht_prev_g.gif
Xwww/sipX/doc/userui/WebHelp/wht_spac.gif
Xwww/sipX/doc/userui/WebHelp/wht_sync.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab0.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab1.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab2.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab3.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab4.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab5.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab6.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab7.gif
Xwww/sipX/doc/userui/WebHelp/wht_tab8.gif
Xwww/sipX/doc/userui/WebHelp/wht_toc1.gif
Xwww/sipX/doc/userui/WebHelp/wht_toc2.gif
Xwww/sipX/doc/userui/WebHelp/wht_toc3.gif
Xwww/sipX/doc/userui/WebHelp/wht_toc4.gif
Xwww/sipX/doc/userui/WebHelp/wht_toc_h.gif
Xwww/sipX/doc/userui/WebHelp/wht_toc_n.gif
Xwww/sipX/doc/userui/WebHelp/wht_ws.gif
Xwww/sipX/doc/userui/WebHelp/wht_ws_g.gif
Xwww/sipX/doc/userui/WebHelp/whtbar.js
Xwww/sipX/doc/userui/WebHelp/whtdhtml.htm
Xwww/sipX/doc/userui/WebHelp/whthost.js
Xwww/sipX/doc/userui/WebHelp/whtopic.js
Xwww/sipX/doc/userui/WebHelp/whutils.js
Xwww/sipX/doc/userui/WebHelp/whver.js
Xwww/sipX/doc/userui/all_folders_managing_messages.htm
Xwww/sipX/doc/userui/auth_accept.jsp
Xwww/sipX/doc/userui/auth_confirm.jsp
Xwww/sipX/doc/userui/blank.html
Xwww/sipX/doc/userui/delete_this_folder_hot.gif
Xwww/sipX/doc/userui/eHlpDhtm.js
Xwww/sipX/doc/userui/enduser_nav.png
Xwww/sipX/doc/userui/index.html
Xwww/sipX/doc/userui/jsFunctions.js
Xwww/sipX/doc/userui/logo.gif
Xwww/sipX/doc/userui/logosmall.gif
Xwww/sipX/doc/userui/manage_distribution_lists_page.htm
Xwww/sipX/doc/userui/manage_folders_page.htm
Xwww/sipX/doc/userui/manage_greetings_page.htm
Xwww/sipX/doc/userui/mediaserver.ppf
Xwww/sipX/doc/userui/mediauser.ali
Xwww/sipX/doc/userui/mediauser.brs
Xwww/sipX/doc/userui/mediauser.hhc
Xwww/sipX/doc/userui/mediauser.hhc_backup
Xwww/sipX/doc/userui/mediauser.hhk
Xwww/sipX/doc/userui/mediauser.hhk_backup
Xwww/sipX/doc/userui/mediauser.hhp
Xwww/sipX/doc/userui/mediauser.hpr
Xwww/sipX/doc/userui/mediauser.mpj
Xwww/sipX/doc/userui/mediauser.ppf
Xwww/sipX/doc/userui/navigation.html
Xwww/sipX/doc/userui/note.gif
Xwww/sipX/doc/userui/notify_by_email_page.htm
Xwww/sipX/doc/userui/pingtel1.css
Xwww/sipX/doc/userui/pingtel_bullet.gif
Xwww/sipX/doc/userui/pingtelbar.gif
Xwww/sipX/doc/userui/small_phone.gif
Xwww/sipX/doc/userui/spkr.gif
Xwww/sipX/doc/userui/template.htt
Xwww/sipX/doc/userui/voicemail_not_enabled.html
Xwww/sipX/doc/userui/voicemail_not_enabled_nav.html
Xwww/sipX/doc/userui/welcome.htm
Xwww/sipX/doc/vm_vxml/activategreeting.vxml
Xwww/sipX/doc/vm_vxml/changepin.vxml
Xwww/sipX/doc/vm_vxml/error_handler.vxml
Xwww/sipX/doc/vm_vxml/forwardmessage.vxml.in
Xwww/sipX/doc/vm_vxml/login.vxml.in
Xwww/sipX/doc/vm_vxml/login_no_autoattendant.vxml.in
Xwww/sipX/doc/vm_vxml/mainmenu.vxml
Xwww/sipX/doc/vm_vxml/mainmenu_no_autoattendant.vxml
Xwww/sipX/doc/vm_vxml/manage_autoattendant.vxml
Xwww/sipX/doc/vm_vxml/manage_system_greetings.vxml
Xwww/sipX/doc/vm_vxml/msglisten.vxml
Xwww/sipX/doc/vm_vxml/recordgreeting.vxml
Xwww/sipX/doc/vm_vxml/replytovoicemail.vxml
Xwww/sipX/doc/vm_vxml/root.vxml.in
Xwww/sipX/doc/vm_vxml/savemessage.vxml.in
Xwww/sipX/doc/vm_vxml/savemessage_no_operator.vxml.in
X@dirrm www/sipX/doc/vm_vxml
X@dirrm www/sipX/doc/userui/WebHelp/whgdata
X@dirrm www/sipX/doc/userui/WebHelp/whdata
X@dirrm www/sipX/doc/userui/WebHelp
X@dirrm www/sipX/doc/userui/!SkinSubFolder!/Default
X@dirrm www/sipX/doc/userui/!SkinSubFolder!
X@dirrm www/sipX/doc/userui
X@dirrm www/sipX/doc/style
X@dirrm www/sipX/doc/stdprompts
X@dirrm www/sipX/doc/images/navbar
X@dirrm www/sipX/doc/images/buttons
X@dirrm www/sipX/doc/images
X@dirrm www/sipX/doc/cb_vxml
X@dirrm www/sipX/doc/adminui/WebHelp/whgdata
X@dirrm www/sipX/doc/adminui/WebHelp/whdata
X@dirrm www/sipX/doc/adminui/WebHelp
X@dirrm www/sipX/doc/adminui/!SkinSubFolder!/Default
X@dirrm www/sipX/doc/adminui/!SkinSubFolder!
X@dirrm www/sipX/doc/adminui
X@dirrm www/sipX/doc/aa_vxml
X@dirrm www/sipX/doc
X@dirrm www/sipX/conf
X@dirrm www/sipX/cgi-bin/voicemail
X@dirrm www/sipX/cgi-bin/replication
X@dirrm www/sipX/cgi-bin/processmonitor
X@dirrm www/sipX/cgi-bin/cbadmission
X@dirrm www/sipX/cgi-bin
X@dirrm www/sipX
X@dirrm share/sipx/schema
X@dirrm share/sipx
X@dirrm share/doc/sipx/sipxpbx
X@dirrm share/doc/sipx
X@dirrm etc/sipxpbx/process.d
X@dirrm etc/sipxpbx
END-of-./sipxpbx/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701142237.l0EMbVIa032268>