Commit 2b81cdae authored by Peter B's avatar Peter B

Removed /var/lib/openvpn [tracker #15131]

parent 0b141e1d
......@@ -48,7 +48,7 @@ $app['core_requires'] = array(
'app-events-core',
'app-network-core >= 1:1.6.0',
'app-openvpn-plugin-core',
'openvpn >= 2.3.2',
'openvpn >= 2.4.2',
);
$app['core_directory_manifest'] = array(
......@@ -56,7 +56,6 @@ $app['core_directory_manifest'] = array(
'/etc/openvpn/ssl' => array(),
'/var/clearos/openvpn' => array(),
'/var/clearos/openvpn/backup' => array(),
'/var/lib/openvpn' => array(),
);
$app['core_file_manifest'] = array(
......
......@@ -29,7 +29,7 @@ Requires: app-certificate-manager-core
Requires: app-events-core
Requires: app-network-core >= 1:1.6.0
Requires: app-openvpn-plugin-core
Requires: openvpn >= 2.3.2
Requires: openvpn >= 2.4.2
%description core
The OpenVPN app provides secure remote access to this system and your local network.
......@@ -48,7 +48,6 @@ install -d -m 0755 %{buildroot}/etc/clearos/openvpn.d
install -d -m 0755 %{buildroot}/etc/openvpn/ssl
install -d -m 0755 %{buildroot}/var/clearos/openvpn
install -d -m 0755 %{buildroot}/var/clearos/openvpn/backup
install -d -m 0755 %{buildroot}/var/lib/openvpn
install -D -m 0644 packaging/authorize %{buildroot}/etc/clearos/openvpn.d/authorize
install -D -m 0644 packaging/clients-tcp.conf %{buildroot}/etc/openvpn/clients-tcp.conf
install -D -m 0644 packaging/clients.conf %{buildroot}/etc/openvpn/clients.conf
......@@ -94,12 +93,12 @@ exit 0
%files core
%defattr(-,root,root)
%exclude /usr/clearos/apps/openvpn/packaging
%exclude /usr/clearos/apps/openvpn/unify.json
%dir /usr/clearos/apps/openvpn
%dir /etc/clearos/openvpn.d
%dir /etc/openvpn/ssl
%dir /var/clearos/openvpn
%dir /var/clearos/openvpn/backup
%dir /var/lib/openvpn
/usr/clearos/apps/openvpn/deploy
/usr/clearos/apps/openvpn/language
/usr/clearos/apps/openvpn/libraries
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment