From f761e550566668f785f49817284363d23bf2167e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 25 Dec 2020 23:49:20 +0100 Subject: [PATCH] brother-brscan4: vendor license Brother removed the license file agree.html from their website. --- srcpkgs/brother-brscan4/files/agree.html | 248 +++++++++++++++++++++++ srcpkgs/brother-brscan4/template | 16 +- 2 files changed, 256 insertions(+), 8 deletions(-) create mode 100644 srcpkgs/brother-brscan4/files/agree.html diff --git a/srcpkgs/brother-brscan4/files/agree.html b/srcpkgs/brother-brscan4/files/agree.html new file mode 100644 index 00000000000..577f6b82035 --- /dev/null +++ b/srcpkgs/brother-brscan4/files/agree.html @@ -0,0 +1,248 @@ + + + +End-User License Agreement for Brother Software + + + + + + + + + + + + + + + + + + + + + +
 
+ + + + + + + + +
License Agreement

This Agreement provides terms and conditions for license grant for use + of the software that is distributed with this Agreement ("Software") + from Brother Industries, Ltd. ("Brother") to recipients thereof + ("You").

+ + + + +
Note:
+ Please click on "I Accept" while holding down "Shift" or + right click on "I Accept" and select "Save Target As,,," from + the menu.
+
    +
  1. The Software is comprised of the following software modules:
    +
    + (1) Certain software modules that is the subject of GNU GENERAL PUBLIC + LICENSE ("GPL Modules"), and +
    + (2) Other software modules ("Non-GPL Modules") +
    +
    + You may distinguish each of GPL Modules by downloading source files + of the Software as Brother separately makes available and reading such + files.
    +
  2. +
  3. Your use of all GPL Modules shall be subject to the terms and conditions + of GNU GENERAL PUBLIC LICENSE Version 2, June 1991 ("GPLv2"). + Please see http://www.brother.com/agreement/English_gpl/agree.html. You + shall use GPL Modules in accordance with the terms and conditions of GPLv2. + Your use of GPL Modules shall be deemed + as your agreement to the terms and conditions of GPLv2.
    +
  4. +
  5. You have the right to use all Non-GPL Modules only in accordance with + the following terms and conditions. Your use of Non-GPL Modules shall be + deemed as your agreement to the following terms and conditions: +

    (1) Brother retains any and all copyrights to Non-GPL Modules. In no + case this Agreement shall be construed to assign or otherwise transfer + from Brother to you any copyrights or other intellectual property rights + to whole or any part of Non-GPL Modules.

    +

    (2) Brother grants you a non-exclusive license to reproduce and/or distribute + (via Internet or in any other manner) Non-GPL Modules. Brother further + grants you a non-exclusive license to modify, alter, translate or otherwise + prepare derivative works of Non-GPL Modules and to reproduce and/or distribute + (via Internet or in any other manner) such modification, alteration, + translation or other derivative works of Non-GPL Modules.

    +

    (3) When you distribute (via Internet or in any other manner) Non-GPL + Modules or any modification, alteration, translation or other derivative + works thereof under the license granted in accordance with subparagraph + 3(2) above, you must expressly grant any and all recipient thereof the + license equivalent to this Agreement which applies to Non-GPL Modules.

    +

    (4) The license of Non-GPL Modules from Brother hereunder is granted "AS + IS. BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO NON-GPL MODULES, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, + MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.

    +

    (5) To the extent allowed by applicable laws, Brother shall have no + liability in contract, tort (including negligence or breach of statutory + duty) or otherwise for any interruption of use, loss of data, or for + any indirect, incidental, punitive or consequential loss or damage, or + for any loss of profit, revenue, data, goodwill or anticipated savings + that arises under, out of, or in contemplation of this Agreement or otherwise + arises due to any error, inaccuracy or defect in Non-GPL Modules even + if Brother has been advised of the possibility of such loss or damage.

    +

    (6) The form in which Non-GPL Modules is distributed is subject to Brother’s + sole discretion. Brother does not have any obligation to distribute or + disclose Non-GPL Modules in source code form. In no case shall this Agreement + be deemed as Brother’s express or implied agreement to disclose source + code of Non-GPL Modules.

    +
  6. +
+ + diff --git a/srcpkgs/brother-brscan4/template b/srcpkgs/brother-brscan4/template index 5b377231b9e..d6c51ccdc21 100644 --- a/srcpkgs/brother-brscan4/template +++ b/srcpkgs/brother-brscan4/template @@ -16,19 +16,19 @@ conf_files="/etc/opt/brother/scanner/brscan4/Brsane4.ini /etc/opt/brother/scanner/brscan4/brsanenetdevice4.cfg /etc/opt/brother/scanner/brscan4/models4/*.ini" -# license -distfiles="http://www.brother.com/agreement/English_sane/agree.html>LICENSE.html" -checksum="3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2" +# The license was removed by Brother - we vendor it. +# distfiles="http://www.brother.com/agreement/English_sane/agree.html>LICENSE.html" +# checksum="3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2" if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then _rpmpkgid="1.x86_64" - distfiles+=" http://download.brother.com/welcome/dlf006648/brscan4-${version}-${_rpmpkgid}.rpm" - checksum+=" 0d0af0f3f299a94d32b275f4714c72407ee679dd9e27eac050d6728cd728ac89" + distfiles="http://download.brother.com/welcome/dlf006648/brscan4-${version}-${_rpmpkgid}.rpm" + checksum="0d0af0f3f299a94d32b275f4714c72407ee679dd9e27eac050d6728cd728ac89" _rpmlibdir="usr/lib64" else _rpmpkgid="1.i386" - distfiles+=" http://download.brother.com/welcome/dlf006647/brscan4-${version}-${_rpmpkgid}.rpm" - checksum+=" 73bcbcc661a05000375266369fc6e22a980cc956ac7f92926ff42516f92845f8" + distfiles="http://download.brother.com/welcome/dlf006647/brscan4-${version}-${_rpmpkgid}.rpm" + checksum="73bcbcc661a05000375266369fc6e22a980cc956ac7f92926ff42516f92845f8" _rpmlibdir="usr/lib" fi @@ -63,7 +63,7 @@ do_install() { vcopy opt/brother/scanner/brscan4/models4 etc/opt/brother/scanner/brscan4 # Install the licenses. - vlicense "${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.html" + vlicense ${FILESDIR}/agree.html LICENSE.html vlicense opt/brother/scanner/brscan4/doc/brscan4/readme.txt # Independent JPEG blurb. # config helper - installed by the deb package as a symlink.