diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2004-04-17 12:36:20 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2004-04-17 12:36:20 +0000 |
commit | 4ec4cce4b2580bb7cc61ab99937379dcda1c400c (patch) | |
tree | df76c0a27be781f9ec4227aefaab1d863508c74f /media-tv/xmltv | |
parent | Added patches for the CAN-2004-0010, CAN-2004-0177 and CAN-2004-0178 vulnerab... (diff) | |
download | historical-4ec4cce4b2580bb7cc61ab99937379dcda1c400c.tar.gz historical-4ec4cce4b2580bb7cc61ab99937379dcda1c400c.tar.bz2 historical-4ec4cce4b2580bb7cc61ab99937379dcda1c400c.zip |
Version bump.
Diffstat (limited to 'media-tv/xmltv')
-rw-r--r-- | media-tv/xmltv/ChangeLog | 7 | ||||
-rw-r--r-- | media-tv/xmltv/Manifest | 4 | ||||
-rw-r--r-- | media-tv/xmltv/files/digest-xmltv-0.5.32 | 1 | ||||
-rw-r--r-- | media-tv/xmltv/xmltv-0.5.32.ebuild | 162 |
4 files changed, 172 insertions, 2 deletions
diff --git a/media-tv/xmltv/ChangeLog b/media-tv/xmltv/ChangeLog index c2267384ba29..09971378d1f7 100644 --- a/media-tv/xmltv/ChangeLog +++ b/media-tv/xmltv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-tv/xmltv # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.18 2004/03/22 13:33:30 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.19 2004/04/17 12:36:20 aliz Exp $ + +*xmltv-0.5.32 (17 Apr 2004) + + 17 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> xmltv-0.5.32.ebuild: + Version bump. *xmltv-0.5.31 (22 Mar 2004) diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest index 6de35b12efc4..acf7ffa5db6d 100644 --- a/media-tv/xmltv/Manifest +++ b/media-tv/xmltv/Manifest @@ -1,10 +1,12 @@ MD5 0d904363d7e001eb9b7c82bfd3c6b039 xmltv-0.5.31.ebuild 6299 MD5 5138514860e0835913c815981fdf30ae xmltv-0.5.29.ebuild 5280 MD5 7f66fa781ee80ee953025dc947d95b49 xmltv-0.5.30.ebuild 6137 -MD5 0e8a01cfb97d04d133fc23f8d3509ba4 ChangeLog 6221 +MD5 c78bfee3e78093e57cfb46576442c0f7 ChangeLog 6336 MD5 20e2255501865de5b568424821abf69d metadata.xml 161 +MD5 88c165675cbea9333f2e993d07bbb78b xmltv-0.5.32.ebuild 6407 MD5 e7ae84d64633a8b6fba9aa9d975e9e44 xmltv-0.5.23.ebuild 6058 MD5 dc434592be0863ac2e405460f0eb5819 files/digest-xmltv-0.5.23 65 MD5 1cc28b5f6a8895da6a4d2ffba8c9cf8c files/digest-xmltv-0.5.29 65 MD5 e037f58683c2fe79ce55312b5d69cdcf files/digest-xmltv-0.5.30 65 MD5 540f82973470d2c56d9fd1a7582e7c48 files/digest-xmltv-0.5.31 65 +MD5 598d36feaa369b0fa89d6246ffe68869 files/digest-xmltv-0.5.32 65 diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.32 b/media-tv/xmltv/files/digest-xmltv-0.5.32 new file mode 100644 index 000000000000..60f10ba2457b --- /dev/null +++ b/media-tv/xmltv/files/digest-xmltv-0.5.32 @@ -0,0 +1 @@ +MD5 dd39921dc055df2ca5e7c011e01177a4 xmltv-0.5.32.tar.bz2 424383 diff --git a/media-tv/xmltv/xmltv-0.5.32.ebuild b/media-tv/xmltv/xmltv-0.5.32.ebuild new file mode 100644 index 000000000000..04f92917b4c1 --- /dev/null +++ b/media-tv/xmltv/xmltv-0.5.32.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.32.ebuild,v 1.1 2004/04/17 12:36:20 aliz Exp $ + +inherit perl-module + +DESCRIPTION="Set of utilities to manage TV listings stored in the XMLTV format." +HOMEPAGE="http://membled.com/work/apps/xmltv/" +SRC_URI="mirror://sourceforge/xmltv/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +# NOTE: you can customize the xmltv installation by +# defining a XMLTV_OPTS variable which contains +# a space-separated list of optional features. +# If this variable is unspecified or has an +# empty value, everything will be *enabled*. +# +# tv_grab_uk_rt: Alternate Britain listings grabber +# tv_grab_it: Italy listings grabber +# tv_grab_na: North America listings grabber +# tv_grab_na_dd: Alternate American listings grabber +# tv_grab_nz: New Zealand listings grabber +# tv_grab_fi: Finland listings grabber +# tv_grab_es: Spain listings grabber +# tv_grab_es_digital: Spain digital satellite listings grabber +# tv_grab_nl: Netherlands listings grabber +# tv_grab_nl_wolf: Alternate Netherlands listings grabber +# tv_grab_hu: Hungary listings grabber +# tv_grab_dk: Denmark listings grabber +# tv_grab_jp: Japan listings grabber +# tv_grab_de_tvtoday: Germany listings grabber +# tv_grab_se: Sweden listings grabber +# tv_grab_fr: France listings grabber +# tv_check: Graphical front-end for listings data +# tv_pick_cgi: CGI front-end for listings data + +# EXAMPLES: +# enable just North American grabber +# XMLTV_OPTS="tv_grab_na" +# +# enable graphical front-end, New Zealand and Italy grabbers +# XMLTV_OPTS="tv_check tv_grab_nz tv_grab_it" + +RDEPEND=">=dev-lang/perl-5.8.1 + >=dev-perl/libwww-perl-5.65 + >=dev-perl/XML-Parser-2.34 + >=dev-perl/XML-Twig-3.10 + >=dev-perl/XML-Writer-0.4.6 + >=dev-perl/DateManip-5.42a + dev-perl/Lingua-EN-Numbers-Ordinate + >=dev-perl/Lingua-Preferred-0.2.4 + >=dev-perl/Term-ProgressBar-2.03 + dev-perl/Compress-Zlib + dev-perl/Unicode-String" + +DEPEND="${RDEPEND} + >=sys-apps/portage-2.0.50-r1 + >=sys-apps/sed-4" + +[ -z "${XMLTV_OPTS}" ] || has tv_grab_uk_rt ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_na_dd ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/SOAP-Lite" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_na ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_nz ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} >=dev-lang/python-1.5.1" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_fi ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_es ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_es_digital ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_nl ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_nl_wolf ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_hu ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_dk ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_jp ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-Tree dev-perl/Text-Kakasi" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_de_tvtoday ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_se ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/XML-LibXML" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_fr ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree" +[ -z "${XMLTV_OPTS}" ] || has tv_grab_no ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/HTML-LinkExtractor" +[ -z "${XMLTV_OPTS}" ] || has tv_check ${XMLTV_OPTS} \ + && DEPEND="${DEPEND} dev-perl/perl-tk dev-perl/Tk-TableMatrix" + +make_config() { + if [ -z "${XMLTV_OPTS}" ] ; then + # No customization needed, build everything (default) + echo "yes" + return + else + # Need to specify custom settings, do not accept defaults + echo "no" + fi + + # Enable Alternate Brittain + has tv_grab_uk_rt ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Italy + has tv_grab_it ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable North America + has tv_grab_na ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable New Zealand + has tv_grab_nz ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Finland + has tv_grab_fi ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Spain + has tv_grab_es ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Spain Digital + has tv_grab_es_digital ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Netherlands + has tv_grab_nl ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Alternate Netherlands + has tv_grab_nl_wolf ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Hungary + has tv_grab_hu ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Denmark + has tv_grab_dk ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Japan + has tv_grab_jp ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Germany + has tv_grab_de_tvtoday ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable Sweden + has tv_grab_se ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable France + has tv_grab_fr ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable GUI checking. + has tv_check ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" + # Enable CGI support + has tv_pick_cgi ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no" +} + +src_compile() { + make_config | perl-module_src_compile +} + +src_install() { + perl-module_src_install + + for i in `grep -rl "${D}" "${D}"` ; do + sed -e "s:${D}::g" -i "${i}" + done + + [ -z "${XMLTV_OPTS}" ] || has tv_pick_cgi ${XMLTV_OPTS} && { + dobin choose/tv_pick/tv_pick_cgi + einfo + einfo "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi" + einfo "to where the ScriptAlias directive is configured." + einfo + } +} |