[Freeswitch-users] building debian packages 1.5.x

Leo Noordergraaf leo.noordergraaf at deanconnect.nl
Fri Oct 3 12:05:36 MSD 2014


Hi Bernhard,

I tried that by creating a branch and checking in the modified bootstrap.sh (otherwise util.sh complains).
The result is that the creating of the .deb files was skipped.
The only files that were generated are:
>> > -rw-r--r--  1 root staff   5652480 Oct  1 13:31 freeswitch_1.5.14b+git~20141001T113052Z~310f18982f.orig.tar.xz
>> > -rw-r--r--  1 root staff     49816 Oct  1 13:41 freeswitch_1.5.14b+git~20141001T113428Z~310f18982f-1~wheezy+1.debian.tar.xz
>> > -rw-r--r--  1 root staff      9880 Oct  1 13:41 freeswitch_1.5.14b+git~20141001T113428Z~310f18982f-1~wheezy+1.dsc
>> > -rw-r--r--  1 root staff     11847 Oct  1 13:41 freeswitch_1.5.14b+git~20141001T113428Z~310f18982f-1~wheezy+1_source.changes
>> > -rw-r--r--  1 root staff  85060824 Oct  1 13:41 freeswitch_1.5.14b+git~20141001T113428Z~310f18982f.orig.tar.xz
(those are actually from a different experiment but the fileset was the same).

Using util.sh build-deb with the .dsc file for a single module failed as well with compile time errors.

Thanks for looking into this though!
Leo

On 02 Oct 2014, at 22:58, Bernhard Wendel <bernhard at sessionbird.com> wrote:

> You can try commenting out line #22 in debian/bootstrap.sh (see https://stash.freeswitch.org/projects/FS/repos/freeswitch/browse/debian/bootstrap.sh#22 ).
> This list looks like a blacklist of mods, that shouldn't be packaged.
> 
> Regards,
> Bernhard
> 
> On 01.10.2014 18:00, Brian West wrote:
>> It probably doesn't package mod_sangoma_codec, If you want that done you'll need to do some work to add it and submit a patch, I suspect its not packaged due to non-free components required.
>> 
>> On Wed, Oct 1, 2014 at 10:27 AM, Leo Noordergraaf <leo.noordergraaf at deanconnect.nl> wrote:
>> Brian,
>> 
>> Thanks for the reply.
>> 
>> I have cloned the repository.
>> I did do debian/util.sh, the problem is that
>> a) it creates packages not just for 64bit wheezy but also 32bit squeeze and others
>> b) it fails to include mod-sangoma-codec
>> 
>> Especially b is an issue since we use these cards, so I'm looking for a command that includes at least this package with the others.
>> It is probably excluded because it belongs in the non-free section but using the option -f non-dfsg did not help.
>> 
>> Hope you can help.
>> Leo
>> 
>> 
>> On 01 Oct 2014, at 17:05, Brian West <brian at freeswitch.org> wrote:
>> 
>> > apt-get install git reprepro
>> > git clone https://stash.freeswitch.org/scm/fs/freeswitch.git freeswitch.git
>> > cd freeswitch.git
>> > git pull && time (./debian/util.sh build-all -j -bin -z9 -v1.4.8~1)
>> >
>> >
>> >
>> > On Wed, Oct 1, 2014 at 4:52 AM, Leo Noordergraaf <leo.noordergraaf at deanconnect.nl> wrote:
>> > Hi,
>> >
>> > I use the command: debian/util.sh build-all -m non-dfsg -a amd64 -c wheezy -i -j -n -z 9
>> > as per debian/README.source but that doesn't build the mod-sangoma-codec package.
>> >
>> > So I used: debian/util.sh build-all -a amd64 -c wheezy -ibnj -z9  -f ../modules.conf
>> > where modules.conf contains the list of packages I want to include.
>> >
>> > I've tried several different combinations of options but non of those create any .deb files at all.
>> > All I get are the files:
>> > -rw-r--r--  1 root staff   5652480 Oct  1 13:31 freeswitch_1.5.14b+git~20141001T113052Z~310f18982f.orig.tar.xz
>> > -rw-r--r--  1 root staff     49816 Oct  1 13:41 freeswitch_1.5.14b+git~20141001T113428Z~310f18982f-1~wheezy+1.debian.tar.xz
>> > -rw-r--r--  1 root staff      9880 Oct  1 13:41 freeswitch_1.5.14b+git~20141001T113428Z~310f18982f-1~wheezy+1.dsc
>> > -rw-r--r--  1 root staff     11847 Oct  1 13:41 freeswitch_1.5.14b+git~20141001T113428Z~310f18982f-1~wheezy+1_source.changes
>> > -rw-r--r--  1 root staff  85060824 Oct  1 13:41 freeswitch_1.5.14b+git~20141001T113428Z~310f18982f.orig.tar.xz
>> >
>> > So, what am I doing wrong?
>> >
>> > I just cloned the repository and called debian/util.sh without setting up a pbuilder environment.
>> > Is this the proper procedure?
>> >
>> > Also, since I'm building/packaging on wheezy exclusively for deployment on wheezy, I don't really need this pbuilder stuff.
>> > Can I do without and if so how? It is really slow.
>> >
>> > Leo
>> >
>> >
>> > _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://confluence.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > 
>> > 
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>> >
>> >
>> > --
>> > Brian West
>> > brian at freeswitch.org
>> >
>> >
>> >
>> > Twitter: @FreeSWITCH , @briankwest
>> > http://www.freeswitchbook.com
>> > http://www.freeswitchcookbook.com
>> >
>> > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
>> > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
>> >
>> > _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://confluence.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > 
>> > 
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>> 
>> 
>> 
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>> 
>> 
>> 
>> -- 
>> Brian West
>> brian at freeswitch.org
>> 
>> 
>> 
>> Twitter: @FreeSWITCH , @briankwest
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>> 
>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
>> 
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: 
>> 
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> Official FreeSWITCH Sites
>> 
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> FreeSWITCH-users mailing list
>> 
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> 
>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> 
> 
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list