Commit Graph

302 Commits

Author SHA1 Message Date
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Spencer Thomason 5a2f9d7a78 FS-9466: Use system MD5 if available
- Use system MD5 on BSD and Solaris based platforms
- Use OpenSSL if system library is not available
- Fallback to included APR
- Optimize switch_md5_string()
- replace libsofia MD5 routines in mod_sofia with switch_md5() ones

FS-9466 #resolve
2016-08-31 15:00:48 -07:00
Spencer Thomason a2fd327fa7 FS-9386: [mod_snmp] Use net-snmp-config for SNMP libs if available
FS-9386 #resolve
2016-07-26 21:18:10 -07:00
Mike Jerris 7e021af4d5 clean up noisy configure 2016-07-19 16:52:52 -04:00
William King 35b816bb27 FS-9310 Native support for Flowroute SMS API over HTTP(S) 2016-07-07 15:22:36 -07:00
Michael Jerris 257e8d6b2f FS-9263: [build] attempt to find the proper lua5.2 version on openbsd 2016-06-17 15:54:37 -04:00
Michael Jerris 53ed9ce06f FS-9260: [build] add -ltermcap for openbsd so it can correctly link to libedit 2016-06-17 15:31:18 -04:00
Spencer Thomason 585cccd940 FS-9185: fix format ifdefs for Solaris SPARC
Fix SWITCH_INT64_T_FMT and SWITCH_TIME_T_FMT definitions for Solaris/SPARC

FS-9185 #resolve
2016-05-19 18:43:05 -07:00
Ken Rice 7375ad9e89 FS-9081 [Ubuntu Packaging] WIP Patches to build system and configure to allow FS to build on 14.04 2016-04-29 09:22:11 -05:00
Michael Jerris 0742defa9b FS-9109: [build] attempt to fix misleading indentation errors on gcc 6.0 2016-04-28 13:06:35 -05:00
Kyle King 4c1e7f24bc FS-7394 adding mod_fail2ban into freeswitch repo 2016-04-11 20:06:28 -04:00
Chris Rienzo a7465e6cbf FS-9052 [mod_hiredis] add connection pooling, improve dropped connection resiliency, and allow 0.10.0 of hiredis for CentOS 6. 2016-04-11 11:54:46 -04:00
Michael Jerris 22fd90e71e FS-8623: we really need this flag, but need to fix libvpx configure to let us pass it 2016-04-07 16:53:36 -04:00
Michael Jerris 159f4a1396 FS-8623: fix sun studio build errors building libvpx 2016-04-07 16:07:01 -04:00
Michael Jerris 3976eb17d0 FS-8623: fix sun studio build errors building libvpx 2016-04-07 15:21:55 -04:00
Michael Jerris 0763f694ff FS-8294: [freetdm] pass in modinstdir to freetdm configure 2016-04-04 16:07:38 -04:00
Michael Jerris 94fd5db497 FS-8883: fix compile due to unused result failure on gnu compiler with --disable-debug 2016-04-04 14:31:48 -04:00
Michael Jerris 1540546cc1 FS-8884: add --disable-libyuv and --disable-libvpx configure args to disable building these libraries 2016-02-29 12:39:51 -05:00
Michael Jerris febe0f8dac FS-8867: build using in tree libvpx, vpx no longer optional and does not use system libvpx due to issues with having to update it frequently conflicting with system libraries, now we link to the static in tree version instead. Also, mod_vpx is now a core module instead of a loadable module, so mod_vpx.so will no longer be built 2016-02-24 18:44:11 -05:00
Michael Jerris 44da905b4f FS-8867: build using in tree libyuv to match required version and not impact system ones that are never sufficient version 2016-02-24 16:52:40 -05:00
Anthony Minessale 5b456b395c FS-8688 #resolve [Implement VP9 draft uberti payload 01 and libVPX 1.5] 2016-02-17 16:49:02 -06:00
Michael Jerris 7f5af042be FS-8814: fix build on older libedit 2016-02-09 12:38:40 -06:00
Piotr Gregor b8a8c88572 FS-8809 fix MAP_POPULATE undeclared
Add AM_MOD_AVMD_CXXFLAGS compile flag to mod avmd
and set this flag to -std=gnu99 in configure.ac
in case compiler vendor is xgnu.
2016-02-08 23:02:22 +00:00
Corey Smith 3cb04ced21 FS-8779: [mod_shout] properly detect lame/lame.h
* Add correct mp3lame configure check since it does not use pkg-config
* Update mod_shout Makefile to log failure message if mp3lame not available
* Rewrite #include for lame.h to lame/lame.h in mod_shout.c
2016-02-03 20:45:39 -05:00
Spencer Thomason 3c291b3c61 Use mtmalloc on Solaris SPARC if available
FS-8666 #resolve
2015-12-17 16:47:06 +00:00
Ken Rice d9d5870bff Revert "FS-8369 Debian8/CentOS7 systemd installer additions"
This reverts commit adc8f9a119.
2015-11-20 14:54:13 -06:00
Ken Rice ebba246192 Revert "FS-8369 Debian8/CentOS7 systemd installer additions"
This reverts commit 757fa94239.
2015-11-20 14:54:05 -06:00
Ken Rice 5ad6a2533a Revert "FS-8369 Fixes"
This reverts commit 389d24da14.
2015-11-20 14:53:55 -06:00
Niek Vlessert 389d24da14 FS-8369 Fixes
- Don't check OS, current patch should be compatible with Debian and RHEL derivatives and ArchLinux
- Make useradd the tool to add the usera nd group to work on all
2015-11-10 19:43:46 +01:00
Niek Vlessert 757fa94239 FS-8369 Debian8/CentOS7 systemd installer additions
After builing Freeswitch this makes actually run it easy by offering
an installer script.

