diff options
author | Max Kalika <max@gentoo.org> | 2003-08-18 16:00:32 +0000 |
---|---|---|
committer | Max Kalika <max@gentoo.org> | 2003-08-18 16:00:32 +0000 |
commit | 8c42b0fc3eb51da92fb63e3a0c4bbab5a91bb55e (patch) | |
tree | 56e5c38eba4f23e0b64e3e8e76dedf4f6cb2a9e7 /media-tv | |
parent | fixed insecure temporary file creation, see bug #26715 (diff) | |
download | gentoo-2-8c42b0fc3eb51da92fb63e3a0c4bbab5a91bb55e.tar.gz gentoo-2-8c42b0fc3eb51da92fb63e3a0c4bbab5a91bb55e.tar.bz2 gentoo-2-8c42b0fc3eb51da92fb63e3a0c4bbab5a91bb55e.zip |
Bump version to 0.5.16.
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/xmltv/ChangeLog | 25 | ||||
-rw-r--r-- | media-tv/xmltv/Manifest | 4 | ||||
-rw-r--r-- | media-tv/xmltv/files/digest-xmltv-0.5.16 | 1 | ||||
-rw-r--r-- | media-tv/xmltv/xmltv-0.5.16.ebuild | 161 |
4 files changed, 180 insertions, 11 deletions
diff --git a/media-tv/xmltv/ChangeLog b/media-tv/xmltv/ChangeLog index a979996b4843..3dd6935b5af4 100644 --- a/media-tv/xmltv/ChangeLog +++ b/media-tv/xmltv/ChangeLog @@ -1,31 +1,36 @@ # ChangeLog for media-tv/xmltv # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.1 2003/07/09 00:08:10 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.2 2003/08/18 16:00:14 max Exp $ - 03 Jul 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.11.ebuild, +*xmltv-0.5.16 (18 Aug 2003) + + 18 Aug 2003; Max Kalika <max@gentoo.org> xmltv-0.5.16.ebuild: + Bump version to 0.5.16. + + 03 Jul 2003; Max Kalika <max@gentoo.org> xmltv-0.5.11.ebuild, xmltv-0.5.12.ebuild, xmltv-0.5.14.ebuild: Change DateManip dependency to >= 5.42 which is officially out today and seems to work with xmltv. *xmltv-0.5.14 (01 Jul 2003) - 01 Jul 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.13.ebuild, + 01 Jul 2003; Max Kalika <max@gentoo.org> xmltv-0.5.13.ebuild, xmltv-0.5.14.ebuild: Bump version to 0.5.14 and drop version 0.5.13 as it got pulled upstream. *xmltv-0.5.13 (01 Jul 2003) - 01 Jul 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.13.ebuild: + 01 Jul 2003; Max Kalika <max@gentoo.org> xmltv-0.5.13.ebuild: Bump version to 0.5.13. *xmltv-0.5.12 (29 Jun 2003) - 29 Jun 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.12.ebuild: + 29 Jun 2003; Max Kalika <max@gentoo.org> xmltv-0.5.12.ebuild: Bump version to 0.5.12. *xmltv-0.5.11 (22 Jun 2003) - 22 Jun 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.11.ebuild: + 22 Jun 2003; Max Kalika <max@gentoo.org> xmltv-0.5.11.ebuild: Bump to 0.5.11. This one requires some changes: *ALL* grabbers are optional now, so enable support for them. Add support for two new grabbers: Hungary and Denmark. Since there is an option to build everything, simplify the @@ -37,12 +42,12 @@ *xmltv-0.5.10-r4 (18 Jun 2003) - 18 Jun 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.10-r4.ebuild: + 18 Jun 2003; Max Kalika <max@gentoo.org> xmltv-0.5.10-r4.ebuild: Move to media-tv. *xmltv-0.5.10-r3 (16 Jun 2003) - 16 Jun 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.10-r3.ebuild: + 16 Jun 2003; Max Kalika <max@gentoo.org> xmltv-0.5.10-r3.ebuild: Correctly fix the PREFIX issue. Just setting the PREFIX="${D}/usr" is insufficient because the resulting executable script contains incorrectly hard-coded paths to the SHARE_DIR (as pointed out by bug #10536 comment #66). @@ -58,7 +63,7 @@ *xmltv-0.5.10-r1 (13 Jun 2003) - 13 Jun 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.10-r1.ebuild: + 13 Jun 2003; Max Kalika <max@gentoo.org> xmltv-0.5.10-r1.ebuild: Drop all the local USE flag, use environment variable (XMLTV_OPTS) instead. Drop the apache/cgi stuff and install tv_pick_cgi into /usr/bin with a note on how to procede (until Gentoo has a standard @@ -69,7 +74,7 @@ *xmltv-0.5.10 (28 Apr 2003) - 28 Apr 2003; Max Kalika <max@lsit.ucsb.edu> xmltv-0.5.10.ebuild: + 28 Apr 2003; Max Kalika <max@gentoo.org> xmltv-0.5.10.ebuild: Initial import. Bump to 0.5.10. Add xmltvnonlwolf flag to support a new grabber. Install tv_pick_cgi file into ScriptAlias if the xmltvnocgi USE flag is unset. diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest index ea43adff11a4..a6da53dfca5d 100644 --- a/media-tv/xmltv/Manifest +++ b/media-tv/xmltv/Manifest @@ -1,3 +1,5 @@ MD5 8efe29bb59b43eaf84d13c03ceea7f0d xmltv-0.5.14.ebuild 6046 -MD5 60382fd1d3ad196ae1fe763d15bdb3ed ChangeLog 3211 +MD5 1d8dd134abfa7fc0c682a5b8afbacffe xmltv-0.5.16.ebuild 6014 +MD5 8a4ceb4207d7bca72e132d3012de01ee ChangeLog 3302 MD5 35c0ccab3f399ea2ed58bb3c97bfa8e7 files/digest-xmltv-0.5.14 65 +MD5 fdac3cb914cbd57d6e7cc4d75a9b32e7 files/digest-xmltv-0.5.16 65 diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.16 b/media-tv/xmltv/files/digest-xmltv-0.5.16 new file mode 100644 index 000000000000..e33690c3c3ae --- /dev/null +++ b/media-tv/xmltv/files/digest-xmltv-0.5.16 @@ -0,0 +1 @@ +MD5 27408429de35b541f9d608b73320cd4d xmltv-0.5.16.tar.bz2 391577 diff --git a/media-tv/xmltv/xmltv-0.5.16.ebuild b/media-tv/xmltv/xmltv-0.5.16.ebuild new file mode 100644 index 000000000000..ff2f76b30d7a --- /dev/null +++ b/media-tv/xmltv/xmltv-0.5.16.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2003 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.16.ebuild,v 1.1 2003/08/18 16:00:14 max 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/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +# 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*. +# +# none: Don't enable any of the features below +# tv_grab_de: Germany and Austria listing grabbers +# tv_grab_uk: Britain listings grabber +# tv_grab_uk_rt: Alternate Britain listings grabber +# tv_grab_it: Italy listings grabber +# tv_grab_na: North America listings grabber +# tv_grab_sn: Sweden and Norway listings grabber +# tv_grab_nz: New Zealand listings grabber +# tv_grab_fi: Finland listings grabber +# tv_grab_es: Spain 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_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" + +DEPEND=">=sys-apps/sed-4 + >=dev-perl/libwww-perl-5.65 + >=dev-perl/XML-Twig-3.09 + dev-perl/XML-Writer + >=dev-perl/DateManip-5.42 + dev-perl/Memoize + >=dev-perl/Term-ProgressBar-2.03 + dev-perl/Compress-Zlib + dev-perl/Lingua-EN-Numbers-Ordinate + dev-perl/Lingua-Preferred + dev-perl/Unicode-String" + +# for tv_check +DEPEND="${DEPEND} dev-perl/perl-tk dev-perl/Tk-TableMatrix dev-perl/XML-Simple" +# for tv_grab_na +DEPEND="${DEPEND} dev-perl/HTML-Parser" +# for tv_grab_sn +DEPEND="${DEPEND} >=dev-perl/HTML-TableExtract-1.08" +# for tv_grab_nz +DEPEND="${DEPEND} >=dev-lang/python-1.5.2" +# for tv_grab_fi tv_grab_es tv_grab_nl tv_grab_nl_wolf tv_grab_hu tv_grab_dk +DEPEND="${DEPEND} dev-perl/HTML-Tree" + +### disabled until portage dependecy checker has notions of things +### other then incrementals that are in /etc/make.conf +### 6/13/2003 Max Kalika <max@lsit.ucsb.edu> +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_na ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Parser" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_sn ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} >=dev-perl/HTML-TableExtract-1.0.8" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_nz ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} >=dev-lang/python-1.5.1" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_fi ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_es ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_nl ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_nl_wolf ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_hu ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_dk ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_check ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/perl-tk dev-perl/Tk-TableMatrix dev-perl/XML-Simple" + +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 Germany and Austria + [ "`has tv_grab_de ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Brittain + [ "`has tv_grab_uk ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Alternate Brittain + [ "`has tv_grab_uk_rt ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Italy + [ "`has tv_grab_it ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable North America + [ "`has tv_grab_na ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Sweden and Norway + [ "`has tv_grab_sn ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable New Zealand + [ "`has tv_grab_nz ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Finland + [ "`has tv_grab_fi ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Spain + [ "`has tv_grab_es ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Netherlands + [ "`has tv_grab_nl ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Alternate Netherlands + [ "`has tv_grab_nl_wolf ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Hungary + [ "`has tv_grab_hu ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Denmark + [ "`has tv_grab_nl ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable GUI checking. + [ "`has tv_check ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable CGI support + [ "`has tv_pick_cgi ${XMLTV_OPTS}`" ] && 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 + + if [ -z "${XMLTV_OPTS}" -o "`has tv_pick_cgi ${XMLTV_OPTS}`" ] ; then + 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 + fi +} + +pkg_postinst() { + ewarn "If you are upgrading from < 0.5.10 and you need to use the" + ewarn "DE (Germany/Austria), UK or UK_RT (Britain), or IT (Italy)" + ewarn "grabbers, please make sure you have the appropriate value" + ewarn "specified in your XMLTV_OPTS setting because these grabbers" + ewarn "no longer build by default." + echo +} |