Package Details: freeswitch 1.10.12-1

Git Clone URL: https://aur.archlinux.org/freeswitch.git (read-only, click to copy)
Package Base: freeswitch
Description: An opensource and free (libre, price) telephony system, similar to Asterisk.
Upstream URL: http://freeswitch.org/
Licenses: MPL
Conflicts: freeswitch-fixed, freeswitch-git
Provides: freeswitch
Submitter: None
Maintainer: Korynkai
Last Packager: Korynkai
Votes: 16
Popularity: 0.000267
First Submitted: 2009-03-02 18:40 (UTC)
Last Updated: 2024-11-07 19:00 (UTC)

Required by (0)

Sources (25)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 14 Next › Last »

mal commented on 2017-06-23 23:27 (UTC)

In my first attempt I had the LDFLAGS and CFLAGS modifications, but after fixing the other problems discovered they weren't needed, so the gist had them commented. I also exported the PKG_CONFIG_PATH change. It seems to work after removing those two and exporting PKG_CONFIG_PATH, or just grab https://gist.github.com/indecisivemal/7c1bff33468db69a3104c68250b688ab Unrelated, I think the patch apply belongs in prepare() - https://wiki.archlinux.org/index.php/Patching_in_ABS#Applying_patches

sanerb commented on 2017-06-23 22:55 (UTC)

@jro are you sure you're using openssl-1.0? the PKGBUILD builds cleanly for me on 1.6.17 as of two? days ago right before i pushed it.

jro commented on 2017-06-23 22:42 (UTC)

build fails CC libfreeswitch_la-upnperrors.lo CC libfreeswitch_la-natpmp.lo CC libfreeswitch_la-getgateway.lo CXX switch_cpp.lo CXXLD libfreeswitch.la *** Warning: Linking the shared library libfreeswitch.la against the *** static library libs/libvpx/libvpx.a is not portable! ar: `u' modifier ignored since `D' is the default (see `U') Making all in . make[2]: Entering directory '/tmp/yaourt-tmp-jr/aur-freeswitch/src/freeswitch' CC libfreeswitch_la-switch_version.lo CXXLD libfreeswitch.la *** Warning: Linking the shared library libfreeswitch.la against the *** static library libs/libvpx/libvpx.a is not portable! ar: `u' modifier ignored since `D' is the default (see `U') CC freeswitch-switch.o CCLD freeswitch ./.libs/libfreeswitch.so: undefined reference to `ENGINE_cleanup' ./.libs/libfreeswitch.so: undefined reference to `EVP_CIPHER_CTX_cleanup' ./.libs/libfreeswitch.so: undefined reference to `EVP_MD_CTX_cleanup' ./.libs/libfreeswitch.so: undefined reference to `SSL_library_init' ./.libs/libfreeswitch.so: undefined reference to `EVP_MD_CTX_init' ./.libs/libfreeswitch.so: undefined reference to `CRYPTO_set_id_callback' ./.libs/libfreeswitch.so: undefined reference to `CRYPTO_set_locking_callback' ./.libs/libfreeswitch.so: undefined reference to `SSL_state' ./.libs/libfreeswitch.so: undefined reference to `EVP_CIPHER_CTX_init' ./.libs/libfreeswitch.so: undefined reference to `CRYPTO_num_locks' ./.libs/libfreeswitch.so: undefined reference to `CRYPTO_cleanup_all_ex_data' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1615: freeswitch] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-jr/aur-freeswitch/src/freeswitch' make[1]: *** [Makefile:3143: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-jr/aur-freeswitch/src/freeswitch' make: *** [Makefile:1414: all] Error 2 ==> ERROR: A failure occurred in build(

sanerb commented on 2017-06-22 00:51 (UTC)

@mal, @mlody_salceson- thank you so much for both of your work on this. i don't know the first thing about any languages lower than python, so you've both been an extremely big help in fixing this and i wouldn't be able to do it without you. i confirmed it built and am pushing fixes now. i can't imagine it breaking anything but i suppose we'll find out soon enough if it does; my use case isn't complex enough to test for SSL errors

mal commented on 2017-06-21 20:32 (UTC)

Nice, thanks! That error isn't very clear. I assume it's just the "> " added to a 512b buffer, so I only added 2 (514) and it seems to work. I didn't have to change prompt_str at all. Here's what i ended up with. It compiles ok, haven't written a config to test running it with yet. https://gist.github.com/anonymous/ed2ccde7518423ab18374b8013a820f4

mlody_salceson commented on 2017-06-21 15:38 (UTC) (edited on 2017-06-21 15:41 (UTC) by mlody_salceson)

@mal- Thanks for your work. I have managed to build freeswitch-git using your information and a small modification (increased buffer sizes) for fs_cli.c: static char bare_prompt_str[1024] = ""; and static char prompt_str[1024] = ""; instead of static char bare_prompt_str[512] = ""; static char prompt_str[512] = ""; Hope I didn't break anything! @sanerb:- Thank you very much for maintaining this package!

mal commented on 2017-06-16 06:50 (UTC) (edited on 2017-06-21 17:12 (UTC) by mal)

.15 and .17 builds fail for me: ./crypto/include/aes_icm_ossl.h:66:20: error: field ‘ctx’ has incomplete type ./crypto/include/aes_gcm_ossl.h:58:18: error: field ‘ctx’ has incomplete type I think this is https://freeswitch.org/jira/browse/FS-9785 Added these before ./configure, not all may be necessary: PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig CFLAGS+=" -I/usr/include/openssl-1.0" LDFLAGS+=" -I/usr/lib/openssl-1.0" then made it to this (third * highlighted): src/switch_ivr_play_say.c:1668:47: error: ‘*’ in boolean context, suggest ‘&&’ instead [-Werror=int-in-bool-context] buflen = FILE_STARTSAMPLES * sizeof(*abuf) * fh->cur_channels ? fh->cur_channels : fh->channels; Update - tried this, completely guessing about author's intent: - buflen = FILE_STARTSAMPLES * sizeof(*abuf) * fh->cur_channels ? fh->cur_channels : fh->channels; + buflen = FILE_STARTSAMPLES * sizeof(*abuf) * (fh->cur_channels ? fh->cur_channels : fh->channels); now: libs/esl/fs_cli.c:1728:54: error: ‘> ’ directive output may be truncated writing 2 bytes into a region of size between 1 and 512 [-Werror=format-truncation=] snprintf(bare_prompt_str, sizeof(bare_prompt_str), "%s> ", profile->prompt_string); ^~~~~~

sanerb commented on 2017-06-16 06:43 (UTC)

@mal- getting build failures on 1.6.17; i'll have to look at it tomorrow- it's 0242 here. will update as soon as i figure out why it's failing

sanerb commented on 2017-03-06 05:06 (UTC)

@aztec102- thanks! updated to 1.6.15!

sanerb commented on 2016-09-23 08:32 (UTC)

@t-8ch: thanks! updated to 1.6.10