* Changes to configure.ac to detect Debian8/CentOS 7 and create installer script
* Changes to build/Makefile.am to display the option
* Added build/startup directory with templates and other files
* Deleted outdated build/freeswitch.service and tmpfiles.conf
* Unit file based on the latest systemd service file FS-8194
* Won't interfere with other platforms (afaik)
* Supports all bindir directory prefixes ./configure can have
* Detects if Debian8/CentOS7 use systemd
* Can be used with a user with sudo permissions
2015-10-30 19:11:32 +01:00
Niek Vlessert adc8f9a119 FS-8369 Debian8/CentOS7 systemd installer additions
After builing Freeswitch this makes actually run it easy by offering
an installer script.

* Changes to configure.ac to detect Debian8/CentOS 7 and create installer script
* Changes to build/Makefile.am to display the option
* Added init directory with templates and other files
* Deleted outdated build/freeswitch.service and tmpfiles.conf
* Unit file based on the latest systemd service file FS-8194
* Won't interfere with other platforms (afaik)
* Supports ./configure --prefix=
* Detects if Debian8/CentOS7 use systemd
* Can be used with a user with sudo permissions
2015-10-20 23:21:50 +02:00
William King 7724270d89 FS-8233 convert unit tests frameworks to non-recursive makefiles 2015-10-08 13:01:04 -07:00
Stanislav Sinyagin 9461ed1335 FS-8195 Compatibility with Solaris 11 process privileges
Now the daemon manages its privileges correctly, so that -rp, -u,
-g and -lp can be supported, also in a Solaris zone.

Also fixed a problem that switch_log_printf() was used before the
logger was initialized, so the messages were sent to nowhere.
2015-10-03 01:52:37 +00:00
Stanislav Sinyagin 98a190a107 FS-7967 SmartOS compatibility
configure.ac: honor NetBSD and SmartOS in search for system lua
src/switch_utf8.c: remove switch_u8_vprintf and switch_u8_printf
replace u_int32_t with C99 standard uint32_t, and also the same for
  8,16,64 bit
