/[smecontribs]/rpms/smeserver-subsonic/contribs8/smeserver-subsonic-4.8-patch3.patch
ViewVC logotype

Contents of /rpms/smeserver-subsonic/contribs8/smeserver-subsonic-4.8-patch3.patch

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


Revision 1.1 - (show annotations) (download)
Sun Oct 27 00:59:44 2013 UTC (10 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-subsonic-4_8-4_el5_sme, HEAD
* Sat Oct 26 2013 JP Pialasse <tests@pialasse.com> 4.8-4.sme
- fixing some generator errors
- adding configurations described in wiki manual installation
- adding java and ffmpeg requirement

* Sat Oct 26 2013  Contrib Maker <tests@pialasse.com> 4.8-1.sme
- initial release
- builds from unchanged .tar.gz

1 diff -Nur smeserver-subsonic-4.8-old/createlinks smeserver-subsonic-4.8/createlinks
2 --- smeserver-subsonic-4.8-old/createlinks 2013-10-26 20:03:47.000000000 -0400
3 +++ smeserver-subsonic-4.8/createlinks 2013-10-26 20:05:17.000000000 -0400
4 @@ -4,10 +4,8 @@
5
6 ####################
7 # links to add
8 - safe_symlink("/etc/e-smith/templates-default/template-begin-shell", "root/etc/e-smith/templates/usr/share/subsonic/subsonic.sh/template-begin");
9
10 # templates to expand
11 - templates2events( "/usr/share/subsonic/subsonic.sh" , qw( conf-subsonic bootstrap-console-save post-upgrade));
12 templates2events( "/etc/sysconfig/subsonic" , qw( conf-subsonic bootstrap-console-save post-upgrade));
13 templates2events("/etc/httpd/conf/httpd.conf", "conf-subsonic");
14
15 diff -Nur smeserver-subsonic-4.8-old/root/etc/e-smith/templates/etc/sysconfig/subsonic/40subsonic smeserver-subsonic-4.8/root/etc/e-smith/templates/etc/sysconfig/subsonic/40subsonic
16 --- smeserver-subsonic-4.8-old/root/etc/e-smith/templates/etc/sysconfig/subsonic/40subsonic 2013-10-26 20:03:47.000000000 -0400
17 +++ smeserver-subsonic-4.8/root/etc/e-smith/templates/etc/sysconfig/subsonic/40subsonic 2013-10-26 20:21:43.000000000 -0400
18 @@ -30,6 +30,16 @@
19
20 $OUT .= "--max-memory=$submem --context-path='$subpath'";
21
22 +$OUT .= " --home='$subhome'" unless $subhome eq "/var/subsonic";
23 +$OUT .= " --host='$subhost'" unless $subhost eq "0.0.0.0";
24 +$OUT .= " --port='$subport'" unless $subport == "4040";
25 +$OUT .= " --https-port='$subhttps_port'" unless $subhttps_port eq "0";
26 +$OUT .= " --pidfile='$subpid'" unless $subpid eq "";
27 +$OUT .= " --quiet" unless $subquiet eq "0";
28 +$OUT .= " --default-music-folder='$submusic'" unless $submusic eq "/var/music";
29 +$OUT .= " --default-podcast-folder='$subpod'" unless $subpod eq "/var/music/Podcast";
30 +$OUT .= " --default-playlist-folder='$subplay'" unless $subplay eq "/var/music/playlists";
31 +
32 }"
33
34
35 @@ -38,5 +48,5 @@
36 # below 1024. Also make sure to grant the user write permissions in
37 # the music directories, otherwise changing album art and tags will fail.
38
39 -SUBSONIC_USER=root
40 +SUBSONIC_USER=subsonic
41

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