1 |
idl0r 12/06/04 01:08:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vdr-live-0.2.0_p20120325.ebuild |
5 |
Removed: vdr-live-0.2.0.20120114-r1.ebuild |
6 |
vdr-live-0.2.0.20110419-r1.ebuild |
7 |
Log: |
8 |
Version bump, some cleanup and minor ebuild fixes |
9 |
|
10 |
(Portage version: 2.2.0_alpha109/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.32 media-plugins/vdr-live/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?rev=1.32&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?rev=1.32&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?r1=1.31&r2=1.32 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v |
22 |
retrieving revision 1.31 |
23 |
retrieving revision 1.32 |
24 |
diff -u -r1.31 -r1.32 |
25 |
--- ChangeLog 2 Apr 2012 20:30:50 -0000 1.31 |
26 |
+++ ChangeLog 4 Jun 2012 01:08:59 -0000 1.32 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for media-plugins/vdr-live |
29 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v 1.31 2012/04/02 20:30:50 idl0r Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v 1.32 2012/06/04 01:08:59 idl0r Exp $ |
32 |
+ |
33 |
+*vdr-live-0.2.0_p20120325 (04 Jun 2012) |
34 |
+ |
35 |
+ 04 Jun 2012; Christian Ruppert <idl0r@g.o> |
36 |
+ +vdr-live-0.2.0_p20120325.ebuild, -vdr-live-0.2.0.20110419-r1.ebuild, |
37 |
+ -vdr-live-0.2.0.20120114-r1.ebuild, -files/vdr-1.7.27-compatibility.patch, |
38 |
+ +files/vdr-1.7.28-compatibility.patch, +files/vdr-live_pcre.patch: |
39 |
+ Version bump, some cleanup and minor ebuild fixes |
40 |
|
41 |
*vdr-live-0.2.0.20120114-r1 (02 Apr 2012) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 media-plugins/vdr-live/vdr-live-0.2.0_p20120325.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0_p20120325.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0_p20120325.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: vdr-live-0.2.0_p20120325.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0_p20120325.ebuild,v 1.1 2012/06/04 01:08:59 idl0r Exp $ |
56 |
|
57 |
EAPI="4" |
58 |
|
59 |
inherit vdr-plugin-2 ssl-cert toolchain-funcs |
60 |
|
61 |
DESCRIPTION="VDR Plugin: Web Access To Settings" |
62 |
HOMEPAGE="http://live.vdr-developer.org" |
63 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="pcre ssl" |
69 |
|
70 |
DEPEND="media-video/vdr |
71 |
>=dev-libs/tntnet-2.0[ssl=,sdk] |
72 |
>=dev-libs/cxxtools-2.0 |
73 |
pcre? ( >=dev-libs/libpcre-8.12[cxx] )" |
74 |
RDEPEND="${DEPEND}" |
75 |
|
76 |
VDR_CONFD_FILE="${FILESDIR}/confd-0.2" |
77 |
VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.2.sh" |
78 |
|
79 |
S="${WORKDIR}/${P}" |
80 |
|
81 |
make_live_cert() { |
82 |
# TODO: still true? |
83 |
# ssl-cert eclass creates a "invalid" cert, create our own one |
84 |
local base=$(get_base 1) |
85 |
local keydir="/etc/vdr/plugins/live" |
86 |
|
87 |
SSL_ORGANIZATION="${SSL_ORGANIZATION:-VDR Plugin Live}" |
88 |
SSL_COMMONNAME="${SSL_COMMONNAME:-`hostname -f`}" |
89 |
|
90 |
echo |
91 |
gen_cnf || return 1 |
92 |
echo |
93 |
gen_key 1 || return 1 |
94 |
gen_csr 1 || return 1 |
95 |
gen_crt 1 || return 1 |
96 |
echo |
97 |
|
98 |
install -d "${ROOT}${keydir}" |
99 |
install -m0400 "${base}.key" "${ROOT}${keydir}/live.key" |
100 |
install -m0444 "${base}.crt" "${ROOT}${keydir}/live.crt" |
101 |
chown vdr:vdr "${ROOT}"/etc/vdr/plugins/live/live.* |
102 |
} |
103 |
|
104 |
pkg_setup() { |
105 |
vdr-plugin-2_pkg_setup |
106 |
|
107 |
tc-export CXX AR |
108 |
} |
109 |
|
110 |
src_prepare() { |
111 |
vdr-plugin-2_src_prepare |
112 |
|
113 |
if ! use pcre; then |
114 |
sed -i "s:^HAVE_LIBPCRECPP:#HAVE_LIBPCRECPP:" Makefile || die |
115 |
fi |
116 |
|
117 |
if ! has_version ">=media-video/vdr-1.7.13"; then |
118 |
sed -i "s:-include \$(VDRDIR)/Make.global:#-include \$(VDRDIR)/Make.global:" Makefile || die |
119 |
fi |
120 |
|
121 |
epatch "${FILESDIR}/vdr-1.7.28-compatibility.patch" |
122 |
epatch "${FILESDIR}/vdr-live_pcre.patch" |
123 |
} |
124 |
|
125 |
src_install() { |
126 |
vdr-plugin-2_src_install |
127 |
|
128 |
insinto /etc/vdr/plugins/live |
129 |
doins -r live/* |
130 |
|
131 |
fowners -R vdr:vdr /etc/vdr/plugins/live |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
vdr-plugin-2_pkg_postinst |
136 |
|
137 |
elog "To be able to use all functions of vdr-live" |
138 |
elog "you should emerge and enable" |
139 |
elog "media-plugins/vdr-epgsearch to search the EPG," |
140 |
elog "media-plugins/vdr-streamdev for Live-TV streaming" |
141 |
|
142 |
elog "The default username/password is:" |
143 |
elog "\tadmin:live" |
144 |
|
145 |
if use ssl ; then |
146 |
if path_exists -a "${ROOT}"/etc/vdr/plugins/live/live.key; then |
147 |
einfo "found an existing SSL cert, to create a new SSL cert, run:" |
148 |
einfo "" |
149 |
einfo "emerge --config ${PN}" |
150 |
else |
151 |
einfo "No SSL cert found, creating a default one now" |
152 |
make_live_cert |
153 |
fi |
154 |
fi |
155 |
} |
156 |
|
157 |
pkg_config() { |
158 |
make_live_cert |
159 |
} |