diff options
author | 2016-08-21 17:43:13 +0200 | |
---|---|---|
committer | 2016-08-21 17:43:13 +0200 | |
commit | b074d67aa2d971c9b4f63547c58d98bcd17ec2c4 (patch) | |
tree | 3630e9e03a7fb86c6cbcd3203542c081b26a554f | |
parent | media-plugins/vdr-dvbapi: bump; libdvbcsa support; clean up (diff) | |
download | devel-b074d67aa2d971c9b4f63547c58d98bcd17ec2c4.tar.gz devel-b074d67aa2d971c9b4f63547c58d98bcd17ec2c4.tar.bz2 devel-b074d67aa2d971c9b4f63547c58d98bcd17ec2c4.zip |
media-tv/oscam: bump
Package-Manager: portage-2.3.0
Manifest-Sign-Key: 0x93EB5F4DAA5832A1
-rw-r--r-- | media-tv/oscam/Manifest | 30 | ||||
-rw-r--r-- | media-tv/oscam/oscam-1.20_p20151228.ebuild | 162 |
2 files changed, 178 insertions, 14 deletions
diff --git a/media-tv/oscam/Manifest b/media-tv/oscam/Manifest index 1a4f5c7..114f812 100644 --- a/media-tv/oscam/Manifest +++ b/media-tv/oscam/Manifest @@ -5,27 +5,29 @@ AUX oscam.confd 2367 SHA256 b53928cacf84f9afe2d3d9c90e0dff9ec1515afd42ad95d9eb91 AUX oscam.initd 1202 SHA256 ae356e43349012cf8a82f64fb36ea0972940cb6bb2e6172304480da32e92a84c SHA512 a162570b57361e07ec233cb5e911075501b1537bc1291966fa53b20a106497a8f34a3c4baad97e8b813fe65491c0d99bde7b376b600d915a668dcdc4e6fa9e64 WHIRLPOOL d224d454b68a53983a2b8368240e1531585feb54682c3c42d23f9aed45a43d3b6ad7ba43604505690714ec407ba82454af13514245302e9c6789f29ddea3c60a AUX oscam.service 238 SHA256 4adf6e22ae68715b001d50c804f52032cf2d57071be922b63677aaf5b7f01d39 SHA512 00c97f6e585b06a432cf29f680fd77997383d313b09f7d6775c40117770165dab748888e0352a0091949c0b0481c84bfa99b5ae1dc2cdeac5e191180912f9580 WHIRLPOOL 405cc0236e648755d49821c793a0a7482b3c74df1a50ca56bd80c3a80e2ec9d198d4c76a6f25e2cb57917cef0579406f0c9b3a62d7fe0f620c174d9691ba6eb2 AUX oscam_watchdog.sh 744 SHA256 3b0f03dbfb48c564f85aa23693b6ff015f8f6696d2c6f7c7088edba194eccd1b SHA512 fa7e027ac01d8530869c7300f8fa565226b9695141cbca8d7925f7b5e4bbf67c64f449ba1e30bb7c6d3909c75f34a2b31ee582b251b6968e55c37d616ab2d929 WHIRLPOOL 622e00879323c6b2e90f5bc8a5015775be360a1f84ce79467028d078082f35bc60bc25df586ac703a53c312b155eea6c91e0d6efdd053a4b39b02035049c29c8 +DIST 2780c48789c8e1427df4078ea9b06e0b51594bbc.tar.gz 1140307 SHA256 23396c1e7090a93a1d948dba028b5046cc4481c43b9afe40155c72b4c83187e6 SHA512 34b06333522ea42510935516644fe9a6cea8cec75cc111624c12e0c152baaabb2bfd6608dd244e5cba9bcaaab84b5eee11a9dbaea3b14e357ea93ff107044ce2 WHIRLPOOL 37d9b0ced5344a58ddc469e9db17b09af74c16330e63c8a288527b6a4da5edfd6dbc79961aeefd09c8640783ad0ee59b94a91e874f98712909b47db1967dda0b DIST 563fbe362bbe9f7a1f8b03f1c66eebd8c53e1c94.tar.gz 1096713 SHA256 05ce230001c22cd812899c5d01e203d8ed7905c8cb8d6a36d1b33c277981efef SHA512 439accb6a5ab416af0aebe7f564cfd6ac5760051190379289ebeea7d8695650cfc3437027f4447092958d90d31849443d64d6db0b91835b4f9253673a5e8f24e WHIRLPOOL 2b6429c8fd176a28e439397471c131959ca2d32eaacd037b026ad0d2c6b7ca223b509dc3eea8953a649e2bf64779f307e091513a1ea6eac847d94621cb0ce62a EBUILD oscam-1.20_p20150429.ebuild 5357 SHA256 417b07752ebed3dd286997813eec929a7803b620e1a89f0614758a256f637a07 SHA512 e45f4079aceefcca88da939eb8788df53e88bacd055c2e98ec8b5dc73e988724b62408a93c7421a5a147192d43468f85890395a1bd72834951b950efb41f322c WHIRLPOOL 5fa23b21470aeb01b49210c8e4a3e807b3a478fff6fc9d2b9add79baf19402f3a00a757de32430d95d17633965792b3346c4fef7098f4c136274141da793e28c +EBUILD oscam-1.20_p20151228.ebuild 5357 SHA256 d882198ce7a5879b6e0f70fed5a1073e16fb566bbfb68bdef1b88be63c64f29b SHA512 7d704c24ee26e9057601299cfd73e5b824b3fad4ab385dcc671db074bbd7498407674b139ae28ce8aa1b8d5c4451394862d7a3426c265a64ac05ac6d970d1092 WHIRLPOOL f0b074563657485629d51b32de7fd85a01fa4ca529e52105feeeac41de1f989a0471147a92ff6ca5ed3ab6d89cea2fb3d57925bcb7c04ed6bf10bf9f0b1e8b48 EBUILD oscam-9999.ebuild 5808 SHA256 ada972123a3b7c041c3b0a6fde459799549346a25fd8df0e9fae1b49c7afb513 SHA512 e45f1eabce4aa915b16e4b6ab44aa829aaed31afe2885d84905f205147096643170155fb8cd7f699715bbbd953cc6d19572a76c88ae8a76698159e20b1c0a62c WHIRLPOOL 8d530a81661e55868c5e56aeff9a05d4ca9fe8917d3a1bdb17dedc94f13b15dcf40e9c3c00ae3a7b4e51ceaca5cc311c535af15a0dd40db1ec5f8ab8c887839f MISC metadata.xml 1986 SHA256 ae99ece3677294681f6ff4fe31144104c303c978b18ef9b1a70ed6df0cc19046 SHA512 ddcdfc353e2e597b46f369602fc35301883d6fc5b0bccc097673c3897ba34be39f92b7232ea11bb13b398fca70af0fbb8fe48d7c823da2a8d22b0fa9764f8466 WHIRLPOOL 7c7e6c2201bfa9b66ee99980a2ad25cab39699b61f352f51978bf8dcb080e6c6e0bac3abc32c15b52e7d41c6d8c6aa25e81dbc7082d5d269150391bba8dc7b30 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1 Comment: Signed-off-by: Jörg Bornkessel <hd_brummy@gentoo.org> -iQJ8BAEBCABmBQJXOLdaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJXucwLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3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FDkWKF80rKTF6PW4Onk27bW5DlF1YWCdR6Hnnkq84cPN +2VYPKy+tP8OJDw3rqieceKetgo+4JAoR6XvdFQrd1BarRQzY0dFkyDEYF4GtRwea +IdpjFYuC44/6jEnY+muNKWC0/FNDLkJDtaPNEmAyk/dm3MncvWl551Kc3GuvsLRJ +YWmlzfC6S6n34M6WF7OlwriZmi5ukKxzjjFkIGXnjpZr5ZML4Ug+3RigTRxmDhF8 +qDgbv3oFCXvzDBKik/USjyrY3xfOGc/B53pPSObhG+F0tRdue+nKUglO5ZmBsOIk +vQ8QjoUx9RvilRMCZSkdwsexAtyhoNnLTgXkHFIhQ7k83a0jrEGeInz8nQJqe70r +sgh7DzciaLjqFBTLt4G9yAxKFP2V6iSwlqrJNAx3RlLyha7FV8ySQy30hGFrLL7H +TJpklt6ncHVe3Ai+QV+/ +=35Qa -----END PGP SIGNATURE----- diff --git a/media-tv/oscam/oscam-1.20_p20151228.ebuild b/media-tv/oscam/oscam-1.20_p20151228.ebuild new file mode 100644 index 0000000..2894225 --- /dev/null +++ b/media-tv/oscam/oscam-1.20_p20151228.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils systemd + +GIT_REVISION="2780c48789c8e1427df4078ea9b06e0b51594bbc" +#GIT_DATE="20151228" #yyyymmdd + +DESCRIPTION="OSCam is an Open Source Conditional Access Module software" +HOMEPAGE="www.streamboard.tv/wiki/OSCam/de/" +SRC_URI="https://github.com/gfto/oscam/archive/${GIT_REVISION}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +PROTOCOLS="camd33 camd35 camd35_tcp cccam cccshare constcw gbox ghttp newcamd pandora radegast serial" +for share in ${PROTOCOLS}; do + IUSE_PROTOCOLS+=" +protocol_${share}" +done + +READERS="bulcrypt conax cryptoworks dgcrypt dre griffin irdeto nagra seca tongfang viaccess videoguard" +for card in ${READERS}; do + IUSE_READERS+=" +reader_${card}" +done + +CARD_READERS="phoenix internal sc8in1 mp35 smargo smartreader db2com stapi" +for cardreader in ${CARD_READERS}; do + IUSE_CARDREADERS+=" +cardreader_${cardreader}" +done + +IUSE="${IUSE_PROTOCOLS} ${IUSE_READERS} ${IUSE_CARDREADERS} + +anticasc cacheex cw_cycle_check debug +dvbapi ipv6 irdeto_guessing lcd led loadbalancing +monitor pcsc +reader +ssl touch usb +www" + +REQUIRED_USE=" + protocol_camd35_tcp? ( protocol_camd35 ) + reader_nagra? ( reader ) + reader_irdeto? ( reader irdeto_guessing ) + reader_conax? ( reader ) + reader_cryptoworks? ( reader ) + reader_seca? ( reader ) + reader_viaccess? ( reader ) + reader_videoguard? ( reader ) + reader_dre? ( reader ) + reader_tongfang? ( reader ) + reader_bulcrypt? ( reader ) + reader_griffin? ( reader ) + reader_dgcrypt? ( reader ) + cardreader_db2com? ( reader ) + cardreader_internal? ( reader ) + cardreader_mp35? ( reader usb ) + cardreader_phoenix? ( reader usb ) + cardreader_sc8in1? ( reader usb ) + cardreader_smargo? ( reader usb ) + cardreader_smartreader? ( reader usb ) + cardreader_stapi? ( reader ) + pcsc? ( reader usb ) +" + +DEPEND="dev-util/cmake" +RDEPEND="${DEPEND} + dev-libs/openssl + usb? ( virtual/libusb:1 ) + pcsc? ( sys-apps/pcsc-lite )" + +RESTRICT="mirror strip" + +S="${WORKDIR}/${PN}-${GIT_REVISION}" + +src_prepare() { + sed -i "s:share/doc/oscam:share/doc/oscam-${PV}:" CMakeLists.txt || die "Failed to modify doc path" + + epatch_user +} + +src_configure() { + local mycmakeargs=" + -DCS_CONFDIR=/etc/oscam + -DCMAKE_VERBOSE_MAKEFILE=ON + -INCLUDED=Yes + $(cmake-utils_use debug WITH_DEBUG) + $(cmake-utils_use www WEBIF) + $(cmake-utils_use touch TOUCH) + $(cmake-utils_use dvbapi HAVE_DVBAPI) + $(cmake-utils_use irdeto_guessing IRDETO_GUESSING) + $(cmake-utils_use anticasc CS_ANTICASC) + $(cmake-utils_use monitor MODULE_MONITOR) + $(cmake-utils_use ssl WITH_SSL) + $(cmake-utils_use loadbalancing WITH_LB) + $(cmake-utils_use cacheex CS_CACHEEX) + $(cmake-utils_use led LEDSUPPORT) + $(cmake-utils_use lcd LCDSUPPORT) + $(cmake-utils_use ipv6 IPV6SUPPORT) + $(cmake-utils_use cw_cycle_check CW_CYCLE_CHECK) + $(cmake-utils_use protocol_camd33 MODULE_CAMD33) + $(cmake-utils_use protocol_camd35 MODULE_CAMD35) + $(cmake-utils_use protocol_camd35_tcp MODULE_CAMD35_TCP) + $(cmake-utils_use protocol_newcamd MODULE_NEWCAMD) + $(cmake-utils_use protocol_cccam MODULE_CCCAM) + $(cmake-utils_use protocol_cccshare MODULE_CCCSHARE) + $(cmake-utils_use protocol_gbox MODULE_GBOX) + $(cmake-utils_use protocol_radegast MODULE_RADEGAST) + $(cmake-utils_use protocol_serial MODULE_SERIAL) + $(cmake-utils_use protocol_constcw MODULE_CONSTCW) + $(cmake-utils_use protocol_pandora MODULE_PANDORA) + $(cmake-utils_use protocol_ghttp MODULE_GHTTP) + $(cmake-utils_use reader WITH_CARDREADER) + $(cmake-utils_use reader_nagra READER_NAGRA) + $(cmake-utils_use reader_irdeto READER_IRDETO) + $(cmake-utils_use reader_conax READER_CONAX) + $(cmake-utils_use reader_cryptoworks READER_CRYPTOWORKS) + $(cmake-utils_use reader_seca READER_SECA) + $(cmake-utils_use reader_viaccess READER_VIACCESS) + $(cmake-utils_use reader_videoguard READER_VIDEOGUARD) + $(cmake-utils_use reader_dre READER_DRE) + $(cmake-utils_use reader_tongfang READER_TONGFANG) + $(cmake-utils_use reader_bulcrypt READER_BULCRYPT) + $(cmake-utils_use reader_griffin READER_GRIFFIN) + $(cmake-utils_use reader_dgcrypt READER_DGCRYPT) + $(cmake-utils_use cardreader_phoenix CARDREADER_PHOENIX) + $(cmake-utils_use cardreader_internal CARDREADER_INTERNAL) + $(cmake-utils_use cardreader_sc8in1 CARDREADER_SC8IN1) + $(cmake-utils_use cardreader_mp35 CARDREADER_MP35) + $(cmake-utils_use cardreader_smargo CARDREADER_SMARGO) + $(cmake-utils_use cardreader_smartreader CARDREADER_SMART) + $(cmake-utils_use cardreader_db2com CARDREADER_DB2COM) + $(cmake-utils_use cardreader_stapi CARDREADER_STAPI) + " + + use usb && mycmakeargs="-DSTATIC_LIBUSB=0 ${mycmakeargs}" + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use cardreader_smargo; then + dobin "${WORKDIR}"/"${P}"_build/utils/list_smargo + fi + + dobin "${FILESDIR}/oscam_watchdog.sh" || die "dobin oscam_watchdog.sh failed" + + insinto "/etc/${PN}" + doins -r Distribution/doc/example/* + fperms 0755 /etc/${PN} # ??? all executable ??? + + systemd_dounit "${FILESDIR}/${PN}.service" + + newinitd "${FILESDIR}/${PN}.initd" oscam + newconfd "${FILESDIR}/${PN}.confd" oscam + + keepdir "/var/log/${PN}/emm" +} + +pkg_postinst() { + einfo "Please refer to the wiki for assistance with the setup" + einfo "located at http://www.streamboard.tv/wiki/OSCam/en" +} |