Changeset b1129a10 for general/prog
- Timestamp:
- 08/26/2014 01:41:36 PM (10 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- eeddb259
- Parents:
- cc2a12d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/openjdk.xml
rcc2a12d rb1129a10 43 43 <!ENTITY rhino-size "6.2 MB"> 44 44 45 <!ENTITY icedtea-web-download "http://icedtea.classpath.org/download/source/icedtea-web-&icedtea-web-version;.tar.gz"> 46 45 47 <!ENTITY openjdk-buildsize "8-10 GB"> 46 48 <!ENTITY openjdk-time "26-27 SBU (an additional 90 SBU for testsuite)"> 47 49 ]> 48 50 49 <sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;/IcedTea-&icedtea-version;"> 51 <sect1 id="openjdk" 52 xreflabel="OpenJDK-&openjdk-version;/IcedTea-&icedtea-version;"> 50 53 <?dbhtml filename="openjdk.html" ?> 51 54 … … 88 91 General Public License, version 2, with the Classpath Exception</ulink> 89 92 allows third party programs to use classes provided by free software 90 without the requirement that the third party software also be free. 93 without the requirement that the third party software also be free. As with 91 94 the LGPL, any modifications made to the free software portions of a 92 95 third party application, must also be made freely available.</para> … … 215 218 <itemizedlist spacing='compact'> 216 219 <listitem> 217 <para><ulink 218 url="&patch-root;/icedtea-&icedtea-version;-add_cacerts-1.patch"/></para> 219 </listitem> 220 <listitem> 221 <para><ulink 222 url="&patch-root;/icedtea-&icedtea-version;-fixed_paths-1.patch"/></para> 223 </listitem> 224 <listitem> 225 <para><ulink 226 url="&patch-root;/icedtea-&icedtea-version;-fix_new_giflib-1.patch"/></para> 227 </listitem> 228 <listitem> 229 <para><ulink 230 url="&patch-root;/icedtea-&icedtea-version;-fix_tests-1.patch"/></para> 220 <para> 221 <ulink 222 url="&patch-root;/icedtea-&icedtea-version;-add_cacerts-1.patch"/> 223 </para> 224 </listitem> 225 <listitem> 226 <para> 227 <ulink 228 url="&patch-root;/icedtea-&icedtea-version;-fixed_paths-1.patch"/> 229 </para> 230 </listitem> 231 <listitem> 232 <para> 233 <ulink 234 url="&patch-root;/icedtea-&icedtea-version;-fix_new_giflib-1.patch"/> 235 </para> 236 </listitem> 237 <listitem> 238 <para> 239 <ulink 240 url="&patch-root;/icedtea-&icedtea-version;-fix_tests-1.patch"/> 241 </para> 231 242 </listitem> 232 243 </itemizedlist> … … 241 252 <member>Download Size: &rhino-size;</member> 242 253 </simplelist> 254 </para> 255 </listitem> 256 </itemizedlist> 257 258 <bridgehead renderas="sect4">Optional package (to obtain an icon for the 259 <filename>openjdk-7-policytool.desktop</filename> file)</bridgehead> 260 <itemizedlist spacing='compact'> 261 <listitem> 262 <para> 263 <ulink url="&icedtea-web-download;"/> 243 264 </para> 244 265 </listitem> … … 272 293 <bridgehead renderas="sect4">Optional</bridgehead> 273 294 <para role="optional"> 274 <xref linkend="icedtea-web"/> (to obtain one icon for the275 <filename>openjdk-7-policytool.desktop</filename> file),276 295 <xref linkend="libxslt"/>, 277 296 <xref linkend="lsb-release"/>, … … 316 335 <application>JDK</application> that have been relicensed under an open 317 336 source license. If you have already downloaded all of the individual 318 components, place them into the source tree with the following commands:</para> 337 components, place them into the source tree with the following 338 commands:</para> 319 339 320 340 <screen><userinput>cp -v ../corba.tar.bz2 . && … … 340 360 <screen><userinput>patch -Np1 -i ../icedtea-&icedtea-version;-fix_new_giflib-1.patch</userinput></screen> 341 361 342 <para>Apply a patch to exclude known broken tests from the test suite:</para> 362 <para>Apply a patch to exclude known broken tests from the test 363 suite:</para> 343 364 344 365 <screen><userinput>patch -Np1 -i ../icedtea-&icedtea-version;-fix_tests-1.patch</userinput></screen> … … 396 417 obtain an icon from <xref linkend="icedtea-web"/>:</para> 397 418 398 <screen role="root"><userinput>tar -xf ../icedtea-web-&icedtea-web-version;.tar.gz \419 <screen><userinput>tar -xf ../icedtea-web-&icedtea-web-version;.tar.gz \ 399 420 icedtea-web-&icedtea-web-version;/javaws.png \ 400 421 --strip-components=1</userinput></screen> … … 402 423 <para>Now, as <systemitem class="username">root</systemitem> user:</para> 403 424 404 <screen role="root"><userinput>cat >> /usr/share/applications/openjdk-7-policytool.desktop << "EOF" && 425 <screen role="root"><userinput>mkdir -pv /usr/share/applications && 426 427 cat > /usr/share/applications/openjdk-7-policytool.desktop << "EOF" && 405 428 <literal>[Desktop Entry] 406 429 Name=OpenJDK Java 7 Policy Tool … … 417 440 install -v -Dm0644 javaws.png /usr/share/pixmaps/javaws.png</userinput></screen> 418 441 419 <para>The choice of pt_BR is just an example. You can delete those lines 420 or replace them by corresponding ones in your locale, e.g. fr_FR, with the 421 "Name[fr_FR]" and "Comment[fr_FR]" values given by your translations.</para> 442 <para>The choice of pt_BR is just an example. You can add any translation 443 by adding lines corresponding to your locale, e.g. for fr_FR, 444 "Name[fr_FR]=" and "Comment[fr_FR]=" with the appropriate text as 445 values.</para> 422 446 423 447 </sect2> … … 463 487 </sect2> 464 488 465 <sect2 role="configuration" id="openjdk-config" xreflabel="Configuring OpenJDK" > 489 <sect2 role="configuration" 490 id="openjdk-config" 491 xreflabel="Configuring OpenJDK"> 466 492 <title>Configuring OpenJDK</title> 467 493 … … 488 514 user:</para> 489 515 490 <screen role="root"><userinput>cat > >/etc/profile.d/openjdk.sh << "EOF"516 <screen role="root"><userinput>cat > /etc/profile.d/openjdk.sh << "EOF" 491 517 <literal># Begin /etc/profile.d/openjdk.sh 492 518 … … 494 520 JAVA_HOME=/opt/jdk 495 521 522 # Set ANT_HOME directory 523 ANT_HOME=/opt/ant 524 496 525 # Adjust PATH 497 526 pathappend $JAVA_HOME/bin PATH 527 pathappend $ANT_HOME/bin PATH 498 528 499 529 # Auto Java CLASSPATH … … 512 542 done 513 543 514 export JAVA_HOME CLASSPATH544 export JAVA_HOME ANT_HOME CLASSPATH 515 545 unset AUTO_CLASSPATH_DIR dir jar 516 546 … … 546 576 547 577 <sect3 id='ojdk-certs'> 548 <title>Install or update the JRE Certificate Authority Certificates (cacerts) file</title> 578 <title>Install or update the JRE Certificate Authority Certificates 579 (cacerts) file</title> 549 580 550 581 <para>Use the following procedure to check if the … … 657 688 echo "`basename ${0}` creates a valid cacerts file for use with IcedTea." 658 689 echo "" 659 echo " -f --cafile The path to a file containing PEM formated CA" 660 echo " certificates. May not be used with -d/--cadir." 661 echo " -d --cadir The path to a diectory of PEM formatted CA" 662 echo " certificates. May not be used with -f/--cafile." 663 echo " -o --outfile The path to the output file." 690 echo " -f --cafile The path to a file containing PEM" 691 echo " formated CA certificates. May not be" 692 echo " used with -d/--cadir." 664 693 echo "" 665 echo " -k --keytool The path to the java keytool utility." 694 echo " -d --cadir The path to a directory of PEM formatted" 695 echo " CA certificates. May not be used with" 696 echo " -f/--cafile." 666 697 echo "" 667 echo " - s --openssl The path to the openssl utility."698 echo " -o --outfile The path to the output file." 668 699 echo "" 669 echo " -h --help Show this help message and exit." 700 echo " -k --keytool The path to the java keytool utility." 701 echo "" 702 echo " -s --openssl The path to the openssl utility." 703 echo "" 704 echo " -h --help Show this help message and exit." 670 705 echo "" 671 706 echo "" … … 765 800 certend=`grep -n "^-----END" "${cert}" | cut -d ":" -f 1` 766 801 sed -n "${certbegin},${certend}p" "${cert}" > "${tempfile}" 767 echo yes | env LC_ALL=C "${KEYTOOL}" -import -alias `basename "${cert}"` -keystore \ 768 "${OUTFILE}" -storepass 'changeit' -file "${tempfile}" 802 echo yes | env LC_ALL=C "${KEYTOOL}" -import \ 803 -alias `basename "${cert}"` \ 804 -keystore "${OUTFILE}" \ 805 -storepass 'changeit' \ 806 -file "${tempfile}" 769 807 rm "${tempfile}" 770 808 done … … 791 829 <systemitem class="username">root</systemitem> user:</para> 792 830 793 <screen role="root"><userinput>/opt/jdk/bin/mkcacerts -d "/etc/ssl/certs/" -k "/opt/jdk/bin/keytool" \ 794 -s "/usr/bin/openssl" -o "/opt/jdk/jre/lib/security/cacerts"</userinput></screen> 831 <screen role="root"><userinput>/opt/jdk/bin/mkcacerts \ 832 -d "/etc/ssl/certs/" \ 833 -k "/opt/jdk/bin/keytool" \ 834 -s "/usr/bin/openssl" \ 835 -o "/opt/jdk/jre/lib/security/cacerts"</userinput></screen> 795 836 796 837 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.