diff --git a/.gitignore b/.gitignore index f6eb3374de..57a923062a 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ sipXconfig/packages/logging sipXconfig/packages/path sipXconfig/packages/unmodifiable_collection pubspec.lock +/sipXyealink/nbproject/private/ +/sipXyealink/build/ \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 2430e30614..caacc748cb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "freeswitch"] path = freeswitch - url = git://github.com/SIPfoundry/freeswitch.git + url = git://github.com/sipXcom/freeswitch.git [submodule "sipXcustomCallerId"] path = sipXcustomCallerId url = git://github.com/ezuce/sipXcustomCallerId.git @@ -9,61 +9,61 @@ url = http://code.google.com/p/homer/ [submodule "sipXhomer"] path = sipXhomer - url = git://github.com/SIPfoundry/sipXhomer.git + url = git://github.com/sipXcom/sipXhomer.git [submodule "sipXlang-abitibi-fr_CA"] path = sipXlang-abitibi-fr_CA - url = git://github.com/SIPfoundry/sipXlang-abitibi-fr_CA.git + url = git://github.com/sipXcom/sipXlang-abitibi-fr_CA.git [submodule "sipXlang-ch"] path = sipXlang-ch - url = git://github.com/SIPfoundry/sipXlang-ch.git + url = git://github.com/sipXcom/sipXlang-ch.git [submodule "sipXlang-cs"] path = sipXlang-cs - url = git://github.com/SIPfoundry/sipXlang-cs.git + url = git://github.com/sipXcom/sipXlang-cs.git [submodule "sipXlang-de"] path = sipXlang-de - url = git://github.com/SIPfoundry/sipXlang-de.git + url = git://github.com/sipXcom/sipXlang-de.git [submodule "sipXlang-en_GB"] path = sipXlang-en_GB - url = git://github.com/SIPfoundry/sipXlang-en_GB.git + url = git://github.com/sipXcom/sipXlang-en_GB.git [submodule "sipXlang-es"] path = sipXlang-es - url = git://github.com/SIPfoundry/sipXlang-es.git + url = git://github.com/sipXcom/sipXlang-es.git [submodule "sipXlang-fr_CA"] path = sipXlang-fr_CA - url = git://github.com/SIPfoundry/sipXlang-fr_CA.git + url = git://github.com/sipXcom/sipXlang-fr_CA.git [submodule "sipXlang-fr"] path = sipXlang-fr - url = git://github.com/SIPfoundry/sipXlang-fr.git + url = git://github.com/sipXcom/sipXlang-fr.git [submodule "sipXlang-it"] path = sipXlang-it - url = git://github.com/SIPfoundry/sipXlang-it.git + url = git://github.com/sipXcom/sipXlang-it.git [submodule "sipXlang-ja"] path = sipXlang-ja - url = git://github.com/SIPfoundry/sipXlang-ja.git + url = git://github.com/sipXcom/sipXlang-ja.git [submodule "sipXlang-es_MX"] path = sipXlang-es_MX - url = git://github.com/SIPfoundry/sipXlang-es_MX.git + url = git://github.com/sipXcom/sipXlang-es_MX.git [submodule "sipXlang-nl"] path = sipXlang-nl - url = git://github.com/SIPfoundry/sipXlang-nl.git + url = git://github.com/sipXcom/sipXlang-nl.git [submodule "sipXlang-pl"] path = sipXlang-pl - url = git://github.com/SIPfoundry/sipXlang-pl.git + url = git://github.com/sipXcom/sipXlang-pl.git [submodule "sipXlang-pt_BR"] path = sipXlang-pt_BR - url = git://github.com/SIPfoundry/sipXlang-pt_BR.git + url = git://github.com/sipXcom/sipXlang-pt_BR.git [submodule "sipXlang-zh"] path = sipXlang-zh - url = git://github.com/SIPfoundry/sipXlang-zh.git + url = git://github.com/sipXcom/sipXlang-zh.git [submodule "oss_core"] path = oss_core - url = git://github.com/ezuce/oss_core.git + url = git://github.com/joegen/oss_core.git [submodule "sipXsbc"] path = sipXsbc url = git://github.com/ezuce/sipXsbc.git [submodule "openfire"] path = openfire - url = git://github.com/SIPfoundry/openfire.git + url = git://github.com/sipXcom/openfire.git [submodule "oacd_freeswitch"] path = oacd_freeswitch url = git://github.com/sipxopenacd/oacd_freeswitch.git @@ -81,10 +81,19 @@ url = git://github.com/sipxopenacd/openacd.git [submodule "sipXcallQueue"] path = sipXcallQueue - url = git://github.com/SIPfoundry/sipXcallQueue.git + url = git://github.com/sipXcom/sipXcallQueue.git [submodule "sipXresiprocate"] path = sipXresiprocate - url = git://github.com/SIPfoundry/resiprocate.git + url = git://github.com/sipXcom/resiprocate.git [submodule "freeswitch_edge"] path = freeswitch_edge - url = git://github.com/SIPfoundry/freeswitch.git + url = git://github.com/sipXcom/freeswitch.git +[submodule "sipXAocBilling"] + path = sipXAocBilling + url = https://github.com/sipXcom/sipXAocBilling.git +[submodule "sipXdashboard"] + path = sipXdashboard + url = https://github.com/sipXcom/sipXdashboard.git +[submodule "sipXlang-pt"] + path = sipXlang-pt + url = https://github.com/sipXcom/sipXlang-pt.git diff --git a/Makefile.in b/Makefile.in old mode 100644 new mode 100755 diff --git a/build_docker_rpm.sh b/build_docker_rpm.sh new file mode 100755 index 0000000000..1f31dfb150 --- /dev/null +++ b/build_docker_rpm.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +for i in "$@" +do +case $i in + -s=*|--source-dir=*) + SOURCE_DIR="${i#*=}" + shift + ;; + -v=*|--version=*) + VERSION="${i#*=}" + shift + ;; + -p=*|--project=*) + PROJECT="${i#*=}" + shift + ;; + -u=*|--repo=*) + UPSTREAM_REPO="${i#*=}" + shift + ;; + *) + echo "Usage: -s|--source-dir: absolute path to source directory, e.g. /home/sipx/sipxecs + -v|--version: version of sipxcom RPM to build, e.g. 15.10 + -p|--project: project to build (or sipx for building all RPMs) or init for the first run, e.g. init, sipXconfig, sipx + +Sample: + ./build-rpm.sh --source-dir=/home/sipx/sipxecs --version=15.08 --project=init + ./build-rpm.sh --source-dir=/home/sipx/sipxecs --version=15.08 --project=sipx + ./build-rpm.sh --source-dir=/home/sipx/sipxecs --version=15.08 --project=sipXconfig" + exit + ;; +esac +done +if [ -z "${UPSTREAM_REPO}" ] +then +UPSTREAM_REPO="http://download.sipxcom.org/pub/${VERSION}-unstable/" +fi +sudo docker run -e "SIPXCOM_VERSION=${VERSION}" --rm -t --privileged -v ${SOURCE_DIR}:/home/sipx/sipxcom dizzy/docker-dev-rpm:15.10 ${PROJECT} ${UPSTREAM_REPO} diff --git a/config/revision-gen b/config/revision-gen index f71f04395f..60e082067b 100755 --- a/config/revision-gen +++ b/config/revision-gen @@ -24,6 +24,30 @@ if test -d ../.git; then fi VERSION=$1 +if [ $VERSION == "16.12" ]; then + VERSION="4.6.0" +fi +if [ $VERSION == "16.08" ]; then + VERSION="4.6.0" +fi +if [ $VERSION == "16.04" ]; then + VERSION="4.6.0" +fi +if [ $VERSION == "16.02" ]; then + VERSION="4.6.0" +fi +if [ $VERSION == "15.12" ]; then + VERSION="4.6.0" +fi +if [ $VERSION == "15.10" ]; then + VERSION="4.6.0" +fi +if [ $VERSION == "15.06" ]; then + VERSION="4.6.0" +fi +if [ $VERSION == "15.05" ]; then + VERSION="4.6.0" +fi if [ $VERSION == "15.04" ]; then VERSION="4.6.0" fi diff --git a/config/sipXlib.m4 b/config/sipXlib.m4 index bc9259da54..4a323433dc 100644 --- a/config/sipXlib.m4 +++ b/config/sipXlib.m4 @@ -797,31 +797,38 @@ AC_DEFUN([CHECK_SERVICEDIR], AC_SUBST([SERVICEDIR]) ]) -AC_DEFUN([OSSCORE_LIB], + +AC_DEFUN([SFAC_LIB_OSS_CORE], [ - AC_ARG_WITH(osscore, [--with-osscore={yes,no,osscore-location} Default is yes and will search - for osscore in standard locations], -osscore_prefix="$withval", -osscore_prefix="yes") + SFAC_ARG_WITH_INCLUDE([OSS/OSS.h], + [oss_coreinc], + [ --with-oss_coreinc=