/[smecontribs]/rpms/smeserver-softethervpn-server/contribs10/smeserver-softethervpn-server-4.34-bz12334-bz12333.patch
ViewVC logotype

Annotation of /rpms/smeserver-softethervpn-server/contribs10/smeserver-softethervpn-server-4.34-bz12334-bz12333.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Mar 7 04:01:20 2023 UTC (20 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-softethervpn-server-4_34-8_el7_sme, HEAD
* Mon Mar 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 4.34-8.sme
- update path for ldap/radius auth [SME: 12333]
- backup the configuration and logs [SME: 12334]

1 jpp 1.1 diff -Nur --no-dereference smeserver-softethervpn-server-4.34.old/createlinks smeserver-softethervpn-server-4.34/createlinks
2     --- smeserver-softethervpn-server-4.34.old/createlinks 2023-03-06 21:57:00.787000000 -0500
3     +++ smeserver-softethervpn-server-4.34/createlinks 2023-03-06 22:54:44.160000000 -0500
4     @@ -9,7 +9,7 @@
5     $event="smeserver-softethervpn-server-update";
6     foreach my $file (qw(
7     /etc/systemd/system-preset/49-koozali.preset
8     - /etc/raddb/users
9     + /etc/raddb/mods-config/files/authorize
10     /etc/httpd/conf/httpd.conf
11     ))
12     {
13     @@ -27,3 +27,12 @@
14     safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/bridge");
15     safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/vpnserver");
16    
17     +use esmith::Build::Backup qw(:all);
18     +backup_includes($pkg, qw(
19     +/usr/vpnserver/vpn_server.config
20     +/usr/vpnserver/backup.vpn_server.config/
21     +/usr/vpnserver/chain_certs/
22     +/usr/vpnserver/packet_log/
23     +/usr/vpnserver/security_log/
24     +/usr/vpnserver/server_log/
25     +));
26     diff -Nur --no-dereference smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/40ldap smeserver-softethervpn-server-4.34/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/40ldap
27     --- smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/40ldap 1969-12-31 19:00:00.000000000 -0500
28     +++ smeserver-softethervpn-server-4.34/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/40ldap 2020-03-28 15:06:59.000000000 -0400
29     @@ -0,0 +1,2 @@
30     +DEFAULT Auth-Type := LDAP
31     +
32     diff -Nur --no-dereference smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates/etc/raddb/users/40ldap smeserver-softethervpn-server-4.34/root/etc/e-smith/templates/etc/raddb/users/40ldap
33     --- smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates/etc/raddb/users/40ldap 2020-03-28 15:06:59.000000000 -0400
34     +++ smeserver-softethervpn-server-4.34/root/etc/e-smith/templates/etc/raddb/users/40ldap 1969-12-31 19:00:00.000000000 -0500
35     @@ -1,2 +0,0 @@
36     -DEFAULT Auth-Type := LDAP
37     -

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