pkgsrc/lang/sun-jre14/Makefile
obache 342335db12 Update sun-{jre,jdk}14 to 2.19, a.k.a. 1.4.2_19.
Changes in 1.4.2_19

 The full internal version number for this update release is 1.4.2_19-b04 (where
 "b" means "build"). The external version number is 1.4.2_19.

 OlsonData 2008i

  This release contains Olson time zone data version 2008i. For more information,
  refer to Timezone Data Versions in the JRE Software .

 Root Certificates Included

  Root Certificates are included in this release. The following root
  certificates have been added:

    * Camerfirma root certificates
    * T-systems root CA certificate (Deutsche Telekom Root CA 2)

 Bug Fixes

  This release contains fixes for one or more security vulnerabilities. For more
  information, please see Sun Alerts 244986, 244987, 244988, 244990, 244991,
  245246, 246266, 246346, 246386, and 246387.

 Other bug fixes are listed in the following URL:
  http://java.sun.com/j2se/1.4.2/ReleaseNotes.html#142_19

Changes in 1.4.2_18

 The full internal version number for this update release is 1.4.2_18-b06 (where
 "b" means "build"). The external version number is 1.4.2_18.

 OlsonData 2008b

  This release contains Olson time zone data version 2008b. For more information,
  refer to 6679340 or to US DST Timezone Updater.

 Bug Fixes

  This release contains fixes for one or more security vulnerabilities. For more
  information, please see Sun Alerts 238666, 238905, 238967, and 238968.

 Other bug fixes are listed in the following URL:
  http://java.sun.com/j2se/1.4.2/ReleaseNotes.html#142_18
2009-06-25 11:43:41 +00:00

102 lines
2.8 KiB
Makefile

# $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
.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
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
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:
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
.include "../../mk/bsd.pkg.mk"