Commit Graph

462 Commits

Author SHA1 Message Date
Jiri
1f48fa9349 config files moved to etc and symlinked back to JDK.
Backward comaptibility is to consider. Downgrade will be dead anyway.
2019-02-11 16:56:24 +01:00
Andrew John Hughes
c144d43531 Add backport of JDK-8145096 (PR3693) to fix undefined behaviour issues on newer GCCs 2019-02-06 06:21:21 +00:00
Andrew Hughes
6c221689cd Update to aarch64-shenandoah-jdk8u201-b09. 2019-02-05 21:27:25 +00:00
Nicolas De Amicis
f7dc79c90d Update java-1.8.0-openjdk.spec
Added FX link of libglassgtk3.so
2019-02-05 15:04:24 +00:00
Andrew John Hughes
e0121aeccf Update to aarch64-shenandoah-jdk8u192-b12.
Remove patches included upstream
 - JDK-8031668/PR2842
 - JDK-8148351/PR2842
 - JDK-6260348/PR3066
 - JDK-8061305/PR3335/RH1423421
 - JDK-8188030/PR3459/RH1484079
 - JDK-8205104/PR3539/RH1548475
 - JDK-8185723/PR3553
 - JDK-8186461/PR3557
 - JDK-8201509/PR3579
 - JDK-8075942/PR3602
 - JDK-8203182/PR3603
 - JDK-8206406/PR3610/RH1597825
 - JDK-8206425
 - JDK-8036003
 - JDK-8201495/PR2415
 - JDK-8150954/PR2866/RH1176206
Re-generate patches (mostly due to upstream build changes)
 - JDK-8073139/PR1758/RH1191652
 - JDK-8143245/PR3548 (due to JDK-8202600)
 - JDK-8197429/PR3546/RH1536622 (due to JDK-8189170)
 - JDK-8199936/PR3533
 - JDK-8199936/PR3591
 - JDK-8207057/PR3613
 - JDK-8210761/RH1632174 (due to JDK-8207402)
 - PR3559 (due to JDK-8185723/JDK-8186461/JDK-8201509)
 - PR3593 (due to JDK-8081202)
 - RH1566890/CVE-2018-3639 (due to JDK-8189170)
 - RH1649664 (due to JDK-8196516)
2019-01-30 14:56:30 +00:00
Andrew John Hughes
77e1240af4 Add 8131048 & 8164920 (PR3574/RH1498936) to provide a CRC32 intrinsic for PPC64. 2019-01-29 11:36:44 +00:00
Igor Gnatenko
b3223f3a61 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:08 +01:00
Andrew Hughes
4feeea8628 Introduce sa_arches for architectures with sa-jdi.jar and include aarch64 2019-01-28 00:08:24 -05:00
Andrew Hughes
9ece52d7d3 Update to aarch64-shenandoah-jdk8u191-b14.
Adjust JDK-8073139/PR1758/RH1191652 to apply following 8155627 backport.
2019-01-17 01:09:06 -05:00
Andrew Hughes
c0ce8bcaab Update to aarch64-shenandoah-jdk8u191-b13.
Update tarball generation script in preparation for PR3667/RH1656676 SunEC changes.
Use remove-intree-libraries.sh to remove the remaining SunEC code for now.
2019-01-10 00:50:56 -05:00
Andrew John Hughes
f5121c69ba Fix jdk8073139-pr1758-rh1191652-ppc64_le_says_its_arch_is_ppc64_not_ppc64le_jdk.patch paths to pass git apply 2018-12-19 04:11:48 +00:00
Jiri Vanek
0bd5dd84cd adde fx link of libglassgtk2.so (rhbz1657485) 2018-12-10 13:28:43 +01:00
Jiri Vanek
e615266abc added description to jdk8029661-pr3642-rh1477159.patch - jdk8029661-pr3642-rh1477159-add_tlsv1_2_support_to_pkcs11_provider.patch 2018-11-30 18:14:12 +01:00
Severin Gehwolf
a7cd6c94c9 Refactor _find_debuginfo_opts -g
- Used '%global over '%define'
- Added a comment explaining what this does.
2018-11-29 11:28:48 +01:00
Andrew John Hughes
4dd0d67c96 Add backport of JDK-8029661 which adds TLSv1.2 support to the PKCS11 provider. 2018-11-28 13:48:49 -05:00
Jiri Vanek
626887d706 fixing typo of jkd in system_installed_libpng and removing file for removed patch for pr3573
jkd8035341-allow_using_system_installed_libpng.patch -> jdk8035341-allow_using_system_installed_libpng.patch
rm pr3573-fix_TCK_crash_with_shenandoah_in_shenandoahsupport_cpp_in_case_of_dead_brnach_in_is_independent.patch
2018-11-23 18:43:10 +01:00
Jiri Vanek
195d8173c7 renamed all patches to new convention
bug1-bug2-..-bugN-XY-lowercase_comment_suffix_or_jdkpart.patch
 XY is number 01-99 for patches which are order sensitive or simply counts together
 where bugs are jdkIJK or prLMN or rhOPQ and if more bugs (which is desired) then in jdk->pr->rh order.
 I..Q are numbers corresponding to:
 https://bugs.openjdk.java.net/browse/JDK-IJK
 https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=LMN
 https://bugzilla.redhat.com/show_bug.cgi?id=OPQ
