-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpretify-netextenderRPM.patch
48 lines (46 loc) · 1.62 KB
/
pretify-netextenderRPM.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff --git a/netextender/debian/postinst b/netextender/debian/postinst
index 2b8c193..8d41b9b 100644
--- a/netextender/debian/postinst
+++ b/netextender/debian/postinst
@@ -14,6 +14,11 @@ else
chmod 757 /etc/ppp/sslvpnroutecleanup
fi
+# Create symlinks before there is a check for libraries
+ln -s /lib/libssl.so.0.9.8 /lib/libssl.so.6
+ln -s /lib/libcrypto.so.0.9.8 /lib/libcrypto.so.6
+
+
# Check library depencencies
echo -n "Checking library dependencies..."
MISSINGLIBS=`ldd /usr/sbin/netExtender | grep 'not found' | awk '{print $1}'`
@@ -68,4 +73,4 @@ else
echo ' Please make sure pppd is installed as /usr/sbin/pppd and try again.'
fi
-/usr/sbin/netExtender -i
\ No newline at end of file
+/usr/sbin/netExtender -i
diff --git a/netextender/debian/postrm b/netextender/debian/postrm
index f0b27ba..6774217 100644
--- a/netextender/debian/postrm
+++ b/netextender/debian/postrm
@@ -10,4 +10,9 @@ else
rm -f /etc/ppp/sslvpnroutecleanup
fi
rm -f /etc/ppp/sslvpn.clientip
-rm -f /etc/ppp/peers/sslvpn.params.diag
\ No newline at end of file
+rm -f /etc/ppp/peers/sslvpn.params.diag
+
+# Reset ppp user rights back to ubuntu default.
+chmod -v 4754 /usr/sbin/pppd
+chmod -v 766 /etc/ppp
+chmod -v 2200 /etc/ppp/peers # right?
diff --git a/netextender/usr/share/netExtender/NetExtender.desktop b/netextender/usr/share/netExtender/NetExtender.desktop
index 26ddcf7..c8ff39c 100644
--- a/netextender/usr/share/netExtender/NetExtender.desktop
+++ b/netextender/usr/share/netExtender/NetExtender.desktop
@@ -7,3 +7,4 @@ Name=NetExtender
StartupNotify=false
Terminal=false
Type=Application
+Categories=Application;Network;Security;