Commit Graph

660 Commits

Author SHA1 Message Date
Tyler Cross 21a79e3fbb FS-8398: Added event_handlers/mod_amqp to avoided modules for Ubuntu 14.04 Trusty
This change makes it so that event_handlers/mod_amqp is avoided when building
debian packages for Ubuntu 14.04 (Trusty). If this module is packaged there is
a dependency issue related to the rabbitmq libraries.

Avoiding the module was the simplest solution to achieve debian packaging on the
Ubuntu 14.04 OS.
2015-10-29 14:17:59 -06:00
William King ffe671f7d6 FS-8362 #resolve Now if you install with freeswitch-all you will get the default fonts too 2015-10-20 11:21:56 -07: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
Stanislav Sinyagin b2bcc8b2dd FS-8194 FS-7910 FS-7937 systemd service improvements
freeswitch-systemd.freeswitch.service:
* starting the daemon as root and switchig to freeswitch user
* respecting the options in /etc/default/freeswitch
* RuntimeDirectory parameter is replaced with a tmpfiles.d entry
  because /run/freeswitch has to be owned by freeswitch user
* instructions how to start it as non-root

debian/freeswitch-systemd.freeswitch.tmpfile:
* this defines the PID directory with correct permissions

debian/bootstrap.sh, debian/rules:
* proper handling of freeswitch.service
* deleted debian/freeswitch-systemd.install because it caused an error
  in dh_install because it's run before dh_installinit
* renamed: freeswitch-sysvinit.freeswitch.default -> freeswitch-systemd.freeswitch.default
  because sysvinit support will eventually die out

debian/freeswitch.postinst:
* run "systemctl enable freeswitch" if systemctl is available

CAVEAT: only one option is supported in /etc/default/freeswitch because the
variable ${DAEMON_OPTS} is expanded as a single token. This will be fixed
as soon as freeswitch-sysvinit is removed from freeswitch-all.
2015-10-10 16:08:11 +02:00
William King dbddff88a6 FS-8271 If using system apt repo list, then include the supplementary ones too. 2015-10-09 09:09:28 -07:00
William King 9fe91d7c89 FS-8271 clarify help text 2015-10-08 15:05:25 -07:00
William King 7ac881fb51 FS-8271 fixing bash typo 2015-10-08 15:02:27 -07:00
William King 9b33b05362 FS-8271 defaulting to automatically download the binary deps because without major changes to package building in cowbuilder(which is the primary supported method of building FS packages), you can't access the network to build the binary packages from the source package. 2015-10-08 14:02:05 -07:00
William King 967245bfe2 FS-8271 Now the default will build packages with the upstream FS package repos. This is a change in the default behavior of the debian packaging system with the justification that in 1.6 it is now required to use the FS public repo for deps because system dependancies have been removed from the FS codebase which use to be included. 2015-10-08 14:32:17 -05:00
Brian West 580c1704ba FS-8285 2015-10-02 10:06:02 -05:00
Brian West a1799bd2b2 FS-8270 #resolve 2015-10-02 09:56:35 -05:00
William King 019b1ae3d0 FS-8271 simplify package building for the default case 2015-10-02 04:05:44 -07:00
William King 94b1dfab18 FS-8255 #resolve fix debian codename changes since jessie was released as stable 2015-09-30 11:19:20 -07:00
Travis Cross 2184af8ea6 Remove explicit set of WorkingDirectory
In the systemd unit for FS/debian, if the WorkingDirectory is not set
then it defaults to '/'.  This is fine for FS, and is a common and
expected chdir choice for daemons.

We had previously set this to /run/freeswitch.  Due to Debian having
systemd-coredump(8) disabled, this was causing core files to be
written to /run/freeswitch, which is a bad place for them as it's
mounted on tmpfs.  So in commit cd68e0f we changed this to the log
directory /var/log/freeswitch.  That choice is a bit usual as well on
Debian.

It's better to leave FS as running on '/'.  This will prevent core
files from being written unless the user adjusts `sysctl
kernel.core_pattern`, which is a reasonable thing to expect if the
user wants these files.  Core files can be huge, and even having them
go to /var/log unexpectedly can be a problem.

When Debian adds the systemd-coredumps support this will all work
nicely and automatically.

ref: http://www.freedesktop.org/software/systemd/man/coredump.conf.html
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744964

References-commit: cd68e0fe1b

FS-7909
2015-09-22 05:34:15 +00:00
Travis Cross 16d0538fb5 Move chown of /etc/freeswitch/tls to postinst
Doing a chown of something in /etc/ as part of a systemd service file
is totally broken.  It's far too large a sledgehammer to point at /etc
here.  Someone may legitimately not be using /etc/freeswitch/tls in
his configuration, in which case this chown would fail and cause FS to
fail to start.  Or someone may legitimately need /etc/freeswitch/tls
to have different ownership, in which case we would clobber it here.

