wok-current rev 20177

Add intel-microcode
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 25 03:34:29 2018 +0200 (2018-01-25)
parents 8536c5cc586b
children 12473799110f
files intel-microcode/receipt intel-microcode/stuff/LICENSE
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intel-microcode/receipt	Thu Jan 25 03:34:29 2018 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="intel-microcode"
     1.7 +VERSION="20180108" # version hidden by Intel, redirected to -> 20171117
     1.8 +CATEGORY="kernel"
     1.9 +SHORT_DESC="Intel processor microcode update for Linux"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="other"
    1.12 +WEB_SITE="https://downloadcenter.intel.com/search?keyword=processor+microcode+data+file"
    1.13 +# See also: https://wiki.archlinux.org/index.php/Microcode
    1.14 +# and https://www.archlinux.org/packages/extra/any/intel-ucode/
    1.15 +
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +WGET_URL="https://downloadmirror.intel.com/27431/eng/microcode-$VERSION.tgz"
    1.18 +TARBALL_SHA1="2392dcf585a9d6313cd00d8b21cb2f54ae1d8ce3"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	mkdir -p $install/lib/firmware/
    1.22 +	cp -r $src/intel-ucode/ $install/lib/firmware/
    1.23 +
    1.24 +	install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE
    1.25 +}
    1.26 +
    1.27 +genpkg_rules() {
    1.28 +	copy @std
    1.29 +	DEPENDS="linux"
    1.30 +}
    1.31 +
    1.32 +post_install() {
    1.33 +	if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]; then
    1.34 +		echo 1 > /sys/devices/system/cpu/microcode/reload
    1.35 +	fi
    1.36 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/intel-microcode/stuff/LICENSE	Thu Jan 25 03:34:29 2018 +0200
     2.3 @@ -0,0 +1,123 @@
     2.4 +INTEL SOFTWARE LICENSE AGREEMENT
     2.5 +
     2.6 +IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
     2.7 +Do not use or load this software and any associated materials (collectively,
     2.8 +the "Software") until you have carefully read the following terms and
     2.9 +conditions. By loading or using the Software, you agree to the terms of this
    2.10 +Agreement. If you do not wish to so agree, do not install or use the Software.
    2.11 +
    2.12 +LICENSES: Please Note:
    2.13 +- If you are a network administrator, the "Site License" below shall
    2.14 +apply to you.
    2.15 +- If you are an end user, the "Single User License" shall apply to you.
    2.16 +- If you are an original equipment manufacturer (OEM), the "OEM License"
    2.17 +shall apply to you.
    2.18 +
    2.19 +SITE LICENSE. You may copy the Software onto your organization's computers
    2.20 +for your organization's use, and you may make a reasonable number of
    2.21 +back-up copies of the Software, subject to these conditions:
    2.22 +
    2.23 +1. This Software is licensed for use only in conjunction with Intel
    2.24 +component products. Use of the Software in conjunction with non-Intel
    2.25 +component products is not licensed hereunder.
    2.26 +2. You may not copy, modify, rent, sell, distribute or transfer any part
    2.27 +of the Software except as provided in this Agreement, and you agree to
    2.28 +prevent unauthorized copying of the Software.
    2.29 +3. You may not reverse engineer, decompile, or disassemble the Software.
    2.30 +4. You may not sublicense or permit simultaneous use of the Software by
    2.31 +more than one user.
    2.32 +5. The Software may include portions offered on terms in addition to those
    2.33 +set out here, as set out in a license accompanying those portions.
    2.34 +
    2.35 +SINGLE USER LICENSE. You may copy the Software onto a single computer for
    2.36 +your personal, noncommercial use, and you may make one back-up copy of the
    2.37 +Software, subject to these conditions:
    2.38 +
    2.39 +1. This Software is licensed for use only in conjunction with Intel
    2.40 +component products. Use of the Software in conjunction with non-Intel
    2.41 +component products is not licensed hereunder.
    2.42 +2. You may not copy, modify, rent, sell, distribute or transfer any part
    2.43 +of the Software except as provided in this Agreement, and you agree to
    2.44 +prevent unauthorized copying of the Software.
    2.45 +3. You may not reverse engineer, decompile, or disassemble the Software.
    2.46 +4. You may not sublicense or permit simultaneous use of the Software by
    2.47 +more than one user.
    2.48 +5. The Software may include portions offered on terms in addition to those
    2.49 +set out here, as set out in a license accompanying those portions.
    2.50 +
    2.51 +OEM LICENSE: You may reproduce and distribute the Software only as an
    2.52 +integral part of or incorporated in Your product or as a standalone
    2.53 +Software maintenance update for existing end users of Your products,
    2.54 +excluding any other standalone products, subject to these conditions:
    2.55 +
    2.56 +1. This Software is licensed for use only in conjunction with Intel
    2.57 +component products. Use of the Software in conjunction with non-Intel
    2.58 +component products is not licensed hereunder.
    2.59 +2. You may not copy, modify, rent, sell, distribute or transfer any part
    2.60 +of the Software except as provided in this Agreement, and you agree to
    2.61 +prevent unauthorized copying of the Software.
    2.62 +3. You may not reverse engineer, decompile, or disassemble the Software.
    2.63 +4. You may only distribute the Software to your customers pursuant to a
    2.64 +written license agreement. Such license agreement may be a "break-the-
    2.65 +seal" license agreement. At a minimum such license shall safeguard
    2.66 +Intel's ownership rights to the Software.
    2.67 +5. The Software may include portions offered on terms in addition to those
    2.68 +set out here, as set out in a license accompanying those portions.
    2.69 +
    2.70 +NO OTHER RIGHTS. No rights or licenses are granted by Intel to You, expressly
    2.71 +or by implication, with respect to any proprietary information or patent,
    2.72 +copyright, mask work, trademark, trade secret, or other intellectual property
    2.73 +right owned or controlled by Intel, except as expressly provided in this
    2.74 +Agreement.
    2.75 +
    2.76 +OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software
    2.77 +remains with Intel or its suppliers. The Software is copyrighted and
    2.78 +protected by the laws of the United States and other countries, and
    2.79 +international treaty provisions. You may not remove any copyright notices
    2.80 +from the Software. Intel may make changes to the Software, or to items
    2.81 +referenced therein, at any time without notice, but is not obligated to
    2.82 +support or update the Software. Except as otherwise expressly provided, Intel
    2.83 +grants no express or implied right under Intel patents, copyrights,
    2.84 +trademarks, or other intellectual property rights. You may transfer the
    2.85 +Software only if the recipient agrees to be fully bound by these terms and if
    2.86 +you retain no copies of the Software.
    2.87 +
    2.88 +LIMITED MEDIA WARRANTY. If the Software has been delivered by Intel on
    2.89 +physical media, Intel warrants the media to be free from material physical
    2.90 +defects for a period of ninety days after delivery by Intel. If such a defect
    2.91 +is found, return the media to Intel for replacement or alternate delivery of
    2.92 +the Software as Intel may select.
    2.93 +
    2.94 +EXCLUSION OF OTHER WARRANTIES. EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS
    2.95 +PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND
    2.96 +INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A
    2.97 +PARTICULAR PURPOSE. Intel does not warrant or assume responsibility for the
    2.98 +accuracy or completeness of any information, text, graphics, links or other
    2.99 +items contained within the Software.
   2.100 +
   2.101 +LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE
   2.102 +FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS,
   2.103 +BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF OR
   2.104 +INABILITY TO USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE
   2.105 +POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR
   2.106 +LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL
   2.107 +DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE
   2.108 +OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION TO JURISDICTION.
   2.109 +
   2.110 +TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time
   2.111 +if you violate its terms. Upon termination, you will immediately destroy the
   2.112 +Software or return all copies of the Software to Intel.
   2.113 +
   2.114 +APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the
   2.115 +laws of California, excluding its principles of conflict of laws and the
   2.116 +United Nations Convention on Contracts for the Sale of Goods. You may not
   2.117 +export the Software in violation of applicable export laws and regulations.
   2.118 +Intel is not obligated under any other agreements unless they are in writing
   2.119 +and signed by an authorized representative of Intel.
   2.120 +
   2.121 +GOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED
   2.122 +RIGHTS." Use, duplication, or disclosure by the Government is subject to
   2.123 +restrictions as set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its
   2.124 +successor. Use of the Software by the Government constitutes acknowledgment
   2.125 +of Intel's proprietary rights therein. Contractor or Manufacturer is Intel
   2.126 +2200 Mission College Blvd., Santa Clara, CA 95052.