Improve copy operation for satellite muxes - allow specify the dst LNB config

The previous code was creating wrong mux entries with references
to a LNB configuration used by the source adapter.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Allow restriction for one DVR configuration mapped to one user

In some use cases, it may be usefull to not allow selection of the
DVR configuration for the end-users. Map the DVR configuration by name
matching the username for these restricted users (DVR configuration must
be identical to the username, otherwise the default configuration is used).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Fix crash when cfg->dvr_config_name is NULL (default config)

As suggested by opdenkamp - the cfg->dvr_config_name may be NULL
in some cases. Add more restrictive checks in extjs_dvr() .
Fix crash when cfg->dvr_config_name is NULL (default config)

As suggested by opdenkamp - the cfg->dvr_config_name may be NULL
in some cases. Add more restrictive checks in extjs_dvr() .

This patch fixes the second location for the user check.
Javascript fix the improved mux-copy operation. The previous version
did not work with the DVB-T tuners (without satconf).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
cwc: Add EMM support for the Cryptoworks system

Add initial EMM support for Cryptoworks. Also add Irdeto CAID numbers
for Czech providers to the src/psi.c table.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
cwc: improve EMM handling for multiple readers with same CAS system

Add CAID filter to identify the correct reader for EMM messages. Previous
code sent all EMMs to all readers with different CAIDs but same CAS system.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
cwc: Cryptoworks - re-compose the EMM-S (shared) messages

The newcamd server expects composed EMM-S messages from 0x84 (EMM-SH)
and 0x84 (EMM-SB).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
cwc: Cryptoworks - removed debug lines introduced in last commit
Merge pull request #83 from perexg/fixes-cryptoworks

cwc: Add EMM support for the Cryptoworks system
Merge pull request #84 from perexg/fixes-emm

cwc: improve EMM handling for multiple readers with same CAS system
Merge pull request #70 from perexg/fixes-mux-copy

Improve copy operation for satellite muxes - allow specify the dst LNB cfg
Merge pull request #69 from perexg/fixes-dvrallcfg

Allow restriction for one DVR configuration mapped to one user
Fix the way we generate version tags inside the binary
build: Don't use OBJDIR, instead mkdir in each recipe
Rework file bundling and make configure take most standard args

Now ./configure should be able to be correctly invoked from standard
debian helper rules file
cwc: Use "per stream" update id for Cryptoworks and Viaccess CA composed emms

This fixes possible shared EMM messages composing issues when multiple
streams are sending EMMs to the card reader. Just make sure, that both
parts of compose messages are from one "stream".

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
cwc: Allow updating of EMMs only from one channel at a time

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Cleanup the debian/ directory and make it use more dh scripts and add entry points for Autobuild system
Bump