Hello community, here is the log from the commit of package java-binfmt-misc for openSUSE:Factory checked in at Tue May 5 02:02:43 CEST 2009. -------- --- java-binfmt-misc/java-binfmt-misc.changes 2009-02-10 11:20:28.000000000 +0100 +++ /mounts/work_src_done/STABLE/java-binfmt-misc/java-binfmt-misc.changes 2009-05-05 01:11:32.014787000 +0200 @@ -1,0 +2,5 @@ +Wed Mar 25 13:46:34 CET 2009 - mvyskocil@suse.cz + +- fixed minor indentation in initscript [bnc#435514] using vim's = + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-binfmt-misc.spec ++++++ --- /var/tmp/diff_new_pack.g10259/_old 2009-05-05 02:02:39.000000000 +0200 +++ /var/tmp/diff_new_pack.g10259/_new 2009-05-05 02:02:39.000000000 +0200 @@ -21,7 +21,7 @@ Name: java-binfmt-misc Version: 1.03 -Release: 4 +Release: 5 Summary: The binfmt_misc support for Java Group: Development/Languages/Java License: GPL v2 only @@ -118,6 +118,8 @@ %{_mandir}/man1/* %changelog +* Wed Mar 25 2009 mvyskocil@suse.cz +- fixed minor indentation in initscript [bnc#435514] using vim's = * Tue Feb 10 2009 mvyskocil@suse.cz - Remove Java 64bit Webstart warning, as it's obsoleted by openjdk and Sun u12 * Thu Feb 05 2009 mvyskocil@suse.cz ++++++ java-binfmt-misc-1.03.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/java-binfmt-misc-1.03/java-binfmt-misc.init new/java-binfmt-misc-1.03/java-binfmt-misc.init --- old/java-binfmt-misc-1.03/java-binfmt-misc.init 2009-02-05 14:26:13.000000000 +0100 +++ new/java-binfmt-misc-1.03/java-binfmt-misc.init 2009-03-25 13:45:36.000000000 +0100 @@ -42,23 +42,23 @@ # see #271198 java_binfmt_misc_status () { - [ ! -e /proc/sys/fs/binfmt_misc/status ] && return 4 - [ `cat /proc/sys/fs/binfmt_misc/status` != "enabled" ] && return 3 - - for state in Java ExecutableJAR JavaWebStart - do - if [ ! -e /proc/sys/fs/binfmt_misc/$state ]; then - echo Warning /proc/sys/fs/binfmt_misc/$state is not present - return 3 - fi + [ ! -e /proc/sys/fs/binfmt_misc/status ] && return 4 + [ `cat /proc/sys/fs/binfmt_misc/status` != "enabled" ] && return 3 - if [ `head -n 1 /proc/sys/fs/binfmt_misc/$state` != "enabled" ] - then - echo Warning /proc/sys/fs/binfmt_misc/$state is not enabled - fi - done - - return 0 + for state in Java ExecutableJAR JavaWebStart + do + if [ ! -e /proc/sys/fs/binfmt_misc/$state ]; then + echo Warning /proc/sys/fs/binfmt_misc/$state is not present + return 3 + fi + + if [ `head -n 1 /proc/sys/fs/binfmt_misc/$state` != "enabled" ] + then + echo Warning /proc/sys/fs/binfmt_misc/$state is not enabled + fi + done + + return 0 } @@ -66,7 +66,7 @@ # Note: Special treatment of stop for LSB conformance for file in /usr/bin/javawrapper /usr/bin/jarwrapper /usr/bin/javaclassname do - test -x $file || { echo "$file not installed"; + test -x $file || { echo "$file not installed"; if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; } done @@ -123,178 +123,178 @@ case "$1" in start) - echo -n "Starting java.binfmt_misc " + echo -n "Starting java.binfmt_misc " + + # Insert BINFMT_MISC module into the kernel + if [ ! -e /proc/sys/fs/binfmt_misc/register ]; then + if [ -x /sbin/modprobe ]; then + /sbin/modprobe binfmt_misc + # Some distributions, like Fedora Core, perform + # the following command automatically when the + # binfmt_misc module is loaded into the kernel. + # Thus, it is possible that the following line + # is not needed at all. Look at /etc/modprobe.conf + # to check whether this is applicable or not. + if ! mount | grep -q binfmt + then + mount -t binfmt_misc none /proc/sys/fs/binfmt_misc + fi + fi + fi - # Insert BINFMT_MISC module into the kernel - if [ ! -e /proc/sys/fs/binfmt_misc/register ]; then - if [ -x /sbin/modprobe ]; then - /sbin/modprobe binfmt_misc - # Some distributions, like Fedora Core, perform - # the following command automatically when the - # binfmt_misc module is loaded into the kernel. - # Thus, it is possible that the following line - # is not needed at all. Look at /etc/modprobe.conf - # to check whether this is applicable or not. - if ! mount | grep -q binfmt + # Register support for class and jar files + if [ -e /proc/sys/fs/binfmt_misc/register ]; then + # support for Java applications: + if [ -e /proc/sys/fs/binfmt_misc/Java ] + then + echo 1 > /proc/sys/fs/binfmt_misc/Java + else + echo ':Java:M::\xca\xfe\xba\xbe::/usr/bin/javawrapper:' > /proc/sys/fs/binfmt_misc/register + fi + # support for executable Jar files: + if [ -e /proc/sys/fs/binfmt_misc/ExecutableJAR ] then - mount -t binfmt_misc none /proc/sys/fs/binfmt_misc + echo 1 > /proc/sys/fs/binfmt_misc/ExecutableJAR + else + echo ':ExecutableJAR:E::jar::/usr/bin/jarwrapper:' > /proc/sys/fs/binfmt_misc/register fi - fi - fi + # support for executable javaws + if [ -e /proc/sys/fs/binfmt_misc/JavaWebStart ] + then + echo 1 > /proc/sys/fs/binfmt_misc/JavaWebStart + else + echo ':JavaWebStart:E::jnlp::/usr/bin/javawswrapper:' > /proc/sys/fs/binfmt_misc/register + fi + echo 1 > /proc/sys/fs/binfmt_misc/status + ## support for Java Applets: + # ':Applet:E::html::/usr/bin/appletviewer:' + ##or the following, if you want to be more selective: + # ':Applet:M:: Reply