2015-09-09 21:39:41 +00:00
Michael Jerris 6f1a00fe81 FS-8108: remove legacy mod_lua, the regular mod_lua works with system lua now 2015-09-01 11:15:12 -05:00
William King d1d0f553bc FS-8075
Initial commit of mod_hiredis. Add expanded redis support to include
raw redis command support, as well as the existing support for
FreeSWITCH limits.
2015-08-28 16:56:38 -07:00
Michael Giagnocavo ba9c44bbd0 FS-7885 Add getcputime command 2015-07-24 02:34:00 -06:00
Anthony Minessale 5933a0d044 restore patches from revert, this is lame, you need to bootstrap to fix it. 625^H^H^H0 days without having to rebootstrap 2015-07-14 11:24:53 -05:00
Anthony Minessale 3fa6003ef7 this is not ready 2015-07-14 11:05:33 -05:00
William King f7f5c7587f FS-7820
C level unit testing and micro benchmarking framework, including one
example unit test.
2015-07-10 12:04:04 -07:00
karl anderson d66839debe FS-7774 add mod_kazoo
#resolve
2015-07-03 22:54:47 +01:00
William King 775ce5c0a8 Adding mod_smpp as an event_handler module.
FS-7730 #resolve
2015-07-03 14:26:05 -07:00
Ken Rice c51b1b9184 FS-7715 #resolve updates to configure and spec files for next development branch
add images to spec file
2015-06-23 12:22:04 -04:00
Michael Jerris 6008cad2aa check for 'ilbc2' pkg-config name first so we canuse overriden centos package 2015-06-22 12:58:53 -04:00
Michael Jerris 67d1d1df8f FS-7605 remove surplus config flags and fix rundir and logdir set under fhs 2015-06-17 21:55:40 -05:00
Michael Jerris 4ad0aa91a4 FS-7655: attempt to make libvpx and libyuv optional (none of the video features will work without them) The following modules require these libraries to be installed still: mod_av mod_cv mod_fsv mod_mp4v2 mod_openh264 mod_vpx mod_imagick mod_vpx mod_yuv mod_png mod_vlc 2015-06-16 18:24:35 -05:00
Michael Jerris 660e79edd7 FS-7338: remove mod_shout dep libs to system libs. On debain jessie requires libmpg123-dev libshout3-dev libmp3lame-dev 2015-06-12 14:56:01 -05:00
Ken Rice 02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
Anthony Minessale b641ab6db3 bump 2015-05-28 12:48:12 -05:00
Anthony Minessale e8fed1a47f FS-7519: merge mod_avcodec and mod_avformat into mod_av 2015-05-28 12:47:33 -05:00
Christopher Rienzo 3a8c6c3803 FS-7553 reduce opencv library requirement to 2.4.5 to allow centos 7 2015-05-28 12:47:33 -05:00
Christopher Rienzo e83fc1a583 FS-7553 reduce soundtouch library requirement to version 1.7.1- this was the version bundled with freeswitch 2015-05-28 12:47:33 -05:00
Michael Jerris 0d5b21e288 FS-7507: fix expansion of dirs compiled into freeswitch 2015-05-28 12:47:33 -05:00
Michael Jerris fe50da3d8c FS-7507: fix expansion of dirs compiled into freeswitch 2015-05-28 12:47:33 -05:00
Mike Jerris 387b405ccd FS-7500: fix include paths for libvpx 2015-05-28 12:47:32 -05:00
Michael Jerris b827542c8d FS-7500: fix vpx include paths 2015-05-28 12:47:32 -05:00
Michael Jerris cc9a225bb9 FS-7500: require libvpx 1.4 2015-05-28 12:47:32 -05:00
Michael Jerris d2d00056e8 FS-7519: [mod_avcodec] add x264 to linker 2015-05-28 12:47:29 -05:00
Michael Jerris a6c1a40b2a FS-7519: [mod_avformat] add libavutil and libavresample to linking deps 2015-05-28 12:47:28 -05:00
Michael Jerris f87f725e43 FS-7519: [mod_avformat] add libswscale and libavcodec to linking deps 2015-05-28 12:47:28 -05:00
Michael Jerris e2236ad559 FS-7508: remove mod_vp8 which has been replaced by mod_vpx 2015-05-28 12:47:25 -05:00
Michael Jerris 91a6fc82c0 FS-7338: remove libsndfile from tree, use system lib instead
FS-7338: remove libsilk from tree, use system lib instead
FS-7338: change to always use system liblua
FS-7338: remove libbroadvoice from tree, use system lib instead
FS-7338: remove libilbc from tree, use system lib instead
FS-7338: remove libs using system libs from bootstrap
FS-7338: remove libg722_1 from tree, use system lib instead
FS-7338: remove mod_celt, it has be superseded by mod_opus
FS-7338: remove libcodec2 from tree, use system lib instead
FS-7338: remove libopus from tree, use system lib instead
FS-7338: remove libsoundtouch build from tree, use system lib instead
FS-7338: remove flite build from tree, use system lib instead
FS-7338: remove openldap build from tree, use system lib instead
FS-7338: remove libmongoc build from tree, use system lib instead
FS-7338: remove mod_mongo deps that are no longer actually required
FS-7338: remove some dup demo modules and don't include demo code in packages
2015-05-28 12:47:24 -05:00
Michael Jerris 857a61318e FS-7507: Add global vars fonts_dir, images_dir, data_dir, localstate_dir
change configure detection to do FHS layout if you specify a prefix, unless --disable-fhs is passed to configure
moved includes to be under /usr/include/freeswitch dir in fhs layout
install font files into fonts_dir
2015-05-28 12:47:21 -05:00
Michael Jerris cd0b7248c1 FS-7500: use pkg-config to check for libyuv location 2015-05-28 12:47:20 -05:00
Seven Du ecab16ed88 FS-7516: add mod_imagick
use the magick-core API
We have pdfs and gifs
auto play gif and png
yeah, you can play video files with imgk