The right thing to do is to create this directory in the
postinst (which we already are, assuming there is not an existing
configuration) and then perform the chown of it at the same time.

FS-7697
2015-09-22 04:58:50 +00:00
Travis Cross 12e90ce989 Use systemd RuntimeDirectory for /run/freeswitch
This changes how we create the temporary directory /run/freeswitch
when starting FS with systemd.  The /run directory starts empty after
a system reboot, so we need to ensure this directory is present.

Originally for the FS systemd unit we created /run/freeswitch using
ExecStartPre and mkdir.  With commit adb5f0d this was changed to use
the tmpfiles.d(5) mechanism (but the ExecStartPre/mkdir code was not
removed).

As part of systemd.exec(5), systemd provides a mechanism to
automatically manage these directories under /run and to bind their
lifetime to the lifetime of the process.  This is actually what we
want here as compared to the more general tmpfiles.d(5) mechanism.

This commit moves to using the RuntimeDirectory= mechanism and removes
the obsolete ExecStartPre/mkdir code.

References-commit: adb5f0d278
2015-09-22 04:41:00 +00:00
Raphael Lechner fbacd42c98 FS-5660 - add freeswitch.py to the freeswitch-mod-python debian package 2015-09-17 21:07:40 +02:00
Travis Cross 9cff1eb71f Cleanup non-semantic whitespace in debian/ 2015-09-15 22:36:23 +00:00
Travis Cross 9f99b12e76 Fix debian/bootstrap.sh from whitespace error
Commit e5d247d (packaging python-esl) added trailing whitespace to the
package definition.  Our trivial parser in the bootstrap script is
sensitive to this, so the change rather broke debian/bootstrap.sh.

This fixes commit e5d247df29.
2015-09-15 22:04:19 +00:00
William King 39ad66380d FS-8165 #resolve Fix debian build depends for mod_hiredis 2015-09-15 10:43:26 -07:00
Ken Rice e3e8c99567 FS-8072 #resolve fix a missed space 2015-09-09 10:34:01 -05:00
William King 5c8c4ebc62 FS-7697 chown the /etc/freeswitch/tls directory so that the freeswitch user can have read/write for TLS certificate generation 2015-09-08 14:17:33 -07:00
William King f769c692d1 FS-7168 update Debian packages so that FS core libraries are setup as runtime deps 2015-09-08 11:58:28 -07:00
Stanislav Sinyagin e45837198c debian/README.source updated
In Jessie, pbuilder disables the network by default, and we need it
to build our packages. Also currently only Jessie debs are built successfully,
and building for wheezy fails because of missing video libraries.
2015-08-24 10:27:23 -04:00
Stanislav Sinyagin a083b881f3 debian/bootstrap.sh: excluded few modules that fail to compile
applications/mod_mp4v2
codecs/mod_openh264
event_handlers/mod_smpp
formats/mod_webm
2015-08-24 08:52:44 -04:00
Stanislav Sinyagin e78c440585 FS-8019 debian/util.sh ignored -T option
Fixed the handling of -T and -t, and added debian/apt_sources.list
    that needs to build 1.7 master. The following commands need to be
    used to build Jessie packages:

    apt-get update && apt-get install -y git curl
    mkdir -p /usr/src/freeswitch
    cd /usr/src/freeswitch/
    git clone https://stash.freeswitch.org/scm/fs/freeswitch.git /usr/src/freeswitch/src
    curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -
    cd /usr/src/freeswitch/src
    ./debian/util.sh build-all -i -z1 -aamd64 -cjessie -T /usr/src/freeswitch/src/debian/apt_sources.list
2015-08-22 20:22:06 -04:00
Federico Castro e5d247df29 FS-6972 Packaging a version of the python ESL wrapper for python. 2015-08-21 10:27:59 -03:00
Stanislav Sinyagin cd68e0fe1b FS-7909 working directory is now /var/log/freeswitch
This is where core is dumped by default
2015-07-31 02:13:55 +02:00
Miguelo adb5f0d278 FS-7130 make /run/freeswitch persistent, so it will start under systemd 2015-07-22 09:36:09 +02:00
William King 8b10cd3d00 Broke build.
Revert "FS-7130 make /run/freeswitch persistent, so it will start under systemd"