2018-11-20 10:58:25 +01:00
Andrew John Hughes
66b29a9af5 Revise Shenandoah PR3634 patch following upstream discussion. 2018-11-19 16:54:37 +00:00
Andrew John Hughes
e68876bb37 Note why PR1834/RH1022017 is not suitable to go upstream in its current form. 2018-11-16 12:01:00 -05:00
Andrew John Hughes
5601c0a036 Document patch sections. 2018-11-16 11:58:10 -05:00
Andrew John Hughes
5d4b4004b5 Fix patch organisation in the spec file
* Move ECC patches back to upstreamable section
  * Move system cacerts & crypto policy patches to upstreamable section
  * Merge "Local fixes" and "RPM fixes" which amount to the same thing
  * Move system libpng & lcms patches back to 8u upstreamable section
2018-11-16 11:58:03 -05:00
Jiri Vanek
7f870cd2f4 headfull suggests of cups, replaced by Requires of cups-libs in headless 2018-11-08 15:43:40 +01:00
Jiri Vanek
d6cbe382c9 added Patch584 jdk8209639-rh1640127_coalesce_attempted_spill_non_spillable_02.patch
and prerequisite  Patch583 jdk8172850-rh1640127_register_allocator_crash_01.patch
2018-10-30 11:11:44 +01:00
Jiri Vanek
09a59447d8 cups moved to headful package 2018-10-24 18:13:54 +02:00
Jiri Vanek
50fd6be269 Added missing %{majorver} into descriptions 2018-10-24 17:15:32 +02:00
Jiri Vanek
1f2a7e0117 Removed and adapted patches to u191.
Added changelog for u 191
2018-10-23 18:16:34 +02:00
Jiri Vanek
6985b32d3c updated to new sources - u191 2018-10-23 14:23:04 +02:00
Jiri Vanek
3f7d119a88 Used top-level macro consistently 2018-10-23 12:14:54 +02:00
Severin Gehwolf
68ef862ac2 Add another optimization gap fix for Zero.
Add patch 8210425-03-rh1630426-hotspot-opt-fix-zero.patch which
performs the same opt steps for Zero arches when they are being
built. This issue showed up on arm (32 bit) and s390x
only as those are Zero arches for JDK 8.
2018-10-12 16:18:07 +02:00
Severin Gehwolf
ba397c7d37 Add changelog entry for previous changes.
Bump release.
2018-10-08 15:46:26 +02:00
Severin Gehwolf
b0ff02ded7 Refresh JDK-8044235 from upstream 8u.
Move patch definition to 8u202 section.
2018-10-08 15:38:27 +02:00
Severin Gehwolf
0335c0c175 Refresh JDK-8073139 from upstream.
- Move JDK-8073139 patch series to
  8u202 updates section.
- Refactor upstream 8u patches so that
  it applies to the current aarch64/shenandoah tree.
2018-10-05 14:29:04 +02:00
Severin Gehwolf
54b188efb0 Add missing BRs/Rs.
- libXcomposite is now required since we use upstream
  JDK-8150954 patch.