video only
requires ffmpeg binary
need autoplay=(1000/FPS)
2015-05-28 12:47:18 -05:00
Anthony Minessale c07513ea55 FS-7506: make freetype optional 2015-05-28 12:47:15 -05:00
Anthony Minessale 74737983be FS-7515: automake and pkg-config detection for mod_cv/opencv 2015-05-28 12:47:15 -05:00
Anthony Minessale c13d4bcbbb FS-7514: add pkg-config checks for vlc 2015-05-28 12:47:15 -05:00
Anthony Minessale 25dade86aa FS-7519: add pkg-config checks for avformat and avcodec and move modules to use automke 2015-05-28 12:47:13 -05:00
Seven Du ae8ddfd4f1 FS-7518: add mod_mp4v2
libmp4v2-dev is required for this mod
2015-05-28 12:47:10 -05:00
Mike Jerris 086cf1c279 FS-7500: expand libpng detection to try to find a good png >= 1.6.16, fall back to older verison in weezy, and add support for building without libpng 2015-05-28 12:47:05 -05:00
Anthony Minessale 21a90d71b0 FS-7500: use libpng not png12 for portability 2015-05-28 12:47:01 -05:00
Anthony Minessale 521a97935e FS-7500: check in png code and put it in the core to mature 2015-05-28 12:47:00 -05:00
Anthony Minessale 0697db4fb4 FS-7506 FS-7513: set banner with video_banner_text variable set before calling in, NEEDS DOCS params are parsable inside a {} string 2015-05-28 12:46:59 -05:00
Anthony Minessale 8b9d23fad0 FS-7508: less restrictive vpx require 2015-05-28 12:46:49 -05:00
Anthony Minessale 2e1bdfb24a FS-7519: add automistake for mod_av 2015-05-28 12:46:48 -05:00
Anthony Minessale 8cda93eac0 FS-7508: add autoconf for vpx lib 2015-05-28 12:46:44 -05:00
William King 4fc94e3907 FS-7500 S-7513: Few build fixes 2015-05-28 12:46:43 -05:00
William King 6dec4de2fe FS-7508 FS-7517: [build] Convert the build over to automake, though there is still room to fix
the autoconf portion to detect the correct location of libopenh264

