Commit Graph

126 Commits

Author SHA1 Message Date
Ken Rice 160e8f12c0 [ubuntu packages] FS-9465 #resolve Add xenial instrumentation to debian/utils.sh script 2016-08-29 18:08:19 -05:00
Travis Cross 2b479574ee Update debian/control-modules for new modules
We were missing mod_smpp; mod_json_cdr needed to be placed differently
in the file such that it matches the output of the automated generator
we use to check the completeness of this file.
2016-04-28 13:35:06 +00: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
Stanislav Sinyagin 77f52bb6a8 FS-7928 FS-7618 systemd and package build improvements
debian/bootstrap.sh:
 * only build one of freeswitch-sysvinit or freeswitch-systemd
 * squeeze is removed from supported releases
 * added stretch to supported releases
 * avoid_mods_wheezy extended to modules which fail to build on wheezy
 * use systemd by default for future distros
 * new command-line option -v to enforce sysvinit
 * added dependency on dh-systemd for systemd-powered distros
 * freeswitch-init is now a virtual package
 * freeswitch-sysvinit and freeswitch-systemd are set to conflict with each other

debian/freeswitch.postinst:
 * no need to call systemctl explicitly. dh-systemd does it in a standard way

debian/rules:
 * integrated dh-systemd in override_dh_installinit

debian/freeswitch-systemd.freeswitch.default renamed to
freeswitch-sysvinit.freeswitch.default:
 * /etc/default/freeswitch is not installed by freeswitch-systemd, but still
   respected if there is a need to modify the startup options

debian/freeswitch-systemd.freeswitch.service:
 * proper expansion of DAEMON_OPTS
2015-10-13 22:36:37 +02:00
William King 39ad66380d FS-8165 #resolve Fix debian build depends for mod_hiredis 2015-09-15 10:43:26 -07:00
Luis Azedo eaf6430e0d FS-7776 #resolve add mod_kazoo to build system 2015-07-06 23:13:00 +01:00
Travis Cross 7f6f139fe5 Remove mod_celt and mod_vp8 remnants
Jeff added these directories back in commit 345e50d which causes our
debian/bootstrap.sh to add these back to debian/control-modules.
2015-06-17 19:35:13 +00:00
Travis Cross 0bc65d1547 Cleanup new module additions to debian
When the debian/control-modules file is properly ordered and
formatted, running (cd debian && ./bootstrap.sh) will result in no
changes to the debian/control-modules file and the
debian/control-modules.gen file being automatically deleted.  If there
is a debian/control-modules.gen file there, it should be used as a
start for a new debian/control-modules file after cleaning up the the
descriptions and adding long descriptions for each item.
2015-06-17 18:46:28 +00:00
William King 7432620bee FS-7338 adding debian packaging for several new modules, as well as handle system lib change for a handful of modules 2015-06-12 15:45:09 -07:00
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 3f685a25a0 Adding debian packaging for mod_amqp 2015-04-03 15:51:33 -07: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
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 3382b805a5 Add mod_bert to debian packaging 2014-09-09 14:27:27 +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 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
Travis Cross 779a2f4ad5 Add dependency on libperl-dev for mod_verto 2014-06-17 14:42:15 +00:00
Travis Cross 062b7f16c2 Add mod_rtc and mod_verto 2014-06-16 20:39:49 +00:00
Travis Cross 4d5153cdd2 Fix ordering in control-modules 2014-06-16 20:39:49 +00:00
Travis Cross 92843d0b75 Add mod_graylog2 to debian packaging 2014-05-24 08:56:20 +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
Travis Cross a60fa6703e Depend on system libmemcached-dev on Debian 2014-04-11 22:58:43 +00:00
Travis Cross 03b08e778e Add mod_basic to debian/ 2014-04-05 04:33:01 +00:00
Travis Cross b54ba38255 Follow mod_spidermonkey deprecation in debian/
It wasn't supported, and we weren't building it by default as it was.
2014-03-26 18:17:16 +00:00
Travis Cross 90404d5889 Purge mod_voipcodecs from debian/control-modules 2014-03-20 03:33:05 +00:00
Travis Cross fb2c587249 Add debian build-deps for mod_opal 2014-03-19 00:48:10 +00:00
Travis Cross edf294cdf1 Correct alphabetization 2014-02-18 20:48:28 +00:00
Travis Cross 1c61d88d51 Drop mod_speex from debian/
Speex is in the core, so Tony dropped the module.
2014-02-18 20:38:25 +00:00
Peter Olsson 9059fb91cc FS-5045 2014-02-02 12:33:37 +01:00
Travis Cross e959933d8c Fix mod_cluechoo error on load
mod_cluechoo needs to be linked against ncurses or we receive an error
about undefined symbols when loading the module.  How did this ever
work?

