File: 40_allow_usj_codebase.patch

package info (click to toggle)
freeplane 1.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 35,988 kB
  • sloc: java: 130,441; xml: 2,373; sh: 172; perl: 138; makefile: 30
file content (24 lines) | stat: -rw-r--r-- 806 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: allow freeplane to access code from /usr/share/knopflerfish/*,
  /usr/share/java/* and /usr/share/maven-repo/**
Author: Felix Natter <fnatter@gmx.net>
Forwarded: not-needed
Last-Update: 2016-05-05
--- a/freeplane_framework/script/freeplane.policy
+++ b/freeplane_framework/script/freeplane.policy
@@ -23,3 +23,16 @@
 		permission java.io.FilePermission "${org.freeplane.basedirectory}/-", "read";
         permission java.lang.RuntimePermission "getClassLoader";
 };
+
+grant codeBase "file:/usr/share/knopflerfish/*" {
+        permission java.security.AllPermission;
+};
+
+grant codeBase "file:/usr/share/java/*" {
+        permission java.security.AllPermission;
+};
+
+grant codeBase "file:/usr/share/maven-repo/-" {
+        permission java.security.AllPermission;
+};
+