public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-live: ChangeLog vdr-live-0.2.0.20120114.ebuild vdr-live-0.2.0.20110118-r1.ebuild vdr-live-0.2.0.20110213.ebuild
@ 2012-03-09  0:35 Joerg Bornkessel (hd_brummy)
  0 siblings, 0 replies; only message in thread
From: Joerg Bornkessel (hd_brummy) @ 2012-03-09  0:35 UTC (permalink / raw
  To: gentoo-commits

hd_brummy    12/03/09 00:35:58

  Modified:             ChangeLog
  Added:                vdr-live-0.2.0.20120114.ebuild
  Removed:              vdr-live-0.2.0.20110118-r1.ebuild
                        vdr-live-0.2.0.20110213.ebuild
  Log:
  new snapshot, cleanup
  
  (Portage version: 2.1.10.11/cvs/Linux i686, RepoMan options: --force)

Revision  Changes    Path
1.29                 media-plugins/vdr-live/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/ChangeLog?r1=1.28&r2=1.29

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog	10 Jul 2011 03:40:52 -0000	1.28
+++ ChangeLog	9 Mar 2012 00:35:58 -0000	1.29
@@ -1,6 +1,13 @@
 # ChangeLog for media-plugins/vdr-live
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v 1.28 2011/07/10 03:40:52 hd_brummy Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/ChangeLog,v 1.29 2012/03/09 00:35:58 hd_brummy Exp $
+
+*vdr-live-0.2.0.20120114 (09 Mar 2012)
+
+  09 Mar 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
+  -vdr-live-0.2.0.20110118-r1.ebuild, -vdr-live-0.2.0.20110213.ebuild,
+  +vdr-live-0.2.0.20120114.ebuild:
+  new snapshot, cleanup
 
 *vdr-live-0.2.0.20110419-r1 (10 Jul 2011)
 



1.1                  media-plugins/vdr-live/vdr-live-0.2.0.20120114.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0.20120114.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0.20120114.ebuild?rev=1.1&content-type=text/plain

Index: vdr-live-0.2.0.20120114.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0.20120114.ebuild,v 1.1 2012/03/09 00:35:58 hd_brummy Exp $

EAPI="4"

inherit vdr-plugin ssl-cert

DESCRIPTION="VDR Plugin: Web Access To Settings"
HOMEPAGE="http://live.vdr-developer.org"
SRC_URI="mirror://gentoo/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ssl"

DEPEND="media-video/vdr
	>=dev-libs/tntnet-2.0[ssl=,sdk]
	>=dev-libs/cxxtools-2.0
	>=dev-libs/libpcre-8.12[cxx]"

RDEPEND="${DEPEND}"

S="${WORKDIR}/${VDRPLUGIN}"

VDR_CONFD_FILE="${FILESDIR}/confd-0.2"
VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.2.sh"

make_live_cert() {
	# ssl-cert eclass create invalide cert, create my own

	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
}

src_prepare() {
	vdr-plugin_src_prepare

	#make it work with /bin/sh as indicated in the file header
	sed -e "18s/==/=/" -i  buildutil/version-util

	sed -e "s/ERROR:/WARNING:/" -i tntconfig.cpp

	sed -i "s:^HAVE_LIBPCRECPP:#HAVE_LIBPCRECPP:" Makefile

	if ! has_version ">=media-video/vdr-1.7.13"; then
	sed -i "s:-include \$(VDRDIR)/Make.global:#-include \$(VDRDIR)/Make.global:" Makefile
	fi
}

src_install() {
	vdr-plugin_src_install

	cd "${S}/live"
	insinto /etc/vdr/plugins/live
	doins -r *

	chown vdr:vdr -R "${D}"/etc/vdr/plugins/live
}

pkg_postinst() {

	if use ssl ; then
		if path_exists -a "${ROOT}"/etc/vdr/plugins/live/live.key; then
			einfo "SSL cert exists"
			einfo ""
			einfo "simply to create a new SSL cert remove:"
			einfo "/etc/vdr/plugins/live/{live.key,live.crt}"
			einfo "and reinstall ${P}"
		else
			einfo "Create SSL cert"
			make_live_cert
			local base=$(get_base 1)
			local keydir="/etc/vdr/plugins/live"
			install -d "${ROOT}${keydir}"
			install -m0400 "${base}.key" "${ROOT}${keydir}/live.key"
			install -m0444 "${base}.crt" "${ROOT}${keydir}/live.crt"
			chown vdr:vdr "${ROOT}"/etc/vdr/plugins/live/live.*
		fi
	fi

	elog "To be able to use all functions of vdr-live"
	elog "you should emerge and enable"
	elog "=media-plugins/vdr-epgsearch-0.9.25_beta* to search the EPG,"
	elog "media-plugins/vdr-streamdev-0.5.0 for Live-TV streaming"

	elog "On first install use login:pass"
	elog "\tadmin:live"

	ewarn "\t\tWARNiNG!!!"
	ewarn "This is a developer snapshot"
	einfo "On problems, use the stable amd64, x86 versions of"
	einfo "dev-libs/tntnet dev-libs/cxxtools media-plugins/vdr-live"

	vdr-plugin_pkg_postinst
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-09  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09  0:35 [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-live: ChangeLog vdr-live-0.2.0.20120114.ebuild vdr-live-0.2.0.20110118-r1.ebuild vdr-live-0.2.0.20110213.ebuild Joerg Bornkessel (hd_brummy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox