diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-02-07 10:43:27 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-02-07 10:43:27 +0000 |
commit | 36d17fcc29577a8cfa91d3ba2cc9807e47d40f6c (patch) | |
tree | 6238d845c558d9437b742331acd25d9c81f17017 /media-tv | |
parent | Marked stable on x86. (diff) | |
download | historical-36d17fcc29577a8cfa91d3ba2cc9807e47d40f6c.tar.gz historical-36d17fcc29577a8cfa91d3ba2cc9807e47d40f6c.tar.bz2 historical-36d17fcc29577a8cfa91d3ba2cc9807e47d40f6c.zip |
Removed old ebuild.
Package-Manager: portage-2.1.2-r8
Diffstat (limited to 'media-tv')
6 files changed, 16 insertions, 339 deletions
diff --git a/media-tv/vdrplugin-rebuild/ChangeLog b/media-tv/vdrplugin-rebuild/ChangeLog index 8b5b1f24e9c9..626f2711f41e 100644 --- a/media-tv/vdrplugin-rebuild/ChangeLog +++ b/media-tv/vdrplugin-rebuild/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-tv/vdrplugin-rebuild # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/ChangeLog,v 1.11 2007/01/05 17:15:59 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/ChangeLog,v 1.12 2007/02/07 10:43:27 zzam Exp $ + + 07 Feb 2007; Matthias Schwarzott <zzam@gentoo.org> + -files/vdrplugin-rebuild-0.1, -vdrplugin-rebuild-0.1.ebuild: + Removed old ebuild. 05 Jan 2007; Joerg Bornkessel <hd_brummy@gentoo.org> vdrplugin-rebuild-0.2.ebuild: diff --git a/media-tv/vdrplugin-rebuild/Manifest b/media-tv/vdrplugin-rebuild/Manifest index 3989e75c24b4..b2c8e70afea0 100644 --- a/media-tv/vdrplugin-rebuild/Manifest +++ b/media-tv/vdrplugin-rebuild/Manifest @@ -1,41 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX vdrplugin-rebuild-0.1 6693 RMD160 a2007751db6f7496b17e9ef8d09a1d687c956349 SHA1 687ef01de1a958576a4c845d7684f574ef246802 SHA256 951310b2892cbfd18a7dbd28f1d51d4c8c46d997bbb8fd3b29e28f845ee291de -MD5 db792d6666e43fc873af492d3e79cfef files/vdrplugin-rebuild-0.1 6693 -RMD160 a2007751db6f7496b17e9ef8d09a1d687c956349 files/vdrplugin-rebuild-0.1 6693 -SHA256 951310b2892cbfd18a7dbd28f1d51d4c8c46d997bbb8fd3b29e28f845ee291de files/vdrplugin-rebuild-0.1 6693 AUX vdrplugin-rebuild-0.2 6395 RMD160 97fd2fedba34e7564e5bc8345747ed2ad7422c32 SHA1 c7a535f75b273859b7634d10e9942a6ea30443c6 SHA256 63c9eaea2ee0a2b77ad9f35f4616bb6a91dcf756d73fdaee105511fbac89e450 MD5 bb1066fa6e6f714115a9430a280f4c1a files/vdrplugin-rebuild-0.2 6395 RMD160 97fd2fedba34e7564e5bc8345747ed2ad7422c32 files/vdrplugin-rebuild-0.2 6395 SHA256 63c9eaea2ee0a2b77ad9f35f4616bb6a91dcf756d73fdaee105511fbac89e450 files/vdrplugin-rebuild-0.2 6395 -EBUILD vdrplugin-rebuild-0.1.ebuild 486 RMD160 73cd2cc3592fea336cf821607de7265d1c11c2c8 SHA1 0dcf00d0c655dec2bda93131868b2e585aaa21d6 SHA256 9f085d8ac33b76902a499a27240029c2de3eab1dc20e90c13a7d739256805af8 -MD5 be062631020daf63530d8b1be6738143 vdrplugin-rebuild-0.1.ebuild 486 -RMD160 73cd2cc3592fea336cf821607de7265d1c11c2c8 vdrplugin-rebuild-0.1.ebuild 486 -SHA256 9f085d8ac33b76902a499a27240029c2de3eab1dc20e90c13a7d739256805af8 vdrplugin-rebuild-0.1.ebuild 486 EBUILD vdrplugin-rebuild-0.2.ebuild 860 RMD160 f1aac71a61fc3dea3312b49deb61adcbdea584ce SHA1 12d7e084f2bc23dcad84b319fb30e190de4c25d2 SHA256 65cd5514afbcbd3457a6a11ceb12f82bf964b9cb52c192c4d8bf183cd5e3cd10 MD5 f4ff0a3a17eacecf7afe17ceea43bffa vdrplugin-rebuild-0.2.ebuild 860 RMD160 f1aac71a61fc3dea3312b49deb61adcbdea584ce vdrplugin-rebuild-0.2.ebuild 860 SHA256 65cd5514afbcbd3457a6a11ceb12f82bf964b9cb52c192c4d8bf183cd5e3cd10 vdrplugin-rebuild-0.2.ebuild 860 -MISC ChangeLog 1786 RMD160 71d36ab2d47978354c8f0e36123d79caa435504b SHA1 eb3305c227d916957452308cb629ed6c6287f424 SHA256 a93bdf75421edfec29cbf170d19e855351f825aa92509fd46942e337ae26caf6 -MD5 bbfe1f6100a781376ced64910df4e069 ChangeLog 1786 -RMD160 71d36ab2d47978354c8f0e36123d79caa435504b ChangeLog 1786 -SHA256 a93bdf75421edfec29cbf170d19e855351f825aa92509fd46942e337ae26caf6 ChangeLog 1786 +MISC ChangeLog 1920 RMD160 9cc7bbc4165e3ad09b964a73634d05f7d19b5366 SHA1 e8aff360bf8264acbddcd7cc63c6bd026507838d SHA256 068e5a355160689d462156da52d18882d70e8ef175693cba4fea73e9265b731d +MD5 8864e34d1e495ab857aecd6b097b6235 ChangeLog 1920 +RMD160 9cc7bbc4165e3ad09b964a73634d05f7d19b5366 ChangeLog 1920 +SHA256 068e5a355160689d462156da52d18882d70e8ef175693cba4fea73e9265b731d ChangeLog 1920 MISC metadata.xml 257 RMD160 8bee49b98c59996aaaa019fb2c764c08d8004507 SHA1 d2419394e7d5c7463d7dea33e9190ebd57484531 SHA256 0dd45fbbaf1c6173535e371e3ff8a3faa41f3f89123ac9dffe338998599ebe26 MD5 116de98355049ce943c3b6fedc00b4a3 metadata.xml 257 RMD160 8bee49b98c59996aaaa019fb2c764c08d8004507 metadata.xml 257 SHA256 0dd45fbbaf1c6173535e371e3ff8a3faa41f3f89123ac9dffe338998599ebe26 metadata.xml 257 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-vdrplugin-rebuild-0.1 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-vdrplugin-rebuild-0.1 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-vdrplugin-rebuild-0.1 1 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-vdrplugin-rebuild-0.2 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-vdrplugin-rebuild-0.2 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-vdrplugin-rebuild-0.2 1 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-vdrplugin-rebuild-0.2 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-vdrplugin-rebuild-0.2 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-vdrplugin-rebuild-0.2 0 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) -Comment: GnuPG-Pack Basics: http://home.arcor.de/rose-indorf +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFnogrdn07HTTCgIoRAofFAJ438E+S+yqUQ3nk6O2UwH8fXZppwQCgtXlu -ZuyV6Lk5q+nyhbpmFrPSRHM= -=wpZv +iD8DBQFFya1Vt2vP6XvVdOcRAr2HAJ0fWeebuNuF3kgdr1NLiI1XPmaE1wCgwwDN +oM40JXal8zV+qFplZzBbZYI= +=fHYj -----END PGP SIGNATURE----- diff --git a/media-tv/vdrplugin-rebuild/files/digest-vdrplugin-rebuild-0.1 b/media-tv/vdrplugin-rebuild/files/digest-vdrplugin-rebuild-0.1 deleted file mode 100644 index 8b137891791f..000000000000 --- a/media-tv/vdrplugin-rebuild/files/digest-vdrplugin-rebuild-0.1 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/media-tv/vdrplugin-rebuild/files/digest-vdrplugin-rebuild-0.2 b/media-tv/vdrplugin-rebuild/files/digest-vdrplugin-rebuild-0.2 index 8b137891791f..e69de29bb2d1 100644 --- a/media-tv/vdrplugin-rebuild/files/digest-vdrplugin-rebuild-0.2 +++ b/media-tv/vdrplugin-rebuild/files/digest-vdrplugin-rebuild-0.2 @@ -1 +0,0 @@ - diff --git a/media-tv/vdrplugin-rebuild/files/vdrplugin-rebuild-0.1 b/media-tv/vdrplugin-rebuild/files/vdrplugin-rebuild-0.1 deleted file mode 100644 index 32d6506362f0..000000000000 --- a/media-tv/vdrplugin-rebuild/files/vdrplugin-rebuild-0.1 +++ /dev/null @@ -1,294 +0,0 @@ -#!/bin/bash -####################################### -# Inspiration from bug #34921 -# Thanks to Paul Varner - -# Distributed under the GPL v2 -# Written by John Mylchreest (johnm@gentoo.org) - -# Changed for vdrplugins by Matthias Schwarzott (zzam@gentoo.org) -# Copyright Gentoo Linux - -# This version is based on module-rebuild-0.5 - -if [[ `id -u` != 0 ]]; then - echo "This application must be ran as root." - exit 1 -fi - -R_VERSION="0.1" -R_MODULES="${ROOT}/var/lib/vdrplugin-rebuild/vdrplugindb" -R_PORTAGEQ="`which portageq 2>/dev/null`" -if [[ -z ${R_PORTAGEQ} ]]; then - echo "** FATAL: Unable to find portageq." - exit 1 -fi -R_PORTDIR=`${R_PORTAGEQ} portdir` -R_VDBPATH=`${R_PORTAGEQ} vdb_path` -R_OPTION_X=0; -R_OPTION_C=0; - -package_valid() { - local package=${1} - [[ -z ${package} ]] && return 1 - [[ -z ${package/*\/*} ]] && return 0 || return 1 -} - -package_valid_strict() { - local package=${1} - package_valid ${package} && [[ -z ${package%%*-[0-9]*} ]] && return 0 || return 1 -} - -package_exists() { - local package=${1} - - package=${package%-[0-9]*} - if $(${R_PORTAGEQ} has_version / ${package}); then - return 0 - else - return 1 - fi -} - -db_module_exists() { - local line package=${1} - - for line in `<${R_MODULES}`; do - [[ -z ${line/*${package}*} ]] && return 0 - done - return 1 -} - -db_module_toggle() { - local package=${1} toggleto=${2} togglefrom line - - if db_module_exists ${package}; then - line=`grep ${package} ${R_MODULES}` - togglefrom=${line#*:} - togglefrom=${togglefrom/:*} - if [[ -z ${toggleto} ]]; then - [[ ${togglefrom} = 0 ]] && toggleto=1 || toggleto=0 - fi - echo "** Setting ${package}; rebuild=${toggleto}." - sed -i -e "s:\(.\:\)\([01]\)\(\:${package}\):\1${toggleto}\3:g" ${R_MODULES} - else - echo "** ${package} not found in vdrplugindb." - fi -} - -db_module_add() { - local package=${1} - - if db_module_exists ${package}; then - echo -e "${C_BOLD}** Module already exists in vdrplugindb.${C_NORM}" - db_module_toggle ${package} 1 - return 0 - else - if package_exists ${package}; then - echo -e "${C_BOLD}${C_GREEN}** Adding ${package} to vdrplugindb.${C_NORM}" - echo "m:1:${package}" >> ${R_MODULES} - return 0 - else - echo -e "${C_RED}** Unable to locate an available ebuild for ${package}.${C_NORM}" - echo "** Please manually emerge ${package} first." - fi - fi - return 1 -} - -db_module_del() { - local package=${1} - - if db_module_exists ${package}; then - echo "** Removing ${package} from vdrplugindb." - sed -ie "/.*${package/\//\\/}.*/d" ${R_MODULES} - return 0 - else - echo "** ${package} not found in vdrplugindb." - return 1 - fi -} - -db_module_list() { - local line auto pkg a=0 b=0 - - for line in `<${R_MODULES}`; do - mode=${line:0:1} - pkg=${line#*:} - auto=${pkg/:*} - pkg=${pkg/*:} - - if [[ ${R_OPTION_X} == 1 ]]; then - pkg=${pkg%-[0-9]*} - package_valid ${pkg} - else - package_valid_strict ${pkg} && pkg="=${pkg}" - fi - - if [[ ${auto} = 1 ]]; then - tomerge[${a}]=${pkg} - a=$((${a} + 1)) - else - toignore[${b}]=${pkg} - b=$((${b} + 1)) - fi - done - - pkg="${tomerge[@]}${toignore[@]}" - if [[ -z ${pkg} ]]; then - echo -e "${C_BOLD}${C_RED}** There are no known modules. Quitting.${C_NORM}" - exit 1 - fi - - if [[ -n ${tomerge[@]} ]]; then - echo -e "${C_BOLD}${C_GREEN}** Packages which I will emerge are:${C_NORM}" - for pkg in ${tomerge[@]}; do - echo -e "\t${pkg}" - done - fi - - if [[ -n ${toignore[@]} ]]; then - echo -e "${C_BOLD}${C_GREEN}** Packages which I will ignore are:${C_NORM}" - for pkg in ${toignore[@]}; do - echo -e "\t${pkg}" - done - fi -} - -db_module_populate() { - local i x=0 pkg version list pad - - # Lets find them all - # chances are we will get a few dupes in here. - for pkg in `grep -i /usr/lib/vdr/.*libvdr.*so ${R_VDBPATH}/*/*/CONTENTS`; do - pad=""; x=0; - - if [[ -z ${pkg//${R_VDBPATH}*} ]]; then - for((i=0;i<=${#pkg};i++)); do - [[ ${pkg:${i}:1} = / ]] && x=$((${x} + 1)); - [[ ${x} == 4 ]] || [[ ${x} == 5 ]] && pad="${pad}${pkg:${i}:1}"; - done - # Remove any dupes - list=${list//${pad:1}} - list="${list} ${pad:1}" - fi - done - - for pkg in ${list}; do - db_module_add ${pkg}; - done -} - -db_module_merge() { - local i pkg - - echo -e "${C_BOLD}** Preparing to merge modules:${C_NORM}" - db_module_list >/dev/null - - if [[ -z ${tomerge[@]} ]]; then - echo -e "${C_BOLD}${C_RED}** No packages to merge. Quitting.${C_NORM}" - exit 1 - fi - - echo -e "${C_BOLD}${C_GREEN}** Packages which I will emerge are:"${C_NORM} - for pkg in ${tomerge[@]}; do - echo -e "\t${pkg}" - done - - for((i=1;i<6;i++)); do - echo -en "${C_BOLD}${C_RED}$((6 - ${i})) ${C_NORM}" - sleep 1 - done - echo - - emerge --oneshot --nodeps ${tomerge[@]} -} - -phelp() { -cat << EOF -vdrplugin-rebuild [options] action [category/package] -Version: ${R_VERSION} - -Where options are: - -X - Emerge based on package names, - not exact versions. - -C - Disable all coloured output. - -Where action is one of: - add - Add package to vdrplugindb. - del - Delete a package from vdrplugindb. - toggle - Toggle auto-rebuild of Package. - list - List packages to auto-rebuild. - rebuild - Rebuild packages. - populate - Populate the database with any - packages which currently install - plugins for vdr. - -EOF - -} - -check_validity() { - local package=${1} strict=${2:-0} ret=1 - - [[ ${strict} = 0 ]] && package_valid ${package} && ret=0 - [[ ${strict} = 1 ]] && package_valid_strict ${package} && ret=0 - - if [[ ${ret} != 0 ]]; then - echo "** Please pass the fully qualified package. For example:" - echo "** media-plugins/vdr-femon-0.9.1" - exit 1 - fi -} - -while getopts "XC" options; do - case ${options} in - X) R_OPTION_X='1';; - C) R_OPTION_C='1';; - *) phelp; exit 1;; - esac -done - -if [[ ${R_OPTION_C} == 0 ]]; then - C_BOLD='\e[1m' - C_NORM='\e[0m' - C_GREEN='\e[32m' - C_RED='\e[31m' -else - C_BOLD='' - C_NORM='' - C_GREEN='' - C_RED='' -fi - -x=0 -for i in ${@:${OPTIND}}; do - if [[ ${i:0:1} != - ]]; then - R_PARAMS[${x}]=${i} - x=$((${x} + 1)) - fi -done -unset i x - -# If the vdrplugindb doesnt exist, lets populate it automatically. -if [[ ! -f ${R_MODULES} ]]; then - echo -e "${C_BOLD}${C_RED}No vdrplugindb found...${C_NORM}" - - [[ ! -d ${ROOT}/var/lib/vdrplugin-rebuild/ ]] && \ - echo -e "${C_BOLD}Creating vdrplugindb state directory.${C_NORM}"; \ - mkdir -p ${ROOT}/var/lib/vdrplugin-rebuild/ - - echo -e "${C_BOLD}Populating vdrplugindb...${C_NORM}" - touch ${R_MODULES} - R_PARAMS[0]=populate -fi - -case ${R_PARAMS[0]} in - add) check_validity ${R_PARAMS[1]} 1; db_module_add ${R_PARAMS[1]};; - del) check_validity ${R_PARAMS[1]}; db_module_del ${R_PARAMS[1]};; - toggle) check_validity ${R_PARAMS[1]}; db_module_toggle ${R_PARAMS[1]};; - list) db_module_list;; - rebuild) db_module_merge;; - populate) db_module_populate;; - *) phelp; exit 1;; -esac diff --git a/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.1.ebuild b/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.1.ebuild deleted file mode 100644 index e7923dc092ff..000000000000 --- a/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.1.ebuild,v 1.4 2005/09/13 11:11:09 zzam Exp $ - -DESCRIPTION="A utility to rebuild any plugins for vdr which you have installed." -HOMEPAGE="http://www.gentoo.org/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="" - -DEPEND="" - -src_install() { - newsbin ${FILESDIR}/${P} ${PN} -} - |