Thanks-to: Dušan Dragić <dragic.dusan@gmail.com>

FS-5965
2014-01-26 18:02:22 +00:00
Travis Cross ec9bed1b94 Suggest vlc-dbg for mod_vlc
This helps to reason about any core dumps that come from libvlc /
mod_vlc.
2014-01-17 08:52:14 +00:00
Travis Cross 0f9a70324f Depend on vlc-nox for mod_vlc
mod_vlc needs the plugins from vlc-nox to do anything useful.

Currently mod_vlc segfaults without the plugins.  Even after that is
fixed, however, without any plugins mod_vlc can't do its job, so we'll
set a hard dependency here.  I could probably be talked into making
this a Recommends rather than Depends.

FS-6124
2014-01-17 08:52:13 +00:00
Travis Cross 657b0377ef Work around debian bootstrap parsing oddity 2014-01-14 23:47:31 +00:00
Travis Cross 824e174af8 Add mod_v8 to control-modules 2014-01-14 22:58:02 +00:00
Travis Cross 8099af6564 Cleanup whitespace in debian/ 2013-12-10 03:53:17 +00:00
Travis Cross 968ac08305 Add mod_format_cdr to Debian packaging 2013-10-15 12:12:34 +00:00
Travis Cross 5fd0255523 Force preference on ssmtp if no MTA is installed
FS-5872 --resolve
2013-10-12 17:59:22 +00:00
Marc Olivier Chouinard dffe48aaec Fix bootstrap from the removal of mod_html5 in previous commit and cleanup some other reference to it 2013-09-16 22:00:35 -04:00
Travis Cross 050a975d19 Add dependency from mod_rayo to mod_ssml 2013-09-10 15:35:11 +00:00
Travis Cross 87360a384d Tweak such that control-modules.gen matches 2013-07-03 04:26:37 +00:00
Travis Cross dfd647de22 Add mod_ssml to Debian packaging 2013-07-03 04:26:31 +00:00
Travis Cross 40b08d7f89 Add mod_rayo to debian packaging 2013-07-03 04:26:24 +00:00
Travis Cross d40f59e795 Set mod_voicemail to depend on mail-transport-agent
Without this dependency we might not end up with sendmail installed
which would be unnecessarily surprising when using mod_voicemail.
2013-06-03 09:29:52 +00:00
Travis Cross b755c8347b Add mod_say_pl to debian build 2013-05-21 02:33:56 +00:00
Travis Cross 7845e3244f Add mod_translate to debian packaging 2013-04-23 10:29:31 +00:00
Travis Cross 511b2fc49a Add mod_b64 to debian packaging
Base64 in high definition!
2013-04-01 16:38:23 +00:00
Travis Cross 3990289342 Build-depend on libasound2-dev for mod_portaudio
Ken thinks this may have been needed to get mod_portaudio to work for
him.
2013-03-20 18:43:50 +00:00
Travis Cross a5acfa218c Help mod_h323 build on wheezy
libopenh323-dev is in squeeze and sid, but it doesn't look like it's
going to make it into wheezy at this point.

H323Plus claims to be a drop-in replacement, but this should probably
be tested thoroughly.

Note that mod_h323 is still in the avoid_mods list pending testing to
verify that it builds cleanly on each target.

Thanks-to: Steven Ayre <steveayre@gmail.com>

