fixing paths in policy files

Forwarded: not-needed
Last-Update: 2013-10-14


Gbp-Pq: Name 06_fix_paths_in_policy_files.patch
This commit is contained in:
Vincent Fourmond 2024-06-12 17:12:18 +08:00 committed by liwenjun
parent dd60026626
commit b127234c6c
2 changed files with 13 additions and 13 deletions

View File

@ -18,19 +18,19 @@
// $Id$
// -----------------------------------------------------------------------------
grant codeBase "${app.jar.base}/xml-apis-ext-${xmlapis.version}.jar" {
grant codeBase "file:/usr/share/java/xml-apis-ext.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.jar.base}/xml-apis-${xmlapis.version}.jar" {
grant codeBase "file:/usr/share/java/xml-apis.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.jar.base}/xalan-${xalan.version}.jar" {
grant codeBase "file:/usr/share/java/xalan2.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.jar.base}/xercesImpl-2.9.1.jar" {
grant codeBase "file:/usr/share/java/xercesImpl.jar" {
permission java.security.AllPermission;
};
@ -98,11 +98,11 @@ grant codeBase "${app.jar.base}/batik-xml-${version}.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.jar.base}/fop-transcoder-allinone-${xmlgraphics.commons.version}.jar" {
grant codeBase "file:/usr/share/java/fop-transcoder-allinone.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.jar.base}/xmlgraphics-commons-${xmlgraphics.commons.version}.jar" {
grant codeBase "file:/usr/share/java/xmlgraphics-commons.jar" {
permission java.security.AllPermission;
};
@ -126,7 +126,7 @@ grant codeBase "${app.jar.base}/batik-svgbrowser-${version}.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.jar.base}/js.jar" {
grant codeBase "file:/usr/share/java/js.jar" {
permission java.lang.RuntimePermission "createClassLoader";
permission java.net.SocketPermission "*", "listen, connect, resolve, accept";
permission java.lang.RuntimePermission "accessDeclaredMembers";

View File

@ -18,27 +18,27 @@
// $Id$
// -----------------------------------------------------------------------------
grant codeBase "${app.dev.base}/classes/" {
grant codeBase "file:/usr/share/java/batik-all.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.dev.base}/lib/xml-apis-dom3.jar" {
grant codeBase "file:/usr/share/java/xml-apis-dom3.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.dev.base}/lib/xerces_2_5_0.jar" {
grant codeBase "file:/usr/share/java/xercesImpl.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.dev.base}/lib/fop-transcoder-allinone-${xmlgraphics.commons.version}.jar" {
grant codeBase "file:/usr/share/java/fop-transcoder-allinone.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.dev.base}/lib/xmlgraphics-commons-${xmlgraphics.commons.version}.jar" {
grant codeBase "file:/usr/share/java/xmlgraphics-commons.jar" {
permission java.security.AllPermission;
};
grant codeBase "${app.dev.base}/lib/js.jar" {
grant codeBase "file:/usr/share/java/js.jar" {
permission java.lang.RuntimePermission "createClassLoader";
permission java.net.SocketPermission "*", "listen, connect, resolve, accept";
permission java.lang.RuntimePermission "accessDeclaredMembers";