pkgsrc/lang/sun-jre14/Makefile

103 lines
2.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.51 2009/06/25 11:43:41 obache Exp $
# Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce
DISTNAME= j2re-1_4_2_19-linux-${DIST_ARCH}
PKGNAME= sun-jre14-2.19
MASTER_SITES= # empty
COMMENT= Sun's Java(tm) 2 Runtime Environment 1.4.2
LICENSE= sun-jre14-license
SHORT= JRE
USE_TOOLS+= pax
WRKSRC= ${WRKDIR}/j2re1.4.2_19
JAVA_WRAPPERS= java keytool orbd policytool rmid rmiregistry \
servertool tnameserv
* Add new emulator framework in pkgsrc/mk/emulator that handles all binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
2007-07-29 07:18:36 +02:00
.include "../../lang/sun-jre14/Makefile.common"
REQD_DIRS= ${JAVA_HOME}
REQD_DIRS+= ${JAVA_HOME}/lib
REQD_DIRS+= ${JAVA_HOME}/lib/applet
REQD_DIRS+= ${JAVA_HOME}/lib/images
REQD_DIRS+= ${JAVA_HOME}/lib/images/cursors
REQD_DIRS+= ${JAVA_HOME}/lib/security
SFILES= content-types.properties flavormap.properties
Update sun-j*14 to latest version 1.4.2_04 or sun-j*14-2.4. This is done during the freeze since the default distfile vanishes from Sun's website. Changes and bugs fixed since 1.4.2_03 according to http://java.sun.com/j2se/1.4.2/ReleaseNotes.html: Encoding Unicode to JIS0208 Throw exception HTMLEditorKit uses always default editor kit for rendering of frames javac requires exponential time to attribute methods in a large hierarchy NullPointerException in JFileChooser when accessing system level icons 1.4 REGRESSION: Metal & Windows FileChooserUI classes cannot be used without She Cross-platform PrinterJob.printDialog gets hidden by main application window GTK+ theme keynav for JTree expand/collapse doesn't confirm with GTK+2 standard closing sequencer sometimes crashes the VM GTK+ L&F not fully reflecting GNOME High contrast large print theme GTK+ JFileChooser doesn't open multiple files RMI call remains blocked even after network cable is unplugged in Solaris 8 REGRESSION: Unicode escape processing is redone REGRESSION: regex character class negation error REGRESSION: infinite loop in ISO2022_JP$Decoder. decodeArrayLoop() Printing: Legal page sizes not correctly selected/printed on Linux in with J2se1.3 in multithread situation, socket reads data unexpectly JPI Control Panel "Help" refers to the incorrect Update button name Include UseSpinning, UseTLAB, PreBlockSpin with -XX:+AggressiveHeap for Linux DefaultWriteObject Flag is always true in RMI-IIOP data stream IOP serialization is slow for large objects CHROOT JDK 1.4.2-b28 Incorrect ordering of loads/stores of same memory loc with -XX:-OptoScheduling JDK 1.4 and the JIS0208 character set encoding Java plugin downloads sticky applet multiple time for sites using load balancing javax.rmi.CORBA.Util.isLocal(stub) restricts custom ORB spinners don't look like native ones on blueprint GTK L&F: In JFileChooser folder ordering is unlike native mercury ordering JFileChooser filepanel background color is unlike native mercury GTK L&F: Behaviour of new folder button in JFileChooser is unlike native mercury JFileDIalog does not show the current directory in GTK Swing's GTK look and feel should be updated to track GTK 2.2 GTK L&F: Shift+Tab causes the JFileChosser to behave vague Drag anchor of JToolBar is unlike the native mercury toolbar JFileChooser Dialog does not respond to the ESC key unlike Native FileDialog RepositoryId Lists not handled correctly Swing's blueprint engine is not in sync with native version Wrong discriminator received on a union with multiple case labels on a branch CORBA COMM_FAILURE when destroy() takes too long and close() happens J2SE needs to support Korean on Mercury Ship currently published CA certificates in cacerts file Regression: 1.4.2 JVM core dumps with error ID 4F530E43505002EF 01 Regression: jarsigner fails to verify the jar files Cannot specify java.util.logging.manager property using JWS IOException on drop part of drag'n'drop JavaWebStart version number inaccurate on Korean Locale on Win2000 C2 crash in adjust_check Java Web Start 1.4.2 uses obsolete cacerts file. GTK L&F: Behaviour of rename button in JFileChooser is unlike native mercury sun.nio.ch.Util.releaseTemporaryDirectBuffer NullPointerException classDepth(null) crashes VM consider removing validity check on trusted cert anchor selection -XX:NewSize, MaxNewSize CL arguments sometimes ignored JRE 1.4.2 support for Chinese/Korean fonts on Redhat AS 2.1 Signature timestamps in signed jar files break forward compatibility REG: JVM crash on RH3.0 w/ 4F533F4C494E55583F 491418160E4350500306 Interop broken b/w 1.4.2_04 and 1.4.1,1.5 for TreeSet, BigInteger, BigDecimal Krb5LoginModule authentication fails with exception, "connection reset"
2004-03-17 23:01:43 +01:00
SFILES+= font.properties.Redhat6.1 font.properties
SFILES+= font.properties.ja.Redhat6.1 font.properties.ja.Redhat6.2
SFILES+= font.properties.ja.Turbo font.properties.ja.Turbo6.0
SFILES+= font.properties.ja font.properties.zh.Turbo
SFILES+= images/cursors/cursors.properties i386/jvm.cfg
SFILES+= logging.properties psfont.properties.ja
SFILES+= psfontj2d.properties security/java.security
CONF_FILES= # empty
.for FILE in ${SFILES}
CONF_FILES+= ${JAVA_HOME}/lib/${FILE}.default ${JAVA_HOME}/lib/${FILE}
.endfor
PKG_OPTIONS_VAR= PKG_OPTIONS.sun-jre14
PKG_SUPPORTED_OPTIONS= sun-jre-jce
.include "../../mk/bsd.options.mk"
PLIST_VARS+= jce
.if !empty(PKG_OPTIONS:Msun-jre-jce)
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} jce_policy-1_4_2.zip
PLIST.jce= yes
* Add new emulator framework in pkgsrc/mk/emulator that handles all binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
2007-07-29 07:18:36 +02:00
END_MESSAGE= \
"" \
"The file jce_policy-1_4_2.zip must be fetched into:" \
" ${DISTDIR}/jce_policy-1_4_2.zip" \
"" \
"Under 'Other Downloads' / 'Java Cryptography Extension'" \
"click 'Download' and choose the .zip file."
.endif
# Some of the binaries require libX11, so ensure that requirement is
# satisfied when the package is installed on the native OS.
#
.if defined(EMUL_IS_NATIVE)
. if ${X11_TYPE} == "native"
. if ${EMUL_ARCH} == "x86_64"
LIBX11= ${X11PREFIX}/lib64/libX11.so.6
. else
LIBX11= ${X11PREFIX}/lib/libX11.so.6
. endif
. if !exists(${LIBX11})
PKG_FAIL_REASON+= "${LIBX11} does not exist. Please install the" \
"X11 library packages for your system."
. endif
. else
. include "../../x11/libX11/buildlink3.mk"
LIBX11= ${X11PREFIX}/lib/libX11.so.6
. endif
PLIST_SUBST+= LIBX11=
.PHONY: create-library-symlinks
post-install: create-library-symlinks
create-library-symlinks:
${RUN}${LN} -fs ${LIBX11} ${JAVA_HOME}/lib/${EMUL_ARCH}
.else
PLIST_SUBST+= LIBX11="@comment "
.endif
post-extract:
* Add new emulator framework in pkgsrc/mk/emulator that handles all binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
2007-07-29 07:18:36 +02:00
cd ${WRKSRC} && ${CHMOD} -R go-w .
do-configure:
cd ${WRKSRC}/lib; for file in ${SFILES}; do \
${MV} -f $$file $$file.default; \
done
pre-install:
.if !empty(PKG_OPTIONS:Msun-jre-jce)
cd ${WRKDIR}/jce ; pax -rw -pe -v . ${WRKSRC}/lib/security
.endif
* Add new emulator framework in pkgsrc/mk/emulator that handles all binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
2007-07-29 07:18:36 +02:00
.include "../../mk/bsd.pkg.mk"