/[smecontribs]/rpms/smeserver-phpki-ng/contribs10/smeserver-phpki-ng-0.3-bz11438-takey.patch
ViewVC logotype

Diff of /rpms/smeserver-phpki-ng/contribs10/smeserver-phpki-ng-0.3-bz11438-takey.patch

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

Revision 1.1 by jpp, Fri Nov 18 19:25:17 2022 UTC Revision 1.3 by jpp, Sat Nov 19 08:09:15 2022 UTC
# Line 5  diff -Nur --no-dereference smeserver-php Line 5  diff -Nur --no-dereference smeserver-php
5   panel_link("phpki", 'manager');   panel_link("phpki", 'manager');
6    
7   # Events links   # Events links
8  +event_link("phpki-fixtakey, qw(bootstrap-console-save post-upgrade), "50");  +event_link("phpki-fixtakey", qw(bootstrap-console-save post-upgrade), "50");
9   event_link("phpki-fixownership", qw(bootstrap-console-save post-upgrade), "02");   event_link("phpki-fixownership", qw(bootstrap-console-save post-upgrade), "02");
10   templates2events("/etc/httpd/pki-conf/httpd.conf", qw(bootstrap-console-save conf-userpanel domain-modify));   templates2events("/etc/httpd/pki-conf/httpd.conf", qw(bootstrap-console-save conf-userpanel domain-modify));
11   safe_symlink("sigusr1", "root/etc/e-smith/events/conf-userpanel/services2adjust/httpd-pki");   safe_symlink("sigusr1", "root/etc/e-smith/events/conf-userpanel/services2adjust/httpd-pki");
# Line 13  diff -Nur --no-dereference smeserver-php Line 13  diff -Nur --no-dereference smeserver-php
13    
14   #action specific to this package   #action specific to this package
15   event_link("phpki-fixownership", $event, "02");   event_link("phpki-fixownership", $event, "02");
16  +event_link("phpki-fixtakey, $event, "50");  +event_link("phpki-fixtakey", $event, "50");
17   #event_link("conf-timezone", $event, "30");   #event_link("conf-timezone", $event, "30");
18   #services we need to restart   #services we need to restart
19   safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-pki");   safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-pki");
# Line 37  diff -Nur --no-dereference smeserver-php Line 37  diff -Nur --no-dereference smeserver-php
37     my $pool_name           = lc $key;     my $pool_name           = lc $key;
38     my $include_path = ".:/usr/share/pear-addons:/usr/share/pear:/usr/share/pear-data:/usr/share/php";     my $include_path = ".:/usr/share/pear-addons:/usr/share/pear:/usr/share/pear-data:/usr/share/php";
39  -  my $open_basedir        = "/opt/phpki:/var/lib/php/phpki:$include_path";  -  my $open_basedir        = "/opt/phpki:/var/lib/php/phpki:$include_path";
40  +  my $open_basedir        = "/opt/phpki:/var/lib/php/phpki:/usr/sbin/openvpn:$include_path";  +  my $open_basedir        = "/opt/phpki:/var/lib/php/phpki:/usr/sbin/openvpn:/usr/bin/which:/usr/bin/cat:/usr/bin/egrep:$include_path";
41     my $disabled_functions  = 'show_source,dl,passthru'     my $disabled_functions  = 'show_source,dl,passthru'
42   ;   ;
43     # Format vars     # Format vars


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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