Gentoo Archives: gentoo-commits

From: "Matthias Schwarzott (zzam)" <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-live: ChangeLog vdr-live-0.2.0.20110419.ebuild
Date: Sun, 03 Jul 2011 19:20:17
Message-Id: 20110703121315.7C5C12004B@flycatcher.gentoo.org
1 zzam 11/07/03 12:13:15
2
3 Modified: ChangeLog
4 Added: vdr-live-0.2.0.20110419.ebuild
5 Log:
6 Added new snapshot.
7
8 (Portage version: 2.1.10.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.27 media-plugins/vdr-live/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?rev=1.27&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?rev=1.27&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?r1=1.26&r2=1.27
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v
20 retrieving revision 1.26
21 retrieving revision 1.27
22 diff -u -r1.26 -r1.27
23 --- ChangeLog 13 Feb 2011 13:19:23 -0000 1.26
24 +++ ChangeLog 3 Jul 2011 12:13:15 -0000 1.27
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-plugins/vdr-live
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v 1.26 2011/02/13 13:19:23 hd_brummy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v 1.27 2011/07/03 12:13:15 zzam Exp $
30 +
31 +*vdr-live-0.2.0.20110419 (03 Jul 2011)
32 +
33 + 03 Jul 2011; Matthias Schwarzott <zzam@g.o>
34 + +vdr-live-0.2.0.20110419.ebuild:
35 + Added new snapshot.
36
37 *vdr-live-0.2.0.20110213 (13 Feb 2011)
38
39
40
41
42 1.1 media-plugins/vdr-live/vdr-live-0.2.0.20110419.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0.20110419.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0.20110419.ebuild?rev=1.1&content-type=text/plain
46
47 Index: vdr-live-0.2.0.20110419.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0.20110419.ebuild,v 1.1 2011/07/03 12:13:15 zzam Exp $
52
53 EAPI="3"
54
55 inherit vdr-plugin ssl-cert
56
57 DESCRIPTION="VDR Plugin: Web Access To Settings"
58 HOMEPAGE="http://live.vdr-developer.org"
59 #SRC_URI="http://live.vdr-developer.org/downloads/${P}.tar.gz"
60 SRC_URI="mirror://gentoo/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="pcre ssl"
66
67 DEPEND="media-video/vdr
68 >=dev-libs/tntnet-2.0[ssl=,sdk]
69 >=dev-libs/cxxtools-2.0
70 pcre? ( >=dev-libs/libpcre-8.12 )"
71
72 RDEPEND="${DEPEND}"
73
74 S="${WORKDIR}/${VDRPLUGIN}"
75
76 VDR_CONFD_FILE="${FILESDIR}/confd-0.2"
77 VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.2.sh"
78
79 make_live_cert() {
80 # ssl-cert eclass create invalide cert, create my own
81
82 SSL_ORGANIZATION="${SSL_ORGANIZATION:-VDR Plugin Live}"
83 SSL_COMMONNAME="${SSL_COMMONNAME:-`hostname -f`}"
84
85 echo
86 gen_cnf || return 1
87 echo
88 gen_key 1 || return 1
89 gen_csr 1 || return 1
90 gen_crt 1 || return 1
91 echo
92 }
93
94 src_prepare() {
95 vdr-plugin_src_prepare
96
97 #make it work with /bin/sh as indicated in the file header
98 sed -e "18s/==/=/" -i buildutil/version-util
99
100 sed -e "s/ERROR:/WARNING:/" -i tntconfig.cpp
101
102 if ! use pcre; then
103 sed -i "s:^HAVE_LIBPCRECPP:#HAVE_LIBPCRECPP:" Makefile
104 fi
105
106 if ! has_version ">=media-video/vdr-1.7.13"; then
107 sed -i "s:-include \$(VDRDIR)/Make.global:#-include \$(VDRDIR)/Make.global:" Makefile
108 fi
109 }
110
111 src_install() {
112 vdr-plugin_src_install
113
114 cd "${S}/live"
115 insinto /etc/vdr/plugins/live
116 doins -r *
117
118 chown vdr:vdr -R "${D}"/etc/vdr/plugins/live
119 }
120
121 pkg_postinst() {
122 vdr-plugin_pkg_postinst
123
124 elog "To be able to use all functions of vdr-live"
125 elog "you should emerge and enable"
126 elog "=media-plugins/vdr-epgsearch-0.9.25_beta* to search the EPG,"
127 elog "media-plugins/vdr-streamdev-0.5.0 for Live-TV streaming"
128 echo
129 elog "On first install use login:pass"
130 elog "\tadmin:live"
131 echo
132 ewarn "\t\tWARNiNG!!!"
133 einfo "\tBe carefull on testing the new feature:"
134 einfo "\tedit/rename/move recordings"
135 echo
136 ewarn "This is a developer snapshot"
137 einfo "On problems, use the stable amd64, x86 versions of"
138 einfo "dev-libs/tntnet dev-libs/cxxtools media-plugins/vdr-live"
139 echo
140 # Do not install live.{key,crt) SSL certificates if they already exist
141 if use ssl && [[ ! -f "${ROOT}"/etc/vdr/plugins/live/live.key \
142 && ! -f "${ROOT}"/etc/vdr/plugins/live/live.crt ]] ; then
143 make_live_cert
144 local base=$(get_base 1)
145 local keydir="/etc/vdr/plugins/live"
146 install -d "${ROOT}${keydir}"
147 install -m0400 "${base}.key" "${ROOT}${keydir}/live.key"
148 install -m0444 "${base}.crt" "${ROOT}${keydir}/live.crt"
149 chown vdr:vdr "${ROOT}"/etc/vdr/plugins/live/live.*
150 fi
151 }