From 1da40f9916cfea34123367ab26b81d53bd816c93 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 2 Jul 2020 11:54:20 +0200 Subject: [PATCH] committing changes in /etc after apt run Package changes: +icedtea-8-plugin 1.8-0ubuntu8~18.04 amd64 +icedtea-netx 1.8-0ubuntu8~18.04 amd64 +icedtea-plugin 1.8-0ubuntu8~18.04 all +librhino-java 1.7.7.1-1 all +libtagsoup-java 1.2.1+-1 all --- .etckeeper | 2 ++ alternatives/itweb-settings | 1 + alternatives/javaws | 1 + alternatives/policyeditor | 1 + icedtea-web/javaws.policy | 4 ++++ mailcap | 4 ++++ 6 files changed, 13 insertions(+) create mode 120000 alternatives/itweb-settings create mode 120000 alternatives/javaws create mode 120000 alternatives/policyeditor create mode 100644 icedtea-web/javaws.policy diff --git a/.etckeeper b/.etckeeper index f9feabd..359f836 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1917,6 +1917,8 @@ maybe chmod 0644 'hosts.allow' maybe chmod 0644 'hosts.deny' maybe chmod 0755 'hp' maybe chmod 0644 'hp/hplip.conf' +maybe chmod 0755 'icedtea-web' +maybe chmod 0644 'icedtea-web/javaws.policy' maybe chmod 0644 'idmapd.conf' maybe chmod 0755 'ifplugd' maybe chmod 0755 'ifplugd/action.d' diff --git a/alternatives/itweb-settings b/alternatives/itweb-settings new file mode 120000 index 0000000..c2aa5d9 --- /dev/null +++ b/alternatives/itweb-settings @@ -0,0 +1 @@ +/usr/lib/icedtea-web/bin/itweb-settings \ No newline at end of file diff --git a/alternatives/javaws b/alternatives/javaws new file mode 120000 index 0000000..a8da8f9 --- /dev/null +++ b/alternatives/javaws @@ -0,0 +1 @@ +/usr/lib/icedtea-web/bin/javaws \ No newline at end of file diff --git a/alternatives/policyeditor b/alternatives/policyeditor new file mode 120000 index 0000000..aae7b37 --- /dev/null +++ b/alternatives/policyeditor @@ -0,0 +1 @@ +/usr/lib/icedtea-web/bin/policyeditor \ No newline at end of file diff --git a/icedtea-web/javaws.policy b/icedtea-web/javaws.policy new file mode 100644 index 0000000..354b7c0 --- /dev/null +++ b/icedtea-web/javaws.policy @@ -0,0 +1,4 @@ +// Based on Oracle JDK policy file +grant codeBase "file:/usr/share/icedtea-web/netx.jar" { + permission java.security.AllPermission; +}; \ No newline at end of file diff --git a/mailcap b/mailcap index ea40d7f..9e62d4a 100644 --- a/mailcap +++ b/mailcap @@ -73,6 +73,7 @@ text/troff; /usr/bin/man -l '%s'; needsterminal; description=Man page text/html; /usr/bin/sensible-browser %s; description=HTML Text; nametemplate=%s.html application/x-troff-man; /usr/bin/nroff -mandoc -Tutf8; copiousoutput; print=/usr/bin/nroff -mandoc -Tutf8 | print text/plain:- text/troff; /usr/bin/nroff -mandoc -Tutf8; copiousoutput; print=/usr/bin/nroff -mandoc -Tutf8 | print text/plain:- +application/x-java-jnlp-file; /usr/lib/icedtea-web/bin/javaws %s application/x-info; /usr/bin/info -f '%s'; needsterminal; description=GNU Info document application/mxf; /usr/bin/mplayer %s; description="MXF video" application/x-netshow-channel; /usr/bin/mplayer %s; description="Windows Media Station file" @@ -401,6 +402,9 @@ text/x-tex; gvim -f %s; test=test -n "$DISPLAY" application/x-shellscript; gvim -f %s; test=test -n "$DISPLAY" text/x-c; gvim -f %s; test=test -n "$DISPLAY" text/x-c++; gvim -f %s; test=test -n "$DISPLAY" +application/x-java-jnlp-file; /usr/bin/javaws %s; test=test -n "$DISPLAY" +x-scheme-handler/jnlp; /usr/bin/javaws %s; test=test -n "$DISPLAY" +x-scheme-handler/jnlps; /usr/bin/javaws %s; test=test -n "$DISPLAY" application/mpeg4-iod; celluloid --new-window %s; test=test -n "$DISPLAY" application/mpeg4-muxcodetable; celluloid --new-window %s; test=test -n "$DISPLAY" application/mxf; celluloid --new-window %s; test=test -n "$DISPLAY" -- 2.39.5