Basic conversion for vpx too.
Borrowing from ldns handling, setup mod_vpx to prompt for the required library when the module is enabled
2015-05-28 12:46:42 -05:00
Anthony Minessale 6a2fc5e0f7 bump 2015-05-28 12:35:17 -05:00
William King c5d0b63300 Revert "FS-7435 change pgsql support to default on, with an option to disable"
This reverts commit 702f047265.
2015-04-22 16:18:13 -07:00
William King 702f047265 FS-7435 change pgsql support to default on, with an option to disable 2015-04-15 11:07:15 -07:00
William King 1a96f23f27 Adding mod_amqp as an event_handler module
AMQP(Advanced Message Queueing Protocol) is an event bus protocol
with more info here http://www.amqp.org/about/what

mod_amqp implements the client side of the amqp protocol. Currently
the module supports two separate, but not mutually exclusive usages:

1. Sending a filtered whitelist of events to an AMQP server. The
before the events are sent an amqp routing header is generated so that
downstream subscriptions can subscribe using filters. If the
connection to the remote server is interrupted, the module will
attempt to reconnect.

2. Subscribing to a 'control' channel on the remote AMQP server. When
events are received on this channel if they match a configured filter,
the commands are run locally as api commands. If the filter for the
events being sent to the remote AMQP server include SWITCH_EVENT_API
then the results of the api commands will be sent back to the AMQP
server.

FS-7060 #resolve
Thanks-to: Daniel Bryars <danb@aeriandi.com> and Tim Brown <tim.brown@aeriandi.com>
2015-04-03 15:34:09 -07:00
Michael Jerris f83e429d36 FS-7350: add --enable-address-sanitizer configure flag to enable clang address sanitizer 2015-03-05 14:54:19 -06:00
Michael Jerris 302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -05:00
Michael Jerris 8fc19a6037 FS-7180: properly build esl luamod when not using the --enable-system-lua configure arg 2015-01-20 14:37:43 -05:00
Brian West 861961bd4d FS-7180: when using system lua, properly link against reanmed library versions on debian for mod_lua 2015-01-20 13:18:12 -06:00
Michael Jerris 07d09b7869 FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2 2015-01-20 11:48:00 -05:00
Humberto Diógenes ece5cd52db FS-7088 #resolve Set flag to enable core dump from non-root users.
When FreeSWITCH is running as a non-privileged user, we need to enable
PR_SET_DUMPABLE for it to be able to generate core dumps.

Instead of a generic __linux__ check, there's a new configure.ac flag
to check directly for prctl.h, which could also be used in other
places in the code.
2015-01-05 21:06:29 -03:00
Michael Jerris 62a2e10e41 remove hack breaking some cross compile builds. if you really need this, you should be using new enough glibc anyways 2014-11-19 16:06:42 -05:00
Michael Jerris 11e62dd40d Revert "Revert "FS-6967 New mod_say_es_AR to support Argentina Spanish variant.""
This reverts commit d9d9510ce4.
2014-11-10 11:12:15 -05:00
Ken Rice d9d9510ce4 Revert "FS-6967 New mod_say_es_AR to support Argentina Spanish variant."
This reverts commit e75d0675af.

Revert "Add mod_say_es_ar to debian packaging"
This reverts commit ebb3c8fbfa.

Conflicts:
	configure.ac
2014-11-08 15:53:57 -06:00
Travis Cross 070aaefaeb Fix whitespace inconsistency 2014-11-07 18:18:03 +00:00
Mike Jerris b7741916eb Merge pull request #49 in FS/freeswitch from ~VIPKILLA/freeswitch-mod_odbc_cdr:master to master
* commit '544c5faf5e6ce6fe2b87523304d1f00e2d201d90':
  Add module mod_odbc_cdr
2014-11-07 08:34:55 -06:00
Mike Jerris 60b51c46cc Merge pull request #50 in FS/freeswitch from ~JMESQUITA/freeswitch:mod_say_es_AR to master
* commit 'e75d0675afd8974687931143709814544299fadc':
  FS-6967 New mod_say_es_AR to support Argentina Spanish variant.
2014-11-06 17:21:08 -06:00
Joao Mesquita e75d0675af FS-6967 New mod_say_es_AR to support Argentina Spanish variant. 2014-11-06 19:21:13 -03:00
Brian West 5dee5ce1d5 FS-6953 #resolve 2014-11-03 11:40:17 -06:00
E. Schmidbauer 544c5faf5e Add module mod_odbc_cdr 2014-10-08 08:31:35 -04:00
Michael Jerris acd8d74316 cleanup conditions 2014-10-03 12:48:43 -04:00
Anthony Minessale 9486a645f8 bump 2014-10-01 18:35:04 -05:00
Anthony Minessale cc44659a7c bump 2014-10-01 18:34:05 -05:00
Travis Cross 13d9e99ae7 Handle gcc quirk with parameter checking
At least some versions of GCC appear to take any -Wno-foo option
without error even if that option is not supported.  But they will
error out if -Wno-error=foo is used.  This sounds like a GCC bug, but
we'll work around it and test for the feature both ways.

Thanks-to: Matteo Brancaleoni <mbrancaleoni@voismart.it>

FS-6850 #resolve
2014-09-25 13:22:16 +00:00
Travis Cross bb84b0534c Check for libpq in core before building mod_cdr_pg_csv 2014-09-10 22:29:24 +00:00
Moises Silva fa3a1a0bdd Added mod_bert module 2014-09-09 04:07:02 -04:00
Russell Treleaven ce96d95c5e add support for cache directory
make configs use specific directory variables instead of just base_dir
so that one configuration can be used for fhs and legacy installations
2014-08-31 20:22:08 -04:00
Travis Cross 1c058e0f45 Check gcc support for -Wno-unused-result
We're using -Wno-unused-result to work around what is arguably a GCC
bug, but this option is not supported on older GCC versions.  So on
those versions we won't pass -Werror either.

ref: commit b874048efc
2014-08-28 13:37:37 +00:00
Travis Cross b874048efc Handle gcc's overzealous unused-result warning
Modern static analyzers warn when a variable is set but not used.  GCC
warns when the result of a function marked as
`__attribute__((warn_unused_result))` is not set to some variable,
even when the function is cast to `(void)`, which is the recognized
way of indicating the intent to ignore the result.  We treat all
warnings as errors.

The combination of behaviors here makes it difficult if we really
don't care about the result of the function; the obvious workarounds
are precluded.

GCC's maintainers don't consider this to be a bug:

  Why do you think this is a bug?  warn_unused_result is for cases where
  "not checking the result is either a security problem or always a
  bug".

  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509#c1

GLIBC however marks functions like `read` and `write` with this
attribute.  While it certainly in most cases is correct to act on
their return value, in some cases we really just don't care.

So when we see that we're building with GCC, and that we're building
with all warnings enabled, we'll just pass -Wno-unused-result to
disable the warning.

ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
ref: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
2014-08-22 20:13:39 +00:00
Travis Cross 1933c7cb8a Fix build on Debian sid/jessie
Debian has packaged libpq version 9.4beta2.  We were parsing the minor
version as "4beta2" and then trying to treat it as a constant integer,
which obviously doesn't work.

There's not really a perfect way to handle versions like this, so
we'll just pretend it's 9.4.0.
2014-07-31 04:05:47 +00:00
Charlie Root a1d73dfd09 Fix configure check for libjpeg to not break other checks 2014-07-23 14:52:07 -05:00
Travis Cross a537d80372 Add new module: mod_prefix
mod_prefix is an in-memory data store optimized for fast lookups
according to the longest prefix match (LPM) rule.

Tables of key-value string pairs in JSON format can be loaded at
startup via configuration and at runtime via the API.

The implementation uses a bitwise trie (aka binary prefix tree), so
arbitrary string keys are supported.
2014-07-22 15:28:31 +00:00
Travis Cross 02ee686d85 Remove remaining traces of mod_spidermonkey 2014-07-18 19:07:38 +00:00
Michael Jerris 6706378b38 we have already removed the module from tree, no need to bootstrap/configure the lib still, or to have it in tree at all for that matter 2014-07-18 14:15:26 -04:00
Michael Jerris b186ca9f74 FS-6542: add pkg_config path for portaudio on mac via homebrew 2014-07-18 12:53:54 -04:00
Travis Cross a0e19e1c7f Use system portaudio library
This removes our in-tree version of portaudio-19 and migrates
mod_portaudio and mod_portaudio_stream to use the system version of
the library.  Our detection of the system library relies on
pkg-config.
2014-07-17 21:15:53 +00:00
Anthony Minessale a2921e269c update verto with some fixes and enhancements with reconnection 2014-07-18 01:04:04 +05:00
Anthony Minessale abe4261a92 bump 2014-07-15 20:34:48 +05:00
Anthony Minessale d9f51f556f bump 2014-07-15 20:33:32 +05:00
Anthony Minessale 810717cae0 check for proper openal symbol to enable functionality 2014-06-30 01:23:07 +05:00
Michael Jerris 94f359904d remove dual-arch cflags and ldflags that we get on osx, we don't support fat binary stuff yet 2014-06-17 19:22:34 +00:00
Michael Jerris 548be28694 FS-6602: check for libperl libstalled and linkable too 2014-06-17 11:44:18 -05:00
Michael Jerris 5dd7791307 FS-6602: fixed check for EXTERN.h 2014-06-17 11:17:55 -05:00
Michael Jerris 82dbc5d2b9 FS-6604: install to archlib not sitelibexp 2014-06-17 10:35:17 -05:00
Michael Jerris b8629901a2 fix dep check for building perl mods 2014-06-17 09:44:24 -05:00
Michael Jerris 09ae3a9841 don't require more libs than we really need when linking embedded perl modules 2014-06-12 17:34:41 -05:00
Michael Jerris 1ffb1ee0d0 WIP 2014-06-11 12:48:46 -05:00
Travis Cross 79a888de2c Revert addition of PERL_GCC_PEDANTIC to CFLAGS
Brian and I decided to handle this by just stripping -ansi -pedantic
from the mod_perl build instead.

Revert "Since we can't tell if the system perl was built with
pedantic, we have a problem because we default debug enabled which
uses AX_CFLAGS_WARN_ALL_ANSI, For the GNU CC compiler it will be
-Wall (and -ansi -pedantic) The result is added to the shellvar being
CFLAGS by default.  Which then gets included for building mod_perl,
Either way I think this is the correct corse of action to overcome
these new builds of mod_perl."

This reverts commit cb94340e26.
2014-05-30 15:40:46 +00:00
Brian West cb94340e26 Since we can't tell if the system perl was built with pedantic, we have a problem because we default debug enabled which uses AX_CFLAGS_WARN_ALL_ANSI, For the GNU CC compiler it will be -Wall (and -ansi -pedantic) The result is added to the shellvar being CFLAGS by default. Which then gets included for building mod_perl, Either way I think this is the correct corse of action to overcome these new builds of mod_perl. 2014-05-29 21:13:07 -05:00
Anthony Minessale 5138f4d5a7 add new stub module mod_rtc dummy signaling-free media engine endpoint 2014-05-28 07:31:24 +05:00
Chris Rienzo b5816d3477 mod_graylog2: native GELF logging 2014-05-23 16:53:42 -04:00
Travis Cross 9d99c34682 Break on missing ldns lib at configure time
Previously we would detect the missing LDNS system library at
configure time, but would only break during the build of mod_enum.

