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

Annotation of /rpms/smeserver-subsonic/contribs8/smeserver-subsonic-4.8-patch0.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Oct 27 00:59:43 2013 UTC (10 years, 7 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 unnilennium 1.1 diff -up smeserver-subsonic-4.8/createlinks.patch0 smeserver-subsonic-4.8/createlinks
2     --- smeserver-subsonic-4.8/createlinks.patch0 2013-10-26 16:29:02.000000000 -0400
3     +++ smeserver-subsonic-4.8/createlinks 2013-10-26 17:28:54.000000000 -0400
4     @@ -4,7 +4,7 @@ use esmith::Build::CreateLinks qw(:all);
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     + safe_symlink("/etc/e-smith/templates-default/template-begin-shell", "root/etc/e-smith/templates/usr/share/subsonic/subsonic.sh/template-begin");
10    
11     # templates to expand
12     templates2events( "/usr/share/subsonic/subsonic.sh" , qw( conf-subsonic bootstrap-console-save post-upgrade));
13     @@ -15,7 +15,7 @@ use esmith::Build::CreateLinks qw(:all);
14     safe_symlink("sigusr1", "root/etc/e-smith/events/conf-subsonic/services2adjust/httpd-e-smith");
15    
16     # links for rc.d from init.d
17     - service_link_enhanced("subsonic", "S98", "7");
18     - service_link_enhanced("subsonic", "K45", "6");
19     - service_link_enhanced("subsonic", "K45", "0");
20     + service_link_enhanced("subsonic", "S98", "7");
21     + service_link_enhanced("subsonic", "K45", "6");
22     + service_link_enhanced("subsonic", "K45", "0");
23     service_link_enhanced("subsonic", "K45", "1");
24     diff -up smeserver-subsonic-4.8/root/etc/e-smith/db/accounts/defaults/subsonic/Target.patch0 smeserver-subsonic-4.8/root/etc/e-smith/db/accounts/defaults/subsonic/Target
25     --- smeserver-subsonic-4.8/root/etc/e-smith/db/accounts/defaults/subsonic/Target.patch0 2013-10-26 17:59:27.000000000 -0400
26     +++ smeserver-subsonic-4.8/root/etc/e-smith/db/accounts/defaults/subsonic/Target 2013-10-26 17:59:42.000000000 -0400
27     @@ -0,0 +1 @@
28     +http://localhost:4040/subsonic
29     diff -up smeserver-subsonic-4.8/root/etc/e-smith/db/accounts/defaults/subsonic/type.patch0 smeserver-subsonic-4.8/root/etc/e-smith/db/accounts/defaults/subsonic/type
30     --- smeserver-subsonic-4.8/root/etc/e-smith/db/accounts/defaults/subsonic/type.patch0 2013-10-26 16:29:02.000000000 -0400
31     +++ smeserver-subsonic-4.8/root/etc/e-smith/db/accounts/defaults/subsonic/type 2013-10-26 17:59:03.000000000 -0400
32     @@ -1 +1 @@
33     -reserved
34     \ Pas de fin de ligne à la fin du fichier.
35     +ProxyPass
36     diff -up smeserver-subsonic-4.8/root/etc/e-smith/templates/etc/sysconfig/subsonic/40subsonic.patch0 smeserver-subsonic-4.8/root/etc/e-smith/templates/etc/sysconfig/subsonic/40subsonic
37     --- smeserver-subsonic-4.8/root/etc/e-smith/templates/etc/sysconfig/subsonic/40subsonic.patch0 2013-10-26 16:29:02.000000000 -0400
38     +++ smeserver-subsonic-4.8/root/etc/e-smith/templates/etc/sysconfig/subsonic/40subsonic 2013-10-26 17:56:53.000000000 -0400
39     @@ -0,0 +1,42 @@
40     +#
41     +# This is the configuration file for the Subsonic service
42     +# (/etc/init.d/subsonic)
43     +#
44     +# To change the startup parameters of Subsonic, modify
45     +# the SUBSONIC_ARGS variable below.
46     +#
47     +# Type "subsonic --help" on the command line to read an
48     +# explanation of the different options.
49     +#
50     +# For example, to specify that Subsonic should use port 80 (for http)
51     +# and 443 (for https), and use a Java memory heap size of 200 MB, use
52     +# the following:
53     +#
54     +# SUBSONIC_ARGS="--port=80 --https-port=443 --max-memory=200"
55     +
56     +SUBSONIC_ARGS="{
57     +my $subhome = $subsonic{'home'} || "/var/subsonic";
58     +my $subhost = $subsonic{'host'} || "0.0.0.0";
59     +my $subport = $subsonic{'port'} || "4040";
60     +my $subpath = $subsonic{'path'} || "/subsonic";
61     +my $subhttps_port = $subsonic{'https_port'} || "0";
62     +my $submem = $subsonic{'MaxMemory'} || "150";
63     +my $subpid = $subsonic{'PIDfile'} || "";
64     +my $submusic = $subsonic{'Music_Folder'} || "/var/music";
65     +my $subpod = $subsonic{'Podcast_Folder'} || "/var/music/Podcast";
66     +my $subplay = $subsonic{'Playlist_Folder'} || "/var/music/playlists";
67     +my $subquiet = $subsonic{'quiet'} || "0";
68     +
69     +
70     +$OUT .= "--max-memory=$submem --context-path='$subpath'";
71     +
72     +}"
73     +
74     +
75     +# The user which should run the Subsonic process. Default "root".
76     +# Note that non-root users are by default not allowed to use ports
77     +# below 1024. Also make sure to grant the user write permissions in
78     +# the music directories, otherwise changing album art and tags will fail.
79     +
80     +SUBSONIC_USER=root
81     +

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