Commit Graph

509 Commits

Author SHA1 Message Date
Michael Jerris d376150e0e FS-7488: [mod_managed] fix build error and enable on debina packages 2015-05-28 12:47:26 -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 535cfbbd4f FS-7426: #resolve fix typo in control-modules for debian build 2015-04-13 15:52:43 -04:00
William King 39728a9888 FS-7426 fix the debian packaging for wheezy when the newer librabbitmq1 package isn't installed 2015-04-10 09:07:08 -07:00
William King 3f685a25a0 Adding debian packaging for mod_amqp 2015-04-03 15:51:33 -07:00
William King 4738da1325 When using the debian/utils.sh script to build FreeSWITCH packages,
add the ability to pass -T[path to custom sources path] and -K[custom keyfile path]
options to build the FS packages with a custom sources and keyring path.

FS-7373
2015-03-16 09:35:36 -07:00
Michael Jerris 3a70750b42 FS-7340: remove all build system references to json-c because we are no longer using it anywhere 2015-03-04 14:06:18 -05:00
William King 7437b3112f Debian rules update to handle a pre-bootstrapped orig file 2015-02-16 16:04:50 -08:00
Markus Lindenberg 5c5b9fcd21 If available, use libjpeg-turbo in Debian build dependencies
Debian is transitioning to libjepg-turbo in Jessie.

See the libjpeg-turbo transition plan for details:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754988

FS-7151 #resolve
2015-01-15 09:21:32 +01:00
Brian West adb0de93c5 #comment update debian utils for flite 2.0.0 #resolve 2015-01-14 11:08:53 -06:00
Travis Cross 2a05f8c39c Drop limit on stack size via systemd
Setting the 240k hard limit here is too aggressive and causes FS to
crash on startup.
2015-01-05 07:11:40 +00:00
Travis Cross d88bae1a62 Support optional debian parallel builds
With this commit we allow getting `make -jN` behavior by setting
`parallel=N` in `DEB_BUILD_OPTIONS`.  Setting `parallel=` will result
in `make -j` being run (i.e. no limit on the number of jobs).  The
default is to run one job at a time; this is still the safest bet when
building all modules.

Thanks to Peter Wu for suggesting a different way to do this.

ref: https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
2014-12-25 07:13:17 +00:00
Travis Cross 430433a6d7 Improve error message 2014-12-25 04:19:05 +00:00
Travis Cross 0330b6fa6d Adjust code style of recent changes 2014-12-25 04:01:10 +00:00
Travis Cross 505cd2947a Refactor distro detection and handling 2014-12-25 03:58:49 +00:00
Travis Cross 3c8dd3e4df Handle missing `lsb_release`
The lsb-release package isn't a stated dependency and isn't present on
a minimal Debian install.
2014-12-25 03:51:30 +00:00
Steven Ayre 0822f6a020 FS-7019 swap debian/ubuntu autodetection order 2014-11-21 18:44:20 +00:00
Steven Ayre a6401813a1 FS-7019 detect debian explicitly, error on unknown distribution 2014-11-21 17:59:56 +00:00
Steven Ayre a45dca3e0d FS-7019 add note on how to build on Ubuntu 2014-11-21 17:57:12 +00:00
Steven Ayre de90201101 FS-7019 full list of distributions to target based on distribution autodetection 2014-11-21 17:57:09 +00:00
Steven Ayre d9872d5cb7 FS-7019 build error on utopic (lber_types.h: No such file or directory) 2014-11-21 17:57:04 +00:00
Steven Ayre 1f1103143d FS-7019 add support for building on ubuntu trusty and utopic 2014-11-21 17:56:57 +00:00
Travis Cross 7b38b4f86b Avoid mod_shout on sid/jessie for now
On sid the build breaks on "undefined reference to symbol
'ogg_sync_init'".  We'll just avoid mod_shout on sid/jessie until this
is worked out.
2014-11-12 19:07:54 +00: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 ebb3c8fbfa Add mod_say_es_ar to debian packaging 2014-11-07 19:02:30 +00:00
Travis Cross 4b76c2aea9 Add mod_odbc_cdr to debian packaging 2014-11-07 19:02:30 +00:00
Travis Cross f4527d77cb Fix placement of build-dep for libsngtc-dev
Since we compare our generated control-modules to the one in tree, we
want to match the exact format we use to generate the file.
2014-11-07 19:02:30 +00:00
Peter Wu 51f61c7834 debian: Remove duplicate clean command
`dh clean` invokes `dh_testdir`, `dh_auto_clean` and `dh_clean`. We
don't need to invoke dh_clean twice.

Acked-by: Travis Cross <tc@traviscross.com>
2014-11-07 19:02:29 +00:00
Peter Wu e3a647810c debian: Allow use of secondary groups
When '-g' is passed, freeswitch drops all other groups except for the
given group.  This impacts people who depend on FS having access to
resources that would be allowed by membership to those other groups.

It was possible to override this by setting DAEMON_ARGS in
/etc/default/freeswitch, but we'll go ahead and make this the default.

Since freeswitch uses the primary group of a user when `-g` is
omitted, we'll just omit it, and do similarly when setting the
ownership of our directory in /var/run.

Edited-by: Travis Cross <tc@traviscross.com>
2014-11-07 18:10:50 +00:00
Travis Cross b0050f519e Improve init error message when FS is unconfigured
Depending on which packages are installed, the README.Debian file
might not be there, so we'll spell out the instructions more directly.
2014-11-06 16:32:42 +00:00
Travis Cross 9bf834fe58 Handle debian's libtool-bin change
The libtool binary used to be contained in the libtool package.  As of
current sid/jessie the libtool package contains everything about
libtool but the libtool binary, and we need to install libtool-bin to
get the libtool binary itself.  Which is to say that Debian decided to
make the libtool package architecture-independent.

Without this commit the FS debian packaging will not build/bootstrap
on sid/jessie.
2014-10-30 00:25:43 +00:00
Travis Cross 63734bcde0 Add debian build option to include avoided modules
This is a convenience option that can be passed to either
debian/bootstrap.sh or to debian/util.sh to include a module in the
build that would normally be excluded.  This option, -p, can be passed
multiple times.
2014-10-08 20:45:20 +00:00
Travis Cross a8b68a14bc Add debian build option to use system sources.list
If -t is passed to debian/util.sh, then we will import the
/etc/apt/sources.list mirrors and all apt keys into the
pbuilder/cowbuilder build environment.

This is useful e.g. when the FS build depends on a library not
available in Debian yet.
2014-10-08 20:43:42 +00:00
Travis Cross 33b4eef596 Add debian build option to keep pbuilder image config
Normally we override the config of each pbuilder/cowbuilder image when
we update the image before using it for the build.  Passing this
option allows for using an existing cowbuilder image (assuming it's in
the correct location) with some existing desirable configuration.
2014-10-08 20:41:37 +00:00
Travis Cross b199aaad78 Add build-dep for mod_sangoma_codec
The packaging for libsngtc-dev is not yet in Debian.
2014-10-08 19:01:28 +00:00
Travis Cross cd67dfc630 Add mod_cluechoo back to debian/control-modules
The debian/control-modules file is a comprehensive list of modules,
not a list of modules which are built.  Our build tools verify the
file is comprehensive, so modules can't be removed from here unless
we're taking them out of tree.

Partially revert "don't package mod_cluechoo and don't build/load by default"
This partially reverts commit e02e41a5c1.
2014-09-24 19:26:41 +00:00
Michael Jerris e02e41a5c1 don't package mod_cluechoo and don't build/load by default 2014-09-23 18:10:01 -04:00
Travis Cross eb7200bbe5 Avoid mod_java on Debian wheezy
We're already avoiding it on sid and jessie; now we're hitting build
failures with it on wheezy.

ref: FS-6811
2014-09-09 16:25:17 +00:00
Travis Cross 3382b805a5 Add mod_bert to debian packaging 2014-09-09 14:27:27 +00:00
Travis Cross c0ec552268 Set new `cache_dir` for debian 2014-09-04 21:09:46 +00:00
Travis Cross 9dd7173b6e Avoid overaggressive chmod/chown on upgrade
It's reasonable for someone to change one or more of these directory
permissions after installation.  We shouldn't touch more than we need
on upgrade.  Each directory needs to be owned by the freeswitch user,
but past that we can leave discretion to the system administrator.
2014-08-28 12:24:44 +00:00
Brian West 573257144d FS-6689 #comment next time please attach a diff #resolve 2014-07-25 07:31:13 -05:00
Travis Cross 03c4014d0e Update bundled version of opus for debian 2014-07-23 16:10:04 +00: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
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
Ken Rice 8d11e8abb1 git.freeswitch.org is DEAD... Long Live git via http://stash.freeswitch.org 2014-07-15 17:34:16 -05:00
Brian West bee0a19f08 FS-6642 --resolve 2014-07-11 11:04:08 -05:00