With this change, if mod_enum is enabled in modules.conf and the
system doesn't have a usable LDNS library we break during configure.
2014-05-22 17:56:48 +00:00
Ken Rice 285e7dc3d0 slight tweat to pgsql version detection using awk instead of sed for bsd portability 2014-05-19 12:38:09 -05:00
Travis Cross c006db6fc6 Fix test for pkg-config 2014-05-12 13:50:21 +00:00
Travis Cross 04dc901641 Check for pkg-config at $PKG_CONFIG in configure
This allows someone without pkg-config in their PATH to set where
pkg-config is located.
2014-05-09 22:12:11 +00:00
Anthony Minessale dcaa08760c bump 2014-05-10 02:48:17 +05:00
Anthony Minessale 7e0995d069 bump 2014-05-10 02:47:01 +05:00
Travis Cross c96c733e9f Test for pkg-config in configure
We depend on pkg-config, but we weren't explicitly testing for it, so
the absence of pkg-config would cause the sqlite test to fail, which
was confusing.
2014-05-09 20:35:17 +00:00
Michael Jerris 31069f33a2 generate the modules list vars from modules.conf into a file instead of on the fly every time 2014-05-08 15:59:49 -04:00
Michael Jerris d6fe10979d remove opezap from tree, it has been replaced by freetdm 2014-05-06 11:05:54 -04:00
Travis Cross 0a56e643b1 Avoid training :'s in paths
When the path was empty, path_push_unique would cause a training colon
to be added.  This was a known issue that didn't cause any harm, but
while we're here, we'll clean this up.
2014-05-05 21:39:51 +00:00
Travis Cross aef982dd09 Work around Mac's broken sed
sed on Mac is apparently incredibly broken and incapable of adding
newlines.  `printf 'x' | sed 's/x/\n/'` results in 'n' on Mac rather
than a newline.  GNU sed even in --posix mode does not agree with this
behavior.  None the less, we can work around it here.
2014-05-05 21:32:30 +00:00
Travis Cross c44404d45d Add a fallback test for ldns system library
Some systems don't have the pkg-config file, or don't have it in the
right place.  Breaking build on those systems does have the positive
effect of getting people to file bugs with those distros, but we
should at least keep things working on Debian wheezy while getting
Debian to accept the fix to ldns.
2014-05-02 18:22:20 +00:00
Michael Jerris 7da28a2481 FS-353: look for ldns pkg-config for homebrew, you will need to update your homebrew ldns package if you installed it prior to this commit, they just fixed the pkg-config file being installed 2014-05-02 13:26:43 -04:00
Travis Cross a3e1b7df49 Protect cross-compiling from polluted PKG_CONFIG_PATH 2014-05-01 22:23:59 +00:00
Travis Cross cd650f6055 Use system ldns library
This library is used only by mod_enum and is available on most
platforms.  The version in our tree has many code quality problems
that are generating noise when doing static analysis.  Suffice it to
say we want rid of it as our responsibility.

FS-353
2014-05-01 22:01:59 +00:00
James Le Cuirot 4bdb7129ba Ungetlib libmemcached
Tested with several libmemcached versions between 0.31 and
1.0.18. Unfortunately the API is extremely volatile and awkward to
use. Packaging scripts still need addressing.

FS-353
2014-04-11 22:55:36 +00:00
James Le Cuirot c86b939fb3 Show message in configure when YAML isn't there
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-04-11 22:52:51 +00:00
Michael Jerris 03844dcbe5 FS-6425: try to fix clear configure with openssl in brew dir 2014-04-03 15:33:54 -04:00
Michael Jerris 0fd1e16444 try to push sysroot in correctly c++ 2014-04-02 08:00:20 -04:00
Anthony Minessale 3a2736291e add mod_basic 2014-03-31 18:08:59 -05:00
James Le Cuirot 4bdef6e605 Fix detection of libedit on BSD
Since libedit originates from NetBSD, this and other BSDs use the
official version while Linux distributions tend to use the
autotoolized fork. The official version does not install a .pc file so
we cannot rely exclusively on pkg-config for detection.

FS-6408

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-31 21:59:42 +00:00