FS-4567 --resolve
2012-10-31 15:17:40 +00:00
Travis Cross 882e184a89 debian: Provide system FLAC/Ogg/Vorbis for mod_sndfile 2012-09-23 07:49:29 +00:00
Travis Cross da5b0b3887 debian: Remove config for mod_fax 2012-09-23 07:49:27 +00:00
Travis Cross 45bda53361 Add new modules to debian packaging 2012-09-20 06:48:38 +00:00
Travis Cross 11d4658ac4 debian: package mod_say_fa (Say for Persian) 2012-05-23 23:42:36 +00:00
Travis Cross c3c559e4f7 debian: add mod_random 2012-05-14 15:53:10 +00:00
Travis Cross 566123cc50 debian: mod_managed needs mono-gmcs to build 2012-05-12 21:57:57 +00:00
Travis Cross e84686943f debian: put mod_ilbc in non-free
The iLBC library in our tree is non-free software.  Google has
purchased Global IP Sound and released a newer version of this library
as part of WebRTC as free software, but we need to upgrade to take
advantage of this more favorable licensing.

Until we do that, we also need to remove libs/ilbc from the Debian
source packaging.
2012-05-12 21:30:53 +00:00
Travis Cross 243f950c2a debian: rearrange section headers 2012-05-12 20:52:59 +00:00
Travis Cross 4e174ee99c debian: put mod_siren in non-free
Despite the relatively-generous patent grant from Polycom, the
requirement to execute further agreements to use the code and patents
means this module fails the DFSG.

We'll need to exclude this code from the source package as well.
2012-05-12 20:52:59 +00:00
Travis Cross b19b6498db debian: add build-depends for mod_osp 2012-05-12 18:23:35 +00:00
Travis Cross ed42f37212 debian: add build-depends and section for mod_mp4
This needs a package from debian-multimedia.org, so it needs to go in
contrib/ and we can't build it as part of this source package.
2012-05-12 18:23:34 +00:00
Travis Cross 0f50f044f3 debian: add build-depends for mod_h323 2012-05-12 18:23:34 +00:00
Travis Cross 832d00f3da debian: add build-depends for mod_yaml 2012-05-12 18:23:33 +00:00
Travis Cross 5e83530a20 debian: add build-depends and suggests for mod_ladspa 2012-05-12 18:23:33 +00:00
Travis Cross 7061ff3b84 debian: mod_java depends on gcj-jdk for a symlink to jni.h
See:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=371060
2012-05-12 18:23:31 +00:00
Travis Cross 65a29d68f9 debian: add some module build dependencies
Thanks to Steven Ayre for an initial list.  I've made some
modifications and corrections.

FS-4202 --resolve
2012-05-12 18:21:58 +00:00
Travis Cross 2bd8470534 debian: trust shlibs:Depends to do its thing 2012-05-12 03:00:17 +00:00
Travis Cross 6606a1c9fb debian: add mod_xml_scgi 2012-05-09 23:15:02 +00:00
Travis Cross 3ee672467a debian: fix typo 2012-05-06 19:08:40 +00:00
Travis Cross 883dd296e7 debian: set possible dependencies for mod_shout and disable the module 2012-05-06 11:27:00 +00:00
Travis Cross 4ce0f57a8b debian: add new and vastly improved packaging for Debian
We now break out each module and component of FreeSWITCH into a
separate individually-installable package.  For each package with
executables or modules, we also build a package that includes the
stripped debugging symbols so that users can be helpful when they
discover bugs in FreeSWITCH.

As of this commit, we successfully build 263 distinct binary packages
starting from a clean minimal image on both Debian Sid and Debian
Squeeze.

To keep this manageable, we include a program that generates the
various Debian packaging files from a consolidated description of the
modules and their metadata.  The program can even generate this
configuration file by walking the FreeSWITCH source tree.

To provide a smooth user experience, we provide meta-packages that
install sensible sets of modules and other components.

All files are installed into the traditional and customary Linux
directories that you would expect in accordance with the Filesystem
Hierarchy Standard (FHS).

This commit also adds support for running FreeSWITCH as a forked
systemd service in Debian.

For more information about the technical details of the source
packaging, how to build the binary packages from source, and how you
can contribute, please read debian/README.source.

To learn about how this packaging affects you as a user and how to use
the finished Debian packages, read debian/README.Debian.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-05-05 11:54:05 +00:00