summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-08-27 12:25:39 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-08-27 12:25:39 +0000
commit841e9b2bd91c03696deff632286c7f3a1a082cb7 (patch)
tree990d8702434fa1fae10f13edbb6fb65524dcdedc /net-www
parentStable on sparc wrt #190182 (diff)
downloadhistorical-841e9b2bd91c03696deff632286c7f3a1a082cb7.tar.gz
historical-841e9b2bd91c03696deff632286c7f3a1a082cb7.tar.bz2
historical-841e9b2bd91c03696deff632286c7f3a1a082cb7.zip
Version bumped.
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'net-www')
-rw-r--r--net-www/vdradmin-am/ChangeLog8
-rw-r--r--net-www/vdradmin-am/Manifest22
-rw-r--r--net-www/vdradmin-am/files/digest-vdradmin-am-3.6.0_rc3
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.6.0_rc.ebuild183
4 files changed, 208 insertions, 8 deletions
diff --git a/net-www/vdradmin-am/ChangeLog b/net-www/vdradmin-am/ChangeLog
index 577d96665f4c..1455b31f3c3d 100644
--- a/net-www/vdradmin-am/ChangeLog
+++ b/net-www/vdradmin-am/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/vdradmin-am
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/ChangeLog,v 1.20 2007/08/18 20:38:25 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/ChangeLog,v 1.21 2007/08/27 12:25:39 zzam Exp $
+
+*vdradmin-am-3.6.0_rc (27 Aug 2007)
+
+ 27 Aug 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +vdradmin-am-3.6.0_rc.ebuild:
+ Version bumped.
*vdradmin-am-3.6.0_beta (18 Aug 2007)
diff --git a/net-www/vdradmin-am/Manifest b/net-www/vdradmin-am/Manifest
index e21ff37ef1d8..915f1174abba 100644
--- a/net-www/vdradmin-am/Manifest
+++ b/net-www/vdradmin-am/Manifest
@@ -15,6 +15,7 @@ RMD160 f6d0a31c424c6a45d8786d2b98e9872e5e3ded5f files/vdradmin-am-config-autoflu
SHA256 1687001c6114cb373643982fb73a78e7656c70d253e9ff0d89b7ed466133f950 files/vdradmin-am-config-autoflush.diff 654
DIST vdradmin-am-3.5.3.tar.bz2 532120 RMD160 393c3068ab7e8ba8cc5420bd3099005676c6013e SHA1 2e3af767b20a7c6527488c7397159d8d1fd90229 SHA256 06ac48d085dba0ee5d041574886c097ae3e0674288d695738011b092f07692ba
DIST vdradmin-am-3.6.0beta.tar.bz2 542066 RMD160 a894c53dc34042c5430dfb9e5a75c090661d3881 SHA1 0a5335702a9f8014ccd60f7d1fda46e0c240df28 SHA256 5e4eb3b94e73506bdb230425324e1c63a87d6e76efafe7459e7fd13a96c7de02
+DIST vdradmin-am-3.6.0rc.tar.bz2 552971 RMD160 f783be98fee9b2f73608ae37e29fd9e82e012781 SHA1 4e1c634eeab5462d2378cfa5d365efbe3f186485 SHA256 353e79b39a3150c9d9dfdd862eab14e8ce0bf1a79c804fd76b665cd012752412
EBUILD vdradmin-am-3.5.3.ebuild 4743 RMD160 9727c671834c509b0c07a6b4653ade2cb48aac2c SHA1 1a374243381a884583adcafebf3bd3e924f6cf03 SHA256 36dbb3e63828988ade3fb2c5f593be42f71192b808206115fbc8f319fde8167b
MD5 9f6e56fe097fb73d94478c07aa0447b1 vdradmin-am-3.5.3.ebuild 4743
RMD160 9727c671834c509b0c07a6b4653ade2cb48aac2c vdradmin-am-3.5.3.ebuild 4743
@@ -23,10 +24,14 @@ EBUILD vdradmin-am-3.6.0_beta.ebuild 4787 RMD160 efc553fd55202bc1c0d04f7ed1c2c97
MD5 1f999b2b178914b0e0c12728cea33df8 vdradmin-am-3.6.0_beta.ebuild 4787
RMD160 efc553fd55202bc1c0d04f7ed1c2c97950be7dce vdradmin-am-3.6.0_beta.ebuild 4787
SHA256 aa9070f12ee9d3d7d1316e2fc41b3cc7957090071618e8dc473caf8c05518d2a vdradmin-am-3.6.0_beta.ebuild 4787
-MISC ChangeLog 4037 RMD160 0dc343b9e7203357149cca54b39d9ea76a1b451f SHA1 c0c6e477bd2946ddda3a0b669e706bb1321bc9ca SHA256 dce69390a220b8ca3c6b4936fda9b9242feecd9a0ed178be7badc679e04153c6
-MD5 4d818452014683b759d5da1f6e04731f ChangeLog 4037
-RMD160 0dc343b9e7203357149cca54b39d9ea76a1b451f ChangeLog 4037
-SHA256 dce69390a220b8ca3c6b4936fda9b9242feecd9a0ed178be7badc679e04153c6 ChangeLog 4037
+EBUILD vdradmin-am-3.6.0_rc.ebuild 4785 RMD160 e677abdfc195eca7b017078e758a6c302dbe88cc SHA1 fca72a299b87befe8005978fc5f7c6b51020032c SHA256 5866fd0cbdc98ae0fa29321800d22115749ccf3e2a5bd369c8e25bf2c7fa0b13
+MD5 c6722999f0bf265d1b32e048a0b5021b vdradmin-am-3.6.0_rc.ebuild 4785
+RMD160 e677abdfc195eca7b017078e758a6c302dbe88cc vdradmin-am-3.6.0_rc.ebuild 4785
+SHA256 5866fd0cbdc98ae0fa29321800d22115749ccf3e2a5bd369c8e25bf2c7fa0b13 vdradmin-am-3.6.0_rc.ebuild 4785
+MISC ChangeLog 4178 RMD160 3c6e9a9352566474bf1287950f1f5e1c2817f992 SHA1 d521599d301f4c9222c8bc24912c86c3d5c00d54 SHA256 08e78af89cd580f3ec7e3825c98aa5e89fbfc259aefb0f9979b3ff04243543ba
+MD5 a1aae03a0e694e96a18ad5f4713fe4c7 ChangeLog 4178
+RMD160 3c6e9a9352566474bf1287950f1f5e1c2817f992 ChangeLog 4178
+SHA256 08e78af89cd580f3ec7e3825c98aa5e89fbfc259aefb0f9979b3ff04243543ba ChangeLog 4178
MISC metadata.xml 502 RMD160 4fcf3db9843f5cfbc9f3f20a740cf0f1b914d2d2 SHA1 cedec19d978ffb5fb76276d81da21e191678d787 SHA256 4f9650b92fce31432cc276364f35336489bf2a89151125295570d39752044818
MD5 f8b74843a483dd4f645aa5da4ef6eee9 metadata.xml 502
RMD160 4fcf3db9843f5cfbc9f3f20a740cf0f1b914d2d2 metadata.xml 502
@@ -37,10 +42,13 @@ SHA256 5a9485da16325ef7e5a33c9ef0e6df25060e456b440e3dac02975ca1e3142e8e files/di
MD5 9ccb6fba9bea3ef0ff664f0d42acce61 files/digest-vdradmin-am-3.6.0_beta 268
RMD160 d2bd7c8a3c4fabb77ed824643848f550a6b96084 files/digest-vdradmin-am-3.6.0_beta 268
SHA256 4a1b5b4dc0c98dde5d83d8039239f3343bf01b1102eab50c1411944b06afd61a files/digest-vdradmin-am-3.6.0_beta 268
+MD5 f874497a144497fc20e9357c7692dde6 files/digest-vdradmin-am-3.6.0_rc 262
+RMD160 5c0c7eca501eb1496aae11c5d6833fe84bee4c48 files/digest-vdradmin-am-3.6.0_rc 262
+SHA256 5c59dbe0eb863852f9e8f3f1958a4387c5cae43139578e789c4ea37a5e45fa32 files/digest-vdradmin-am-3.6.0_rc 262
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.6 (GNU/Linux)
-iD8DBQFGx1jLt2vP6XvVdOcRAtmkAJ9UZTW7t0dZb7hsILsXwhmfzeqDMgCgyMhc
-nlZGr5ohb9GtqAS9M4vUh3c=
-=P8Ov
+iD8DBQFG0sLRt2vP6XvVdOcRArcFAKC8xr4Pqulug4mIEO0g9gMxMU28jgCeNFpE
+a4vQh93PAOtahL4vVcTcq7o=
+=X9D9
-----END PGP SIGNATURE-----
diff --git a/net-www/vdradmin-am/files/digest-vdradmin-am-3.6.0_rc b/net-www/vdradmin-am/files/digest-vdradmin-am-3.6.0_rc
new file mode 100644
index 000000000000..90998a43f8dc
--- /dev/null
+++ b/net-www/vdradmin-am/files/digest-vdradmin-am-3.6.0_rc
@@ -0,0 +1,3 @@
+MD5 9a8035bbad7be09ac6295c43246cf953 vdradmin-am-3.6.0rc.tar.bz2 552971
+RMD160 f783be98fee9b2f73608ae37e29fd9e82e012781 vdradmin-am-3.6.0rc.tar.bz2 552971
+SHA256 353e79b39a3150c9d9dfdd862eab14e8ce0bf1a79c804fd76b665cd012752412 vdradmin-am-3.6.0rc.tar.bz2 552971
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
new file mode 100644
index 000000000000..d0ca130ed95e
--- /dev/null
+++ b/net-www/vdradmin-am/vdradmin-am-3.6.0_rc.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2007 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.1 2007/08/27 12:25:39 zzam 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
+ >=dev-perl/Compress-Zlib-1.2.2
+ media-video/vdr
+ dev-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
+}