Bug#918239: Consider splitting local channels and/or snmp into seperate binary package

Bernhard Schmidt berni at debian.org
Fri Jan 4 16:48:10 GMT 2019


Package: src:asterisk
Severity: wishlist

Filing this bug so I don't forget having looked at it ...

asterisk-modules currently contains app_jack, chan_alsa, chan_console and
chan_oss that offer a local audio channel (i.e. use asterisk as softphone with
your microphone and your speaker attached to your system). These are probably
not used very often, might even break the system by blocking the audio device
(Bug#821392) and bring some additional dependenices with them, including X11.

I did a very very simple test build with 

app_jack.so
chan_alsa.so
chan_console.so
chan_oss.so

moved from asterisk-modules to another binary package that is not automatically
installed. These are the numbers installing asterisk on a minimum sid container.

asterisk from sid
=================
0 upgraded, 214 newly installed, 0 to remove and 0 not upgraded.
Need to get 102 MB of archives.
After this operation, 518 MB of additional disk space will be used.

With --no-install-recommends
0 upgraded, 164 newly installed, 0 to remove and 0 not upgraded.
Need to get 69.6 MB of archives.
After this operation, 237 MB of additional disk space will be used.


experimental (-3 without snmp)
==============================
0 upgraded, 117 newly installed, 0 to remove and 0 not upgraded.
Need to get 46.4 MB of archives.
After this operation, 139 MB of additional disk space will be used.

With --no-install-recommends
0 upgraded, 95 newly installed, 0 to remove and 0 not upgraded.
Need to get 39.6 MB of archives.
After this operation, 111 MB of additional disk space will be used.

The large difference to sid comes from the embedded pjproject, which needs to
depend on god knows how many media libraries to do it's job as standalone SIP
UA, which is not necessary and thus not enabled in a pjproject build specific
for asterisk.

experimental (-4 with snmp)
===========================
0 upgraded, 127 newly installed, 0 to remove and 0 not upgraded.
Need to get 57.5 MB of archives.
After this operation, 193 MB of additional disk space will be used.

With --no-install-recommends

0 upgraded, 104 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.5 MB of archives.
After this operation, 165 MB of additional disk space will be used.

Note that installing libsnmp30 on that container alone has

0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.0 MB of archives.
After this operation, 53.9 MB of additional disk space will be used.


experimental build with split local channels
============================================
0 upgraded, 104 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.3 MB/53.9 MB of archives.
After this operation, 182 MB of additional disk space will be used.

0 upgraded, 78 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.7 MB/45.1 MB of archives.
After this operation, 150 MB of additional disk space will be used.

Packages that are pulled in by the local channels are thus

libasound2 libasound2-data
libasyncns0 libcaca0
libdbus-1-3
libflac8
libice6
libjack-jackd2-0
libopus0
libportaudio2
libpulse0
libresample1
libsamplerate0
libsdl1.2debian
libsm6
libsndfile1
libx11-6 libx11-data libx11-xcb1 libxau6 libxcb1 libxdmcp6 libxext6 libxi6
libxtst6
x11-common

I'm not sure whether the split is worth it in regards of dependecies. I've
disabled autoloading the modules in the recent experimental upload.

Now, splitting out or disabling SNMP would make a large difference. 

Bernhard



More information about the Pkg-voip-maintainers mailing list