include $(TOPDIR)/rules.mk
PKG_NAME:=chan-sccp-b
-PKG_REV:=6728
-PKG_VERSION:=v4.2.3-r$(PKG_REV)
-PKG_RELEASE:=2
+PKG_VERSION:=v4.3.0-20170814
+PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://svn.code.sf.net/p/chan-sccp-b/code/branches/v4.2
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=git://github.com/chan-sccp/chan-sccp.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=$(PKG_REV)
-PKG_SOURCE_PROTO:=svn
+PKG_SOURCE_VERSION:=016fee3a96b09d5404757f7b178af2e349e55bcc
+PKG_SOURCE_PROTO:=git
PKG_FIXUP:=autoreconf
Package/asterisk13-chan-sccp-b/description = $(Package/description/Default)
CONFIGURE_ARGS += \
- --enable-static \
- --enable-section-relocation \
- --enable-conference \
+ --disable-debug \
--enable-advanced-functions \
+ --enable-conference \
--enable-video
ifeq ($(BUILD_VARIANT),asterisk13)
+++ /dev/null
---- a/autoconf/extra.m4
-+++ b/autoconf/extra.m4
-@@ -501,7 +501,7 @@ AC_DEFUN([CS_ENABLE_OPTIMIZATION], [
- ])
- ;;
- esac
-- CFLAGS_saved="${CFLAGS_saved} ${optimize_flag} "
-+ CFLAGS_saved="${CFLAGS_saved} "
- ])
-
- AS_IF([test "X${enable_debug}" == "Xyes"], [
--- /dev/null
+--- a/autoconf/extra.m4
++++ b/autoconf/extra.m4
+@@ -472,17 +472,6 @@ AC_DEFUN([CS_ENABLE_OPTIMIZATION], [
+ ])
+ CPPFLAGS_saved="${CPPFLAGS_saved} -D_FORTIFY_SOURCE=2"
+ GDB_FLAGS=""
+- ], [
+- CFLAGS_saved="`echo ${CFLAGS_saved} |sed -e 's/\-O[0-9]\ \?//g' -e 's/[^|\ ]\-g[$|\ ]//g'`"
+- optimize_flag="-O0"
+- case "${CC}" in
+- *gcc*)
+- AX_CHECK_COMPILE_FLAG(-Og, [
+- optimize_flag="-Og"
+- ])
+- ;;
+- esac
+- CFLAGS_saved="${CFLAGS_saved} ${optimize_flag} "
+ ])
+
+ AS_IF([test "X${enable_debug}" == "Xyes"], [