Subject: [alpine-aports] [PATCH] main/sems

From: Nathan Angelacos <[email-masked]>
Date: Fri, 2 Oct 2015 16:08:22 +0000

Runtime fixes for the SBC/IVR applications
---
 main/sems/APKBUILD                             | 11 ++++++-----
 main/sems/sems-0011-Add-SBC-dependencies.patch | 22 ++++++++++++++++++++++
 2 files changed, 28 insertions(+), 5 deletions(-)
 create mode 100644 main/sems/sems-0011-Add-SBC-dependencies.patch

diff --git a/main/sems/APKBUILD b/main/sems/APKBUILD
index ada6003..a19ee99 100644
--- a/main/sems/APKBUILD
+++ b/main/sems/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=sems
 pkgver=1.6.0
-pkgrel=0
+pkgrel=1
 pkgdesc="SIP Express Media Server, an extensible SIP media server"
 url="http://iptel.org/sems/"
 arch="all"
@@ -26,6 +26,7 @@ source="saveas-https://github.com/sems-server/sems/archive/$pkgver.tar.gz/$pkgna
 	sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch
 	sems-0004-musl-fixes.patch
 	sems-0005-stats-needs-version.patch
+	sems-0011-Add-SBC-dependencies.patch
 	std-types.patch
 	sems.initd
 	"
@@ -167,17 +168,15 @@ mailbox() {
 	cd "$pkgdir"
 	_mv_sub etc/sems/etc/mailbox*.conf \
 		usr/share/sems/audio/mailbox \
-		usr/lib/sems/plug-in/ivr.so \
 		usr/lib/sems/ivr/*mailbox*
 }
 
 pin_collect() {
 	pkgdesc="Collects a PIN for SEMS"
-	depends="sems"
+	depends="sems sems-ivr"
 	cd "$pkgdir"
 	_mv_sub etc/sems/etc/pin_collect.conf \
 		usr/share/sems/audio/pin_collect \
-		usr/lib/sems/plug-in/ivr.so \
 		usr/lib/sems/ivr/pin_collect*
 }
 
@@ -257,13 +256,13 @@ registrar() {
 		usr/lib/sems/plug-in/registrar_client.so
 }
 
-
 md5sums="dc33c71af73e315c72b99c8618649ffb  sems-1.6.0.tar.gz
 5b2fded836b44bda33f39adc37de4de7  sems-0001-Force-to-use-system-wide-GSM-includes.patch
 b8efd1a6415afa08f7c676f6976fca36  sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch
 331e7529833c906b4738006f32a65fde  sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch
 83d66d121d4f3e823a93f3e2dfbcbcff  sems-0004-musl-fixes.patch
 305081ea41aebd3544cc2c528f7612c6  sems-0005-stats-needs-version.patch
+43a7423bb809b40a635f56f57c4d8fa1  sems-0011-Add-SBC-dependencies.patch
 bbcbee0f73342b4c35deff15c1d708d5  std-types.patch
 4b537f18cda6c72d7afda582a6f5858e  sems.initd"
 sha256sums="fd8ece47ea2ef47f7dc62a410ec94f5a162531ce7c1a9a4e5979b8b1d944fd63  sems-1.6.0.tar.gz
@@ -272,6 +271,7 @@ a36950f68e78af21f0e1152bb01e2f25f74b8c63210eecc01e4a4f90cf841371  sems-0001-Forc
 04e0b2a944c5f64305e5711f5dfdcf4675fc7980225ef87267fcaff241168d46  sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch
 be53fb504459c59d31d03a89246cba555d796b9b08516e08f50a15ce423d4618  sems-0004-musl-fixes.patch
 0609ddae2ce3035e5d0dc40e33814dcc83dd848ae854e535e8b3140bb5f23eda  sems-0005-stats-needs-version.patch
+a573a0f5dda4f5d89ed582ab7c337469ed4f1fd86082fa20d7ac973591eb4b66  sems-0011-Add-SBC-dependencies.patch
 c4aac6f50d8ba85d389a859d9067fb7e7589daf4b84cd1d68ac231bcdb0d2aeb  std-types.patch
 5bc8ece09cf1c47c8f0880fdeca40d1e72eb4bc5c6356ffc2d738179b9463e19  sems.initd"
 sha512sums="80190dbdc1d68dc7aa377b2af6a962f08c058a42cd618cb422d6d4e0f9138059fad71b7f284c6420de462ad4dcd65ea5e65b3c5b82dc1850dbd5b5a45644d3d4  sems-1.6.0.tar.gz
@@ -280,5 +280,6 @@ sha512sums="80190dbdc1d68dc7aa377b2af6a962f08c058a42cd618cb422d6d4e0f9138059fad7
 ba6f0d917464729c63628255bee3d864a954af4a510b802f0de1d51f35ff5d7c1c33cbe14db31818133a3c94f84da0f4bea4184ce1e8eae6aa9a1ba79f2e5347  sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch
 0d3deeb8617a96f81a05fc27b94bca70f4f6dfbdb3c75f0cd4abc5df002ff16f70ec2836717f317b0d03a8178415c2c09ca2d7099bf10c7ac3c58b273ee98776  sems-0004-musl-fixes.patch
 28f07142a0b8b6698948d41bfb198e59637d5a921960adc496111b5cad4685a0b1cade821ac9cd9dbbf3f25ed6195f29485a12d077abf81428b9b6f8bfced79e  sems-0005-stats-needs-version.patch
+d616448e70d1cdfc7016f7ff3cab3615063a65f551b4b03cd004ced60b7a24681e85a871788ef2bf13d37c6cb3c84a6d76ba44fd9b9d1a921ad4b8469f3c6ed1  sems-0011-Add-SBC-dependencies.patch
 79e3ac2b202b3f6c710b3d2bc8ac459e3622f2bf5945eaaa81778f53bcbddc7951266f88c2fd9862fbed44f10a160368af7d19b5e81929a3b1e8ee150111f74b  std-types.patch
 5be93b6444a9592daa6c883c78e5906e9e662891e1daa850d872bdaa657eb756f1bc0879732033479b279b75c2fd42ef79aa530ebf3b1692e7fb222d484f804b  sems.initd"
diff --git a/main/sems/sems-0011-Add-SBC-dependencies.patch b/main/sems/sems-0011-Add-SBC-dependencies.patch
new file mode 100644
index 0000000..cf572a0
--- /dev/null
+++ b/main/sems/sems-0011-Add-SBC-dependencies.patch
@@ -0,0 +1,22 @@
+--- a/apps/sbc/CMakeLists.txt
++++ b/apps/sbc/CMakeLists.txt
+@@ -6,6 +6,19 @@
+ SBC.cpp
+ SBCCallProfile.cpp
+ SDPFilter.cpp
++
++CallLeg.cpp
++RateLimit.cpp
++RegisterCache.cpp
++RegisterDialog.cpp
++ReplacesMapper.cpp
++SBCCallLeg.cpp
++SBCCallRegistry.cpp
++SBCEventLog.cpp
++SBCSimpleRelay.cpp
++SessionUpdate.cpp
++SubscriptionDialog.cpp
++arg_conversion.cpp
+ )
+ 
+ SET(sbc_config_files
-- 
2.6.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---