1 |
Author: zzam |
2 |
Date: 2008-07-04 11:06:09 +0000 (Fri, 04 Jul 2008) |
3 |
New Revision: 622 |
4 |
|
5 |
Modified: |
6 |
gentoo-vdr-scripts/trunk/ChangeLog |
7 |
gentoo-vdr-scripts/trunk/etc/conf.d/vdr |
8 |
gentoo-vdr-scripts/trunk/usr/share/vdr/inc/plugin-functions.sh |
9 |
Log: |
10 |
Add setting to disable patchlevel check. |
11 |
|
12 |
Modified: gentoo-vdr-scripts/trunk/ChangeLog |
13 |
=================================================================== |
14 |
--- gentoo-vdr-scripts/trunk/ChangeLog 2008-07-03 21:07:36 UTC (rev 621) |
15 |
+++ gentoo-vdr-scripts/trunk/ChangeLog 2008-07-04 11:06:09 UTC (rev 622) |
16 |
@@ -1,6 +1,10 @@ |
17 |
# ChangeLog for gentoo-vdr-scripts |
18 |
# $Id$ |
19 |
|
20 |
+ 04 Jul 2008; Matthias Schwarzott <zzam@g.o> etc/conf.d/vdr, |
21 |
+ usr/share/vdr/inc/plugin-functions.sh: |
22 |
+ Add setting to disable patchlevel check. |
23 |
+ |
24 |
03 Jul 2008; Matthias Schwarzott <zzam@g.o> |
25 |
usr/share/vdr/rcscript/pre-start-10-chuid.sh, etc/conf.d/vdr: |
26 |
Add config-setting to disable usage of the vdr -u option. |
27 |
|
28 |
Modified: gentoo-vdr-scripts/trunk/etc/conf.d/vdr |
29 |
=================================================================== |
30 |
--- gentoo-vdr-scripts/trunk/etc/conf.d/vdr 2008-07-03 21:07:36 UTC (rev 621) |
31 |
+++ gentoo-vdr-scripts/trunk/etc/conf.d/vdr 2008-07-04 11:06:09 UTC (rev 622) |
32 |
@@ -184,6 +184,12 @@ |
33 |
# default: yes |
34 |
#DEVICE_CHECK="no" |
35 |
|
36 |
+# check the plugin for patchlevel compatibility with current vdr version |
37 |
+# it will refuse to load a not compatible plugin |
38 |
+# allowed values: yes no |
39 |
+# default: yes |
40 |
+PLUGIN_CHECK_PATCHLEVEL="yes" |
41 |
+ |
42 |
# hostname to access vdr with svdrp |
43 |
# (this normaly should not be changed) |
44 |
# allowed values: hostname or ip-address |
45 |
|
46 |
Modified: gentoo-vdr-scripts/trunk/usr/share/vdr/inc/plugin-functions.sh |
47 |
=================================================================== |
48 |
--- gentoo-vdr-scripts/trunk/usr/share/vdr/inc/plugin-functions.sh 2008-07-03 21:07:36 UTC (rev 621) |
49 |
+++ gentoo-vdr-scripts/trunk/usr/share/vdr/inc/plugin-functions.sh 2008-07-04 11:06:09 UTC (rev 622) |
50 |
@@ -84,7 +84,9 @@ |
51 |
vdr_checksum_dir="${plugin_dir%/plugins}/checksums" |
52 |
vdr_checksum="${PL_TMP}"/header-md5-vdr |
53 |
PLUGIN_CHECK_MD5=no |
54 |
- if vdr-get-header-checksum > "${vdr_checksum}"; then |
55 |
+ if [ "${PLUGIN_CHECK_PATCHLEVEL:-yes}" = "yes" ] && \ |
56 |
+ vdr-get-header-checksum > "${vdr_checksum}" |
57 |
+ then |
58 |
PLUGIN_CHECK_MD5=yes |
59 |
fi |
60 |
} |
61 |
|
62 |
-- |
63 |
gentoo-commits@l.g.o mailing list |