/[smecontribs]/rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-bz10569-autoscandir.patch
ViewVC logotype

Annotation of /rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-bz10569-autoscandir.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Jan 4 15:24:39 2019 UTC (5 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mediatomb-1_0-9_el6_sme, smeserver-mediatomb-1_0-8_el6_sme
* Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-8.sme
- add dynamic template for autoscandir [SME: 10569]

1 jpp 1.1 diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths
2     --- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths 2018-03-18 23:52:55.000000000 -0400
3     +++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths 2019-01-04 10:22:38.317000000 -0500
4     @@ -3,7 +3,6 @@
5    
6     $OUT .= " <home>/etc/mediatomb</home>
7     <webroot>/usr/share/mediatomb/web</webroot>
8     - <servedir>/$serverdir</servedir>
9     - <!-- <servedir>/home/e-smith/files/ibays/video/files</servedir> -->\n";
10     + <servedir>/$serverdir</servedir>"\n;
11    
12     -}
13     \ Pas de fin de ligne à la fin du fichier
14     +}
15     diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1
16     --- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 2018-03-19 00:36:57.000000000 -0400
17     +++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 2019-01-04 10:22:02.098000000 -0500
18     @@ -1,4 +1,8 @@
19     +{
20     +my $serverdir= ${'mediatomb'}{'serverdir'} || 'mediatomb';
21    
22     - <directory location="/mediatomb" mode="timed" interval="3600"
23     - level="full" recursive="yes" hidden-files="no"/>
24     +$OUT .= '<directory location="/'.$serverdir'." mode="timed" interval="3600"
25     + level="full" recursive="yes" hidden-files="no"/>';
26     +
27     +}
28    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed