Commit Graph

83 Commits

Author SHA1 Message Date
Travis Cross
9cff1eb71f Cleanup non-semantic whitespace in debian/ 2015-09-15 22:36:23 +00: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
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
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
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
Brian West
adb0de93c5 #comment update debian utils for flite 2.0.0 #resolve 2015-01-14 11:08:53 -06:00
Travis Cross
430433a6d7 Improve error message 2014-12-25 04:19:05 +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
de90201101 FS-7019 full list of distributions to target based on distribution autodetection 2014-11-21 17:57:09 +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
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
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
f408dae2af Drop pinned memcached file download from debian 2014-04-19 06:29:24 +00:00
Travis Cross
83125dada5 Follow rename to configure.ac in debian/ 2014-03-19 19:12:25 +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
3cad316804 Drop default support for squeeze 2014-02-01 15:03:52 +00:00
Travis Cross
e364450a57 Add util option to customize suite names
This lets us set the suite name in the changelog file to
e.g. sid-experimental.  This way we can share a single debian repo URL
for all versions, but make sure that incoming files are directed to
the correct distro.
2014-01-21 05:18:18 +00:00
Travis Cross
671fc3bc4e Add convenience option for building a small subset of modules 2014-01-17 19:30:49 +00:00
Travis Cross
383b77a1f0 Add option to install build-deps needed by debian/util.sh 2014-01-17 19:24:13 +00:00
Peter Olsson
b762332669 Initial commit of mod_v8 2014-01-14 15:38:41 +01:00
Travis Cross
f2f1c38fe4 Follow bump to opus lib version for debian packaging 2013-12-16 21:13:34 +00:00
Travis Cross
8099af6564 Cleanup whitespace in debian/ 2013-12-10 03:53:17 +00:00
Travis Cross
e525dc38ba Follow update of soundtouch version 2013-11-15 18:44:48 +00:00
Ken Rice
a84610b3b0 update opus tarball rev 2013-09-10 12:15:46 -05:00
Travis Cross
26d5a6eb33 Remove redundant orig file purifying step
We kill these files with .gitattributes.
2013-05-28 23:52:46 +00:00
Travis Cross
0a50536aa8 Add generic mechanism for building non-DFSG packages 2013-05-28 23:52:41 +00:00
Travis Cross
10bede7416 Fix typo 2013-05-26 04:55:36 +00:00
Travis Cross
4448d6b743 debian: wheezy is the new stable
And jessie is the new testing.

The king is dead, long live the king!
2013-05-25 19:05:35 +00:00
Travis Cross
c8df04fc4b Allow setting compression level for dpkg-source
Apparently the Raspberry Pi blows up (out of memory) if you call
dpkg-source -z9 as it implicitly calls xz -9.  Thanks to Ken Rice for
running headlong into this.

Also note that while xz takes -0, dpkg-source won't take -z0, so we
check for this and make sure we call dpkg-source correctly.
2013-03-21 21:00:27 +00:00
Travis Cross
860d2aca57 Make a note of commands that must be run as root 2013-01-17 21:02:41 +00:00
Travis Cross
6ec38f1ae5 Correct getopts invocation for build-all -m
Thanks-to: Philip Hands <phil@hands.com>
2013-01-17 20:50:35 +00:00
Travis Cross
2df9d2e478 Remove the siren and ilbc code from the debian source package
The Siren code is non-free per DFSG, and the ILBC code is under
unclear licensing until we upgrade to the WebRTC version.
2012-12-19 17:55:47 +00:00
Travis Cross
53c24a93e0 debian: Add support for humanized version string 2012-09-23 07:49:21 +00:00
Travis Cross
5fd7643ab1 debian: style 2012-09-23 07:49:20 +00:00
Travis Cross
d98bb16b3d debian: Ensure date is calculated in UTC 2012-09-23 04:13:29 +00:00
Travis Cross
9b79922a51 Retry updating base image
If updating the base image fails, retry a few times.  If that doesn't
work, simply move on; the update usually fails because Debian is
updating its mirrors; it's not important that we be absolutely up to
date.
2012-06-25 08:55:48 +00:00
Travis Cross
f840eecdb8 debian: Add mechanism to specify modules.conf 2012-06-25 07:12:56 +00:00
Travis Cross
e38f0a1b02 debian: Correct alphabetization 2012-06-23 22:34:19 +00:00