diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2010-04-11 17:22:39 +0000 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2010-04-11 17:22:39 +0000 |
commit | 23cfa07c79cdfa078ef716c4cb8503bf908ebb37 (patch) | |
tree | 8503ddfc6572759b86d92824d667d2e7c187f07d /www-misc | |
parent | Patch unused com.sun import away and put ppc(64) keywords back. Fixes bug #31... (diff) | |
download | gentoo-2-23cfa07c79cdfa078ef716c4cb8503bf908ebb37.tar.gz gentoo-2-23cfa07c79cdfa078ef716c4cb8503bf908ebb37.tar.bz2 gentoo-2-23cfa07c79cdfa078ef716c4cb8503bf908ebb37.zip |
Version bump. Remove old.
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/vdradmin-am/ChangeLog | 9 | ||||
-rw-r--r-- | www-misc/vdradmin-am/files/vdradmin-rc-3 | 45 | ||||
-rw-r--r-- | www-misc/vdradmin-am/vdradmin-am-3.6.2.ebuild | 171 | ||||
-rw-r--r-- | www-misc/vdradmin-am/vdradmin-am-3.6.4.ebuild | 173 | ||||
-rw-r--r-- | www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild | 169 |
5 files changed, 177 insertions, 390 deletions
diff --git a/www-misc/vdradmin-am/ChangeLog b/www-misc/vdradmin-am/ChangeLog index 7012ecbcd42f..1bdddd3f5a32 100644 --- a/www-misc/vdradmin-am/ChangeLog +++ b/www-misc/vdradmin-am/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-misc/vdradmin-am # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/ChangeLog,v 1.7 2010/03/16 17:18:49 billie Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/ChangeLog,v 1.8 2010/04/11 17:22:39 billie Exp $ + +*vdradmin-am-3.6.7 (11 Apr 2010) + + 11 Apr 2010; Daniel Pielmeier <billie@gentoo.org> -files/vdradmin-rc-3, + -vdradmin-am-3.6.2.ebuild, -vdradmin-am-3.6.4.ebuild, + +vdradmin-am-3.6.7.ebuild: + Version bump. Remove old. *vdradmin-am-3.6.6 (16 Mar 2010) diff --git a/www-misc/vdradmin-am/files/vdradmin-rc-3 b/www-misc/vdradmin-am/files/vdradmin-rc-3 deleted file mode 100644 index 9933c7eecc00..000000000000 --- a/www-misc/vdradmin-am/files/vdradmin-rc-3 +++ /dev/null @@ -1,45 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/files/vdradmin-rc-3,v 1.1 2009/04/11 23:23:28 hd_brummy Exp $ - -depend() { - need vdr -} - -set_charset() { - local capfile=/usr/share/vdr/capabilities.sh - [ -e "${capfile}" ] && . ${capfile} - if [ "${CAP_UTF8}" = "1" -o "${VDR_CAN_HANDLE_UTF8}" = "yes" ]; then - # do not clean out utf8 - : - else - l=$(locale | sed -e 's/\.[uU][tT][fF]\(-\)\?8//' -e 's/^/export /') - eval $l - fi -} - -start() { - ebegin "Starting vdradmin-am" - - : ${VDRADMIN_USER:=vdradmin} - - # Guarantee that vdradmin can access its tmp-dir - chown -R "${VDRADMIN_USER}:vdradmin" /var/tmp/vdradmin - - set_charset - if [ -x /etc/init.d/root ]; then - # running on baselayout-2/openrc - start-stop-daemon --start --background --chuid "${VDRADMIN_USER}" --pidfile /var/tmp/vdradmin/vdradmind.pid \ - --exec /usr/bin/perl /usr/bin/vdradmind.pl - else - start-stop-daemon --start --background --chuid "${VDRADMIN_USER}" --exec /usr/bin/vdradmind.pl - fi - eend $? -} - -stop() { - ebegin "Stopping vdradmin-am" - start-stop-daemon --stop --quiet --pidfile /var/tmp/vdradmin/vdradmind.pid - eend $? -} diff --git a/www-misc/vdradmin-am/vdradmin-am-3.6.2.ebuild b/www-misc/vdradmin-am/vdradmin-am-3.6.2.ebuild deleted file mode 100644 index 41eb85f3435f..000000000000 --- a/www-misc/vdradmin-am/vdradmin-am-3.6.2.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/vdradmin-am-3.6.2.ebuild,v 1.3 2009/07/19 18:06:47 tove Exp $ - -inherit eutils - -MY_P="${P/_/}" - -DESCRIPTION="WWW Admin for the Video Disk Recorder" -HOMEPAGE="http://andreas.vdr-developer.org/" -SRC_URI="http://andreas.vdr-developer.org/download/${MY_P}.tar.bz2" - -KEYWORDS="~amd64 x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND="dev-lang/perl - dev-perl/Template-Toolkit - >=virtual/perl-IO-Compress-1.2.2 - media-video/vdr - dev-perl/Locale-gettext - dev-perl/Authen-SASL - dev-perl/Digest-HMAC - dev-perl/URI - sys-devel/gettext" -RDEPEND="${DEPEND}" - -ETC_DIR="/etc/vdradmin" -LIB_DIR="/usr/share/vdradmin" -VDRADMIN_USER="vdradmin" -VDRADMIN_GROUP="vdradmin" -TMP_DIR=/var/tmp/vdradmin - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewuser ${VDRADMIN_USER} -1 /bin/bash ${TMP_DIR} -} - -src_unpack() { - - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-config-autoflush.diff - sed -i vdradmind.pl \ - -e "/COMPILE_DIR/s-/tmp-${TMP_DIR}-" \ - -e "s-/var/run/vdradmind.pid-/var/tmp/vdradmin/vdradmind.pid-" -} - -src_install() { - - newinitd "${FILESDIR}"/vdradmin-rc-3 vdradmin - newconfd "${FILESDIR}"/confd-2 vdradmin - - dobin vdradmind.pl - - insinto ${LIB_DIR}/template - doins -r "${S}"/template/* - - insinto ${LIB_DIR}/lib/Template/Plugin - doins -r "${S}"/lib/Template/Plugin/JavaScript.pm - - insinto /usr/share/locale/ - doins -r "${S}"/locale/* - - exeinto ${LIB_DIR} - doexe autotimer2searchtimer.pl - - dodoc HISTORY INSTALL CREDITS README* REQUIREMENTS FAQ - docinto contrib - dodoc "${S}"/contrib/* - - diropts "-m755 -o ${VDRADMIN_USER} -g ${VDRADMIN_GROUP}" - keepdir "${ETC_DIR}" - keepdir "${TMP_DIR}" - - dosed "s:FILES_IN_SYSTEM = 0;:FILES_IN_SYSTEM = 1;:g" /usr/bin/vdradmind.pl -} - -pkg_preinst() { - if [[ -f ${ROOT}${ETC_DIR}/vdradmind.conf ]]; then - cp "${ROOT}"${ETC_DIR}/vdradmind.conf "${D}"${ETC_DIR}/vdradmind.conf - else - elog "Creating a new config-file." - echo - - cat <<-EOF > "${D}"${ETC_DIR}/vdradmind.conf - VDRCONFDIR = /etc/vdr - VIDEODIR = /var/vdr/video - EPG_FILENAME = /var/vdr/video/epg.data - EPGIMAGES = /var/vdr/video/epgimages - PASSWORD = gentoo-vdr - USERNAME = gentoo-vdr - EOF - # feed it with newlines - yes "" \ - | "${D}"/usr/bin/vdradmind.pl --cfgdir "${D}"${ETC_DIR} --config \ - |sed -e 's/: /: \n/g' - - [[ ${PIPESTATUS[1]} == "0" ]] || die "Failed to create initial configuration." - - elog - elog "Created default user/password: gentoo-vdr/gentoo-vdr" - elog - elog "you can run \"emerge --config vdradmin-am\" if" - elog "the default-values for vdr does not match your" - elog "installation or change it in Setup-Menu of Web-Interface." - elog - fi - chown ${VDRADMIN_USER}:${VDRADMIN_GROUP} "${D}"${ETC_DIR}/vdradmind.conf -} - -pkg_postinst() { - if [[ -d ${ROOT}${ETC_DIR} ]]; then - local owner=$(stat ${ROOT}${ETC_DIR} -c "%U") - if [[ ${owner} != vdradmin ]]; then - elog "Changing ownership of ${ETC_DIR}." - chown -R ${VDRADMIN_USER}:${VDRADMIN_GROUP} "${ROOT}"${ETC_DIR} - fi - fi - - if [[ -d ${ROOT}/tmp/usr/share/vdradmin ]]; then - ewarn "You have a leftover directory of vdradmin." - ewarn "You can safely remove it with:" - ewarn "# rm -rf /tmp/usr/share/vdradmin/template" - ewarn "# rmdir -p /tmp/usr/share/vdradmin" - fi - - local DEST=/etc/vdr/plugins/epgsearch/epgsearch.conf - local SOURCE=${ETC_DIR}/vdradmind.at - if [[ -s ${ROOT}${SOURCE} ]]; then - ewarn "If you used the autotimer of vdradmin," - ewarn "it is a good idea to convert them now" - ewarn "to use with epgsearch." - ewarn - if [[ ! -d ${ROOT}/etc/vdr/plugins/epgsearch ]]; then - ewarn "# install -d -o vdr -g vdr /etc/vdr/plugins/epgsearch" - fi - - local SIZE=0 - - [[ -e ${DEST} ]] && SIZE=$(grep '^[^#]' ${ROOT}${DEST}|wc -l) - - ewarn "If vdr is running with epgsearch-Plugin loaded you can use (recommended):" - local BASE_CMD="${LIB_DIR}/autotimer2searchtimer.pl -i ${SOURCE}" - ewarn "# ${BASE_CMD} -s" - - ewarn - ewarn "Else you can use this:" - if [[ ${SIZE} == 0 ]]; then - ewarn "# ${BASE_CMD} -o ${DEST}" - else - ewarn "You already have some timers defined!." - ewarn "# ${BASE_CMD} -o ${DEST}.new" - ewarn - ewarn "You need to merge epgsearch.conf and epgsearch.conf.new on your own." - ewarn - fi - ewarn "# chown vdr:vdr ${DEST}" - ewarn - ewarn "If you are sure that epgsearch has got all your timer," - ewarn "then you can delete vdradmin-autotimers." - ewarn "# rm ${SOURCE}" - fi -} - -pkg_config() { - /usr/bin/vdradmind.pl -c - chown ${VDRADMIN_USER}:${VDRADMIN_GROUP} "${ROOT}"${ETC_DIR}/vdradmind.conf -} diff --git a/www-misc/vdradmin-am/vdradmin-am-3.6.4.ebuild b/www-misc/vdradmin-am/vdradmin-am-3.6.4.ebuild deleted file mode 100644 index 95604b2f7910..000000000000 --- a/www-misc/vdradmin-am/vdradmin-am-3.6.4.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/vdradmin-am-3.6.4.ebuild,v 1.2 2009/07/19 18:06:47 tove Exp $ - -inherit eutils - -MY_P="${P/_/}" - -DESCRIPTION="WWW Admin for the Video Disk Recorder" -HOMEPAGE="http://andreas.vdr-developer.org/" -SRC_URI="http://andreas.vdr-developer.org/download/${MY_P}.tar.bz2" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND="dev-lang/perl - dev-perl/Template-Toolkit - >=virtual/perl-IO-Compress-1.2.2 - media-video/vdr - dev-perl/Locale-gettext - dev-perl/Authen-SASL - dev-perl/Digest-HMAC - dev-perl/URI - sys-devel/gettext" -RDEPEND="${DEPEND}" - -ETC_DIR="/etc/vdradmin" -LIB_DIR="/usr/share/vdradmin" -VDRADMIN_USER="vdradmin" -VDRADMIN_GROUP="vdradmin" -TMP_DIR=/var/tmp/vdradmin - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewuser ${VDRADMIN_USER} -1 /bin/bash ${TMP_DIR} -} - -src_unpack() { - - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-config-autoflush.diff - sed -i vdradmind.pl \ - -e "/COMPILE_DIR/s-/tmp-${TMP_DIR}-" \ - -e "s-/var/run/vdradmind.pid-/var/tmp/vdradmin/vdradmind.pid-" -} - -src_install() { - - newinitd "${FILESDIR}"/vdradmin-4 vdradmin - newconfd "${FILESDIR}"/confd-2 vdradmin - - newbin vdradmind.pl vdradmind - - insinto ${LIB_DIR}/template - doins -r "${S}"/template/* - - insinto ${LIB_DIR}/lib/Template/Plugin - doins -r "${S}"/lib/Template/Plugin/JavaScript.pm - - insinto /usr/share/locale/ - doins -r "${S}"/locale/* - - exeinto ${LIB_DIR} - doexe autotimer2searchtimer.pl - - doman vdradmind.pl.1 - - dodoc HISTORY INSTALL CREDITS README* REQUIREMENTS FAQ - docinto contrib - dodoc "${S}"/contrib/* - - diropts "-m755 -o ${VDRADMIN_USER} -g ${VDRADMIN_GROUP}" - keepdir "${ETC_DIR}" - keepdir "${TMP_DIR}" - - dosed "s:FILES_IN_SYSTEM = 0;:FILES_IN_SYSTEM = 1;:g" /usr/bin/vdradmind -} - -pkg_preinst() { - if [[ -f ${ROOT}${ETC_DIR}/vdradmind.conf ]]; then - cp "${ROOT}"${ETC_DIR}/vdradmind.conf "${D}"${ETC_DIR}/vdradmind.conf - else - elog "Creating a new config-file." - echo - - cat <<-EOF > "${D}"${ETC_DIR}/vdradmind.conf - VDRCONFDIR = /etc/vdr - VIDEODIR = /var/vdr/video - EPG_FILENAME = /var/vdr/video/epg.data - EPGIMAGES = /var/vdr/video/epgimages - PASSWORD = gentoo-vdr - USERNAME = gentoo-vdr - EOF - # feed it with newlines - yes "" \ - | "${D}"/usr/bin/vdradmind --cfgdir "${D}"${ETC_DIR} --config \ - |sed -e 's/: /: \n/g' - - [[ ${PIPESTATUS[1]} == "0" ]] || die "Failed to create initial configuration." - - elog - elog "Created default user/password: gentoo-vdr/gentoo-vdr" - elog - elog "you can run \"emerge --config vdradmin-am\" if" - elog "the default-values for vdr does not match your" - elog "installation or change it in Setup-Menu of Web-Interface." - elog - fi - chown ${VDRADMIN_USER}:${VDRADMIN_GROUP} "${D}"${ETC_DIR}/vdradmind.conf -} - -pkg_postinst() { - if [[ -d ${ROOT}${ETC_DIR} ]]; then - local owner=$(stat ${ROOT}${ETC_DIR} -c "%U") - if [[ ${owner} != vdradmin ]]; then - elog "Changing ownership of ${ETC_DIR}." - chown -R ${VDRADMIN_USER}:${VDRADMIN_GROUP} "${ROOT}"${ETC_DIR} - fi - fi - - if [[ -d ${ROOT}/tmp/usr/share/vdradmin ]]; then - ewarn "You have a leftover directory of vdradmin." - ewarn "You can safely remove it with:" - ewarn "# rm -rf /tmp/usr/share/vdradmin/template" - ewarn "# rmdir -p /tmp/usr/share/vdradmin" - fi - - local DEST=/etc/vdr/plugins/epgsearch/epgsearch.conf - local SOURCE=${ETC_DIR}/vdradmind.at - if [[ -s ${ROOT}${SOURCE} ]]; then - ewarn "If you used the autotimer of vdradmin," - ewarn "it is a good idea to convert them now" - ewarn "to use with epgsearch." - ewarn - if [[ ! -d ${ROOT}/etc/vdr/plugins/epgsearch ]]; then - ewarn "# install -d -o vdr -g vdr /etc/vdr/plugins/epgsearch" - fi - - local SIZE=0 - - [[ -e ${DEST} ]] && SIZE=$(grep '^[^#]' ${ROOT}${DEST}|wc -l) - - ewarn "If vdr is running with epgsearch-Plugin loaded you can use (recommended):" - local BASE_CMD="${LIB_DIR}/autotimer2searchtimer.pl -i ${SOURCE}" - ewarn "# ${BASE_CMD} -s" - - ewarn - ewarn "Else you can use this:" - if [[ ${SIZE} == 0 ]]; then - ewarn "# ${BASE_CMD} -o ${DEST}" - else - ewarn "You already have some timers defined!." - ewarn "# ${BASE_CMD} -o ${DEST}.new" - ewarn - ewarn "You need to merge epgsearch.conf and epgsearch.conf.new on your own." - ewarn - fi - ewarn "# chown vdr:vdr ${DEST}" - ewarn - ewarn "If you are sure that epgsearch has got all your timer," - ewarn "then you can delete vdradmin-autotimers." - ewarn "# rm ${SOURCE}" - fi -} - -pkg_config() { - /usr/bin/vdradmind -c - chown ${VDRADMIN_USER}:${VDRADMIN_GROUP} "${ROOT}"${ETC_DIR}/vdradmind.conf -} diff --git a/www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild b/www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild new file mode 100644 index 000000000000..ba8fd3d034c7 --- /dev/null +++ b/www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild,v 1.1 2010/04/11 17:22:39 billie Exp $ + +EAPI=2 + +inherit eutils ssl-cert + +DESCRIPTION="WWW Admin for the Video Disk Recorder" +HOMEPAGE="http://andreas.vdr-developer.org/vdradmin-am/index.html" +SRC_URI="http://andreas.vdr-developer.org/download/${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="LGPL-2.1" +IUSE="ipv6 ssl +vdr" + +DEPEND="dev-lang/perl + dev-perl/Template-Toolkit + dev-perl/libwww-perl + dev-perl/URI + dev-perl/Locale-gettext + virtual/perl-IO-Compress + ipv6? ( dev-perl/IO-Socket-INET6 ) + ssl? ( dev-perl/IO-Socket-SSL ) + vdr? ( media-video/vdr ) + perl-core/libnet + dev-perl/Authen-SASL + dev-perl/Digest-HMAC" +RDEPEND="${DEPEND}" + +ETC_DIR=/etc/vdradmin +CERTS_DIR=/etc/vdradmin/certs +LIB_DIR=/usr/share/vdradmin +LOG_DIR=/var/log/vdradmin +PID_DIR=/var/run/vdradmin +CACHE_DIR=/var/cache/vdradmin +VDRADMIN_USER=vdradmin +VDRADMIN_GROUP=vdradmin + +create_ssl_cert() { + # The ssl-cert eclass is not flexible enough so do some steps manually + SSL_ORGANIZATION="${SSL_ORGANIZATION:-vdradmin-am}" + SSL_COMMONNAME="${SSL_COMMONNAME:-`hostname -f`}" + + gen_cnf || return 1 + + gen_key 1 || return 1 + gen_csr 1 || return 1 + gen_crt 1 || return 1 +} + +pkg_setup() { + enewuser ${VDRADMIN_USER} -1 /bin/bash ${CACHE_DIR} ${VDRADMIN_GROUP} + enewgroup ${VDRADMIN_GROUP} + + if ! use vdr; then + elog + elog "You can run vdradmin-am outside a vdr install. For minimal" + elog "functionality you need access to the epg.data file of your VDR." + fi +} + +src_prepare() { + sed -i vdradmind.pl \ + -e "/COMPILE_DIR/s-/tmp-${CACHE_DIR}-" \ + -e "s-FILES_IN_SYSTEM = 0;-FILES_IN_SYSTEM = 1;-g" +} + +src_configure() { : ; } + +src_compile() { : ; } + +src_install() { + newinitd "${FILESDIR}"/vdradmin-3.6.6.init vdradmin + newconfd "${FILESDIR}"/vdradmin-3.6.6.conf vdradmin + + insinto /etc/logrotate.d + newins "${FILESDIR}"/vdradmin-3.6.6.logrotate vdradmin + + newbin vdradmind.pl vdradmind + + insinto ${LIB_DIR}/template + doins -r "${S}"/template/* + + insinto ${LIB_DIR}/lib/Template/Plugin + doins -r "${S}"/lib/Template/Plugin/JavaScript.pm + + insinto /usr/share/locale/ + doins -r "${S}"/locale/* + + newman vdradmind.pl.1 vdradmind.8 + + dodoc CREDITS HISTORY INSTALL README* REQUIREMENTS FAQ ChangeLog + docinto contrib + dodoc "${S}"/contrib/* + + diropts "-m755 -o ${VDRADMIN_USER} -g ${VDRADMIN_GROUP}" + keepdir "${ETC_DIR}" + keepdir "${CACHE_DIR}" + keepdir "${LOG_DIR}" + keepdir "${PID_DIR}" + use ssl && keepdir "${CERTS_DIR}" +} + +pkg_preinst() { + if [[ -f ${ROOT}${ETC_DIR}/vdradmind.conf ]]; then + cp "${ROOT}"${ETC_DIR}/vdradmind.conf "${D}"${ETC_DIR}/vdradmind.conf + else + elog + elog "Creating a new config-file." + echo + + cat <<-EOF > "${D}"${ETC_DIR}/vdradmind.conf + VDRCONFDIR = /etc/vdr + VIDEODIR = /var/vdr/video + EPG_FILENAME = /var/vdr/video/epg.data + EPGIMAGES = /var/vdr/video/epgimages + PASSWORD = gentoo-vdr + USERNAME = gentoo-vdr + EOF + # Feed it with newlines + yes "" \ + | "${D}"/usr/bin/vdradmind --cfgdir "${D}"${ETC_DIR} --config \ + |sed -e 's/: /: \n/g' + + [[ ${PIPESTATUS[1]} == "0" ]] || die "Failed to create initial configuration." + + elog + elog "Created default user/password: gentoo-vdr/gentoo-vdr" + elog + elog "You can run \"emerge --config vdradmin-am\" if the default-values" + elog "do not match your installation or change them in the Setup-Menu" + elog "of the Web-Interface." + fi +} + +pkg_postinst() { + if use ipv6; then + elog + elog "To make use of the ipv6 protocol" + elog "you need to enable it in ${ROOT%/}/etc/conf.d/vdradmin" + fi + + if use ssl; then + elog + elog "To use ssl connection to your vdr" + elog "you need to enable it in ${ROOT%/}/etc/conf.d/vdradmin" + + if [[ ! -f "${ROOT}${CERTS_DIR}/server-cert.pem" && \ + ! -f "${ROOT}${CERTS_DIR}/server-key.pem" ]]; then + create_ssl_cert + local base=$(get_base 1) + install -m0400 "${base}.key" "${ROOT}${CERTS_DIR}/server-key.pem" + install -m0444 "${base}.crt" "${ROOT}${CERTS_DIR}/server-cert.pem" + fi + fi + + elog + elog "To extend vdradmin-am you can emerge" + elog ">=media-plugins/vdr-epgsearch-0.9.25 to search the EPG" + elog "media-plugins/vdr-streamdev for livetv streaming" + elog "media-video/vdr with USE=\"liemikuutio\" to rename recordings" + elog "on the machine running the VDR you connect to with vdradmin-am." +} + +pkg_config() { + /usr/bin/vdradmind -c +} |