# ChangeLog for media-plugins/vdr-remote
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remote/ChangeLog,v 1.13 2007/03/06 16:58:03 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remote/ChangeLog,v 1.14 2007/04/17 12:56:47 zzam Exp $
+
+ 17 Apr 2007; Matthias Schwarzott <zzam@gentoo.org> files/rc-addon.sh:
+ Removed bash specific stuff.
*vdr-remote-0.3.9 (06 Mar 2007)
MD5 e5af7e38dbc2643f5cdeb13ee725c4ed files/confd 1103
RMD160 36509412b3af6090d088fb9fe332ecedb34e7351 files/confd 1103
SHA256 8f9949294985b758ab0c6cc624c602d0f890828a163ae6805c58f7c95ad9e1d0 files/confd 1103
-AUX rc-addon.sh 2336 RMD160 060553d867effdede0b013408c863cd2ca984ffe SHA1 025227cd5ccafcde4248dfe000ddf19611771f07 SHA256 964044b7306a62dfa761653bac33137dcc5f8ecd7bbd98a9621bdc1acf06f77a
-MD5 63f43e4f41badf70d420f3f650106b04 files/rc-addon.sh 2336
-RMD160 060553d867effdede0b013408c863cd2ca984ffe files/rc-addon.sh 2336
-SHA256 964044b7306a62dfa761653bac33137dcc5f8ecd7bbd98a9621bdc1acf06f77a files/rc-addon.sh 2336
+AUX rc-addon.sh 2228 RMD160 00802f8ca040ef8f8656ae43cb132cff402b07ee SHA1 557ec1d80dd9519d82d6011258260826e558bdb1 SHA256 72063c2973c2eb288401851ea76f06963a24c506efe02d9f75b3950141cc24c7
+MD5 737c437e5f7f819fc5aef95bda28d2d9 files/rc-addon.sh 2228
+RMD160 00802f8ca040ef8f8656ae43cb132cff402b07ee files/rc-addon.sh 2228
+SHA256 72063c2973c2eb288401851ea76f06963a24c506efe02d9f75b3950141cc24c7 files/rc-addon.sh 2228
AUX vdr-remote-0.3.8-uint64.diff 6633 RMD160 9681dc92b32aff3b102f23d56b47a61c7b0f95f0 SHA1 8b32b851ab9dd9580ef232660cc7979c5e9816e7 SHA256 19e66f9a085b9790c5270f637235e666ff9624d260a9e4ba7370c61792888f2d
MD5 fc227472841904dd630d80468b20cabe files/vdr-remote-0.3.8-uint64.diff 6633
RMD160 9681dc92b32aff3b102f23d56b47a61c7b0f95f0 files/vdr-remote-0.3.8-uint64.diff 6633
MD5 a3ae165ead40fb9a0e52d377e475df90 vdr-remote-0.3.9.ebuild 573
RMD160 1dc701b3796ba69d7c23a035e8672cd36cf91e73 vdr-remote-0.3.9.ebuild 573
SHA256 8f0e2c4586fc9e90a65ae61b039a55cc89d716da4bc79962551593f162805bd2 vdr-remote-0.3.9.ebuild 573
-MISC ChangeLog 2012 RMD160 38889533bbf8fc1d63c81d6827c9031c6532f29f SHA1 fb2cdeb26d9af7070a7b794a3372b1dedfc8ca5e SHA256 d5d0cf63ea32c139136140481dc96d2056b1cc2f0ec3e95aa923f39fd0efe351
-MD5 08b0acde304d909ebf4d40e3042473f7 ChangeLog 2012
-RMD160 38889533bbf8fc1d63c81d6827c9031c6532f29f ChangeLog 2012
-SHA256 d5d0cf63ea32c139136140481dc96d2056b1cc2f0ec3e95aa923f39fd0efe351 ChangeLog 2012
+MISC ChangeLog 2111 RMD160 d31a618540cb261681256f80ca64be922db50f94 SHA1 f97c8ac31d17622d8a31a27854435fd0d8d08c36 SHA256 380a9ca3affcbab355842982b300d8a879d2206b529edc3dfa04e282e96606e4
+MD5 89a3b1e10ab74398eb244d965b3ed1ff ChangeLog 2111
+RMD160 d31a618540cb261681256f80ca64be922db50f94 ChangeLog 2111
+SHA256 380a9ca3affcbab355842982b300d8a879d2206b529edc3dfa04e282e96606e4 ChangeLog 2111
MISC metadata.xml 304 RMD160 29f1d6e123307420871a60507c3b9b00d2956ad4 SHA1 46c5e8429735bf32ee785823a7574589ee89438c SHA256 a4d710cae7233239f4cce6f067e160acbd2247d4f4ae8183ca5c2f40d8a4ae28
MD5 160c3a6f923cd781a82f7ecbec2e61ba metadata.xml 304
RMD160 29f1d6e123307420871a60507c3b9b00d2956ad4 metadata.xml 304
RMD160 a3fac7959a2b4188a877f79be4b4cd0790ef8535 files/digest-vdr-remote-0.3.9 238
SHA256 e14094e0f43f9b31fe809e5377528f8140e33552e2f95ed893d2b5646c99be4f files/digest-vdr-remote-0.3.9 238
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-Comment: added by hd_brummy@gentoo.org
+Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFF7Z2ddn07HTTCgIoRAhokAKCcOHhkovDccCEhYzXF3MvfZf3gMQCfa1PQ
-GcOxlOAQk0eXrkIBJmgtm/c=
-=Zu1g
+iD8DBQFGJMQVt2vP6XvVdOcRAqn/AJ4wmhdJoYVUQobTe1zVzwHuXv6g/QCfVjNH
+CakugIUNd8tZJ6RUSZiqCgg=
+=i8Od
-----END PGP SIGNATURE-----
local handlers="${1}"
local name="${2}"
local eventdev=""
- [[ "${handlers}" == "" ]] && return
+ [ "${handlers}" = "" ] && return
+ local handler
for handler in ${handlers}; do
- case ${handler} in
+ case "${handler}" in
event*)
eventdev=${handler}
;;
esac
done
- if [[ "${eventdev}" == "" ]]; then
- [[ "${evdev_warning_showed}" != "1" ]] \
- && echo "you need to load module evdev for autodetect input-devices to work"
- evdev_warning_showed=1
- return
- fi
- if [[ (${name/dvb/} != ${name}) || (${name/DVB/} == ${name}) ]]; then
+
+ if [ "${eventdev}" = "" ]; then
+ if [ "${evdev_warning_showed}" != "1" ]; then
+ echo "you need to load module evdev for autodetect input-devices to work"
+ evdev_warning_showed=1
+ fi
return
fi
-
- einfo_level1 "Autodetect Input Device ${eventdev} (Name: ${name})"
- REMOTE_PLUGIN_INPUT_DEVICE="${REMOTE_PLUGIN_INPUT_DEVICE} /dev/input/${eventdev}"
- return
+
+ case "${name}" in
+ *dvb*|*DVB*)
+ einfo_level1 "Autodetect Input Device ${eventdev} (Name: ${name})"
+ REMOTE_PLUGIN_INPUT_DEVICE="${REMOTE_PLUGIN_INPUT_DEVICE} /dev/input/${eventdev}"
+ ;;
+ esac
}
autodetect_input_devices() {
- [[ -e /proc/bus/input/devices ]] || return
+ [ -e /proc/bus/input/devices ] || return
exec 3</proc/bus/input/devices
while read -u 3 line; do
case ${line} in
}
plugin_pre_vdr_start() {
- if [[ ${REMOTE_PLUGIN_INPUT_DEVICE:-autodetect} == "autodetect" ]]; then
+ if [ "${REMOTE_PLUGIN_INPUT_DEVICE:-autodetect}" = "autodetect" ]; then
REMOTE_PLUGIN_INPUT_DEVICE=""
autodetect_input_devices
fi
- if [[ -n ${REMOTE_PLUGIN_INPUT_DEVICE} && "${REMOTE_PLUGIN_INPUT_DEVICE}" != "no" ]]; then
- [[ -e /proc/av7110_ir ]] && chown vdr:vdr /proc/av7110_ir
+ if [ -n "${REMOTE_PLUGIN_INPUT_DEVICE}" ] && [ "${REMOTE_PLUGIN_INPUT_DEVICE}" != "no" ]; then
+ [ -e /proc/av7110_ir ] && chown vdr:vdr /proc/av7110_ir
for dev in ${REMOTE_PLUGIN_INPUT_DEVICE}; do
- [[ -e ${dev} ]] || continue
+ [ -e "${dev}" ] || continue
chown vdr:vdr ${dev}
add_plugin_param "--input=${dev}"
done
fi
- if [[ -n ${REMOTE_PLUGIN_LIRC} ]]; then
+ if [ -n "${REMOTE_PLUGIN_LIRC}" ]; then
for dev in ${REMOTE_PLUGIN_LIRC}; do
- [[ -e ${dev} ]] || continue
+ [ -e "${dev}" ] || continue
add_plugin_param "--lirc=${dev}"
done
fi
- if [[ -n ${REMOTE_PLUGIN_TCP_PORTS} ]]; then
+ if [ -n "${REMOTE_PLUGIN_TCP_PORTS}" ]; then
for tcpport in ${REMOTE_PLUGIN_TCP_PORTS}; do
add_plugin_param "--port=tcp:${tcpport}"
done
fi
- if [[ -n ${REMOTE_PLUGIN_TTY_ONLY_INPUT} ]]; then
+ if [ -n "${REMOTE_PLUGIN_TTY_ONLY_INPUT}" ]; then
for tty in ${REMOTE_PLUGIN_TTY_ONLY_INPUT}; do
- [[ -e ${tty} ]] || continue
+ [ -e "${tty}" ] || continue
chown vdr:vdr ${tty}
add_plugin_param "--tty=${tty}"
done
fi
- if [[ -n ${REMOTE_PLUGIN_TTY_WITH_OSD} ]]; then
+ if [ -n "${REMOTE_PLUGIN_TTY_WITH_OSD}" ]; then
for tty in ${REMOTE_PLUGIN_TTY_WITH_OSD}; do
- [[ -e ${tty} ]] || continue
+ [ -e "${tty}" ] || continue
chown vdr:vdr ${tty}
add_plugin_param "--TTY=${tty}"
done
fi
}
-
-# for compatibility
-if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
- plugin_pre_vdr_start
-fi