Bug#604871: batik: Debian patches not applied.

Andrew Ross ubuntu at rossfamily.co.uk
Wed Nov 24 22:50:49 UTC 2010


Package: batik
Version: 1.7-6
Severity: normal

The change to source format 3.0 (quilt) in version 1.7-6 is missing the 
debian/patches/series file and so the patches do not get applied. This 
causes, for example, the policy file in /usr/share/java/batik-rasterizer.jar 
to not contain the correct path to the installed jar locations. This causes 
the following AccessControlException (as reported in #499852) to occur when 
running squiggle: 
 
java.security.AccessControlException: access denied (java.net.NetPermission setDefaultAuthenticator)
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
	at java.security.AccessController.checkPermission(AccessController.java:553)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
	at java.net.Authenticator.setDefault(Authenticator.java:127)
	at org.apache.batik.apps.svgbrowser.Main.<init>(Unknown Source)
	at org.apache.batik.apps.svgbrowser.Main.main(Unknown Source)

Adding the following two lines to debian/patches/series fixes this bug:
source-1.5.patch
06_fix_paths_in_policy_files.patch

Andy

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-26-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-java-maintainers mailing list