SF.net SVN: gar:[24847] csw/mgar/pkg
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Mon Apr 13 07:06:02 CEST 2015
Revision: 24847
http://sourceforge.net/p/gar/code/24847
Author: dmichelsen
Date: 2015-04-13 05:06:02 +0000 (Mon, 13 Apr 2015)
Log Message:
-----------
jdk8: Initial commit
Modified Paths:
--------------
csw/mgar/pkg/jdk8/trunk/Makefile
csw/mgar/pkg/jdk8/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/jdk8/
Modified: csw/mgar/pkg/jdk8/trunk/Makefile
===================================================================
--- csw/mgar/pkg/jdk6/trunk/Makefile 2014-11-19 15:00:40 UTC (rev 24362)
+++ csw/mgar/pkg/jdk8/trunk/Makefile 2015-04-13 05:06:02 UTC (rev 24847)
@@ -1,9 +1,9 @@
-NAME = jdk6
-SPKG_VERSION = 1.6.0_37
-VERSION = 6u37
+NAME = jre8
+SPKG_VERSION = 1.8.0_40
+VERSION = 8u40
GARTYPE = v2
-DESCRIPTION = Java Development Kit 6
+DESCRIPTION = Java Development Kit 8
define BLURB
endef
@@ -11,109 +11,112 @@
# manually and put into /home/src before packaging.
MASTER_SITES = manual://
-SUFFIXES_sparc = sparc sparcv9
-SUFFIXES_i386 = i586 x64
+SUFFIXES_sparc = sparcv9
+SUFFIXES_i386 = x64
SUFFIXES = $(SUFFIXES_sparc) $(SUFFIXES_i386)
DISTNAME = jdk$(SPKG_VERSION)
-DISTFILES = $(foreach S,$(SUFFIXES),jdk-$(VERSION)-solaris-$S.sh)
-NOEXTRACT = $(foreach S,$(filter-out $(SUFFIXES_$(GARCH)),$(SUFFIXES)),jdk-$(VERSION)-solaris-$S.sh)
+DISTFILES = $(foreach S,$(SUFFIXES),jdk-$(VERSION)-solaris-$S.tar.gz)
+NOEXTRACT = $(foreach S,$(filter-out $(SUFFIXES_$(GARCH)),$(SUFFIXES)),jdk-$(VERSION)-solaris-$S.tar.gz)
-SPKG_SOURCEURL = http://java.sun.com/javase/downloads/index.jsp
+NOGITPATCH = 1
-PACKAGES = CSWjdk6 CSWjre6 CSWjdk CSWjre
+VENDOR_URL = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
+LICENSE = COPYRIGHT
-CATALOGNAME_CSWjdk6 = jdk6
-CATALOGNAME_CSWjre6 = jre6
-CATALOGNAME_CSWjdk = jdk
-CATALOGNAME_CSWjre = jre
+PACKAGES += CSWjdk
+SPKG_DESC_CSWjdk = Java Delopment Kit - Latest Version (now CSWjdk8)
+PKGFILES_CSWjdk += $(prefix)/java/jdk/latest
+ARCHALL_CSWjdk = 1
+RUNTIME_DEP_PKGS_CSWjdk += CSWjdk8
+CHECKPKG_OVERRIDES_CSWjdk += surplus-dependency|CSWjdk8
-ARCHALL_CSWjdk = 1
+PACKAGES += CSWjre
+SPKG_DESC_CSWjre = Java Runtime Environment - Latest Version (now CSWjre8)
+PKGFILES_CSWjre += $(prefix)/java/jre/latest
+PKGFILES_CSWjre += $(prefix)/java/man
ARCHALL_CSWjre = 1
+RUNTIME_DEP_PKGS_CSWjre += CSWjre8
+# False positive:
+# http://lists.opencsw.org/pipermail/maintainers/2015-January/019614.html
+# Override until it is fixed
+CHECKPKG_OVERRIDES_CSWjre += file-needed-but-no-package-satisfies-it|/opt/csw/java/jdk/latest/man|CSWjre|contains|symlink|/opt/csw/java/man|which|needs|the|target|file:|/opt/csw/java/jdk/latest/man
-LICENSE = COPYRIGHT
+FILES_JDK += javadoc
+FILES_JDK += javap
+FILES_JDK += jconsole
+FILES_JDK += jdb
+FILES_JDK += jhat
+FILES_JDK += jinfo
+FILES_JDK += jmap
+FILES_JDK += jsadebugd
+FILES_JDK += jstack
+FILES_JDK += jstat
+FILES_JDK += jstatd
+FILES_JDK += jvisualvm
+FILES_JDK += serialver
-SPKG_DESC_CSWjdk6 = Java Development Kit 6
-SPKG_DESC_CSWjre6 = Java Runtime Environment 6
-SPKG_DESC_CSWjdk = Java Delopment Kit - Latest Version (now CSWjdk6)
-SPKG_DESC_CSWjre = Java Runtime Environment - Latest Version (now CSWjre6)
+PACKAGES += CSWjdk8
+SPKG_DESC_CSWjdk8 = Java Development Kit 8
+# PKGFILES is catchall
+PKGFILES_CSWjdk8 += $(foreach F,$(FILES_JDK),$(prefix)/java/$(DISTNAME)/bin/$F)
+PKGFILES_CSWjdk8 += $(foreach F,$(FILES_JDK),$(prefix)/java/$(DISTNAME)/bin/$(ISA_DEFAULT64_$(GARCH))/$F)
+PKGFILES_CSWjdk8 += $(foreach F,$(FILES_JDK),$(prefix)/java/$(DISTNAME)/man/man1/$F.1)
+PKGFILES_CSWjdk8 += $(foreach F,$(FILES_JDK),$(prefix)/java/$(DISTNAME)/man/ja/man1/$F.1)
+PKGFILES_CSWjdk8 += $(foreach F,$(FILES_JDK),$(prefix)/java/$(DISTNAME)/man/ja_JP.PCK/man1/$F.1)
+PKGFILES_CSWjdk8 += $(foreach F,$(FILES_JDK),$(prefix)/java/$(DISTNAME)/man/ja_JP.UTF-8/man1/$F.1)
+PKGFILES_CSWjdk8 += $(prefix)/java/$(DISTNAME)/src.zip
+PKGFILES_CSWjdk8 += $(prefix)/java/$(DISTNAME)/lib/visualvm(/.*)?
+PKGFILES_CSWjdk8 += $(prefix)/java/jdk/jdk8
+# This is a logical dependency, so no way for checkpkg to detect it
+RUNTIME_DEP_PKGS_CSWjdk8 += CSWjre8
+CHECKPKG_OVERRIDES_CSWjdk8 += surplus-dependency|CSWjre8
+# We package upstream as is, no chance to change anything.
+CHECKPKG_OVERRIDES_CSWjdk8 += binary-architecture-does-not-match-placement
+CHECKPKG_OVERRIDES_CSWjdk8 += bad-rpath-entry
+CHECKPKG_OVERRIDES_CSWjdk8 += soname-not-found
+CHECKPKG_OVERRIDES_CSWjdk8 += no-direct-binding
+CHECKPKG_OVERRIDES_CSWjdk8 += file-with-bad-content
-RUNTIME_DEP_PKGS_CSWjdk6 = CSWjre6
-RUNTIME_DEP_PKGS_CSWjdk = CSWjdk6
-RUNTIME_DEP_PKGS_CSWjre = CSWjre6
+PACKAGES += CSWjre8
+SPKG_DESC_CSWjre8 = Java Server Runtime Environment 8
+# PKGFILES is catchall
+# We package upstream as is, no chance to change anything.
+CHECKPKG_OVERRIDES_CSWjre8 += binary-architecture-does-not-match-placement
+CHECKPKG_OVERRIDES_CSWjre8 += bad-rpath-entry
+CHECKPKG_OVERRIDES_CSWjre8 += soname-not-found
+CHECKPKG_OVERRIDES_CSWjre8 += no-direct-binding
+CHECKPKG_OVERRIDES_CSWjre8 += file-with-bad-content
-MANPAGES_JRE = java.1 javaws.1 keytool.1 orbd.1 pack200.1 policytool.1 rmid.1 rmiregistry.1
-MANPAGES_JRE += servertool.1 tnameserv.1 unpack200.1
-
-MANPAGE_REGEX = ($(shell echo $(MANPAGES_JRE) | perl -lne 's/\./\\./g;print join("|",split)'))
-
CONFIGURE_SCRIPTS =
BUILD_SCRIPTS =
TEST_SCRIPTS =
INSTALL_SCRIPTS = custom
-PKGFILES_CSWjdk = $(prefix)/java/jdk/latest
+include gar/category.mk
-PKGFILES_CSWjre = $(prefix)/java/jre/latest
-PKGFILES_CSWjre += $(prefix)/java/man
-
-PKGFILES_CSWjre6 = $(prefix)/java/jdk/$(DISTNAME)/jre/.*
-PKGFILES_CSWjre6 += $(prefix)/java/jdk/$(DISTNAME)/man/.*/$(MANPAGE_REGEX)
-PKGFILES_CSWjre6 += $(prefix)/java/jre/jre$(SPKG_VERSION)
-PKGFILES_CSWjre6 += $(prefix)/java/jre/jre6
-
-# CSWjdk6 gets all the rest
-
# Tell the user to download the file manually
manual//%:
@echo
@echo "Please download the file"
@echo " $*"
@echo "manually from"
- @echo " $(SPKG_SOURCEURL)"
+ @echo " $(VENDOR_URL)"
@echo "and copy it to"
@echo " $(GARCHIVEDIR)"
@echo
-# rule to extract files with shell
-# Clear DISPLAY or the installer will bring up advertisement
-shell-extract-archive-%:
- @echo " ==> Extracting $(DOWNLOADDIR)/$*"
- @echo "yes" | (D=$(abspath $(DOWNLOADDIR)/$*); cd $(EXTRACTDIR); DISPLAY= MORE="-10000" sh $$D -noregister)
- @$(MAKECOOKIE)
-
-extract-archive-%.sh: shell-extract-archive-%.sh
- @$(MAKECOOKIE)
-
-# We package upstream as is, no chance to change anything.
-CHECKPKG_OVERRIDES_CSWjdk += surplus-dependency|CSWjdk6
-CHECKPKG_OVERRIDES_CSWjdk6 += binary-architecture-does-not-match-placement
-CHECKPKG_OVERRIDES_CSWjdk6 += bad-rpath-entry
-CHECKPKG_OVERRIDES_CSWjre += surplus-dependency|CSWjre6
-CHECKPKG_OVERRIDES_CSWjre6 += binary-architecture-does-not-match-placement
-CHECKPKG_OVERRIDES_CSWjre6 += bad-rpath-entry
-CHECKPKG_OVERRIDES_CSWjre6 += soname-not-found
-
-include gar/category.mk
-
install-custom:
@echo " ==> Installing $(NAME)"
-
- @rm -rf $(DESTDIR)$(prefix)/java
- @ginstall -d $(DESTDIR)$(prefix)/java/jdk
- @(cd $(WORKDIR); pax -r -w -s ',.*/\.git.*,,' $(DISTNAME) $(DESTDIR)$(prefix)/java/jdk)
- @rm -f $(DESTDIR)$(prefix)/java/jdk/latest
- @gln -sf jdk6 $(DESTDIR)$(prefix)/java/jdk/latest
- @rm -f $(DESTDIR)$(prefix)/java/jdk/jdk6
- @gln -sf $(DISTNAME) $(DESTDIR)$(prefix)/java/jdk/jdk6
-
- @ginstall -d $(DESTDIR)$(prefix)/java/jre
- @rm -f $(DESTDIR)$(prefix)/java/jre/jre$(SPKG_VERSION)
- @gln -sf ../jdk/$(DISTNAME)/jre $(DESTDIR)$(prefix)/java/jre/jre$(SPKG_VERSION)
- @rm -f $(DESTDIR)$(prefix)/java/jre/latest
- @gln -sf jre6 $(DESTDIR)$(prefix)/java/jre/latest
- @rm -f $(DESTDIR)$(prefix)/java/jre/jre6
- @gln -sf jre$(SPKG_VERSION) $(DESTDIR)$(prefix)/java/jre/jre6
-
- @gln -sf ../man $(DESTDIR)$(prefix)/java/jdk/$(DISTNAME)/jre/man
+ rm -rf $(DESTDIR)$(prefix)/java
+ ginstall -d -m 0755 $(DESTDIR)$(prefix)/java
+ cp -rp $(WORKSRC) $(DESTDIR)$(prefix)/java/$(DISTNAME)
+ rm -rf $(DESTDIR)$(prefix)/java/jre
+ ginstall -d -m 0755 $(DESTDIR)$(prefix)/java/jdk
+ gln -sf ../$(DISTNAME) $(DESTDIR)$(prefix)/java/jdk/jdk8
+ gln -sf jdk8 $(DESTDIR)$(prefix)/java/jdk/latest
+ ginstall -d -m 0755 $(DESTDIR)$(prefix)/java/jre
+ gln -sf ../$(DISTNAME)/jre $(DESTDIR)$(prefix)/java/jre/jre8
+ gln -sf jre8 $(DESTDIR)$(prefix)/java/jre/latest
+ gln -sf jdk/latest/man $(DESTDIR)$(prefix)/java/man
@$(MAKECOOKIE)
Modified: csw/mgar/pkg/jdk8/trunk/checksums
===================================================================
--- csw/mgar/pkg/jdk6/trunk/checksums 2014-11-19 15:00:40 UTC (rev 24362)
+++ csw/mgar/pkg/jdk8/trunk/checksums 2015-04-13 05:06:02 UTC (rev 24847)
@@ -1,4 +1,2 @@
-5ae91311d0a2cfe4a346f65d3e5217c9 jdk-6u37-solaris-i586.sh
-36cca90c79c69d20c688f7343e27f6f4 jdk-6u37-solaris-sparc.sh
-1c6903a949748f5c48815035e7420118 jdk-6u37-solaris-sparcv9.sh
-d86c20a851fafe2448261cddad86ed2f jdk-6u37-solaris-x64.sh
+a19a70e01caf11fefcf800bafa4c2b77 jdk-8u40-solaris-sparcv9.tar.gz
+8b2a0c3a3c6af95c2e579492f3ebbca4 jdk-8u40-solaris-x64.tar.gz
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list