debian/0000755000000000000000000000000012302656331007167 5ustar debian/watch0000644000000000000000000000012312223301244010204 0ustar version=3 http://georgi.unixsol.org/programs/tsdecrypt/ \ tsdecrypt-(.*)\.tar\.bz2 debian/tsdecrypt.docs0000644000000000000000000000000712223301244012047 0ustar README debian/copyright0000644000000000000000000000616412223301753011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: tsdecrypt Upstream-Contact: Georgi Chorbadzhiyski Source: http://georgi.unixsol.org/programs/tsdecrypt/ Comment: Upstream SCM is at: https://github.com/gfto/tsdecrypt License: GPL-2 Files: * Copyright: 2006-2011 Unix Solutions Ltd. License: GPL-2 Files: libfuncs/* libtsfuncs/* Copyright: 2006-2011 Unix Solutions Ltd. License: Expat Files: FFdecsa/* Copyright: 2007 Dark Avenger 2003-2004 fatih89r License: GPL-2+ Files: debian/* Copyright: 2012-2013 Alessio Treglia License: GPL-2+ License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/tsdecrypt.postinst0000644000000000000000000000045712223301244013013 0ustar #!/bin/sh set -e if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then update-alternatives --install /usr/bin/tsdecrypt \ tsdecrypt /usr/bin/tsdecrypt_dvbcsa 40 update-alternatives --install /usr/bin/tsdecrypt \ tsdecrypt /usr/bin/tsdecrypt_ffdecsa 20 fi #DEBHELPER# debian/changelog0000644000000000000000000000667012302656233011053 0ustar tsdecrypt (10.0-2) unstable; urgency=low [ Peter Michael Green ] * Remove inappropriate compiler flags. (Closes: #730415) * Fix clean target. [ Alessio Treglia ] * Bump Standards. -- Alessio Treglia Mon, 24 Feb 2014 14:52:09 +0000 tsdecrypt (10.0-1) unstable; urgency=low * New upstream release: - Add --ecm-only (-v) option. This allows processing of ECMs but without decoding the input stream. - Add --ecm-and-emm-only (-q) option. This allows processing of ECMs and EMMs but without decoding the input stream. - Set newcamd client id to 0x7878 (tsdecrypt). - Fixed regression that apeared in 9.0 which prevented the output from working if the output address was not multicast. - Add support for Griffin CAS and for DGCrypt CAS. - Add support for setting multicast source address /SSM/ (--input-source). - Add support for EMM filters similar to DVBAPI filters (match + mask). - Add support for EMM filters based on section length. - Add support for Irdeto CHID filtering (tested with Raduga). * Statically set DESTDIR and PREFIX in debian/rules to fix prevent build failures (Closes: #713528). Fix path creation too. * Use canonical form for VCS urls. * Update copyright holder info for Debian packaging, remove Comment field from License stanzas. * Bump Standards. -- Alessio Treglia Thu, 03 Oct 2013 15:50:12 +0100 tsdecrypt (9.0-1) unstable; urgency=low * New upstream release. -- Alessio Treglia Fri, 12 Oct 2012 01:08:09 +0100 tsdecrypt (8.1-1) unstable; urgency=low * New upstream release. * Remove all patches, applied upstream. * Explicitly build with "make dvbcsa" when building with libdvbcsa. * debian/copyright: - Some code are GPL-2 only, not GPL-2+. - Fix reference to GPL-2 license file. -- Alessio Treglia Mon, 30 Apr 2012 02:47:10 +0200 tsdecrypt (8.0-2) unstable; urgency=low * Make 'postrm remove' and 'postrm disappear' remove the /usr/bin/tsdecrypt alternative (Closes: #668971). * Don't remove the alternative on 'prerm deconfigure' to preserve user configuration. -- Alessio Treglia Mon, 16 Apr 2012 18:46:50 +0200 tsdecrypt (8.0-1) unstable; urgency=low * New upstream release: - Add --biss-key (-Q) option. This option enables BISS decryption. - Add FFdecsa support. In most cases FFdecsa decrypts faster than libdvcsa. - Add --const-cw (-Y) option. This option allows using of constant code word for decryption. - Display better timing information for ECMs and code word changes. - Filter special symbols in provider and service names before printing them. * debian/patches/1001-dont_strip_binaries.patch: - Don't install stripped binaries. * debian/patches/1002-bashisms.patch: - Fix bashism to prevent FTBFS. * Refresh other patches. * Compile tsdecrypt twice, one per library: - tsdecrypt_dvbcsa uses libdvbcsa's decrypting routines - tsdecrypt_ffdecsa uses FFdecsa's decrypting routines * Install alternatives to let users choose which CSA decrypting library is appropriate for them. * Install manpages. * Update debian/copyright. -- Alessio Treglia Sun, 15 Apr 2012 12:54:23 +0200 tsdecrypt (7.0-1) unstable; urgency=low * Initial release. (Closes: #667461) -- Alessio Treglia Wed, 04 Apr 2012 09:42:43 +0200 debian/tsdecrypt.lintian-overrides0000644000000000000000000000006112223301244014555 0ustar tsdecrypt: possible-gpl-code-linked-with-openssl debian/tsdecrypt.prerm0000644000000000000000000000017712223301244012254 0ustar #!/bin/sh set -e if [ "$1" = "remove" ] ; then update-alternatives --remove tsdecrypt /usr/bin/tsdecrypt fi #DEBHELPER# debian/tsdecrypt.postrm0000644000000000000000000000023112223301244012442 0ustar #!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "disappear" ] ; then update-alternatives --remove tsdecrypt /usr/bin/tsdecrypt fi #DEBHELPER# debian/control0000644000000000000000000000154212302655772010604 0ustar Source: tsdecrypt Section: video Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: debhelper (>= 7.0.50~), libdvbcsa-dev, libssl-dev Standards-Version: 3.9.5 Homepage: http://georgi.unixsol.org/programs/tsdecrypt/ Vcs-Git: git://anonscm.debian.org/pkg-multimedia/tsdecrypt.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/tsdecrypt.git Package: tsdecrypt Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: decrypt MPEG transport stream tsdecrypt reads incoming MPEG transport stream over UDP/RTP and then decrypts it using libdvbcsa and keys obtained from OSCAM or similar cam server. tsdecrypt communicates with CAM server using cs378x (camd35 over tcp) protocol or newcamd protocol. debian/compat0000644000000000000000000000000212223301244010355 0ustar 7 debian/rules0000755000000000000000000000103212302655664010253 0ustar #!/usr/bin/make -f export PREFIX=/usr export DESTDIR=$(CURDIR)/debian/tsdecrypt %: dh $@ override_dh_auto_configure: override_dh_auto_build: override_dh_auto_install: # Build with FFdecsa $(MAKE) ffdecsa mv tsdecrypt tsdecrypt_ffdecsa $(MAKE) distclean # Build against libdvbcsa $(MAKE) dvbcsa mv tsdecrypt tsdecrypt_dvbcsa # Install binaries mkdir -p $(DESTDIR)$(PREFIX)/bin install tsdecrypt_ffdecsa tsdecrypt_dvbcsa \ $(DESTDIR)$(PREFIX)/bin override_dh_auto_clean: dh_auto_clean rm -f FFdecsa_build_PARALLEL_*.log debian/source/0000755000000000000000000000000012223301244010457 5ustar debian/source/format0000644000000000000000000000001412223301244011665 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000004312223301244010161 0ustar tsdecrypt_ffdecsa tsdecrypt_dvbcsa debian/tsdecrypt.links0000644000000000000000000000022712223301244012243 0ustar usr/share/man/man1/tsdecrypt.1.gz usr/share/man/man1/tsdecrypt_dvbcsa.1.gz usr/share/man/man1/tsdecrypt.1.gz usr/share/man/man1/tsdecrypt_ffdecsa.1.gz debian/tsdecrypt.changelogs0000644000000000000000000000001212223301244013225 0ustar ChangeLog debian/gbp.conf0000644000000000000000000000006212223301244010574 0ustar [DEFAULT] pristine-tar = True compression = bzip2 debian/tsdecrypt.manpages0000644000000000000000000000001412223301244012710 0ustar tsdecrypt.1 debian/NEWS0000644000000000000000000000114712223301244007661 0ustar tsdecrypt (8.0-1) unstable; urgency=low Since this version, tsdecrypt supports two CSA decryption libraries, libdvbcsa and FFdecsa: - libdvbcsa is well tested and very fast with file input; generally, it is the best choice when one has to deal with already recorded streams - FFdecsa could be up to 40% faster than libdvbcsa on 32-bit systems tsdecrypt appends information about the decryption library used to its version string. Moreover, it is possible to use the --bench option to perform decryption speed tests. -- Alessio Treglia Sun, 15 Apr 2012 12:54:30 +0200 debian/patches/0000755000000000000000000000000012302655652010623 5ustar debian/patches/series0000644000000000000000000000004312302655652012035 0ustar avoid-inappropriate-compiler-flags debian/patches/avoid-inappropriate-compiler-flags0000644000000000000000000000236512302655652017433 0ustar Description: Avoid inappropriate compiler flags The tsdecrypt build system tries to be too clever and assumes that the system it is built on will be the system it is going to run on. This is inappropriate for Debian so we need to disable some of this logic. Author: Peter Michael Green --- tsdecrypt-10.0.orig/FFdecsa_init +++ tsdecrypt-10.0/FFdecsa_init @@ -106,26 +106,26 @@ test_ffdecsa_mode() { } # Check CPU and compiler flags -if cc_check -march=native -then - FFDECSA_CFLAGS="$FFDECSA_CFLAGS -march=native" -elif cc_check -march=pentium; then - FFDECSA_CFLAGS="$FFDECSA_CFLAGS -march=pentium" -fi +#if cc_check -march=native +#then +# FFDECSA_CFLAGS="$FFDECSA_CFLAGS -march=native" +#elif cc_check -march=pentium; then +# FFDECSA_CFLAGS="$FFDECSA_CFLAGS -march=pentium" +#fi OPTS="" FLAGS="" -for flag in mmx sse sse2 -do - if cpu_have $flag - then - OPTS="$OPTS $flag" - if cc_check -m$flag - then - FFDECSA_CFLAGS="$FFDECSA_CFLAGS -m$flag" - fi - fi -done +#for flag in mmx sse sse2 +#do +# if cpu_have $flag +# then +# OPTS="$OPTS $flag" +# if cc_check -m$flag +# then +# FFDECSA_CFLAGS="$FFDECSA_CFLAGS -m$flag" +# fi +# fi +#done log "Host CPU" "$(uname -m) $OPTS" log "FFdecsa CFLAGS" "$FFDECSA_CFLAGS"