Bug#277088: java-package: Please add support fod JDK 1.5.0 (non-beta release)

Marcus Sundman Marcus Sundman <sundman@iki.fi>, 277088@bugs.debian.org
Mon Oct 18 12:24:02 2004


Unfortunately 1.5.0 beta 2 used the dpkg version '1.5.0+beta2', and since 
'1.5.0' < '1.5.0+beta2' the version number should be something else. 
Perhaps specifying a new epoch would be appropriate, i.e. '1:1.5.0'. At 
least '1:1.5.0' > '1.5.0+beta2' (since '1.5.0+beta2' = '0:1.5.0+beta2').

- Marcus Sundman
--
On Monday 18 October 2004 17:04, Christian Lynbech wrote:
> Package: java-package
> Version: 0.14
> Severity: wishlist
>
> Make-jpkg does not suport the latest JDK 1.5.0 (non-beta) release.
>
> A simple fix would to add something like this (size not checked):
>
> --- /usr/share/java-package/sun-j2sdk.sh~ 2004-09-13 09:14:26.000000000
> +0200 +++ /usr/share/java-package/sun-j2sdk.sh 2004-10-18
> 09:51:55.000000000 +0200 @@ -27,6 +27,11 @@
>       j2se_expected_min_size=122 # 125899 kB
>       found=true
>       ;;
> + "jdk-1_5_0-linux-i586.bin")
> +     j2se_version=1.5.0
> +     j2se_expected_min_size=122 # 125899 kB
> +     found=true
> +     ;;
>      esac
>      if [[ -n "$found" ]]; then
>   cat << EOF
>
>
> -- System Information:
> Debian Release: 3.1
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.4.24-ted
> Locale: LANG=C, LC_CTYPE=C
>
> Versions of packages java-package depends on:
> ii  debhelper                     4.2.21     helper programs for
> debian/rules
>
> -- no debconf information