diff options
author | mepholic <meph+alpine@hxx.in> | 2016-04-14 12:16:33 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-14 20:00:12 +0000 |
commit | bf8fe206f1bfbfa9466f12466d0a7647340542a7 (patch) | |
tree | 248bdb7f7e3a4db609980f455254faa2275f3df7 /main/freeswitch | |
parent | 8050ff6cc71bdb64f6c2a745cc127178f6502956 (diff) | |
download | aports-bf8fe206f1bfbfa9466f12466d0a7647340542a7.tar.bz2 aports-bf8fe206f1bfbfa9466f12466d0a7647340542a7.tar.xz |
main/freeswitch: Upgrade freeswitch to 1.6.7, and add perl and perl-esl subpackages
Diffstat (limited to 'main/freeswitch')
-rw-r--r-- | main/freeswitch/APKBUILD | 42 | ||||
-rw-r--r-- | main/freeswitch/modules.conf | 2 |
2 files changed, 34 insertions, 10 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD index fd16147546..3d53f406e2 100644 --- a/main/freeswitch/APKBUILD +++ b/main/freeswitch/APKBUILD @@ -2,8 +2,8 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Contributor: Cameron Banta <cbanta@gmail.com> pkgname=freeswitch -pkgver=1.6.6 -pkgrel=2 +pkgver=1.6.7 +pkgrel=0 pkgdesc="A communications platform written in C from the ground up" url="http://www.freeswitch.org" arch="all" @@ -14,6 +14,7 @@ pkggroups="freeswitch" makedepends=" bash bsd-compat-headers + nasm curl-dev flac-dev flite-dev @@ -46,12 +47,13 @@ makedepends=" xmlrpc-c-dev zlib-dev opus-dev + perl-dev db-dev gdbm-dev autoconf automake libtool " install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="$pkgname-dbg $pkgname-dev $pkgname-flite $pkgname-timezones $pkgname-sample-config:conf $pkgname-freetdm $pkgname-sangoma - $pkgname-snmp $pkgname-pgsql" + $pkgname-snmp $pkgname-pgsql $pkgname-perl $pkgname-perlesl" _json_c="json-c-0.9.tar.gz" _flite="flite-2.0.0-release.tar.bz2" @@ -115,6 +117,11 @@ build() { make libfreeswitch.la || return 1 # finally we build the rest make -j1 all || return 1 + + # build perlesl module + cd "$_builddir"/libs/esl + make -j1 perlmod || return 1 + } package(){ cd "$_builddir" @@ -126,6 +133,10 @@ package(){ install -m644 -D "$srcdir"/$pkgname.confd \ "$pkgdir"/etc/conf.d/$pkgname || return 1 chown -R freeswitch:freeswitch "$pkgdir"/var/*/freeswitch + + # install perlesl module + cd "$_builddir"/libs/esl + make -j1 DESTDIR="$pkgdir" perlmod-install } @@ -187,6 +198,19 @@ pgsql() { _mv_mod mod_cdr_pg_csv } +perl() { + pkgdesc="Freeswitch Perl module" + install= + _mv_mod mod_perl +} + +perlesl() { + pkgdesc="Freeswitch Perl ESL module" + install= + mkdir -p "$subpkgdir"/usr/lib/perl5 + mv "$pkgdir"/usr/lib/perl5/* "$subpkgdir"/usr/lib/perl5 +} + conf() { pkgdesc="Freeswitch sample configureation" arch="noarch" @@ -201,21 +225,21 @@ conf() { mkdir -p "$pkgdir"/etc/freeswitch/scripts } -md5sums="9a2383a7f321ab0f8fb1e7a212081a17 freeswitch-1.6.6.tar.xz +md5sums="2723dd2e034872b76562000f8b407569 freeswitch-1.6.7.tar.xz 1c08df4cf4ef737e6cc6945f9462f08e 0002-FS-verto-bswap_64.patch 1e7f335ee00f589825ecc9affa779346 getlib.patch -18dc414e375a749d60c83a402a0e51ed modules.conf +8027ab932f00579c6d04cb5dde102cda modules.conf c608cca8ad773acebf201f581438c7e7 freeswitch.confd 3b0bf4847a61afa28229b58763f4c400 freeswitch.initd" -sha256sums="397b9c63c2c1f7008a2cc269f2e0e9a935d862b3fb074a6044819bcaea02ebc0 freeswitch-1.6.6.tar.xz +sha256sums="9c7ca2d39985fdc39659054179465540e926880f032f855c0df74d6eec41a794 freeswitch-1.6.7.tar.xz 2685eb17fcd4510e46bb1d88be5550c3cb7b08f2acccfb41b2c680480c91b63e 0002-FS-verto-bswap_64.patch ab437c92149b6fc88bc2fc8a228d6a5f8af574e2c90469a6dc4c753d13972c34 getlib.patch -19e868475d6decad2433541b3de1aef5d35a889fe1d5ea8c14a832466f664759 modules.conf +4db8934a4b41f5c61d1fba8fbd68c91fd18bddcf07419301e3db91df7e911488 modules.conf 846a29a361ef6eecd77876963b5c0133699c40fa8b34c68df42d5f8a1a1915b1 freeswitch.confd aa0d89221ffa47eba4a0e085f6041ee198476409dd15d1e90c5c357ba683f432 freeswitch.initd" -sha512sums="1e16904084f8ada7cfea27ed3222eb660a14f08b12e6b4ddc5db2893b690936bf4d945b94d9f6eb1893e62124858c39b658c5c5ac425ad064db69d44f57179a9 freeswitch-1.6.6.tar.xz +sha512sums="c808fcfed7bb48afcea06b21dae6bd5d24ab0cf71b5f39583ae2b3be2fad2d5bd1d9673c93118163de3b72a14442136860a6f1b66940b901cdbac9b8f308197b freeswitch-1.6.7.tar.xz 5f93150e1acd632df98bc3bed5613fb1e45180ae4096dcfee5c060da213c8355339260eaf5758cd77c785f6d84cf0661650a872ec574b586ab19803d4f6955f8 0002-FS-verto-bswap_64.patch 4ceb48f64d2bc26a02cc0846276506241bfd30c156422b0a1d608fd172c099feb5c121a763652e9a45046dcdd0ba0eb71eab240e0c6ce2ad63ff781719e135a4 getlib.patch -1e74fcb17676c14003d7225f293f77757bf36ec93012009c73be1ed0023e430fa144b9c959b5f54552610b3af7a8780df1e61ea0b7503016d76fcb105fedbf27 modules.conf +6deecb303e765d44bdd970d5a7079c9dd9ce17d12056b68cd978a182a86b477b4a3c19d2f5a18f36199ca2e0594a3b84de521ab821e2f8c89f7449a3d7f21279 modules.conf a585f6411185a26206137a1ad97a06fd6c73e80c5439e9be45eabfa70e7a83120169ba882971fcd328436c8e0242cbd664170b80754ea2846021689baf1f1595 freeswitch.confd 643d0a2e43f5d3bf3b99fcb6f6422302cb4b74a95eccf844eafb100b15aa9856b4ff41f112d6637255c2e9e2bec9fedc9a9215dfff214dfb83b52eae16b71dca freeswitch.initd" diff --git a/main/freeswitch/modules.conf b/main/freeswitch/modules.conf index 9466875488..9a27687e33 100644 --- a/main/freeswitch/modules.conf +++ b/main/freeswitch/modules.conf @@ -106,7 +106,7 @@ formats/mod_tone_stream #languages/mod_java languages/mod_lua #languages/mod_managed -#languages/mod_perl +languages/mod_perl #languages/mod_python #languages/mod_spidermonkey #languages/mod_yaml |