This reverts commit bdfb8363f5.
2015-07-21 13:32:35 -07:00
Miguelo Sana bdfb8363f5 FS-7130 make /run/freeswitch persistent, so it will start under systemd 2015-07-13 11:33:46 +02:00
Luis Azedo eaf6430e0d FS-7776 #resolve add mod_kazoo to build system 2015-07-06 23:13:00 +01:00
William King c431ed1ff9 FS-7697 #resolve Now when we install FS by default the tls directory will also be created. 2015-06-19 16:39:44 -07:00
William King 33c723e839 FS-7669 #resolve There was already a postinst file, and I missed it. 2015-06-17 20:40:19 -07:00
William King 5ab9d46691 Revert "FS-7669 #resolve now if you don't have the /etc/freeswitch directory, we will install the default packages for you. If you already have this directory, we'll let you deal with your own configs."
This reverts commit 5550f37fe0.
2015-06-17 20:38:10 -07: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
William King 19de3b0f81 FS-7605 now depends on libyuv and libvpx properly 2015-06-17 19:07:39 -07:00
William King c7eb3abc16 Revert "FS-7605 remove surplus config flags"
This reverts commit 157cac97e3.
2015-06-17 17:30:51 -07:00
William King 5550f37fe0 FS-7669 #resolve now if you don't have the /etc/freeswitch directory, we will install the default packages for you. If you already have this directory, we'll let you deal with your own configs. 2015-06-17 15:46:07 -07:00
William King 8d6c6f82e2 FS-7605 Fix typo 2015-06-17 14:49:15 -07:00
William King 157cac97e3 FS-7605 remove surplus config flags 2015-06-17 14:37:18 -07: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 e0edc956d8 FS-7605 #resolve 2015-06-16 20:24:05 -07:00
William King 601a1e8c1a FS-7609 enable building of mod_sangoma_codec 2015-06-16 13:42:30 -07:00
William King 95a941759c FS-7338 fix when the build system was deleting the keyring before it was fully finished with it. 2015-06-15 15:17:18 -07: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
William King 8e058adecd FS-7338: Don't download the getlib version for debian packages, instead use the system libs. Debian build systems should include the public repo as an additional repo to supply these packages. 2015-06-11 20:12:56 -07:00
William King 67ed8f4260 FS-7373 also expose the custom repo and key path to the build-all command too 2015-06-10 22:00:46 -07: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
William King 69d4e1d53a FS-7426 shouuld not be disabled on all, only squeeze and wheezy 2015-06-01 17:51:15 -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 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
Travis Cross af4f1045b8 Create freeswitch-timezones debian package
This installs the timezone file such that configurations can reference
it rather than copying it.
2014-06-24 00:39:14 +00:00
William King 985ce5729b Change to ncwait so that the service start script will block until FS is actually started 2014-06-23 10:03:53 -05:00
Anthony Minessale 918c68accf -rp is not an ok default option it should not be used in normal circumstances it forces an unsafe environment with realtime threads on single cpu systems. Real time mode will enable by default on systems with enough cpus 2014-06-21 21:42:46 +05:00
Travis Cross 50625e36ee Build mod_verto for debian packaging
We still need to add special handling for the perl bits.
2014-06-17 17:35:08 +00:00
Travis Cross 779a2f4ad5 Add dependency on libperl-dev for mod_verto 2014-06-17 14:42:15 +00:00
Travis Cross 990847638c Pull mod_verto from debian packaging temporarily
`make install` on mod_verto needs to be reworked a bit for packaging
builds.
2014-06-17 03:01:06 +00:00
Travis Cross 7b974def21 Add back mod_perl to debian build
The build issues blocking its return appear to have been resolved.
2014-06-16 20:43:02 +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 4ccdc1def3 Override config on cowbuilder update
This allows new settings, e.g. new mirrors, to propagate into the
chroot images.
2014-06-11 01:05:36 +00:00
Travis Cross afb4a20090 Retry for longer on failed cowbuilder operations
There's really nothing to do but retry.
2014-06-11 00:55:06 +00:00
Travis Cross 8a4a8f6fb8 Retry the cowbuilder create operation on failure
Sometimes while the debian repositories are updating there are
sporadic signature failures.  It's annoying to have these break the
build, and the only thing to do is to retry, so we'll retry here
automatically.  We were already retrying on the update operation that
can fail in a similar manner.
2014-06-11 00:52:12 +00:00
Travis Cross 92843d0b75 Add mod_graylog2 to debian packaging 2014-05-24 08:56:20 +00:00
Travis Cross ab3e95569c Drop mod_java from jessie build
Right now mod_java fails to build on sid and jessie.  We have a
possible solution, but we'll just disable the build of the module
while we test and verify.
2014-05-22 18:30:39 +00:00
Travis Cross 15766d349d Drop mod_ldap from sid/jessie build
Ken noticed a build error.  We need to use the system ldap library
anyway, so we'll just drop mod_ldap here until we make that change.
2014-05-22 18:24:32 +00:00
Michael Jerris d6fe10979d remove opezap from tree, it has been replaced by freetdm 2014-05-06 11:05:54 -04: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 f408dae2af Drop pinned memcached file download from debian 2014-04-19 06:29:24 +00:00
Travis Cross a60fa6703e Depend on system libmemcached-dev on Debian 2014-04-11 22:58:43 +00:00
Travis Cross 8f3ee29c23 Reenable mod_v8 in debian package builds
The relevant v8 build issues are believed to be worked out at this
point.
2014-04-07 17:37:41 +00:00
Travis Cross 03b08e778e Add mod_basic to debian/ 2014-04-05 04:33:01 +00:00
Travis Cross f9d065cda3 Use system libyaml for mod_yaml
FS-353
2014-03-26 19:27:22 +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 cde20f6fe6 Require sqlite as a system dependency
This purges sqlite from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-24 12:54:49 +00:00
James Le Cuirot 8574988c3a Completely unbundle libedit
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-24 12:39:59 +00:00
Peter Olsson c8fa0f0c4b mod_v8: Use parallel build by default. Use configure flag "--disable-parallel-build-v8" to disable it. It's disabled by default for Debian build scripts, since parallel build has some issues with cowbuilder. 2014-03-23 09:25:41 +01:00
Travis Cross 6261e5ae48 Drop mod_v8 from debian build for now
This is currently breaking the build.  We'll get that fixed and add
mod_v8 back in after things slow down.
2014-03-22 05:07:27 +00:00
Travis Cross 1470622292 Require libcurl as a system dependency
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-20 21:15:29 +00:00
Travis Cross 54cd0df33a Support change to system libspeex in debian 2014-03-20 15:28:26 +00:00
James Le Cuirot b283db6319 Completely unbundle speex
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:25 +00:00
Travis Cross 4c0e1798d5 Support change to system libpcre in debian 2014-03-20 15:28:24 +00:00
James Le Cuirot e85f06ee2f Completely unbundle pcre
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:23 +00:00
Travis Cross 90404d5889 Purge mod_voipcodecs from debian/control-modules 2014-03-20 03:33:05 +00:00
Travis Cross cba9af4e61 Drop mod_perl from the debian build temporarily
We'll add this back when the build issues with it get worked out.
See FS-6385.
2014-03-20 02:30:53 +00:00
Travis Cross 046df6be67 Export V=1 for debian builds
Now that we're using AM_SILENT_RULES this needs to be set so we can
see what's going on in our build logs.
2014-03-19 21:07:21 +00:00
Travis Cross 83125dada5 Follow rename to configure.ac in debian/ 2014-03-19 19:12:25 +00:00
Travis Cross fb2c587249 Add debian build-deps for mod_opal 2014-03-19 00:48:10 +00:00
Travis Cross f8368ec835 Remove dead mod_voipcodecs from debian excludes
Mike removed mod_voipcodecs from tree in commit
bcd9f49fbe.

We'd long since replaced mod_voipcodecs with mod_spandsp.
2014-03-18 23:02:24 +00:00
Michael Jerris 1c5e61447b move libs/stfu into the core, as it is not really a lib 2014-03-17 09:44:14 -04:00
Travis Cross 75c5c9807f Build-depend on libcurl-dev in debian
Because FS will build against the system libcurl if it's there, this
results in us building against the system library.
2014-03-12 21:29:46 +00:00
Travis Cross 6c71125359 Add note about the supported Debian release for building 2014-02-23 22:39:16 +00:00
Travis Cross 24179a4d7f Describe workaround in Debian/README.source
Pre-jessie versions of Debian's mk-build-deps tool rely on libraries
that do not correctly parse debian/control, so we have to clip it down
to a smaller subset of the format to build on e.g. wheezy.
2014-02-23 22:39:16 +00:00
Travis Cross 110677eea6 Reorganize sections in debian/README.source 2014-02-23 22:39:16 +00:00
Travis Cross e72e4a7b72 Clean up introduction 2014-02-23 22:39:16 +00:00
Travis Cross 771949b30e Update, organize, and improve debian/README.source 2014-02-23 22:39:15 +00:00
Travis Cross b202d35094 Make debian/README files more markdown-like 2014-02-23 22:39:15 +00:00
Travis Cross 9a0032e9b7 Exit non-zero from build-all on any build failure
./debian/util.sh build-all will do a number of builds in sequence or
parallel.  We now track if any of those builds fail to return a
.changes file and exit non-zero.
2014-02-18 21:05:12 +00:00
Travis Cross edf294cdf1 Correct alphabetization 2014-02-18 20:48:28 +00:00
Travis Cross e16b9c11a2 Add core build-dep on libogg-dev for speex 2014-02-18 20:47:32 +00:00