pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/sun-jre15 Initial import of sun-jre15-5.0, Sun's ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de580e5c0304
branches:  trunk
changeset: 481291:de580e5c0304
user:      rh <rh%pkgsrc.org@localhost>
date:      Thu Sep 30 22:11:52 2004 +0000

description:
Initial import of sun-jre15-5.0, Sun's Java(tm) 2 Runtime Environment 1.5.0

diffstat:

 lang/sun-jre15/DESCR           |    1 +
 lang/sun-jre15/MESSAGE.NetBSD  |   22 +
 lang/sun-jre15/Makefile        |   60 +++
 lang/sun-jre15/Makefile.common |   73 ++++
 lang/sun-jre15/PLIST           |  701 +++++++++++++++++++++++++++++++++++++++++
 lang/sun-jre15/buildlink3.mk   |   21 +
 lang/sun-jre15/distinfo        |    4 +
 lang/sun-jre15/sfiles.mk       |   47 ++
 8 files changed, 929 insertions(+), 0 deletions(-)

diffs (truncated from 961 to 300 lines):

diff -r 7cc44a6ebf85 -r de580e5c0304 lang/sun-jre15/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sun-jre15/DESCR      Thu Sep 30 22:11:52 2004 +0000
@@ -0,0 +1,1 @@
+This is the Linux port of the Sun Java(tm) Development Kit, version 1.5.
diff -r 7cc44a6ebf85 -r de580e5c0304 lang/sun-jre15/MESSAGE.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sun-jre15/MESSAGE.NetBSD     Thu Sep 30 22:11:52 2004 +0000
@@ -0,0 +1,22 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2004/09/30 22:11:53 rh Exp $
+
+In order to be able to run the JVM, you will need to compile your kernel
+with the following options:
+
+options                COMPAT_LINUX
+
+Then, you need to add the following line to your /etc/fstab:
+
+procfs /emul/linux/proc procfs rw,linux
+
+Furthermore, the maximum data segment size assigned to your user must be
+at least 262144.
+
+You may want to read
+
+       ${JAVA_HOME}/README
+
+for details about running this JDK.
+
+===========================================================================
diff -r 7cc44a6ebf85 -r de580e5c0304 lang/sun-jre15/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sun-jre15/Makefile   Thu Sep 30 22:11:52 2004 +0000
@@ -0,0 +1,60 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/30 22:11:52 rh Exp $
+
+DISTNAME=      jre-1_5_0-linux-i586
+PKGNAME=       sun-jre15-5.0
+MASTER_SITES=  # empty
+
+COMMENT=       Sun's Java(tm) 2 Runtime Environment 1.5.0
+
+SHORT=         JRE
+
+WRKSRC=                ${WRKDIR}/jre1.5.0
+USE_PKGINSTALL=        yes
+JAVA_WRAPPERS= java
+OWN_DIRS=      ${JAVA_HOME}
+OWN_DIRS+=     ${JAVA_HOME}/lib
+OWN_DIRS+=     ${JAVA_HOME}/lib/applet
+OWN_DIRS+=     ${JAVA_HOME}/lib/images
+OWN_DIRS+=     ${JAVA_HOME}/lib/images/cursors
+OWN_DIRS+=     ${JAVA_HOME}/lib/security
+SUPPORT_FILES= # empty
+.sinclude "sfiles.mk"
+.for FILE in ${SFILES}
+SUPPORT_FILES+=        ${JAVA_HOME}/lib/${FILE}.default ${JAVA_HOME}/lib/${FILE}
+.endfor
+
+.include "../../mk/bsd.prefs.mk"
+
+#BUILD_DEFS+=          SUN_JRE15_USE_JCE       # does not exist (yet?)
+#PLIST_SRC=            ${WRKDIR}/PLIST
+
+#.if !empty(SUN_JRE15_USE_JCE:M[Yy][Ee][Ss])
+#DISTFILES=    ${DISTNAME}${EXTRACT_SUFX} jce_policy-1_5_0.zip
+#.endif
+
+do-configure:
+       cd ${WRKSRC}/lib; for file in ${SFILES}; do                     \
+               ${MV} -f $$file $$file.default;                         \
+       done
+#.if !empty(SUN_JRE15_USE_JCE:M[Yy][Ee][Ss])
+#      cd ${WRKDIR}/jce ; pax -rw -pe -v . ${WRKSRC}/lib/security
+#      ${SED} 's/@SUN_JRE15_USE_JCE@//' ${PKGDIR}/PLIST > ${PLIST_SRC}
+#.else
+#      ${SED} '/@SUN_JRE15_USE_JCE@/d' ${PKGDIR}/PLIST > ${PLIST_SRC}
+#.endif
+
+#
+# re-create sfiles.mk from properties and config files
+#
+makesfiles:
+       ${ECHO} >  sfiles.mk '# $$NetBSD: Makefile,v 1.1.1.1 2004/09/30 22:11:52 rh Exp $$'
+       ${ECHO} >> sfiles.mk '#'
+       ${ECHO} >> sfiles.mk '# Created with "make makesfiles"'
+       ${ECHO} >> sfiles.mk '# Do not edit this file manually!'
+       ${ECHO} >> sfiles.mk '#'
+       cd ${WRKSRC}/lib && ${FIND} * -name \*.properties\*             \
+               -o -name \*.cfg -o -name fontconfig.\*                  \
+               -o -name \*.security |                                  \
+       ${SED} 's/^/SFILES+=    /' >>../../../sfiles.mk
+
+.include "../../lang/sun-jre15/Makefile.common"
diff -r 7cc44a6ebf85 -r de580e5c0304 lang/sun-jre15/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sun-jre15/Makefile.common    Thu Sep 30 22:11:52 2004 +0000
@@ -0,0 +1,73 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/09/30 22:11:53 rh Exp $
+
+CATEGORIES=    lang java
+EXTRACT_SUFX=  .bin
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://java.sun.com/
+DOWNLOAD=      http://java.sun.com/j2se/1.5.0/download.html
+ARCHIVE=       http://java.sun.com/products/archive/index.html
+
+LICENSE=       jdk13-license
+RESTRICTED=    "Redistribution of repackaged binaries not permitted"
+NO_SRC_ON_CDROM=${RESTRICTED}
+NO_SRC_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+
+INTERACTIVE_STAGE=     fetch
+
+.include "../../mk/bsd.prefs.mk"
+
+JAVA_HOME=     ${LOCALBASE}/java/sun-1.5
+JAVA_NAME=     sun15
+JAVA_UNLIMIT=  datasize
+
+MESSAGE_SUBST+=        JAVA_HOME="${JAVA_HOME}"
+
+.if ${OPSYS} == "NetBSD"
+DEPENDS+=      suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat
+DEPENDS+=      suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
+.endif
+
+USE_BUILDLINK3=        yes
+NO_MTREE=      yes     # since we change PREFIX
+LDD=           ${TRUE}
+
+ONLY_FOR_PLATFORM=     NetBSD-1.6[U-Z]*-i386 NetBSD-[2-9]*-i386
+ONLY_FOR_PLATFORM+=    Linux-*-i[3-6]86
+
+_FETCH_MESSAGE=                                                        \
+       ${ECHO} "======================================================================"; \
+       ${ECHO} ;                                                       \
+       ${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing";      \
+       ${ECHO} " ${COMMENT} must be fetched";                          \
+       ${ECHO} " into:";                                               \
+       ${ECHO} "       ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}";         \
+       ${ECHO} " from:";                                               \
+       ${ECHO} "       ${DOWNLOAD}";                                   \
+       ${ECHO} "       or ${ARCHIVE}";                                 \
+       ${ECHO} ; \
+       ${ECHO} " Click 'Download J2SE ${SHORT}', read and accept the"; \
+       ${ECHO} " license, then choose 'Linux self-extracting file'.";  \
+       ${ECHO} ;                                                       \
+       ${ECHO} "======================================================================"
+
+
+post-fetch:
+       @if [ ! -x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then        \
+               ${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX};      \
+       fi
+
+do-build:      # nothing
+
+do-install:
+       ${INSTALL_PROGRAM_DIR} ${JAVA_HOME}
+       cd ${WRKSRC} && ${PAX} -rwp ma . ${JAVA_HOME}
+
+.if ${OPSYS} == "NetBSD"
+.  include "../../emulators/suse_linux/Makefile.application"
+.endif
+
+.include "../../mk/java-env.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7cc44a6ebf85 -r de580e5c0304 lang/sun-jre15/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sun-jre15/PLIST      Thu Sep 30 22:11:52 2004 +0000
@@ -0,0 +1,701 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/30 22:11:52 rh Exp $
+bin/sun15-java
+java/sun-1.5/.pkgsrc
+java/sun-1.5/.systemPrefs/.system.lock
+java/sun-1.5/.systemPrefs/.systemRootModFile
+java/sun-1.5/CHANGES
+java/sun-1.5/COPYRIGHT
+java/sun-1.5/LICENSE
+java/sun-1.5/README
+java/sun-1.5/THIRDPARTYLICENSEREADME.txt
+java/sun-1.5/Welcome.html
+java/sun-1.5/bin/ControlPanel
+java/sun-1.5/bin/java
+java/sun-1.5/bin/java_vm
+java/sun-1.5/bin/javaws
+java/sun-1.5/bin/keytool
+java/sun-1.5/bin/kinit
+java/sun-1.5/bin/klist
+java/sun-1.5/bin/ktab
+java/sun-1.5/bin/orbd
+java/sun-1.5/bin/pack200
+java/sun-1.5/bin/policytool
+java/sun-1.5/bin/rmid
+java/sun-1.5/bin/rmiregistry
+java/sun-1.5/bin/servertool
+java/sun-1.5/bin/tnameserv
+java/sun-1.5/bin/unpack200
+java/sun-1.5/javaws/javaws
+java/sun-1.5/lib/.pkgsrc
+java/sun-1.5/lib/applet/.pkgsrc
+java/sun-1.5/lib/audio/soundbank.gm
+java/sun-1.5/lib/charsets.jar
+java/sun-1.5/lib/classlist
+java/sun-1.5/lib/cmm/CIEXYZ.pf
+java/sun-1.5/lib/cmm/GRAY.pf
+java/sun-1.5/lib/cmm/LINEAR_RGB.pf
+java/sun-1.5/lib/cmm/PYCC.pf
+java/sun-1.5/lib/cmm/sRGB.pf
+java/sun-1.5/lib/content-types.properties.default
+java/sun-1.5/lib/deploy.jar
+java/sun-1.5/lib/ext/dnsns.jar
+java/sun-1.5/lib/ext/localedata.jar
+java/sun-1.5/lib/ext/sunjce_provider.jar
+java/sun-1.5/lib/ext/sunpkcs11.jar
+java/sun-1.5/lib/flavormap.properties.default
+java/sun-1.5/lib/fontconfig.RedHat.2.1.bfc.default
+java/sun-1.5/lib/fontconfig.RedHat.2.1.properties.src.default
+java/sun-1.5/lib/fontconfig.RedHat.3.bfc.default
+java/sun-1.5/lib/fontconfig.RedHat.3.properties.src.default
+java/sun-1.5/lib/fontconfig.RedHat.8.0.bfc.default
+java/sun-1.5/lib/fontconfig.RedHat.8.0.properties.src.default
+java/sun-1.5/lib/fontconfig.RedHat.bfc.default
+java/sun-1.5/lib/fontconfig.RedHat.properties.src.default
+java/sun-1.5/lib/fontconfig.SuSE.bfc.default
+java/sun-1.5/lib/fontconfig.SuSE.properties.src.default
+java/sun-1.5/lib/fontconfig.Sun.2003.bfc.default
+java/sun-1.5/lib/fontconfig.Sun.2003.properties.src.default
+java/sun-1.5/lib/fontconfig.Sun.bfc.default
+java/sun-1.5/lib/fontconfig.Sun.properties.src.default
+java/sun-1.5/lib/fontconfig.Turbo.8.0.bfc.default
+java/sun-1.5/lib/fontconfig.Turbo.8.0.properties.src.default
+java/sun-1.5/lib/fontconfig.Turbo.bfc.default
+java/sun-1.5/lib/fontconfig.Turbo.properties.src.default
+java/sun-1.5/lib/fontconfig.bfc.default
+java/sun-1.5/lib/fontconfig.properties.src.default
+java/sun-1.5/lib/fonts/LucidaBrightDemiBold.ttf
+java/sun-1.5/lib/fonts/LucidaBrightDemiItalic.ttf
+java/sun-1.5/lib/fonts/LucidaBrightItalic.ttf
+java/sun-1.5/lib/fonts/LucidaBrightRegular.ttf
+java/sun-1.5/lib/fonts/LucidaSansDemiBold.ttf
+java/sun-1.5/lib/fonts/LucidaSansRegular.ttf
+java/sun-1.5/lib/fonts/LucidaTypewriterBold.ttf
+java/sun-1.5/lib/fonts/LucidaTypewriterRegular.ttf
+java/sun-1.5/lib/fonts/fonts.dir
+java/sun-1.5/lib/${MACHINE_ARCH}/awt_robot
+java/sun-1.5/lib/${MACHINE_ARCH}/client/Xusage.txt
+java/sun-1.5/lib/${MACHINE_ARCH}/client/libjsig.so
+java/sun-1.5/lib/${MACHINE_ARCH}/client/libjvm.so
+java/sun-1.5/lib/${MACHINE_ARCH}/gtkhelper
+java/sun-1.5/lib/${MACHINE_ARCH}/headless/libmawt.so
+java/sun-1.5/lib/${MACHINE_ARCH}/jvm.cfg.default
+java/sun-1.5/lib/${MACHINE_ARCH}/libJdbcOdbc.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libawt.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libcmm.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libdcpr.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libdeploy.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libdt_socket.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libfontmanager.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libhprof.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libinstrument.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libioser12.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libj2pkcs11.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjaas_unix.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjava.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjava_crw_demo.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjavaplugin_jni.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjavaplugin_nscp.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjavaplugin_nscp_gcc29.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjawt.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjdwp.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjpeg.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjsig.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjsound.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libjsoundalsa.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libmanagement.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libmlib_image.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libnative_chmod.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libnet.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libnio.so
+java/sun-1.5/lib/${MACHINE_ARCH}/librmi.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libunpack.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libverify.so
+java/sun-1.5/lib/${MACHINE_ARCH}/libzip.so
+java/sun-1.5/lib/${MACHINE_ARCH}/motif21/libmawt.so
+java/sun-1.5/lib/${MACHINE_ARCH}/native_threads/libhpi.so
+java/sun-1.5/lib/${MACHINE_ARCH}/server/Xusage.txt
+java/sun-1.5/lib/${MACHINE_ARCH}/server/libjsig.so
+java/sun-1.5/lib/${MACHINE_ARCH}/server/libjvm.so
+java/sun-1.5/lib/${MACHINE_ARCH}/xawt/libmawt.so
+java/sun-1.5/lib/im/indicim.jar
+java/sun-1.5/lib/im/thaiim.jar
+java/sun-1.5/lib/images/.pkgsrc
+java/sun-1.5/lib/images/cursors/.pkgsrc
+java/sun-1.5/lib/images/cursors/cursors.properties.default



Home | Main Index | Thread Index | Old Index