/[smecontribs]/rpms/smeserver-webshare/contribs10/smeserver-webshare-sme8_fixes.patch
ViewVC logotype

Contents of /rpms/smeserver-webshare/contribs10/smeserver-webshare-sme8_fixes.patch

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


Revision 1.1 - (show annotations) (download)
Fri Oct 30 11:00:21 2020 UTC (4 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-webshare-1_0_0-13_el7_sme, HEAD
Initial import

1 diff -ruN smeserver-webshare-1.0.0.orig/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile
2 --- smeserver-webshare-1.0.0.orig/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile 1969-12-31 16:00:00.000000000 -0800
3 +++ smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile 2011-10-11 17:44:47.000000000 -0700
4 @@ -0,0 +1,4 @@
5 +{
6 + $OUT .= load_modules(qw(auth_basic));
7 + $OUT .= load_modules(qw(authn_file));
8 +}
9 diff -ruN smeserver-webshare-1.0.0.orig/root/etc/e-smith/web/functions/webshare smeserver-webshare-1.0.0/root/etc/e-smith/web/functions/webshare
10 --- smeserver-webshare-1.0.0.orig/root/etc/e-smith/web/functions/webshare 2005-05-17 14:43:17.000000000 -0700
11 +++ smeserver-webshare-1.0.0/root/etc/e-smith/web/functions/webshare 2011-10-11 17:51:15.000000000 -0700
12 @@ -63,7 +63,7 @@
13 tie %conf, 'esmith::config';
14
15 my %projects;
16 -tie %projects, 'esmith::config', '/home/e-smith/WebShare';
17 +tie %projects, 'esmith::config', '/home/e-smith/db/WebShare';
18
19
20 #------------------------------------------------------------
21 @@ -286,7 +286,7 @@
22 my $description = ();
23 my $indexer = ();
24
25 - my $share = $q->param ('sharename');
26 + $share = $q->param ('sharename');
27 if ($share =~ /^([a-zA-Z0-9][\-\_\.a-zA-Z0-9]*)$/)
28 {
29 $share = $1;
30 @@ -298,7 +298,7 @@
31 return;
32 }
33
34 - my $indexer = $q->param ('indexer');
35 + $indexer = $q->param ('indexer');
36 if ($indexer =~ /^([a-zA-Z0-9][\-\_\.a-zA-Z0-9]*)$/)
37 {
38 $indexer = $1;
39 @@ -310,7 +310,7 @@
40 return;
41 }
42
43 - my $description = $q->param ('description');
44 + $description = $q->param ('description');
45
46 db_set(\%projects, $share, 'WebShare');
47 db_set_prop(\%projects, "$share", "Description", "$description");
48 @@ -599,4 +599,4 @@
49
50 showInitial ($q, "Successfully deleted Web share <B>$project</B>.");
51 return;
52 -}
53 \ No newline at end of file
54 +}

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