summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2009-01-05 21:02:19 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2009-01-05 21:02:19 +0000
commit1ac36ed1701499517d705da4ed7328fa85cf947b (patch)
treec29399099536fd1e47343da31143f8d67246a73a /net-www
parentAdding x11-misc/obconf dependency, in order to configure Openbox, which is us... (diff)
downloadgentoo-2-1ac36ed1701499517d705da4ed7328fa85cf947b.tar.gz
gentoo-2-1ac36ed1701499517d705da4ed7328fa85cf947b.tar.bz2
gentoo-2-1ac36ed1701499517d705da4ed7328fa85cf947b.zip
versions bump; vdradmin-am-3.6.2 stabel on x86; clean up old versions
(Portage version: 2.1.6.4/cvs/Linux 2.6.21-xen-main-r1 i686)
Diffstat (limited to 'net-www')
-rw-r--r--net-www/vdradmin-am/ChangeLog14
-rw-r--r--net-www/vdradmin-am/files/vdradmin-4 (renamed from net-www/vdradmin-am/files/vdradmin-2)9
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.5.3.ebuild179
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.6.0.ebuild183
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.6.0_beta.ebuild183
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.6.0_rc.ebuild183
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.6.1-r1.ebuild183
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.6.2.ebuild6
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.6.4.ebuild (renamed from net-www/vdradmin-am/vdradmin-am-3.6.1.ebuild)27
9 files changed, 31 insertions, 936 deletions
diff --git a/net-www/vdradmin-am/ChangeLog b/net-www/vdradmin-am/ChangeLog
index 1d0da8c3d538..0f9deac1f386 100644
--- a/net-www/vdradmin-am/ChangeLog
+++ b/net-www/vdradmin-am/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-www/vdradmin-am
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/ChangeLog,v 1.28 2008/11/18 16:20:05 tove Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/ChangeLog,v 1.29 2009/01/05 21:02:19 hd_brummy Exp $
+
+*vdradmin-am-3.6.4 (05 Jan 2009)
+
+ 05 Jan 2009; Joerg Bornkessel <hd_brummy@gentoo.org> -files/vdradmin-2,
+ +files/vdradmin-4, -vdradmin-am-3.5.3.ebuild,
+ -vdradmin-am-3.6.0_beta.ebuild, -vdradmin-am-3.6.0_rc.ebuild,
+ -vdradmin-am-3.6.0.ebuild, -vdradmin-am-3.6.1.ebuild,
+ -vdradmin-am-3.6.1-r1.ebuild, vdradmin-am-3.6.2.ebuild,
+ +vdradmin-am-3.6.4.ebuild:
+ versions bump; vdradmin-am-3.6.2 stabel on x86; clean up old versions
18 Nov 2008; Torsten Veller <tove@gentoo.org> vdradmin-am-3.5.3.ebuild,
vdradmin-am-3.6.0_beta.ebuild, vdradmin-am-3.6.0_rc.ebuild,
diff --git a/net-www/vdradmin-am/files/vdradmin-2 b/net-www/vdradmin-am/files/vdradmin-4
index ddd06ea484ca..1b5ac1b2a067 100644
--- a/net-www/vdradmin-am/files/vdradmin-2
+++ b/net-www/vdradmin-am/files/vdradmin-4
@@ -1,7 +1,7 @@
#!/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/net-www/vdradmin-am/files/vdradmin-2,v 1.3 2007/06/04 11:58:16 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/files/vdradmin-4,v 1.1 2009/01/05 21:02:19 hd_brummy Exp $
depend() {
need vdr
@@ -28,7 +28,12 @@ start() {
chown -R "${VDRADMIN_USER}:vdradmin" /var/tmp/vdradmin
set_charset
- start-stop-daemon --start --background --chuid "${VDRADMIN_USER}" --exec /usr/bin/vdradmind.pl
+ if [ -x /etc/init.d/root ]; then
+ # running on baselayout-2/openrc
+ start-stop-daemon --start --background --chuid "${VDRADMIN_USER}" --exec /usr/bin/perl /usr/bin/vdradmind
+ else
+ start-stop-daemon --start --background --chuid "${VDRADMIN_USER}" --exec /usr/bin/vdradmind
+ fi
eend $?
}
diff --git a/net-www/vdradmin-am/vdradmin-am-3.5.3.ebuild b/net-www/vdradmin-am/vdradmin-am-3.5.3.ebuild
deleted file mode 100644
index cbc82161d963..000000000000
--- a/net-www/vdradmin-am/vdradmin-am-3.5.3.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.5.3.ebuild,v 1.5 2008/11/18 16:20:05 tove Exp $
-
-inherit eutils
-
-DESCRIPTION="WWW Admin for the Video Disk Recorder"
-HOMEPAGE="http://andreas.vdr-developer.org/"
-SRC_URI="http://andreas.vdr-developer.org/download/${P}.tar.bz2"
-
-KEYWORDS="~amd64 x86"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="unicode"
-
-DEPEND="dev-lang/perl
- dev-perl/Template-Toolkit
- >=virtual/perl-Compress-Zlib-1.2.2
- media-video/vdr
- virtual/perl-Compress-Zlib
- dev-perl/Locale-gettext
- dev-perl/Authen-SASL
- dev-perl/Digest-HMAC
- dev-perl/URI
- unicode? ( 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
-
-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_compile() {
-
- if ! use unicode; then
- einfo "no need to compile"
- else
- einfo "additionally generating utf8 locales"
- "${S}"/make.sh utf8add || die
- "${S}"/make.sh po || die
- fi
-}
-
-src_install() {
-
- newinitd "${FILESDIR}"/vdradmin-2 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/net-www/vdradmin-am/vdradmin-am-3.6.0.ebuild b/net-www/vdradmin-am/vdradmin-am-3.6.0.ebuild
deleted file mode 100644
index 1d9018a44355..000000000000
--- a/net-www/vdradmin-am/vdradmin-am-3.6.0.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.6.0.ebuild,v 1.4 2008/11/18 16:20:05 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="unicode"
-
-DEPEND="dev-lang/perl
- dev-perl/Template-Toolkit
- >=virtual/perl-Compress-Zlib-1.2.2
- media-video/vdr
- virtual/perl-Compress-Zlib
- dev-perl/Locale-gettext
- dev-perl/Authen-SASL
- dev-perl/Digest-HMAC
- dev-perl/URI
- unicode? ( 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_compile() {
-
- if ! use unicode; then
- einfo "no need to compile"
- else
- einfo "additionally generating utf8 locales"
- "${S}"/make.sh utf8add || die
- "${S}"/make.sh po || die
- fi
-}
-
-src_install() {
-
- newinitd "${FILESDIR}"/vdradmin-2 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/net-www/vdradmin-am/vdradmin-am-3.6.0_beta.ebuild b/net-www/vdradmin-am/vdradmin-am-3.6.0_beta.ebuild
deleted file mode 100644
index c8a4a8b5dd01..000000000000
--- a/net-www/vdradmin-am/vdradmin-am-3.6.0_beta.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.6.0_beta.ebuild,v 1.3 2008/11/18 16:20:05 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="unicode"
-
-DEPEND="dev-lang/perl
- dev-perl/Template-Toolkit
- >=virtual/perl-Compress-Zlib-1.2.2
- media-video/vdr
- virtual/perl-Compress-Zlib
- dev-perl/Locale-gettext
- dev-perl/Authen-SASL
- dev-perl/Digest-HMAC
- dev-perl/URI
- unicode? ( 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_compile() {
-
- if ! use unicode; then
- einfo "no need to compile"
- else
- einfo "additionally generating utf8 locales"
- "${S}"/make.sh utf8add || die
- "${S}"/make.sh po || die
- fi
-}
-
-src_install() {
-
- newinitd "${FILESDIR}"/vdradmin-2 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/net-www/vdradmin-am/vdradmin-am-3.6.0_rc.ebuild b/net-www/vdradmin-am/vdradmin-am-3.6.0_rc.ebuild
deleted file mode 100644
index 766b71de2da0..000000000000
--- a/net-www/vdradmin-am/vdradmin-am-3.6.0_rc.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.6.0_rc.ebuild,v 1.3 2008/11/18 16:20:05 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="unicode"
-
-DEPEND="dev-lang/perl
- dev-perl/Template-Toolkit
- >=virtual/perl-Compress-Zlib-1.2.2
- media-video/vdr
- virtual/perl-Compress-Zlib
- dev-perl/Locale-gettext
- dev-perl/Authen-SASL
- dev-perl/Digest-HMAC
- dev-perl/URI
- unicode? ( 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_compile() {
-
- if ! use unicode; then
- einfo "no need to compile"
- else
- einfo "additionally generating utf8 locales"
- "${S}"/make.sh utf8add || die
- "${S}"/make.sh po || die
- fi
-}
-
-src_install() {
-
- newinitd "${FILESDIR}"/vdradmin-2 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/net-www/vdradmin-am/vdradmin-am-3.6.1-r1.ebuild b/net-www/vdradmin-am/vdradmin-am-3.6.1-r1.ebuild
deleted file mode 100644
index b1a14c527d68..000000000000
--- a/net-www/vdradmin-am/vdradmin-am-3.6.1-r1.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.6.1-r1.ebuild,v 1.3 2008/11/18 16:20:05 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="unicode"
-
-DEPEND="dev-lang/perl
- dev-perl/Template-Toolkit
- >=virtual/perl-Compress-Zlib-1.2.2
- media-video/vdr
- virtual/perl-Compress-Zlib
- dev-perl/Locale-gettext
- dev-perl/Authen-SASL
- dev-perl/Digest-HMAC
- dev-perl/URI
- unicode? ( 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_compile() {
-
- if ! use unicode; then
- einfo "no need to compile"
- else
- einfo "additionally generating utf8 locales"
- "${S}"/make.sh utf8add || die
- "${S}"/make.sh po || die
- fi
-}
-
-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/net-www/vdradmin-am/vdradmin-am-3.6.2.ebuild b/net-www/vdradmin-am/vdradmin-am-3.6.2.ebuild
index 4d0b766c0f93..fd68cf287fa8 100644
--- a/net-www/vdradmin-am/vdradmin-am-3.6.2.ebuild
+++ b/net-www/vdradmin-am/vdradmin-am-3.6.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.6.2.ebuild,v 1.2 2008/11/18 16:20:05 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.6.2.ebuild,v 1.3 2009/01/05 21:02:19 hd_brummy Exp $
inherit eutils
@@ -10,7 +10,7 @@ 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"
+KEYWORDS="~amd64 x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
diff --git a/net-www/vdradmin-am/vdradmin-am-3.6.1.ebuild b/net-www/vdradmin-am/vdradmin-am-3.6.4.ebuild
index 58a2ac08f57e..327a70d45bd0 100644
--- a/net-www/vdradmin-am/vdradmin-am-3.6.1.ebuild
+++ b/net-www/vdradmin-am/vdradmin-am-3.6.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.6.1.ebuild,v 1.2 2008/11/18 16:20:05 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.6.4.ebuild,v 1.1 2009/01/05 21:02:19 hd_brummy Exp $
inherit eutils
@@ -13,7 +13,7 @@ SRC_URI="http://andreas.vdr-developer.org/download/${MY_P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"
-IUSE="unicode"
+IUSE=""
DEPEND="dev-lang/perl
dev-perl/Template-Toolkit
@@ -24,7 +24,7 @@ DEPEND="dev-lang/perl
dev-perl/Authen-SASL
dev-perl/Digest-HMAC
dev-perl/URI
- unicode? ( sys-devel/gettext )"
+ sys-devel/gettext"
RDEPEND="${DEPEND}"
ETC_DIR="/etc/vdradmin"
@@ -49,23 +49,12 @@ src_unpack() {
-e "s-/var/run/vdradmind.pid-/var/tmp/vdradmin/vdradmind.pid-"
}
-src_compile() {
-
- if ! use unicode; then
- einfo "no need to compile"
- else
- einfo "additionally generating utf8 locales"
- "${S}"/make.sh utf8add || die
- "${S}"/make.sh po || die
- fi
-}
-
src_install() {
- newinitd "${FILESDIR}"/vdradmin-2 vdradmin
+ newinitd "${FILESDIR}"/vdradmin-4 vdradmin
newconfd "${FILESDIR}"/confd-2 vdradmin
- dobin vdradmind.pl
+ newbin vdradmind.pl vdradmind
insinto ${LIB_DIR}/template
doins -r "${S}"/template/*
@@ -79,6 +68,8 @@ src_install() {
exeinto ${LIB_DIR}
doexe autotimer2searchtimer.pl
+ doman vdradmind.pl.1
+
dodoc HISTORY INSTALL CREDITS README* REQUIREMENTS FAQ
docinto contrib
dodoc "${S}"/contrib/*
@@ -87,7 +78,7 @@ src_install() {
keepdir "${ETC_DIR}"
keepdir "${TMP_DIR}"
- dosed "s:FILES_IN_SYSTEM = 0;:FILES_IN_SYSTEM = 1;:g" /usr/bin/vdradmind.pl
+ dosed "s:FILES_IN_SYSTEM = 0;:FILES_IN_SYSTEM = 1;:g" /usr/bin/vdradmind
}
pkg_preinst() {