Commit Graph

598 Commits

Author SHA1 Message Date
Ken Rice 497b8926d7 FS-9373 #resolve make add mod-verto and mod-rtc to freeswitch-meta-all debian package 2016-07-21 09:23:10 -05:00
Ken Rice 959cc6543e FS-9174 #resolve add dep to meta-all for mod_png so its installed via the debian -all packages 2016-06-01 15:55:24 -05:00
Peter Wu a8c497cbac debian: fix compatibility with systemd 215 on Jessie
Since FS-8788, this error is printed to the journal:

    [/lib/systemd/system/freeswitch.service:22] Failed to parse resource value, ignoring: 240K

It turns out that suffixes are only introduced in systemd 228 which is
not available in Debian Jessie. Use 240*1024, rounded up to a nice
human-readable number.
2016-05-25 15:54:09 +02:00
Travis Cross 3fca86c81f Remove superfluous semicolon
Having this extra semicolon here confuses automatic indentation.
2016-05-10 21:50:41 +00:00
Travis Cross 9dbe81b50f Cleanup inconsistent whitespace in debian/util.sh
We use two space indentation in this file and no tabs as per the
mode-line header.
2016-05-10 21:48:51 +00:00
Ken Rice 9293b6b9cc Merge pull request #840 in FS/freeswitch from ~SSINYAGIN/freeswitch:bugfix/FS-5936-esl.pm-not-included-in-debian-packages to master
* commit '2b307a0a51f576ad0dc15faa220dbf09a7111b80':
  FS-5936 respect archlib in libesl-perl because it is different depending on distro
2016-05-04 17:12:10 -05:00
Ken Rice 7468bb067b FS-9075 [Debian Packaging] futher tweaks to help ease upgrading freeswitch-all 2016-05-04 17:11:06 -05:00
Stanislav Sinyagin 2b307a0a51 FS-5936 respect archlib in libesl-perl because it is different depending on distro 2016-05-04 23:11:35 +02:00
Stanislav Sinyagin 8e35369c97 FS-5936 wrong dependency on freeswitch-mod-esl 2016-05-03 08:50:27 +02:00
Stanislav Sinyagin 135d13a0a1 FS-5936 ESL.pm packaged for Debian 2016-05-03 00:39:46 +02: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
Ken Rice 9b1d5c35f6 Revert "FS-9081 to build all modules for trusty needs the universe components"
This reverts commit e8f83d0558.
2016-04-29 07:52:09 -05:00
Ken Rice bb8960a667 Revert "FS-9081 Correction to e8f83d0"
This reverts commit 1b9fda720a.
2016-04-29 07:52:09 -05:00
Travis Cross 6869888845 Ignore debian/freeswitch-init.provided_by in git
This is a generated file that was added by commit:

    commit 77f52bb6a8
    "FS-7928 FS-7618 systemd and package build improvements"
2016-04-28 13:52:11 +00: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
Ken Rice 0eec84c20f FS-9075 [deb packaging] tweak dep for freeswitch-init 2016-04-27 07:28:21 -05:00
Ken Rice 4c477b02e5 FS-9075 [deb packaging] removing some more meta-all dependancies that are causing issues 2016-04-26 19:11:09 -05:00
Ken Rice 0823f88519 FS-9075 [deb packaging] removing some meta-all dependancies that are causing issues 2016-04-26 15:31:09 -05:00
Ken Rice 36916532cc mod_html5 has been long depricated. this is a dead package 2016-04-26 14:36:46 -05:00
Ken Rice 1805f1ac23 FS-9075 [deb packaging] tweak freeswitch-meta-all dependancies to more fully install FreeSWITCH. 2016-04-26 11:06:02 -05:00
Stanislav Sinyagin ce6af25013 FS-9075 fixup for systemd and sysvinit 2016-04-25 17:29:35 +02:00
William King 1b9fda720a FS-9081 Correction to e8f83d0 2016-04-18 21:32:13 -07:00
William King e8f83d0558 FS-9081 to build all modules for trusty needs the universe components 2016-04-18 20:17:58 -07:00
William King 3c8d2fea30 FS-9081 use turbo if available for newer jpeg over falling back to old jpeg62-dev 2016-04-18 12:37:58 -07:00
Ken Rice 0557e25b67 FS-9075 [Debian Packaging] #resolve freeswitch-all package rework
the freeswitch-all package should be operationally the same as
freeswitch-meta-all it should not conflict with any other freeswitch
pacakge it should install them all via dependancy. This patch does just
that... There is probably a better way to do it, but this is needed to
avoid issues where a dep may have been added to a sub-module (say
mod_av, but it was not added to the freeswitch-all package. This will
also allow for someone to install freeswitch-all or any part there of
without forcing a deinstall of other parts of the over all FreeSWITCH
software package.
2016-04-14 13:33:36 -05:00
Michael Hanselmann 3b4b839ed4 FS-8948 #resolve Handle non-existent config in Debian postinst
When the "freeswitch" package was installed directly on Debian, i.e.
without one of the meta packages pulling in the vanilla configuration
(freeswitch-conf-vanilla), the "postinst" script failed:

  $ apt-get install freeswitch
  …
  Setting up freeswitch (1.6.6~13~d2d0b32-1~jessie+1) ...
  cp: cannot stat ‘/usr/share/freeswitch/conf/vanilla/*’: No such file
  or directory
  …

With this change the code tests for "freeswitch.xml" before attempting
to copy the configuration files.
2016-03-17 17:01:08 +01:00
William King 6313f69105 Removing libyuv as a required dep since it's moved to core. 2016-03-04 12:10:34 -08:00
William King 1d5b898a83 FS-8867 Adding changes to the debian package building 2016-02-24 16:13:29 -08: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
Ken Rice 59a8dede02 small tweak to debian package build script 2016-02-17 16:32:08 -06:00
William King 9acd1c7110 FS-8788 Enabling stacksize limits for Debian packaging 2016-01-27 11:53:59 -08:00
William King 24fb219fa0 Adding a file extension to the package build logs 2016-01-08 10:14:19 -08:00
Travis Cross de5bbefdf0 Fix typo in freeswitch-doc package description 2015-12-31 16:03:11 +00:00
William King 1eec06bd85 FS-8576 resolving issue where fonts and images were installed in all of the conf packages. 2015-11-25 16:04:45 -08:00
William King 58c267bf96 FS-8152 package the image directories too 2015-11-25 14:20:53 -08:00
William King 8012a5b72b Revert "FS-8530 add codecs/mod_sangoma_codec to avoid_mods in debian/bootstrap.sh"
This reverts commit 8a16ed1a49.
2015-11-11 14:07:50 -08:00
Stanislav Sinyagin 8a16ed1a49 FS-8530 add codecs/mod_sangoma_codec to avoid_mods in debian/bootstrap.sh 2015-11-11 21:59:01 +00:00
Stanislav Sinyagin ffa24ef6a5 FS-8426 place freeswitch.pm into /usr/share/perl5 2015-11-08 00:59:15 +01:00
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