diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
commit | f70601e0934acd62f6c5d06c5ede4cc607179514 (patch) | |
tree | 0b337390375de04b950fc4b45edc0f895a4701a4 /media-plugins/vdr-live | |
parent | b2be182d49eea46686b5cf2680d457df61e89dc4 (diff) |
gentoo resync : 07.07.2018
Diffstat (limited to 'media-plugins/vdr-live')
-rw-r--r-- | media-plugins/vdr-live/Manifest | 8 | ||||
-rw-r--r-- | media-plugins/vdr-live/files/confd-2.3 | 29 | ||||
-rw-r--r-- | media-plugins/vdr-live/files/rc-addon-2.3.sh | 30 | ||||
-rw-r--r-- | media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild | 4 | ||||
-rw-r--r-- | media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r2.ebuild | 4 | ||||
-rw-r--r-- | media-plugins/vdr-live/vdr-live-2.3.1.ebuild | 99 |
6 files changed, 168 insertions, 6 deletions
diff --git a/media-plugins/vdr-live/Manifest b/media-plugins/vdr-live/Manifest index df0338214285..d81cd944b7a0 100644 --- a/media-plugins/vdr-live/Manifest +++ b/media-plugins/vdr-live/Manifest @@ -1,12 +1,16 @@ AUX confd 125 BLAKE2B 798765df74a0f41989d1d937600239760383470b52a0498c81f583c488de58d27c8ab2e0b1cbb3dfc346b86a4a3efccf9f73c0eb416c23454fa0c7c147758f9f SHA512 c69a6b1a99f86e9271b925439bb08acf7ab65ebc75b354197eb2668996af966d047a99b1c712efac6efbc031fd9b61d2c90f45331aed74a9093f24982c307505 AUX confd-0.2 467 BLAKE2B e827ae5ec7cdeb9211574f4402885aa487ba969e6ecf74f4c6e807b1eae78aa85fea236e682a83e9643c2154ed827ace4e9651dfa8332f918ae0f4eacd0d4854 SHA512 bea6f86cb590199def38df9ff4f462c6e0462d0623c5fdb6b416cffb49b9966ccbd7f364a52bfe702e1c638f3a97873e0ac019d246d3c84b88c58060ab004c51 AUX confd-0.3 594 BLAKE2B e4e342ce5e7379d0a84ce67644a4011c2978140488f9f1a71c135bb769c8547d6362481526d7f51509e00250a10bb9e4d4a03fee64fa97db1819c5b45243a9db SHA512 d2fa96fdbe1a00fa9f1181b36fa43f2fd2f28a1d270671b8f6c422fc8309b625dc64b8425551d9ef9db2b0929d748555bfdca16349126f78f439c4fe366969e0 +AUX confd-2.3 594 BLAKE2B e4e342ce5e7379d0a84ce67644a4011c2978140488f9f1a71c135bb769c8547d6362481526d7f51509e00250a10bb9e4d4a03fee64fa97db1819c5b45243a9db SHA512 d2fa96fdbe1a00fa9f1181b36fa43f2fd2f28a1d270671b8f6c422fc8309b625dc64b8425551d9ef9db2b0929d748555bfdca16349126f78f439c4fe366969e0 AUX rc-addon-0.2.sh 489 BLAKE2B 770e03cb0dd21a66589a1838f19785d22378ea5fa6c9206c6ad0d0ec9a5bb86089d6b157758fa7d3d43532e2ffbe81853bdc62f0ecd51ec68940d1486d7b707b SHA512 f42c6e6e03ba33e15c02fc3b42faa15b822d78944c4e29432c230fbc75e636cac6ce64efbed0521965a4fc4054a1a9c9ced0e25a5e8b44fd16332dc5c5269ff2 AUX rc-addon-0.3.sh 619 BLAKE2B a6d994ef6476f17ba558a778ce13a4a72d6c513d10cd2ce43dee8a7ea598682bbd83e27759f1e53644b7f4046274559cf5cc9614775c5d1b05934819b6262604 SHA512 c07a13a91f6f0d2f5ad990545875adac161a61d944053c19cf43e1252c18e9e98127cafc704d5a729dcbc887576f83ce78413deac8c35fad5962f1e769c36b93 +AUX rc-addon-2.3.sh 619 BLAKE2B a6d994ef6476f17ba558a778ce13a4a72d6c513d10cd2ce43dee8a7ea598682bbd83e27759f1e53644b7f4046274559cf5cc9614775c5d1b05934819b6262604 SHA512 c07a13a91f6f0d2f5ad990545875adac161a61d944053c19cf43e1252c18e9e98127cafc704d5a729dcbc887576f83ce78413deac8c35fad5962f1e769c36b93 AUX rc-addon.sh 180 BLAKE2B b8df7fdcd9377997d7ac4906b365de30f6ed7642dd6b48d5e3410f87fcb3cc3121888e61d42fbaed483f38f4d73449b2f4eaecafe9e5f045cb061d2edd76c301 SHA512 2bdf0e809148bbeb33ede687d40332b26dfaa2dc8be2e743f7c56cb19f572ff30e88ceac8c80602b8a39e0dc1657cd79f7afa1b8993b37714a400f7b1384f622 AUX vdr-live-0.3.0_p20130504-c++11.patch 5995 BLAKE2B 98d91c9d579c5b7e2843bb92bb73ce602af72608182f307d2ff6853ba10405d3410245a856c94b8ee8e4b2bad708e2ff2d184836cc5fafea9b106f88ef3234c1 SHA512 88e66be9541a8c26821187c9732afba70df725b3b6e4ae52c3a343211ff1e3fcc78a577028d62d31f5f96f4ff542ab87ad252c2d794563b62c177c686e5b5adc AUX vdr-live-0.3.0_p20130504_vdr-2.1.2.diff 2722 BLAKE2B 021d4470ec84e7912b57b79a706c977ddb1b5ce67880dbdcf0b4bbc5cce7ad3646d05e89d2b31791f91a4af137e8a3e5995ff79580a8db7d5347b7c5a69ceaf1 SHA512 813e17202fb9dd921e38492127ad8518fc4aa2f6240ce9284990bf3e0a40c04b3b56efcaf667ce5f4aedf9b6e76422e2bb73c3218d124f3d8452b3b7979ba0b2 +DIST release_2-3-1.tar.bz2 703327 BLAKE2B 70724894a4abf2f94d682602d722b3d015cefefa7c9daf2dae35fc84bff1d950539c916d6d97e39565e87e8e7d841277ad14e137238026b25f73b1b288fa18f5 SHA512 f943c2aa477ca943b2015eb0b49a650e5c9e5cc124549b68d36b56a0ae6344a8d32ac3c4f213ab3cb91794ae569d3ed14a84168f45bf395e90536992078bce41 DIST vdr-live-0.3.0_p20130504.tar.bz2 6348021 BLAKE2B 64567a037dd283d005727b993053609e7c46784de67bcbd9afb4f68edd03cec494e6eca6c497ac578928de92c1d21b2519867c014cfd11ace79e957fc5d487d1 SHA512 7a238a4567f90448b7813366dbdb5112ab98079fd5a2c9d59d09273853fd62ad520ca9ad373704a8888eb7c25119772421fe998d87069647c40d6d2d869e09c1 -EBUILD vdr-live-0.3.0_p20130504-r1.ebuild 2480 BLAKE2B e7512363ac0a5421bea7dab39e509a34de56530b6a10b5c7e877c9791ac7ee137bf3cdbc7a0838ad035fbbca8da8ffa87281164e1d788aa806eb0a0cc2611805 SHA512 2c2469249f5e2189a3e251c5df75f4dc8cedf9213211957f91deabf48efeb4f7bcb16d2f210a75e02939511b25dd0390f68fd58ede35a46d43b02d253563e8d7 -EBUILD vdr-live-0.3.0_p20130504-r2.ebuild 2498 BLAKE2B 9bc8be0d6c4a96c75cfd92eaea4b3022a12e8ae8af8d101f6516180ca1af11b7acb14d7168d5c1b2faf13c9027580ea8f15a519ec1cb22d3a76af412e79f8049 SHA512 13d00b1869d0eb2a73308b68765b5dcc811bc7b4cbe4e1ab10fd17bac04ee4049334bac56574a235ac041ca1c40b64c3ab571fd9627acdc76044c060afe3c902 +EBUILD vdr-live-0.3.0_p20130504-r1.ebuild 2480 BLAKE2B 7504d6a210309b38f1f14b941481d45004c89723118c1b153e69191b36ccf1c6c4d987e9e6be7ec43bed00e62e58a96d4814e082e06c60339ae9ea17a8efde80 SHA512 07a8f8181755db85a08a79e5f57da1cd01c6f49116d22ae0e530a09d17dc6f4070d5749e8da551ca60da58c48ad294b4ab2871a891be85765ea71fdcda9559e7 +EBUILD vdr-live-0.3.0_p20130504-r2.ebuild 2498 BLAKE2B b79b61c5bfc8bfbe7f5269a550e15d2df2de79b6a91597813867a2f9a54b573eac46381d19c8d6133a3a304ff85bb4d30f3e43b82dbff699206824a4015830fb SHA512 ede04c06de104f5a001a1b4bf9be572bcd7d2fceec885defb4c8b6168342398c4a35806f85bf92fae9fefa1efaad3effc197bfa097d95af33e0ce77c56dc2b13 +EBUILD vdr-live-2.3.1.ebuild 2330 BLAKE2B a981a8c33de178923e1e5f68edb02fac21f4196ad4e3e0ec4c3e8982926ed234eaf1cf3d64482e545c49cd7a7c9c66cf9dca0d3d52a20cf1eea07e3c7a508fa9 SHA512 9d2012405c461aef5f3047bcec1b247eb5896d838f7548681cf2581be179afb9f8a743bc2b585fd3daf9227ec2fd68d542a9be60f492fea6c4f5057fb31c4f50 MISC metadata.xml 243 BLAKE2B 6287033e852823666551691771936aead83e7394d6c41f6f5a43a4c21309300e6fcfd90e8a87a82eb90433f86344426c07f2fb7833e7226d2e3c4df9fda1d2d6 SHA512 f7d6e467a5a96c0afdd42df3c0f3866240defc5bbea5ccddf4c0b1a3c004225af5d46dab67d45a5ac34535391584f3b3727fe79ef6cef1a11413636bbc35cf06 diff --git a/media-plugins/vdr-live/files/confd-2.3 b/media-plugins/vdr-live/files/confd-2.3 new file mode 100644 index 000000000000..cb1dce04dfb5 --- /dev/null +++ b/media-plugins/vdr-live/files/confd-2.3 @@ -0,0 +1,29 @@ +# configuration of media-plugins/vdr-live + +# for people who want more secure +# with ssl access. +# on usage, you have to install vdr-live +# with USE="ssl" +# +# SSL ADDRESS --> https://<your-ip>:8443/ +# +# allowed values: yes no +# default: no +#LIVE_USE_SSL="yes" + +# default given portnumber +# only changes needed on problems +# +#LIVE_PORT="8008" +#LIVE_SSL_PORT="8443" + +# bind to these IP addresses +# default, your IP will automaticly detected +# +LIVE_BIND_IPS="127.0.0.1" + +# for people who have epgimges +# default: /var/cache/vdr/epgimges +# +# set this to your own path, if needed +#EPGIMAGES_DIR=" " diff --git a/media-plugins/vdr-live/files/rc-addon-2.3.sh b/media-plugins/vdr-live/files/rc-addon-2.3.sh new file mode 100644 index 000000000000..1372e09d56f0 --- /dev/null +++ b/media-plugins/vdr-live/files/rc-addon-2.3.sh @@ -0,0 +1,30 @@ +# +# zzam@g.o +# hd_brummy@g.o + +EPGIMAGES_DIR="/var/cache/vdr/epgimages" + +plugin_pre_vdr_start() { + if [ "${LIVE_USE_SSL:=no}" = "yes" ]; then + if [ -n "${LIVE_SSL_PORT}" ]; then + add_plugin_param "-s ${LIVE_SSL_PORT}" + fi + + add_plugin_param "--cert=/etc/vdr/plugins/live/live.pem" + add_plugin_param "--key=/etc/vdr/plugins/live/live-key.pem" + + else + if [ -n "${LIVE_PORT}" ]; then + add_plugin_param "-p ${LIVE_PORT}" + fi + fi + + if [ -d ${EPGIMAGES_DIR} ]; then + add_plugin_param "--epgimages=${EPGIMAGES_DIR}" + fi + + local ip + for ip in ${LIVE_BIND_IPS:=`hostname -i`}; do + add_plugin_param "-i ${ip}" + done +} diff --git a/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild index 41c00b51519b..6041faafd99e 100644 --- a/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild +++ b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit vdr-plugin-2 ssl-cert diff --git a/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r2.ebuild b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r2.ebuild index 9d7f6bdbaf5d..0dbcc0a04730 100644 --- a/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r2.ebuild +++ b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit vdr-plugin-2 ssl-cert diff --git a/media-plugins/vdr-live/vdr-live-2.3.1.ebuild b/media-plugins/vdr-live/vdr-live-2.3.1.ebuild new file mode 100644 index 000000000000..ef19ad4ee495 --- /dev/null +++ b/media-plugins/vdr-live/vdr-live-2.3.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vdr-plugin-2 ssl-cert + +MY_P="release_2-3-1" + +DESCRIPTION="VDR Plugin: Web Access To Settings" +HOMEPAGE="http://live.vdr-developer.org" +SRC_URI="https://projects.vdr-developer.org/git/vdr-plugin-live.git/snapshot/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="pcre ssl" + +DEPEND="media-video/vdr + >=dev-libs/tntnet-2.2.1[ssl=] + >=dev-libs/cxxtools-2.2.1 + pcre? ( >=dev-libs/libpcre-8.12[cxx] )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +VDR_CONFD_FILE="${FILESDIR}/confd-2.3" +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-2.3.sh" + +make_live_cert() { + # TODO: still true? + # ssl-cert eclass creates a "invalid" cert, create our own one + local base=$(get_base 1) + local keydir="/etc/vdr/plugins/live" + + SSL_ORGANIZATION="${SSL_ORGANIZATION:-VDR Plugin Live}" + SSL_COMMONNAME="${SSL_COMMONNAME:-`hostname -f`}" + + echo + gen_cnf || return 1 + echo + gen_key 1 || return 1 + gen_csr 1 || return 1 + gen_crt 1 || return 1 + echo + + install -d "${ROOT}${keydir}" + install -m0400 "${base}.key" "${ROOT}${keydir}/live-key.pem" + install -m0444 "${base}.crt" "${ROOT}${keydir}/live.pem" + chown vdr:vdr "${ROOT}"/etc/vdr/plugins/live/live{,-key}.pem +} + +src_prepare() { + default + + # remove untranslated language files + rm "${S}"/po/{ca_ES,da_DK,el_GR,et_EE,hr_HR,hu_HU,nl_NL,nn_NO,pt_PT,ro_RO,sl_SI,tr_TR}.po + + vdr-plugin-2_src_prepare + + if ! use pcre; then + sed -i "s:^HAVE_LIBPCRECPP:#HAVE_LIBPCRECPP:" Makefile || die + fi +} + +src_install() { + vdr-plugin-2_src_install + + insinto /usr/share/vdr/plugins/live + doins -r live/* + + fowners -R vdr:vdr /usr/share/vdr/plugins/live +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog "To be able to use all functions of vdr-live" + elog "you should emerge and enable" + elog "media-plugins/vdr-epgsearch to search the EPG," + elog "media-plugins/vdr-streamdev for Live-TV streaming" + + elog "The default username/password is:" + elog "\tadmin:live" + + if use ssl ; then + if path_exists -a "${ROOT}"/etc/vdr/plugins/live/live.pem; then + einfo "found an existing SSL cert, to create a new SSL cert, run:\n" + einfo "emerge --config ${PN}" + else + einfo "No SSL cert found, creating a default one now" + make_live_cert + fi + fi +} + +pkg_config() { + make_live_cert +} |