- Add unzip as BR since OpenJDK build requires it.
2018-10-01 16:48:55 +02:00
jiri vanek
993e704e08 Merge #24 Remove obsolete comment wrt debug info. 2018-10-01 14:11:00 +00:00
Severin Gehwolf
823e8f5c66 Remove obsolete comment wrt debug info.
After 1cd817d --with-native-debug-symbols=internal is
being used, which does the desired thing without needing to change
make variables on the command line.
2018-09-28 16:29:39 +02:00
Severin Gehwolf
0c4d834e94 Fix annocheck optimization issues.
Resolves: RHBZ#1630426
2018-09-28 15:59:36 +02:00
Severin Gehwolf
f275f6232f Add JDK bug number to some more patch-names. 2018-09-26 15:30:29 +02:00
Severin Gehwolf
1cd817df23 Update patches with latest upstream status.
- Update(s) from upstreamed patches:
  - 8036003-dont-add-unnecessary-debug-links.patch =>
    8036003-add-with-native-debug-symbols-configure-flag.patch
  - rh1176206-jdk.patch =>
    8150954-pr2866-rh1176206-screenshot-xcomposite-jdk.patch =>
    Deleted rh1176206-root.patch as thats no longer needed with
    upstream 8150954.
  - Refreshed 8165852-pr3468.patch from upstream.
  - Refreshed 8201495-s390-java-opts.patch from upstream.
  - 8207057-pr3613-hotspot-assembler-debuginfo.patch =>
    8207057-pr3613-assembler-debuginfo-hotspot.patch and
    8207057-pr3613-assembler-debuginfo-root.patch. From JDK 8u
    backport.
- Renamed spec-only patch:
  pr3183.patch => pr3183-rh1340845-system-crypto-policy.patch
- Renamed java-1.8.0-openjdk-size_t.patch =>
  8201495-s390-java-opts.patch
- Moved SunEC provider via system NSS to RPM specific patches section.
- Moved upstream 8u patches to appropriate sections (8u192/8u202).
- Removed rh1214835.patch since it's invalid. See:
  https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2304#c3
- Use --with-native-debug-symbols=internal which JDK-8036003 adds.
2018-09-20 15:24:22 +02:00
Jiri Vanek
95d132a01b fixed unexpanded arch in policy tool desktop file, fixed versions (8->1.8.0) of images used in desktop files 2018-09-11 11:25:49 +02:00
Jiri Vanek
87b90595cd Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/java-1.8.0-openjdk 2018-09-04 19:46:23 +02:00
Jiri Vanek
017a1252e2 Updated to u181-b15; moved to single repo tarball. 2018-09-04 19:37:25 +02:00
Jiri Vanek
ca2a20d6f9 Changed handling of systemtap sources 2018-09-04 19:15:31 +02:00
Severin Gehwolf
0d062022bb Adjust system jpeg patch for -Wl,--as-needed.
redhat-rpm-config enabled -Wl,--as-needed flag by default on
August 15. This causes issues when compiling the JDK against
system libjpeg. Filter -Wl,--as-needed when libjavajpeg.so is
being compiled.

Resolves: RHBZ#1622186
2018-08-27 16:56:34 +02:00
Severin Gehwolf
5ea1728a3d Adjust system NSS patch for -Wl,--as-needed.
redhat-rpm-config enabled '-Wl,--as-needed' linker flag by
default on August 15. Filter out --Wl,--as-needed flag until
a better fix becomes available.
2018-08-27 15:17:38 +02:00
Jiri Vanek
a2e48182e1 build number moved from release to version 2018-08-01 10:18:45 +02:00
Jiri Vanek
5930d5a404 Renmaed pathces according to bugs and used naming conventions 2018-07-23 18:44:23 +02:00
Jiri Vanek
7a12b3bf71 removed upstreamed patch568 8187577-pr3578.patch 2018-07-23 17:24:28 +02:00
Jiri Vanek
1b2b62a758 removed patch104 pr3458-rh1540242-aarch64.patch 2018-07-23 17:09:16 +02:00
Jiri Vanek
6e6e3ea448 Updated to u181 2018-07-23 16:11:36 +02:00
Jiri Vanek
3f1969e9e2 Typos fixes 2018-07-17 14:46:44 +02:00
Jiri Vanek
bd8d5576e6 added Recommends gtk2 for main package, added Suggests lksctp-tools, pcsc-lite-devel, cups for headless package ;see RHBZ1598152 2018-07-17 12:41:03 +02:00
Fedora Release Engineering
0125b98895 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 06:03:30 +00:00
Severin Gehwolf
2d03e5b400 Fix hook to show hs_err*.log files on failures. 2018-07-10 11:50:13 +02:00
Severin Gehwolf
b3b9435b45 Fix requires/provides filters for internal libs.
See RHBZ#1590796
2018-07-02 15:59:38 +02:00
Severin Gehwolf
67db070908 Add hook to show hs_err*.log files on failures. 2018-06-26 10:35:59 +02:00
Jiri Vanek
14507bf105 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/java-1.8.0-openjdk 2018-06-21 15:28:57 +02:00
Jiri Vanek
b0622b7b61 Merge from rhel7 2018-06-21 15:19:24 +02:00
Severin Gehwolf
204045da18 Expose release/slowdebug builds being produced via conditionals.
Example:
$ rpmbuild -ba java-1.8.0-openjdk.spec --without slowdebug

The above example wouldn't include a slowdebug build if it would
be otherwise supported on that architecture.

By default, slowdebug and release builds are being produced in the
same fashion as prior this patch.
2018-06-20 15:24:52 +02:00
Jiri Vanek
75dc799865 jsa files changed to 444 to pass rpm verification 2018-06-20 14:39:10 +02:00
Severin Gehwolf
192e665b12 Filter lib.so(SUNWprivate*) from provides/requires.
See RHBZ#1590796.
2018-06-18 15:04:32 +02:00
Severin Gehwolf
0da81643dd Add libjvm.so provides/requires back.
See RHBZ#1591215.
2018-06-14 14:16:40 +02:00
Severin Gehwolf
861523a615 Fix private libraries' provides/requires filtering. 2018-06-13 15:40:12 +02:00
Jiri Vanek
8a1e920d3d fixed flags filtering, added missing credits 2018-06-13 13:13:56 +02:00
Jiri Vanek
635b643f25 Removed illegible chnagelog message 2018-06-11 17:13:53 +02:00
Jiri Vanek
0b5ec94011 Merge pathces from rhel7 2018-06-11 17:11:26 +02:00
Severin Gehwolf
e1efe6b8af Bump release and rebuild for fixed gdb.
See RHBZ#1589118.
2018-06-08 17:46:50 +02:00
Jiri Vanek
c362051354 Undeclared patch700 2018-06-07 14:16:05 +02:00
Jiri Vanek
b897e4253d More fx slowdebug tuning 2018-06-07 14:08:01 +02:00
Jiri Vanek
72be256872 Aligned openjfx packages to slowdebug 2018-06-07 14:05:32 +02:00
Jiri Vanek
711d989050 Returned patch 104 as shenandoah only. Semantically aligned with java-openjdk 2018-06-07 14:03:36 +02:00
Jiri Vanek
311657d56d updated to u172-b11
removed patches: patch207 8200556-pr3566.patch patch104 pr3458-rh1540242.patch patch209 8035496-hotspot.patch patch700 pr3573.patch
2018-06-06 19:04:57 +02:00
Severin Gehwolf
ad1d27e927 Move to javapackages-filesystem for directory ownership.
Resolves RHBZ#1500288.
2018-05-17 10:17:22 +02:00
Severin Gehwolf
44b0152bc4 Remove duplicate patch: rhbz_1538767_fix_linking2.patch 2018-05-04 14:20:08 +02:00
Severin Gehwolf
2f5cd731b2 Enable hardened build unconditionally.
That is, also for Zero arches. Resolves RHBZ#1290936.
2018-04-25 11:11:02 +02:00
Severin Gehwolf
46da882385 Enable hardened build for aarch64. 2018-04-24 17:18:09 +02:00
Severin Gehwolf
74979b0ce4 [flags injection] Set linker flags for SA and libjsig. 2018-04-24 13:39:28 +02:00
Jiri Vanek
ff3d053225 Update to aarch64-jdk8u171-b10 and aarch64-shenandoah-jdk8u171-b10.
- Fix jconsole.desktop.in subcategory, replacing "Monitor" with "Profiling" (PR3550) (gnu_andrew)
- Fix invalid license 'LGPL+' (should be LGPLv2+ for ECC code) and add misisng ones (gnu_andrew)
2018-04-18 15:01:32 +02:00
Jiri Vanek
eb71079783 added ownership of policy dir and subdirs; removed ignored attributes for classes.jsa 2018-04-18 14:39:31 +02:00
Severin Gehwolf
a720eb72a5 Use correct patch for RHBZ#1538767 (JDK-8196516)
The old patch caused problems upstream and a new
fix got developed under JDK-8196516.
2018-04-10 14:08:11 +02:00
Jiri Vanek
44da3ccafd Cleanup from previous commit. 2018-04-03 16:50:07 +02:00
Jiri
57b83006b0 added experimental %%define _find_debuginfo_opts -g
- in attempt to fix https://bugzilla.redhat.com/show_bug.cgi?id=1520879
- no idea what will come out
2018-03-29 17:06:06 +02:00
Jiri
99836e856d returned patch562 rhbz_1540242.patch, added Patch563 rhbz_1536622-JDK8197429-jdk8.patch 2018-03-29 15:33:41 +02:00
Jiri
e5f736ca26 Returned 8035496-hotspot.patch aarch64BuildFailure.patch 2018-03-27 17:49:36 +02:00
Jiri Vanek
66bcbb215b removed two patches, adepts to aarch64 failure 2018-03-26 15:09:56 +02:00
Jiri Vanek
d1fb9692bd Added patch 540 rhbz1548475-LDFLAGSusage.patch to honor build flags fully 2018-03-26 14:58:09 +02:00
Jiri Vanek
4a7ca1fbfd Update to aarch64-jdk8u162-b12 and aarch64-shenandoah-jdk8u162-b12 2018-03-26 13:56:35 +02:00
Adam Williamson
c30f1465ce Rebuild to fix GCC 8 mis-compilation
See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
2018-03-07 17:47:03 -08:00
Sandro Mani
c4b23a01cc Rebuild (giflib) 2018-02-11 22:40:04 +01:00
Igor Gnatenko
b2a0cbe035
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:04:45 +01:00
Fedora Release Engineering
70ad565d08 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 18:00:29 +00:00
Jiri Vanek
23b4135237 Gathered jerboaa's and adinn's fixes ot fix rhbz#1540242 2018-02-01 13:58:42 +01:00
Severin Gehwolf
bceb750daf Fix FTBFS due to link failure of libfontmanager.so
A recent change in redhat-rpm-config makes the
hardened builds link with -Wl,-z,defs.

See RHBZ#1535422 for the bug which introduced this
change in redhat-rpm-config.

That change, in turn, provokes a build failure due
to a missing lib not being listed when linking
libfontmanager.so.

Resolves RHBZ#1538767
2018-01-26 11:43:14 +01:00
Jiri Vanek
f3dd986ac2 removed patch554 8175887-pr3415.patch 2018-01-24 15:47:58 +01:00
Jiri Vanek
a0fefe5e20 Removed upstreamed patches 2018-01-24 15:07:19 +01:00
Jiri Vanek
347e967ec7 updated to u161, patces cleanup will follow 2018-01-24 13:44:30 +01:00
Jiri Vanek
ec9d83a495 Bumped release 2017-12-11 11:09:27 +01:00
Jiri Vanek
f821049a5f Fixed misspelled Mond to Mon 2017-12-11 11:05:00 +01:00
Jiri Vanek
c372da3442 added ownership of etc dirs: sysconfdir/.java/.systemPrefs, sysconfdir/.java 2017-11-13 12:01:04 +01:00
Jiri
f3c8c1d213 COsmetic change 2017-10-27 09:26:52 +02:00
Jiri Vanek
5d847512a3 updated to aarch64-jdk8u151-b12 (from aarch64-port/jdk8u)
- updated to aarch64-shenandoah-jdk8u151-b12 (from aarch64-port/jdk8u-shenandoah) of hotspot
- used aarch64-port-jdk8u-aarch64-jdk8u151-b12.tar.xz as new sources
- used aarch64-port-jdk8u-shenandoah-aarch64-shenandoah-jdk8u151-b12.tar.xz as new sources for hotspot
- tapset updated to 3.6pre02
- policies adapted to new limited/unlimited schmea
- above acomapnied by c-j-c 3.3
- alligned patches and added PPC ones (thanx to gnu_andrew)
- added patch209: 8035496-hotspot.patch
- added patch210: suse_linuxfilestore.patc
2017-10-25 16:10:28 +02:00