From af7272c85de07408657bcbf05c3a55d2b7b0fde6 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 3 Oct 2004 17:59:30 +0000 Subject: [PATCH] releasing version 8.47 --- debian/changelog | 6 +- patches/j2sdk_1.4.0_01-2.diff | 298 ------------- patches/j2sdk_1.4.1-3.diff | 314 ------------- patches/j2sdk_1.4.2-1.diff | 388 ---------------- ..._1.4.2_03-1.diff => j2sdk_1.4.2_05-1.diff} | 93 ++-- patches/jdk_1.5.0-1.diff | 420 ++++++++++++++++++ 6 files changed, 470 insertions(+), 1049 deletions(-) delete mode 100644 patches/j2sdk_1.4.0_01-2.diff delete mode 100644 patches/j2sdk_1.4.1-3.diff delete mode 100644 patches/j2sdk_1.4.2-1.diff rename patches/{j2sdk_1.4.2_03-1.diff => j2sdk_1.4.2_05-1.diff} (85%) create mode 100644 patches/jdk_1.5.0-1.diff diff --git a/debian/changelog b/debian/changelog index 4a1632f..120cc36 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ -alien (8.47) UNRELEASED; urgency=low +alien (8.47) unstable; urgency=low * x86_64 rpms become amd64 debs + * Add new java 1.5.0 diffs from Gerald Turner. + * Clean out old j2sdk diffs. - -- Joey Hess Tue, 3 Aug 2004 20:59:06 -0400 + -- Joey Hess Sun, 3 Oct 2004 13:59:49 -0400 alien (8.46) unstable; urgency=low diff --git a/patches/j2sdk_1.4.0_01-2.diff b/patches/j2sdk_1.4.0_01-2.diff deleted file mode 100644 index 0e2c6d1..0000000 --- a/patches/j2sdk_1.4.0_01-2.diff +++ /dev/null @@ -1,298 +0,0 @@ ---- j2sdk-1.4.0_01.orig/debian/changelog -+++ j2sdk-1.4.0_01/debian/changelog -@@ -0,0 +1,22 @@ -+j2sdk (1.4.0_01-2) experimental; urgency=low -+ -+ * Added java-common Depends -+ * Added java-virtual-machine, java2-runtime, java-compiler, and -+ java2-compiler Provides -+ * Added netscape and mozilla Suggests -+ -+ -- Gerald Turner Thu, 23 Aug 2002 09:07:09 -0700 -+ -+j2sdk (1.4.0_01-1) experimental; urgency=low -+ -+ * New upstream release -+ * Detection and installation of j2sdk-1_4_0-doc.zip (must be downloaded -+ and copied to the same directory where alien is executed) -+ -+ -- Gerald Turner Thu, 22 Aug 2002 15:44:54 -0700 -+ -+j2sdk (1.4.0-1) experimental; urgency=low -+ -+ * Converted from .rpm format to .deb -+ -+ -- Gerald Turner Wed, 22 May 2002 12:46:34 -0700 ---- j2sdk-1.4.0_01.orig/debian/control -+++ j2sdk-1.4.0_01/debian/control -@@ -0,0 +1,31 @@ -+Source: j2sdk -+Section: alien -+Priority: extra -+Maintainer: Gerald Turner -+ -+Package: j2sdk -+Architecture: i386 -+Depends: java-common, ${shlibs:Depends} -+Provides: java-virtual-machine, java2-runtime, java-compiler, java2-compiler -+Suggests: netscape | mozilla (>= 0.9.3+0-1) -+Description: Java(TM) 2 Software Development Kit, Standard Edition -+ The Java 2 SDK, Standard Edition includes the Java -+ Virtual Machine, core class libraries and tools used -+ by programmers to develop Java software applets and -+ applications. The SDK also provides the foundation -+ for IDE (Integrated Development Environment) tools -+ such as Sun's Forte for Java, Community Edition, -+ the Java(TM) 2 Platform, Enterprise Edition (J2EE), -+ Java-based application servers and more. -+ The Java 2 Software Development Kit, SDK, is a -+ development environment for building applications, -+ applets, and components that can be deployed on -+ the Java platform. The Java 2 SDK software includes -+ tools useful for developing and testing programs -+ written in the Java programming language and running -+ on the Java platform. These tools are designed to -+ be used from the command line. Except for -+ appletviewer, these tools do not provide a -+ graphical user interface. -+ . -+ (Converted from a rpm package by alien.) ---- j2sdk-1.4.0_01.orig/debian/copyright -+++ j2sdk-1.4.0_01/debian/copyright -@@ -0,0 +1,35 @@ -+This package was debianized by the alien program by converting -+a binary .rpm package on Thu, 22 Aug 2002 15:44:54 -0700 -+ -+Copyright: 1994-2001 Sun Microsystems, Inc. -+ -+Information from the binary package: -+Name : j2sdk Relocations: (not relocateable) -+Version : 1.4.0_01 Vendor: Sun Microsystems -+Release : fcs Build Date: Sun Apr 21 02:50:15 2002 -+Install date: (not installed) Build Host: localhost.localdomain -+Group : Development/Tools Source RPM: j2sdk-1.4.0_01-fcs.src.rpm -+Size : 79734868 License: 1994-2001 Sun Microsystems, Inc. -+Packager : Java Software -+URL : http://java.sun.com/linux -+Summary : Java(TM) 2 Software Development Kit, Standard Edition -+Description : -+The Java 2 SDK, Standard Edition includes the Java -+Virtual Machine, core class libraries and tools used -+by programmers to develop Java software applets and -+applications. The SDK also provides the foundation -+for IDE (Integrated Development Environment) tools -+such as Sun's Forte for Java, Community Edition, -+the Java(TM) 2 Platform, Enterprise Edition (J2EE), -+Java-based application servers and more. -+The Java 2 Software Development Kit, SDK, is a -+development environment for building applications, -+applets, and components that can be deployed on -+the Java platform. The Java 2 SDK software includes -+tools useful for developing and testing programs -+written in the Java programming language and running -+on the Java platform. These tools are designed to -+be used from the command line. Except for -+appletviewer, these tools do not provide a -+graphical user interface. -+ ---- j2sdk-1.4.0_01.orig/debian/rules -+++ j2sdk-1.4.0_01/debian/rules -@@ -0,0 +1,76 @@ -+#!/usr/bin/make -f -+# debian/rules for alien -+ -+# Uncomment this to turn on verbose mode. -+#export DH_VERBOSE=1 -+ -+# Use v3 compatability mode, so ldconfig gets added to maint scripts. -+export DH_COMPAT=3 -+ -+PACKAGE=$(shell dh_listpackages) -+ -+build: -+ dh_testdir -+ -+clean: -+ dh_testdir -+ dh_testroot -+ dh_clean -+ -+binary-indep: build -+ -+binary-arch: build -+ dh_testdir -+ dh_testroot -+ dh_clean -k -+ dh_installdirs -+ -+# Copy the packages's files. -+ find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \ -+ xargs -0 -r -i cp -a {} debian/$(PACKAGE) -+ -+# -+# If you need to move files around in debian/$(PACKAGE) or do some -+# binary patching, do it here -+# -+ -+ mv debian/$(PACKAGE)/usr/java/j2sdk1.4.0_01 \ -+ debian/$(PACKAGE)/usr/lib/j2sdk1.4 -+ rmdir debian/$(PACKAGE)/usr/java -+ -+ mv debian/$(PACKAGE)/usr/lib/j2sdk1.4/man/* \ -+ debian/$(PACKAGE)/usr/share/man -+ rmdir debian/$(PACKAGE)/usr/lib/j2sdk1.4/man -+ -+ rm debian/$(PACKAGE)/usr/share/man/ja -+ mv debian/$(PACKAGE)/usr/share/man/ja_JP.eucJP \ -+ debian/$(PACKAGE)/usr/share/man/ja -+ -+ for i in `find debian/$(PACKAGE)/usr/share/man -type f` ; \ -+ do mv $$i `echo $$i | sed 's/\.\([^.]*\)$$/.j2sdk14.\1/'` ; \ -+ done -+ -+ if [ -f ../j2sdk-1_4_0-doc.zip ] ; then \ -+ unzip -q -d debian/$(PACKAGE)/usr/share/doc \ -+ ../j2sdk-1_4_0-doc.zip ; \ -+ mv debian/$(PACKAGE)/usr/share/doc/docs \ -+ debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) ; \ -+ else \ -+ echo j2sdk-1_4_0-doc.zip not found, skipping documentation ; \ -+ fi -+ -+ dh_installdocs -+ dh_installchangelogs -+# This has been known to break on some wacky binaries. -+# dh_strip -+ dh_compress -+ dh_fixperms -+ dh_makeshlibs -+ dh_installdeb -+ -dh_shlibdeps -+ dh_gencontrol -+ dh_md5sums -+ dh_builddeb -+ -+binary: binary-indep binary-arch -+.PHONY: build clean binary-indep binary-arch binary ---- j2sdk-1.4.0_01.orig/debian/dirs -+++ j2sdk-1.4.0_01/debian/dirs -@@ -0,0 +1,4 @@ -+usr/share/doc -+usr/share/man -+usr/lib/netscape/plugins-libc6 -+usr/lib/mozilla/plugins ---- j2sdk-1.4.0_01.orig/debian/postinst -+++ j2sdk-1.4.0_01/debian/postinst -@@ -0,0 +1,75 @@ -+#!/bin/sh -+ -+case "`uname -m`" in -+ i[3-7]86 | ia32 | ia64) -+ ARCH=i386 -+ ;; -+ sparc*) -+ ARCH=sparc -+ ;; -+ *) -+ ARCH="`uname -m`" -+ ;; -+esac -+ -+if [ $1 = configure ] -+then -+ for i in appletviewer extcheck idlj jar jarsigner java javac \ -+ javadoc javah javap jdb keytool native2ascii orbd \ -+ policytool rmic rmid rmiregistry serialver servertool \ -+ tnameserv ControlPanel HtmlConverter -+ do -+ if [ -e /usr/share/man/man1/$i.j2sdk14.1.gz ] -+ then -+ if [ -e /usr/share/man/ja/man1/$i.j2sdk14.1.gz ] -+ then -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk1.4/bin/$i \ -+ 1401 \ -+ --slave \ -+ /usr/share/man/man1/$i.1.gz \ -+ $i.1.gz \ -+ /usr/share/man/man1/$i.j2sdk14.1.gz \ -+ --slave \ -+ /usr/share/man/ja/man1/$i.1.gz \ -+ $i.ja.1.gz \ -+ /usr/share/man/ja/man1/$i.j2sdk14.1.gz -+ else -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk1.4/bin/$i \ -+ 1401 \ -+ --slave \ -+ /usr/share/man/man1/$i.1.gz \ -+ $i.1.gz \ -+ /usr/share/man/man1/$i.j2sdk14.1.gz -+ fi -+ else -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk1.4/bin/$i \ -+ 1401 -+ fi -+ done -+ -+ update-alternatives \ -+ --install \ -+ /usr/lib/netscape/plugins-libc6/javaplugin.so \ -+ javaplugin.so \ -+ /usr/lib/j2sdk1.4/jre/plugin/${ARCH}/ns4/javaplugin.so \ -+ 1401 -+ -+ update-alternatives \ -+ --install \ -+ /usr/lib/mozilla/plugins/javaplugin_oji.so \ -+ javaplugin_oji.so \ -+ /usr/lib/j2sdk1.4/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \ -+ 1401 -+fi ---- j2sdk-1.4.0_01.orig/debian/prerm -+++ j2sdk-1.4.0_01/debian/prerm -@@ -0,0 +1,34 @@ -+#!/bin/sh -+ -+case "`uname -m`" in -+ i[3-7]86 | ia32 | ia64) -+ ARCH=i386 -+ ;; -+ sparc*) -+ ARCH=sparc -+ ;; -+ *) -+ ARCH="`uname -m`" -+ ;; -+esac -+ -+if [ $1 = remove ] -+then -+ for i in appletviewer extcheck idlj jar jarsigner java javac \ -+ javadoc javah javap jdb keytool native2ascii orbd \ -+ policytool rmic rmid rmiregistry serialver servertool \ -+ tnameserv ControlPanel HtmlConverter -+ do -+ update-alternatives --remove $i /usr/lib/j2sdk1.4/bin/$i -+ done -+ -+ update-alternatives \ -+ --remove \ -+ javaplugin.so \ -+ /usr/lib/j2sdk1.4/jre/plugin/${ARCH}/ns4/javaplugin.so -+ -+ update-alternatives \ -+ --remove \ -+ javaplugin_oji.so \ -+ /usr/lib/j2sdk1.4/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so -+fi diff --git a/patches/j2sdk_1.4.1-3.diff b/patches/j2sdk_1.4.1-3.diff deleted file mode 100644 index 618ff4d..0000000 --- a/patches/j2sdk_1.4.1-3.diff +++ /dev/null @@ -1,314 +0,0 @@ ---- j2sdk-1.4.1.orig/debian/dirs -+++ j2sdk-1.4.1/debian/dirs -@@ -0,0 +1,4 @@ -+usr/share/doc -+usr/share/man -+usr/lib/netscape/plugins-libc6 -+usr/lib/mozilla/plugins ---- j2sdk-1.4.1.orig/debian/control -+++ j2sdk-1.4.1/debian/control -@@ -0,0 +1,31 @@ -+Source: j2sdk -+Section: alien -+Priority: extra -+Maintainer: Gerald Turner -+ -+Package: j2sdk -+Architecture: i386 -+Depends: java-common, ${shlibs:Depends} -+Provides: java-virtual-machine, java2-runtime, java-compiler, java2-compiler -+Suggests: netscape | mozilla (>= 0.9.3+0-1) -+Description: Java(TM) 2 Software Development Kit, Standard Edition -+ The Java 2 SDK, Standard Edition includes the Java -+ Virtual Machine, core class libraries and tools used -+ by programmers to develop Java software applets and -+ applications. The SDK also provides the foundation -+ for IDE (Integrated Development Environment) tools -+ such as Sun's Forte for Java, Community Edition, -+ the Java(TM) 2 Platform, Enterprise Edition (J2EE), -+ Java-based application servers and more. -+ The Java 2 Software Development Kit, SDK, is a -+ development environment for building applications, -+ applets, and components that can be deployed on -+ the Java platform. The Java 2 SDK software includes -+ tools useful for developing and testing programs -+ written in the Java programming language and running -+ on the Java platform. These tools are designed to -+ be used from the command line. Except for -+ appletviewer, these tools do not provide a -+ graphical user interface. -+ . -+ (Converted from a rpm package by alien.) ---- j2sdk-1.4.1.orig/debian/prerm -+++ j2sdk-1.4.1/debian/prerm -@@ -0,0 +1,34 @@ -+#!/bin/sh -+ -+case "`uname -m`" in -+ i[3-7]86 | ia32 | ia64) -+ ARCH=i386 -+ ;; -+ sparc*) -+ ARCH=sparc -+ ;; -+ *) -+ ARCH="`uname -m`" -+ ;; -+esac -+ -+if [ $1 = remove ] -+then -+ for i in appletviewer extcheck idlj jar jarsigner java javac javadoc \ -+ javah javap jdb keytool kinit klist ktab native2ascii orbd \ -+ policytool rmic rmid rmiregistry serialver servertool \ -+ tnameserv ControlPanel HtmlConverter -+ do -+ update-alternatives --remove $i /usr/lib/j2sdk1.4/bin/$i -+ done -+ -+ update-alternatives \ -+ --remove \ -+ javaplugin.so \ -+ /usr/lib/j2sdk1.4/jre/plugin/${ARCH}/ns4/javaplugin.so -+ -+ update-alternatives \ -+ --remove \ -+ javaplugin_oji.so \ -+ /usr/lib/j2sdk1.4/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so -+fi ---- j2sdk-1.4.1.orig/debian/rules -+++ j2sdk-1.4.1/debian/rules -@@ -0,0 +1,76 @@ -+#!/usr/bin/make -f -+# debian/rules for alien -+ -+# Uncomment this to turn on verbose mode. -+#export DH_VERBOSE=1 -+ -+# Use v3 compatability mode, so ldconfig gets added to maint scripts. -+export DH_COMPAT=3 -+ -+PACKAGE=$(shell dh_listpackages) -+ -+build: -+ dh_testdir -+ -+clean: -+ dh_testdir -+ dh_testroot -+ dh_clean -+ -+binary-indep: build -+ -+binary-arch: build -+ dh_testdir -+ dh_testroot -+ dh_clean -k -+ dh_installdirs -+ -+# Copy the packages's files. -+ find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \ -+ xargs -0 -r -i cp -a {} debian/$(PACKAGE) -+ -+# -+# If you need to move files around in debian/$(PACKAGE) or do some -+# binary patching, do it here -+# -+ -+ mv debian/$(PACKAGE)/usr/java/j2sdk1.4.1 \ -+ debian/$(PACKAGE)/usr/lib/j2sdk1.4 -+ rmdir debian/$(PACKAGE)/usr/java -+ -+ mv debian/$(PACKAGE)/usr/lib/j2sdk1.4/man/* \ -+ debian/$(PACKAGE)/usr/share/man -+ rmdir debian/$(PACKAGE)/usr/lib/j2sdk1.4/man -+ -+ rm debian/$(PACKAGE)/usr/share/man/ja -+ mv debian/$(PACKAGE)/usr/share/man/ja_JP.eucJP \ -+ debian/$(PACKAGE)/usr/share/man/ja -+ -+ for i in `find debian/$(PACKAGE)/usr/share/man -type f` ; \ -+ do mv $$i `echo $$i | sed 's/\.\([^.]*\)$$/.j2sdk14.\1/'` ; \ -+ done -+ -+ if [ -f ../j2sdk-1_4_1-doc.zip ] ; then \ -+ unzip -q -d debian/$(PACKAGE)/usr/share/doc \ -+ ../j2sdk-1_4_1-doc.zip ; \ -+ mv debian/$(PACKAGE)/usr/share/doc/docs \ -+ debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) ; \ -+ else \ -+ echo j2sdk-1_4_1-doc.zip not found, skipping documentation ; \ -+ fi -+ -+ dh_installdocs -+ dh_installchangelogs -+# This has been known to break on some wacky binaries. -+# dh_strip -+ dh_compress -+ dh_fixperms -+ dh_makeshlibs -+ dh_installdeb -+ -dh_shlibdeps -+ dh_gencontrol -+ dh_md5sums -+ dh_builddeb -+ -+binary: binary-indep binary-arch -+.PHONY: build clean binary-indep binary-arch binary ---- j2sdk-1.4.1.orig/debian/changelog -+++ j2sdk-1.4.1/debian/changelog -@@ -0,0 +1,38 @@ -+j2sdk (1.4.1-3) experimental; urgency=low -+ -+ * New upstream release -+ * Detection and installation of j2sdk-1_4_1-doc.zip (must be downloaded -+ and copied to the same directory where alien is executed) -+ -+ -- Gerald Turner Wed, 2 Oct 2002 16:41:24 -0700 -+ -+j2sdk (1.4.1-2) experimental; urgency=low -+ -+ * Added java-common Depends -+ * Added java-virtual-machine, java2-runtime, java-compiler, and -+ java2-compiler Provides -+ * Added netscape and mozilla Suggests -+ -+ -- Gerald Turner Thu, 23 Aug 2002 09:07:09 -0700 -+ -+j2sdk (1.4.1-1) experimental; urgency=low -+ -+ * New upstream release -+ * Detection and installation of j2sdk-1_4_1-rc-doc.zip (must be downloaded -+ and copied to the same directory where alien is executed) -+ -+ -- Gerald Turner Thu, 22 Aug 2002 16:22:33 -0700 -+ -+j2sdk (1.4.0_01-1) experimental; urgency=low -+ -+ * New upstream release -+ * Detection and installation of j2sdk-1_4_0-doc.zip (must be downloaded -+ and copied to the same directory where alien is executed) -+ -+ -- Gerald Turner Thu, 22 Aug 2002 15:44:54 -0700 -+ -+j2sdk (1.4.0-1) experimental; urgency=low -+ -+ * Converted from .rpm format to .deb -+ -+ -- Gerald Turner Wed, 22 May 2002 12:46:34 -0700 ---- j2sdk-1.4.1.orig/debian/postinst -+++ j2sdk-1.4.1/debian/postinst -@@ -0,0 +1,75 @@ -+#!/bin/sh -+ -+case "`uname -m`" in -+ i[3-7]86 | ia32 | ia64) -+ ARCH=i386 -+ ;; -+ sparc*) -+ ARCH=sparc -+ ;; -+ *) -+ ARCH="`uname -m`" -+ ;; -+esac -+ -+if [ $1 = configure ] -+then -+ for i in appletviewer extcheck idlj jar jarsigner java javac javadoc \ -+ javah javap jdb keytool kinit klist ktab native2ascii orbd \ -+ policytool rmic rmid rmiregistry serialver servertool \ -+ tnameserv ControlPanel HtmlConverter -+ do -+ if [ -e /usr/share/man/man1/$i.j2sdk14.1.gz ] -+ then -+ if [ -e /usr/share/man/ja/man1/$i.j2sdk14.1.gz ] -+ then -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk1.4/bin/$i \ -+ 1401 \ -+ --slave \ -+ /usr/share/man/man1/$i.1.gz \ -+ $i.1.gz \ -+ /usr/share/man/man1/$i.j2sdk14.1.gz \ -+ --slave \ -+ /usr/share/man/ja/man1/$i.1.gz \ -+ $i.ja.1.gz \ -+ /usr/share/man/ja/man1/$i.j2sdk14.1.gz -+ else -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk1.4/bin/$i \ -+ 1401 \ -+ --slave \ -+ /usr/share/man/man1/$i.1.gz \ -+ $i.1.gz \ -+ /usr/share/man/man1/$i.j2sdk14.1.gz -+ fi -+ else -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk1.4/bin/$i \ -+ 1401 -+ fi -+ done -+ -+ update-alternatives \ -+ --install \ -+ /usr/lib/netscape/plugins-libc6/javaplugin.so \ -+ javaplugin.so \ -+ /usr/lib/j2sdk1.4/jre/plugin/${ARCH}/ns4/javaplugin.so \ -+ 1401 -+ -+ update-alternatives \ -+ --install \ -+ /usr/lib/mozilla/plugins/javaplugin_oji.so \ -+ javaplugin_oji.so \ -+ /usr/lib/j2sdk1.4/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \ -+ 1401 -+fi ---- j2sdk-1.4.1.orig/debian/copyright -+++ j2sdk-1.4.1/debian/copyright -@@ -0,0 +1,35 @@ -+This package was debianized by the alien program by converting -+a binary .rpm package on Thu, 22 Aug 2002 15:46:33 -0700 -+ -+Copyright: 1994-2001 Sun Microsystems, Inc. -+ -+Information from the binary package: -+Name : j2sdk Relocations: (not relocateable) -+Version : 1.4.1 Vendor: Sun Microsystems -+Release : rc Build Date: Thu Aug 8 03:24:51 2002 -+Install date: (not installed) Build Host: localhost.localdomain -+Group : Development/Tools Source RPM: j2sdk-1.4.1-rc.src.rpm -+Size : 83010311 License: 1994-2001 Sun Microsystems, Inc. -+Packager : Java Software -+URL : http://java.sun.com/linux -+Summary : Java(TM) 2 Software Development Kit, Standard Edition -+Description : -+The Java 2 SDK, Standard Edition includes the Java -+Virtual Machine, core class libraries and tools used -+by programmers to develop Java software applets and -+applications. The SDK also provides the foundation -+for IDE (Integrated Development Environment) tools -+such as Sun's Forte for Java, Community Edition, -+the Java(TM) 2 Platform, Enterprise Edition (J2EE), -+Java-based application servers and more. -+The Java 2 Software Development Kit, SDK, is a -+development environment for building applications, -+applets, and components that can be deployed on -+the Java platform. The Java 2 SDK software includes -+tools useful for developing and testing programs -+written in the Java programming language and running -+on the Java platform. These tools are designed to -+be used from the command line. Except for -+appletviewer, these tools do not provide a -+graphical user interface. -+ diff --git a/patches/j2sdk_1.4.2-1.diff b/patches/j2sdk_1.4.2-1.diff deleted file mode 100644 index d60f06e..0000000 --- a/patches/j2sdk_1.4.2-1.diff +++ /dev/null @@ -1,388 +0,0 @@ ---- j2sdk-1.4.2.orig/debian/dirs -+++ j2sdk-1.4.2/debian/dirs -@@ -0,0 +1,4 @@ -+usr/share/doc -+usr/share/man -+usr/lib/netscape/plugins-libc6 -+usr/lib/mozilla/plugins ---- j2sdk-1.4.2.orig/debian/control -+++ j2sdk-1.4.2/debian/control -@@ -0,0 +1,31 @@ -+Source: j2sdk -+Section: alien -+Priority: extra -+Maintainer: Gerald Turner -+ -+Package: j2sdk -+Architecture: i386 -+Depends: java-common, ${shlibs:Depends} -+Provides: j2sdk1.4, j2re1.4, java-virtual-machine, java1-runtime, java2-runtime, java-compiler, java2-compiler -+Suggests: mozilla-browser (>= 1.2.1-10) | netscape -+Description: Java(TM) 2 Software Development Kit, Standard Edition -+ The Java 2 SDK, Standard Edition includes the Java -+ Virtual Machine, core class libraries and tools used -+ by programmers to develop Java software applets and -+ applications. The SDK also provides the foundation -+ for IDE (Integrated Development Environment) tools -+ such as Sun's Forte for Java, Community Edition, -+ the Java(TM) 2 Platform, Enterprise Edition (J2EE), -+ Java-based application servers and more. -+ The Java 2 Software Development Kit, SDK, is a -+ development environment for building applications, -+ applets, and components that can be deployed on -+ the Java platform. The Java 2 SDK software includes -+ tools useful for developing and testing programs -+ written in the Java programming language and running -+ on the Java platform. These tools are designed to -+ be used from the command line. Except for -+ appletviewer, these tools do not provide a -+ graphical user interface. -+ . -+ (Converted from a rpm package by alien.) ---- j2sdk-1.4.2.orig/debian/prerm -+++ j2sdk-1.4.2/debian/prerm -@@ -0,0 +1,39 @@ -+#!/bin/sh -+ -+case "`uname -m`" in -+ i[3-7]86 | ia32 | ia64) -+ ARCH=i386 -+ ;; -+ sparc*) -+ ARCH=sparc -+ ;; -+ *) -+ ARCH="`uname -m`" -+ ;; -+esac -+ -+if [ $1 = remove ] -+then -+ for i in appletviewer extcheck idlj jar jarsigner java java-rmi.cgi javac \ -+ javadoc javah javap jdb keytool kinit klist ktab native2ascii \ -+ orbd policytool rmic rmid rmiregistry serialver servertool \ -+ tnameserv HtmlConverter -+ do -+ update-alternatives --remove $i /usr/lib/j2sdk-1.4.2/bin/$i -+ done -+ -+ for i in ControlPanel -+ do -+ update-alternatives --remove $i /usr/lib/j2sdk-1.4.2/jre/bin/$i -+ done -+ -+ update-alternatives \ -+ --remove \ -+ javaplugin.so \ -+ /usr/lib/j2sdk-1.4.2/jre/plugin/${ARCH}/ns4/javaplugin.so -+ -+ update-alternatives \ -+ --remove \ -+ javaplugin_oji.so \ -+ /usr/lib/j2sdk-1.4.2/jre/plugin/${ARCH}/ns610-gcc32/libjavaplugin_oji.so -+fi ---- j2sdk-1.4.2.orig/debian/rules -+++ j2sdk-1.4.2/debian/rules -@@ -0,0 +1,99 @@ -+#!/usr/bin/make -f -+# debian/rules for alien -+ -+# Uncomment this to turn on verbose mode. -+#export DH_VERBOSE=1 -+ -+# Use v3 compatability mode, so ldconfig gets added to maint scripts. -+export DH_COMPAT=3 -+ -+PACKAGE=$(shell dh_listpackages) -+ -+JAVA_HOME := debian/$(PACKAGE)/usr/lib/j2sdk-1.4.2 -+MAN_DIR := debian/$(PACKAGE)/usr/share/man -+ -+build: -+ dh_testdir -+ -+clean: -+ dh_testdir -+ dh_testroot -+ dh_clean -+ -+binary-indep: build -+ -+binary-arch: build -+ dh_testdir -+ dh_testroot -+ dh_clean -k -+ dh_installdirs -+ -+# Copy the packages's files. -+ find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \ -+ xargs -0 -r -i cp -a {} debian/$(PACKAGE) -+ -+# -+# If you need to move files around in debian/$(PACKAGE) or do some -+# binary patching, do it here -+# -+ -+# Move RPM contents to a proper debian/blackdown directory -+ mv debian/$(PACKAGE)/usr/java/j2sdk1.4.2 $(JAVA_HOME) -+ rmdir debian/$(PACKAGE)/usr/java -+ -+# Move man pages to /usr/share/man -+ mv $(JAVA_HOME)/man/* $(MAN_DIR) -+ rmdir $(JAVA_HOME)/man -+ -+# Move Japanese man pages further -+ rm $(MAN_DIR)/ja -+ mv $(MAN_DIR)/ja_JP.eucJP $(MAN_DIR)/ja -+ for i in `find $(MAN_DIR) -type f` ; \ -+ do mv $$i `echo $$i | sed 's/\.\([^.]*\)$$/.j2sdk-1_4_2.\1/'` ; \ -+ done -+ -+# Unpack tripple compressed jars that showed up in 1.4.2 -+ if [ -x $(JAVA_HOME)/lib/unpack ] ; then \ -+ for i in `find $(JAVA_HOME) -name \*.pack` ; do \ -+ $(JAVA_HOME)/lib/unpack \ -+ $$i `dirname $$i`/`basename $$i .pack`.jar ; \ -+ done ; \ -+ fi -+ -+# Fix ControlPanel shell script incompatibilities -+ if [ -f $(JAVA_HOME)/jre/bin/ControlPanel ] ; then \ -+ sed "s/\/usr\/bin\/ls/\/bin\/ls/g; \ -+ s/expr \(.*\) : '^/expr \1 : '/;" \ -+ $(JAVA_HOME)/jre/bin/ControlPanel \ -+ > $(JAVA_HOME)/jre/bin/ControlPanel.tmp ; \ -+ mv $(JAVA_HOME)/jre/bin/ControlPanel.tmp \ -+ $(JAVA_HOME)/jre/bin/ControlPanel ; \ -+ chmod 755 $(JAVA_HOME)/jre/bin/ControlPanel ; \ -+ fi -+ -+# Include optional documentation -+ if [ -f ../j2sdk-1_4_2-doc.zip ] ; then \ -+ unzip -q -d debian/$(PACKAGE)/usr/share/doc \ -+ ../j2sdk-1_4_2-doc.zip ; \ -+ mv debian/$(PACKAGE)/usr/share/doc/docs \ -+ debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) ; \ -+ else \ -+ echo j2sdk-1_4_2-doc.zip not found, skipping documentation ; \ -+ fi -+ -+ dh_installdocs -+ dh_installchangelogs -+ -+# This has been known to break on some wacky binaries. -+# dh_strip -+ dh_compress -+ dh_fixperms -+ dh_makeshlibs -+ dh_installdeb -+ -dh_shlibdeps -+ dh_gencontrol -+ dh_md5sums -+ dh_builddeb -+ -+binary: binary-indep binary-arch -+.PHONY: build clean binary-indep binary-arch binary ---- j2sdk-1.4.2.orig/debian/changelog -+++ j2sdk-1.4.2/debian/changelog -@@ -0,0 +1,74 @@ -+j2sdk (2:1.4.2-1) experimental; urgency=low -+ -+ * Fix ControlPanel shell script incompatibilities. Closes: #200731 -+ -+ -- Gerald Turner Thu, 10 Jul 2003 09:59:23 -0700 -+ -+j2sdk (1:1.4.2-1) experimental; urgency=low -+ -+ * alien echoes the wrong filename, "j2sdk_1.4.2-1_i386.deb generated", -+ and fails to install when using the -i option. Reverted package name -+ j2sdk1.4 to j2sdk. Changed package version to 1 and use an epoch. -+ Closes: #199992 -+ * The intent of the j2sdk1.4 package rename was so that that multiple -+ j2sdk versions could be installed simultaneously (i.e. j2sdk1.3). -+ This is no longer possible using this patch. -+ -+ -- Gerald Turner Sun, 6 Jul 2003 13:39:31 -0700 -+ -+j2sdk (1.4.2-6) experimental; urgency=low -+ -+ * New upstream release -+ -+ -- Gerald Turner Mon, 30 Jun 2003 15:46:47 -0700 -+ -+j2sdk (1.4.1_02-5) experimental; urgency=low -+ -+ * New upstream release -+ -+ -- Gerald Turner Fri, 14 Mar 2003 14:43:45 -0800 -+ -+j2sdk (1.4.1_01-4) experimental; urgency=low -+ -+ * New upstream release -+ -+ -- Gerald Turner Tue, 14 Jan 2003 17:03:09 -0800 -+ -+j2sdk (1.4.1-3) experimental; urgency=low -+ -+ * New upstream release -+ * Detection and installation of j2sdk-1_4_1-doc.zip (must be downloaded -+ and copied to the same directory where alien is executed) -+ -+ -- Gerald Turner Wed, 2 Oct 2002 16:41:24 -0700 -+ -+j2sdk (1.4.1-2) experimental; urgency=low -+ -+ * Added java-common Depends -+ * Added java-virtual-machine, java2-runtime, java-compiler, and -+ java2-compiler Provides -+ * Added netscape and mozilla Suggests -+ -+ -- Gerald Turner Thu, 23 Aug 2002 09:07:09 -0700 -+ -+j2sdk (1.4.1-1) experimental; urgency=low -+ -+ * New upstream release -+ * Detection and installation of j2sdk-1_4_1-rc-doc.zip (must be downloaded -+ and copied to the same directory where alien is executed) -+ -+ -- Gerald Turner Thu, 22 Aug 2002 16:22:33 -0700 -+ -+j2sdk (1.4.0_01-1) experimental; urgency=low -+ -+ * New upstream release -+ * Detection and installation of j2sdk-1_4_0-doc.zip (must be downloaded -+ and copied to the same directory where alien is executed) -+ -+ -- Gerald Turner Thu, 22 Aug 2002 15:44:54 -0700 -+ -+j2sdk (1.4.0-1) experimental; urgency=low -+ -+ * Converted from .rpm format to .deb -+ -+ -- Gerald Turner Wed, 22 May 2002 12:46:34 -0700 ---- j2sdk-1.4.2.orig/debian/postinst -+++ j2sdk-1.4.2/debian/postinst -@@ -0,0 +1,85 @@ -+#!/bin/sh -+ -+case "`uname -m`" in -+ i[3-7]86 | ia32 | ia64) -+ ARCH=i386 -+ ;; -+ sparc*) -+ ARCH=sparc -+ ;; -+ *) -+ ARCH="`uname -m`" -+ ;; -+esac -+ -+if [ $1 = configure ] -+then -+ for i in appletviewer extcheck idlj jar jarsigner java java-rmi.cgi javac \ -+ javadoc javah javap jdb keytool kinit klist ktab native2ascii \ -+ orbd policytool rmic rmid rmiregistry serialver servertool \ -+ tnameserv HtmlConverter -+ do -+ if [ -e /usr/share/man/man1/$i.j2sdk-1_4_2.1.gz ] -+ then -+ if [ -e /usr/share/man/ja/man1/$i.j2sdk-1_4_2.1.gz ] -+ then -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk-1.4.2/bin/$i \ -+ 1420 \ -+ --slave \ -+ /usr/share/man/man1/$i.1.gz \ -+ $i.1.gz \ -+ /usr/share/man/man1/$i.j2sdk-1_4_2.1.gz \ -+ --slave \ -+ /usr/share/man/ja/man1/$i.1.gz \ -+ $i.ja.1.gz \ -+ /usr/share/man/ja/man1/$i.j2sdk-1_4_2.1.gz -+ else -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk-1.4.2/bin/$i \ -+ 1420 \ -+ --slave \ -+ /usr/share/man/man1/$i.1.gz \ -+ $i.1.gz \ -+ /usr/share/man/man1/$i.j2sdk-1_4_2.1.gz -+ fi -+ else -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk-1.4.2/bin/$i \ -+ 1420 -+ fi -+ done -+ -+ for i in ControlPanel -+ do -+ update-alternatives \ -+ --install \ -+ /usr/bin/$i \ -+ $i \ -+ /usr/lib/j2sdk-1.4.2/jre/bin/$i \ -+ 1420 -+ done -+ -+ update-alternatives \ -+ --install \ -+ /usr/lib/netscape/plugins-libc6/javaplugin.so \ -+ javaplugin.so \ -+ /usr/lib/j2sdk-1.4.2/jre/plugin/${ARCH}/ns4/javaplugin.so \ -+ 1420 -+ -+ update-alternatives \ -+ --install \ -+ /usr/lib/mozilla/plugins/javaplugin_oji.so \ -+ javaplugin_oji.so \ -+ /usr/lib/j2sdk-1.4.2/jre/plugin/${ARCH}/ns610-gcc32/libjavaplugin_oji.so \ -+ 1420 -+fi ---- j2sdk-1.4.2.orig/debian/copyright -+++ j2sdk-1.4.2/debian/copyright -@@ -0,0 +1,35 @@ -+This package was debianized by the alien program by converting -+a binary .rpm package on Sun, 6 Jul 2003 13:39:31 -0700 -+ -+Copyright: 1994-2001 Sun Microsystems, Inc. -+ -+Information from the binary package: -+Name : j2sdk Relocations: (not relocateable) -+Version : 1.4.2 Vendor: Sun Microsystems -+Release : fcs Build Date: Fri Jun 20 02:52:19 2003 -+Install date: (not installed) Build Host: localhost.localdomain -+Group : Development/Tools Source RPM: j2sdk-1.4.2-fcs.src.rpm -+Size : 65687911 License: 1994-2001 Sun Microsystems, Inc. -+Packager : Java Software -+URL : http://java.sun.com/linux -+Summary : Java(TM) 2 Software Development Kit, Standard Edition -+Description : -+The Java 2 SDK, Standard Edition includes the Java -+Virtual Machine, core class libraries and tools used -+by programmers to develop Java software applets and -+applications. The SDK also provides the foundation -+for IDE (Integrated Development Environment) tools -+such as Sun's Forte for Java, Community Edition, -+the Java(TM) 2 Platform, Enterprise Edition (J2EE), -+Java-based application servers and more. -+The Java 2 Software Development Kit, SDK, is a -+development environment for building applications, -+applets, and components that can be deployed on -+the Java platform. The Java 2 SDK software includes -+tools useful for developing and testing programs -+written in the Java programming language and running -+on the Java platform. These tools are designed to -+be used from the command line. Except for -+appletviewer, these tools do not provide a -+graphical user interface. -+ diff --git a/patches/j2sdk_1.4.2_03-1.diff b/patches/j2sdk_1.4.2_05-1.diff similarity index 85% rename from patches/j2sdk_1.4.2_03-1.diff rename to patches/j2sdk_1.4.2_05-1.diff index cfcf384..edfd778 100644 --- a/patches/j2sdk_1.4.2_03-1.diff +++ b/patches/j2sdk_1.4.2_05-1.diff @@ -1,46 +1,39 @@ ---- j2sdk-1.4.2_03.orig/debian/dirs -+++ j2sdk-1.4.2_03/debian/dirs +--- j2sdk-1.4.2_05.orig/debian/dirs ++++ j2sdk-1.4.2_05/debian/dirs @@ -0,0 +1,4 @@ +usr/share/doc +usr/share/man +usr/lib/netscape/plugins-libc6 +usr/lib/mozilla/plugins ---- j2sdk-1.4.2_03.orig/debian/control -+++ j2sdk-1.4.2_03/debian/control -@@ -0,0 +1,31 @@ +--- j2sdk-1.4.2_05.orig/debian/control ++++ j2sdk-1.4.2_05/debian/control +@@ -0,0 +1,24 @@ +Source: j2sdk -+Section: alien -+Priority: extra -+Maintainer: Gerald Turner ++Section: non-free/devel ++Priority: optional ++Maintainer: Gerald Turner + +Package: j2sdk1.4 +Architecture: i386 -+Depends: java-common, ${shlibs:Depends} -+Provides: j2sdk, j2re, j2re1.4, java-virtual-machine, java1-runtime, java2-runtime, java-compiler, java2-compiler ++Depends: ${shlibs:Depends} ++Provides: java-common, java-virtual-machine, java-runtime, java2-runtime, java-browser-plugin, java-compiler, java2-compiler, j2sdk1.4, j2re1.4 +Suggests: mozilla-browser (>= 1.2.1-10) | netscape -+Description: Java(TM) 2 Software Development Kit, Standard Edition -+ The Java 2 SDK, Standard Edition includes the Java -+ Virtual Machine, core class libraries and tools used -+ by programmers to develop Java software applets and -+ applications. The SDK also provides the foundation -+ for IDE (Integrated Development Environment) tools -+ such as Sun's Forte for Java, Community Edition, -+ the Java(TM) 2 Platform, Enterprise Edition (J2EE), -+ Java-based application servers and more. -+ The Java 2 Software Development Kit, SDK, is a -+ development environment for building applications, -+ applets, and components that can be deployed on -+ the Java platform. The Java 2 SDK software includes -+ tools useful for developing and testing programs -+ written in the Java programming language and running -+ on the Java platform. These tools are designed to -+ be used from the command line. Except for -+ appletviewer, these tools do not provide a ++Description: Java(TM) 2 SDK, Standard Edition, Sun Microsystems(TM) ++ The Java(TM) 2 SDK is a development environment for building ++ applications, applets, and components that can be deployed on the ++ Java platform. ++ . ++ The Java(TM) 2 SDK software includes tools useful for developing and ++ testing programs written in the Java programming language and running ++ on the Java platform. These tools are designed to be used from the ++ command line. Except for appletviewer, these tools do not provide a + graphical user interface. + . -+ (Converted from a rpm package by alien version 8.42.) ---- j2sdk-1.4.2_03.orig/debian/prerm -+++ j2sdk-1.4.2_03/debian/prerm ++ This package has been converted from a rpm package by alien version ++ 8.46 using a special diff file to help make the package conform to ++ debian policy written by Gerald Turner. +--- j2sdk-1.4.2_05.orig/debian/prerm ++++ j2sdk-1.4.2_05/debian/prerm @@ -0,0 +1,39 @@ +#!/bin/sh + @@ -81,8 +74,8 @@ + javaplugin_oji.so \ + /usr/lib/j2sdk-1.4.2/jre/plugin/${ARCH}/ns610-gcc32/libjavaplugin_oji.so +fi ---- j2sdk-1.4.2_03.orig/debian/rules -+++ j2sdk-1.4.2_03/debian/rules +--- j2sdk-1.4.2_05.orig/debian/rules ++++ j2sdk-1.4.2_05/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# debian/rules for alien @@ -124,7 +117,7 @@ +# + +# Move RPM contents to a proper debian/blackdown directory -+ mv debian/$(PACKAGE)/usr/java/j2sdk1.4.2_03 $(JAVA_HOME) ++ mv debian/$(PACKAGE)/usr/java/j2sdk1.4.2_05 $(JAVA_HOME) + rmdir debian/$(PACKAGE)/usr/java + +# Move man pages to /usr/share/man @@ -183,9 +176,15 @@ + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary ---- j2sdk-1.4.2_03.orig/debian/changelog -+++ j2sdk-1.4.2_03/debian/changelog -@@ -0,0 +1,80 @@ +--- j2sdk-1.4.2_05.orig/debian/changelog ++++ j2sdk-1.4.2_05/debian/changelog +@@ -0,0 +1,86 @@ ++j2sdk (2:1.4.2_05-1) unstable; urgency=low ++ ++ * New upstream release ++ ++ -- Gerald Turner Fri, 01 Oct 2004 10:01:53 -0700 ++ +j2sdk (2:1.4.2_03-1) experimental; urgency=low + + * New upstream release @@ -266,8 +265,8 @@ + * Converted from .rpm format to .deb + + -- Gerald Turner Wed, 22 May 2002 12:46:34 -0700 ---- j2sdk-1.4.2_03.orig/debian/postinst -+++ j2sdk-1.4.2_03/debian/postinst +--- j2sdk-1.4.2_05.orig/debian/postinst ++++ j2sdk-1.4.2_05/debian/postinst @@ -0,0 +1,85 @@ +#!/bin/sh + @@ -299,7 +298,7 @@ + /usr/bin/$i \ + $i \ + /usr/lib/j2sdk-1.4.2/bin/$i \ -+ 1423 \ ++ 1425 \ + --slave \ + /usr/share/man/man1/$i.1.gz \ + $i.1.gz \ @@ -314,7 +313,7 @@ + /usr/bin/$i \ + $i \ + /usr/lib/j2sdk-1.4.2/bin/$i \ -+ 1423 \ ++ 1425 \ + --slave \ + /usr/share/man/man1/$i.1.gz \ + $i.1.gz \ @@ -326,7 +325,7 @@ + /usr/bin/$i \ + $i \ + /usr/lib/j2sdk-1.4.2/bin/$i \ -+ 1423 ++ 1425 + fi + done + @@ -337,7 +336,7 @@ + /usr/bin/$i \ + $i \ + /usr/lib/j2sdk-1.4.2/jre/bin/$i \ -+ 1423 ++ 1425 + done + + update-alternatives \ @@ -345,17 +344,17 @@ + /usr/lib/netscape/plugins-libc6/javaplugin.so \ + javaplugin.so \ + /usr/lib/j2sdk-1.4.2/jre/plugin/${ARCH}/ns4/libjavaplugin.so \ -+ 1423 ++ 1425 + + update-alternatives \ + --install \ + /usr/lib/mozilla/plugins/javaplugin_oji.so \ + javaplugin_oji.so \ + /usr/lib/j2sdk-1.4.2/jre/plugin/${ARCH}/ns610-gcc32/libjavaplugin_oji.so \ -+ 1423 ++ 1425 +fi ---- j2sdk-1.4.2_03.orig/debian/copyright -+++ j2sdk-1.4.2_03/debian/copyright +--- j2sdk-1.4.2_05.orig/debian/copyright ++++ j2sdk-1.4.2_05/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by the alien program by converting +a binary .rpm package on Mon, 19 Jan 2004 12:33:32 -0800 diff --git a/patches/jdk_1.5.0-1.diff b/patches/jdk_1.5.0-1.diff new file mode 100644 index 0000000..14993fa --- /dev/null +++ b/patches/jdk_1.5.0-1.diff @@ -0,0 +1,420 @@ +--- jdk-1.5.0.orig/debian/dirs ++++ jdk-1.5.0/debian/dirs +@@ -0,0 +1,4 @@ ++usr/share/doc ++usr/share/man ++usr/lib/netscape/plugins-libc6 ++usr/lib/mozilla/plugins +--- jdk-1.5.0.orig/debian/control ++++ jdk-1.5.0/debian/control +@@ -0,0 +1,24 @@ ++Source: jdk ++Section: non-free/devel ++Priority: optional ++Maintainer: Gerald Turner ++ ++Package: jdk1.5 ++Architecture: i386 ++Depends: ${shlibs:Depends} ++Provides: java-common, java-virtual-machine, java-runtime, java2-runtime, java-browser-plugin, java-compiler, java2-compiler, j2sdk1.4, j2re1.4 ++Suggests: mozilla-browser (>= 1.2.1-10) ++Description: Java(TM) 2 SDK, Standard Edition, Sun Microsystems(TM) ++ The Java(TM) 2 SDK is a development environment for building ++ applications, applets, and components that can be deployed on the ++ Java platform. ++ . ++ The Java(TM) 2 SDK software includes tools useful for developing and ++ testing programs written in the Java programming language and running ++ on the Java platform. These tools are designed to be used from the ++ command line. Except for appletviewer, these tools do not provide a ++ graphical user interface. ++ . ++ This package has been converted from a rpm package by alien version ++ 8.46 using a special diff file to help make the package conform to ++ debian policy written by Gerald Turner. +--- jdk-1.5.0.orig/debian/prerm ++++ jdk-1.5.0/debian/prerm +@@ -0,0 +1,35 @@ ++#!/bin/sh ++ ++case "`uname -m`" in ++ i[3-7]86 | ia32 | ia64) ++ ARCH=i386 ++ ;; ++ sparc*) ++ ARCH=sparc ++ ;; ++ *) ++ ARCH="`uname -m`" ++ ;; ++esac ++ ++if [ $1 = remove ] ++then ++ for i in appletviewer ControlPanel extcheck HtmlConverter idlj jar \ ++ jarsigner java javac javadoc javah javap java-rmi.cgi javaws \ ++ jconsole jdb jinfo jmap jps jsadebugd jstack jstat jstatd \ ++ keytool kinit klist ktab native2ascii orbd pack200 policytool \ ++ rmic rmid rmiregistry serialver servertool tnameserv unpack200 ++ do ++ update-alternatives --remove $i /usr/lib/j2sdk-1.5.0/bin/$i ++ done ++ ++ for i in apt ++ do ++ update-alternatives --remove j$i /usr/lib/j2sdk-1.5.0/bin/$i ++ done ++ ++ update-alternatives \ ++ --remove \ ++ javaplugin_oji.so \ ++ /usr/lib/j2sdk-1.5.0/jre/plugin/${ARCH}/ns7/libjavaplugin_oji.so ++fi +--- jdk-1.5.0.orig/debian/rules ++++ jdk-1.5.0/debian/rules +@@ -0,0 +1,108 @@ ++#!/usr/bin/make -f ++# debian/rules for alien ++ ++# Uncomment this to turn on verbose mode. ++#export DH_VERBOSE=1 ++ ++# Use v3 compatability mode, so ldconfig gets added to maint scripts. ++export DH_COMPAT=3 ++ ++PACKAGE=$(shell dh_listpackages) ++ ++JAVA_HOME := debian/$(PACKAGE)/usr/lib/j2sdk-1.5.0 ++MAN_DIR := debian/$(PACKAGE)/usr/share/man ++ ++build: ++ dh_testdir ++ ++clean: ++ dh_testdir ++ dh_testroot ++ dh_clean ++ ++binary-indep: build ++ ++binary-arch: build ++ dh_testdir ++ dh_testroot ++ dh_clean -k ++ dh_installdirs ++ ++# Copy the packages's files. ++ find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \ ++ xargs -0 -r -i cp -a {} debian/$(PACKAGE) ++ ++# ++# If you need to move files around in debian/$(PACKAGE) or do some ++# binary patching, do it here ++# ++ ++# Move RPM contents to a proper debian/blackdown directory ++ mv debian/$(PACKAGE)/usr/java/jdk1.5.0 $(JAVA_HOME) ++ rmdir debian/$(PACKAGE)/usr/java ++ ++# Move man pages to /usr/share/man ++ mv $(JAVA_HOME)/man/* $(MAN_DIR) ++ rmdir $(JAVA_HOME)/man ++ ++# Move Japanese man pages further ++ rm $(MAN_DIR)/ja ++ mv $(MAN_DIR)/ja_JP.eucJP $(MAN_DIR)/ja ++ for i in `find $(MAN_DIR) -type f` ; \ ++ do mv $$i `echo $$i | sed 's/\.\([^.]*\)$$/.j2sdk-1_5_0.\1/'` ; \ ++ done ++ ++# Unpack tripple compressed jars that showed up in 1.4.2 ++ if [ -x $(JAVA_HOME)/bin/unpack200 ] ; then \ ++ for i in `find $(JAVA_HOME) -name \*.pack` ; do \ ++ $(JAVA_HOME)/bin/unpack200 \ ++ $$i `dirname $$i`/`basename $$i .pack`.jar ; \ ++ done ; \ ++ fi ++ ++# Fix ControlPanel shell script incompatibilities ++ if [ -f $(JAVA_HOME)/bin/ControlPanel ] ; then \ ++ sed "s/\/usr\/bin\/ls/\/bin\/ls/g; \ ++ s/expr \(.*\) : '^/expr \1 : '/;" \ ++ $(JAVA_HOME)/bin/ControlPanel \ ++ > $(JAVA_HOME)/bin/ControlPanel.tmp ; \ ++ mv $(JAVA_HOME)/bin/ControlPanel.tmp \ ++ $(JAVA_HOME)/bin/ControlPanel ; \ ++ chmod 755 $(JAVA_HOME)/bin/ControlPanel ; \ ++ fi ++ if [ -f $(JAVA_HOME)/jre/bin/ControlPanel ] ; then \ ++ sed "s/\/usr\/bin\/ls/\/bin\/ls/g; \ ++ s/expr \(.*\) : '^/expr \1 : '/;" \ ++ $(JAVA_HOME)/jre/bin/ControlPanel \ ++ > $(JAVA_HOME)/jre/bin/ControlPanel.tmp ; \ ++ mv $(JAVA_HOME)/jre/bin/ControlPanel.tmp \ ++ $(JAVA_HOME)/jre/bin/ControlPanel ; \ ++ chmod 755 $(JAVA_HOME)/jre/bin/ControlPanel ; \ ++ fi ++ ++# Include optional documentation ++ if [ -f ../jdk-1_5_0-doc.zip ] ; then \ ++ unzip -q -d debian/$(PACKAGE)/usr/share/doc \ ++ ../jdk-1_5_0-doc.zip ; \ ++ mv debian/$(PACKAGE)/usr/share/doc/docs \ ++ debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) ; \ ++ else \ ++ echo jdk-1_5_0-doc.zip not found, skipping documentation ; \ ++ fi ++ ++ dh_installdocs ++ dh_installchangelogs ++ ++# This has been known to break on some wacky binaries. ++# dh_strip ++ dh_compress ++ dh_fixperms ++ dh_makeshlibs ++ dh_installdeb ++ -dh_shlibdeps ++ dh_gencontrol ++ dh_md5sums ++ dh_builddeb ++ ++binary: binary-indep binary-arch ++.PHONY: build clean binary-indep binary-arch binary +--- jdk-1.5.0.orig/debian/changelog ++++ jdk-1.5.0/debian/changelog +@@ -0,0 +1,92 @@ ++jdk (1.5.0-1) unstable; urgency=low ++ ++ * New upstream release ++ ++ -- Gerald Turner Fri, 01 Oct 2004 14:19:16 -0700 ++ ++j2sdk (2:1.4.2_05-1) experimental; urgency=low ++ ++ * New upstream release ++ ++ -- Gerald Turner Fri, 01 Oct 2004 10:01:53 -0700 ++ ++j2sdk (2:1.4.2_03-1) experimental; urgency=low ++ ++ * New upstream release ++ ++ -- Gerald Turner Mon, 19 Jan 2004 12:33:32 -0800 ++ ++j2sdk (2:1.4.2-1) experimental; urgency=low ++ ++ * Fix ControlPanel shell script incompatibilities. Closes: #200731 ++ ++ -- Gerald Turner Thu, 10 Jul 2003 09:59:23 -0700 ++ ++j2sdk (1:1.4.2-1) experimental; urgency=low ++ ++ * alien echoes the wrong filename, "j2sdk_1.4.2-1_i386.deb generated", ++ and fails to install when using the -i option. Reverted package name ++ j2sdk1.4 to j2sdk. Changed package version to 1 and use an epoch. ++ Closes: #199992 ++ * The intent of the j2sdk1.4 package rename was so that that multiple ++ j2sdk versions could be installed simultaneously (i.e. j2sdk1.3). ++ This is no longer possible using this patch. ++ ++ -- Gerald Turner Sun, 6 Jul 2003 13:39:31 -0700 ++ ++j2sdk (1.4.2-6) experimental; urgency=low ++ ++ * New upstream release ++ ++ -- Gerald Turner Mon, 30 Jun 2003 15:46:47 -0700 ++ ++j2sdk (1.4.1_02-5) experimental; urgency=low ++ ++ * New upstream release ++ ++ -- Gerald Turner Fri, 14 Mar 2003 14:43:45 -0800 ++ ++j2sdk (1.4.1_01-4) experimental; urgency=low ++ ++ * New upstream release ++ ++ -- Gerald Turner Tue, 14 Jan 2003 17:03:09 -0800 ++ ++j2sdk (1.4.1-3) experimental; urgency=low ++ ++ * New upstream release ++ * Detection and installation of j2sdk-1_4_1-doc.zip (must be downloaded ++ and copied to the same directory where alien is executed) ++ ++ -- Gerald Turner Wed, 2 Oct 2002 16:41:24 -0700 ++ ++j2sdk (1.4.1-2) experimental; urgency=low ++ ++ * Added java-common Depends ++ * Added java-virtual-machine, java2-runtime, java-compiler, and ++ java2-compiler Provides ++ * Added netscape and mozilla Suggests ++ ++ -- Gerald Turner Thu, 23 Aug 2002 09:07:09 -0700 ++ ++j2sdk (1.4.1-1) experimental; urgency=low ++ ++ * New upstream release ++ * Detection and installation of j2sdk-1_4_1-rc-doc.zip (must be downloaded ++ and copied to the same directory where alien is executed) ++ ++ -- Gerald Turner Thu, 22 Aug 2002 16:22:33 -0700 ++ ++j2sdk (1.4.0_01-1) experimental; urgency=low ++ ++ * New upstream release ++ * Detection and installation of j2sdk-1_4_0-doc.zip (must be downloaded ++ and copied to the same directory where alien is executed) ++ ++ -- Gerald Turner Thu, 22 Aug 2002 15:44:54 -0700 ++ ++j2sdk (1.4.0-1) experimental; urgency=low ++ ++ * Converted from .rpm format to .deb ++ ++ -- Gerald Turner Wed, 22 May 2002 12:46:34 -0700 +--- jdk-1.5.0.orig/debian/postinst ++++ jdk-1.5.0/debian/postinst +@@ -0,0 +1,111 @@ ++#!/bin/sh ++ ++case "`uname -m`" in ++ i[3-7]86 | ia32 | ia64) ++ ARCH=i386 ++ ;; ++ sparc*) ++ ARCH=sparc ++ ;; ++ *) ++ ARCH="`uname -m`" ++ ;; ++esac ++ ++if [ $1 = configure ] ++then ++ for i in appletviewer ControlPanel extcheck HtmlConverter idlj jar \ ++ jarsigner java javac javadoc javah javap java-rmi.cgi javaws \ ++ jconsole jdb jinfo jmap jps jsadebugd jstack jstat jstatd \ ++ keytool kinit klist ktab native2ascii orbd pack200 policytool \ ++ rmic rmid rmiregistry serialver servertool tnameserv unpack200 ++ do ++ if [ -e /usr/share/man/man1/$i.j2sdk-1_5_0.1.gz ] ++ then ++ if [ -e /usr/share/man/ja/man1/$i.j2sdk-1_5_0.1.gz ] ++ then ++ update-alternatives \ ++ --install \ ++ /usr/bin/$i \ ++ $i \ ++ /usr/lib/j2sdk-1.5.0/bin/$i \ ++ 1500 \ ++ --slave \ ++ /usr/share/man/man1/$i.1.gz \ ++ $i.1.gz \ ++ /usr/share/man/man1/$i.j2sdk-1_5_0.1.gz \ ++ --slave \ ++ /usr/share/man/ja/man1/$i.1.gz \ ++ $i.ja.1.gz \ ++ /usr/share/man/ja/man1/$i.j2sdk-1_5_0.1.gz ++ else ++ update-alternatives \ ++ --install \ ++ /usr/bin/$i \ ++ $i \ ++ /usr/lib/j2sdk-1.5.0/bin/$i \ ++ 1500 \ ++ --slave \ ++ /usr/share/man/man1/$i.1.gz \ ++ $i.1.gz \ ++ /usr/share/man/man1/$i.j2sdk-1_5_0.1.gz ++ fi ++ else ++ update-alternatives \ ++ --install \ ++ /usr/bin/$i \ ++ $i \ ++ /usr/lib/j2sdk-1.5.0/bin/$i \ ++ 1500 ++ fi ++ done ++ ++ for i in apt ++ do ++ if [ -e /usr/share/man/man1/$i.j2sdk-1_5_0.1.gz ] ++ then ++ if [ -e /usr/share/man/ja/man1/$i.j2sdk-1_5_0.1.gz ] ++ then ++ update-alternatives \ ++ --install \ ++ /usr/bin/j$i \ ++ j$i \ ++ /usr/lib/j2sdk-1.5.0/bin/$i \ ++ 1500 \ ++ --slave \ ++ /usr/share/man/man1/j$i.1.gz \ ++ j$i.1.gz \ ++ /usr/share/man/man1/$i.j2sdk-1_5_0.1.gz \ ++ --slave \ ++ /usr/share/man/ja/man1/j$i.1.gz \ ++ j$i.ja.1.gz \ ++ /usr/share/man/ja/man1/$i.j2sdk-1_5_0.1.gz ++ else ++ update-alternatives \ ++ --install \ ++ /usr/bin/j$i \ ++ j$i \ ++ /usr/lib/j2sdk-1.5.0/bin/$i \ ++ 1500 \ ++ --slave \ ++ /usr/share/man/man1/j$i.1.gz \ ++ j$i.1.gz \ ++ /usr/share/man/man1/$i.j2sdk-1_5_0.1.gz ++ fi ++ else ++ update-alternatives \ ++ --install \ ++ /usr/bin/j$i \ ++ j$i \ ++ /usr/lib/j2sdk-1.5.0/bin/$i \ ++ 1500 ++ fi ++ done ++ ++ update-alternatives \ ++ --install \ ++ /usr/lib/mozilla/plugins/javaplugin_oji.so \ ++ javaplugin_oji.so \ ++ /usr/lib/j2sdk-1.5.0/jre/plugin/${ARCH}/ns7/libjavaplugin_oji.so \ ++ 1500 ++fi +--- jdk-1.5.0.orig/debian/copyright ++++ jdk-1.5.0/debian/copyright +@@ -0,0 +1,25 @@ ++This package was debianized by the alien program by converting ++a binary .rpm package on Fri, 1 Oct 2004 10:18:23 -0700 ++ ++Copyright: Sun Microsystems Binary Code License (BCL) ++ ++Information from the binary package: ++Name : jdk Relocations: /usr/java ++Version : 1.5.0 Vendor: Sun Microsystems, Inc. ++Release : fcs Build Date: Wed 15 Sep 2004 06:18:37 AM PDT ++Install date: (not installed) Build Host: tiger-linux ++Group : Development/Tools Source RPM: jdk-1.5.0-fcs.src.rpm ++Size : 80132114 License: Sun Microsystems Binary Code License (BCL) ++Packager : Java Software ++URL : http://java.sun.com/ ++Summary : Java(TM) 2 Platform Standard Edition Development Kit ++Description : ++The Java 2 Platform Standard Edition Development Kit (JDK) includes both the ++runtime environment (Java virtual machine, the Java platform classes and ++supporting files) and development tools (compilers, debuggers, tool libraries ++and other tools). ++ ++The JDK is a development environment for building applications, applets and ++components that can be deployed with the Java 2 Platform Standard Edition ++Runtime Environment. ++