diff options
| author | Steve Langasek <steve.langasek@canonical.com> | 2016-10-01 14:18:49 -0700 |
|---|---|---|
| committer | Steve Langasek <steve.langasek@canonical.com> | 2016-10-01 14:18:49 -0700 |
| commit | b65e78ec015a308c1798e602c94502327cc90cd9 (patch) | |
| tree | 4185dc52bcba0af1f815b88e100cd68a626916ca /debian | |
| parent | 21ebe03556d7030055644f46efd3c165396a7a75 (diff) | |
| parent | 86b44a70f0e22233427cef3e966869e59b5e9dd5 (diff) | |
| download | efi-boot-shim-b65e78ec015a308c1798e602c94502327cc90cd9.tar.gz efi-boot-shim-b65e78ec015a308c1798e602c94502327cc90cd9.zip | |
Resync with Ubuntu, including patch to fix debian/copyright.
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 23 | ||||
| -rw-r--r-- | debian/copyright | 134 | ||||
| -rw-r--r-- | debian/patches/binutils-version-matching | 26 | ||||
| -rw-r--r-- | debian/patches/series | 2 | ||||
| -rw-r--r-- | debian/patches/unused-variable | 19 | ||||
| -rw-r--r-- | debian/shim.install | 6 |
6 files changed, 142 insertions, 68 deletions
diff --git a/debian/changelog b/debian/changelog index 6b9e44f2..13d2065c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,26 @@ +shim (0.9+1474479173.6c180c6-1) UNRELEASED; urgency=medium + + * Resync with Ubuntu, including patch to fix debian/copyright. + + -- Steve Langasek <vorlon@debian.org> Sat, 1 Oct 2016 14:15:00 -0700 + +shim (0.9+1474479173.6c180c6-0ubuntu1) UNRELEASED; urgency=medium + + [ Helen Koike ] + * debian/copyright: add OpenSSL license + + [ Mathieu Trudel-Lapierre ] + * New upstream release. + * debian/copyright: patches should be BSD, like the rest of the upstream + code. + * debian/patches/unused-variable: dropped; applied upstream. + * debian/patches/binutils-version-matching: dropped, fixed upstream. + * debian/shim.install: built EFI binaries were renamed; update our install + file to properly pick up shim (shim$arch), MokManager (mm$arch), and + fallback (fb$arch). + + -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Wed, 21 Sep 2016 20:29:44 -0400 + shim (0.9+1465500757.14a5905-1) unstable; urgency=medium * Initial Debian upload. Closes: #820052. diff --git a/debian/copyright b/debian/copyright index 50dabd25..6c8adf16 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,6 +7,122 @@ Files: * Copyright: 2012 Red Hat, Inc 2009-2012 Intel Corporation License: BSD-2-Clause + +Files: debian/patches/* +Copyright: 2016 Canonical Ltd. +License: BSD-2-Clause + +Files: Cryptlib/OpenSSL/* Cryptlib/Include/openssl/* +Copyright: 1998-2016 The OpenSSL Project + 1995-1998 Eric Young (eay@cryptsoft.com) +License: OpenSSL and Original-SSLeay + OpenSSL License + --------------- + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "This product includes software developed by the OpenSSL Project + for use in the OpenSSL Toolkit. (http://www.openssl.org/)" + . + 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to + endorse or promote products derived from this software without + prior written permission. For written permission, please contact + openssl-core@openssl.org. + . + 5. Products derived from this software may not be called "OpenSSL" + nor may "OpenSSL" appear in their names without prior written + permission of the OpenSSL Project. + . + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes software developed by the OpenSSL Project + for use in the OpenSSL Toolkit (http://www.openssl.org/)" + . + THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + ==================================================================== + . + This product includes cryptographic software written by Eric Young + (eay@cryptsoft.com). This product includes software written by Tim + Hudson (tjh@cryptsoft.com). + . + Original SSLeay License + ----------------------- + This package is an SSL implementation written + by Eric Young (eay@cryptsoft.com). + The implementation was written so as to conform with Netscapes SSL. + . + This library is free for commercial and non-commercial use as long as + the following conditions are aheared to. The following conditions + apply to all code found in this distribution, be it the RC4, RSA, + lhash, DES, etc., code; not just the SSL code. The SSL documentation + included with this distribution is covered by the same copyright terms + except that the holder is Tim Hudson (tjh@cryptsoft.com). + . + Copyright remains Eric Young's, and as such any Copyright notices in + the code are not to be removed. + If this package is used in a product, Eric Young should be given attribution + as the author of the parts of the library used. + This can be in the form of a textual message at program startup or + in documentation (online or textual) provided with the package. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + "This product includes cryptographic software written by + Eric Young (eay@cryptsoft.com)" + The word 'cryptographic' can be left out if the rouines from the library + being used are not cryptographic related :-). + 4. If you include any Windows specific code (or a derivative thereof) from + the apps directory (application code) you must include an acknowledgement: + "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + . + THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + . + The licence and distribution terms for any publically available version or + derivative of this code cannot be changed. i.e. this code cannot simply be + copied and put under another distribution licence + [including the GNU Public Licence.] + +License: BSD-2-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -31,21 +147,3 @@ License: BSD-2-Clause STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Files: debian/patches/* -Copyright: 2016 Canonical Ltd. -License: GPL-2 - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; version 2. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/> - . - On Debian systems, the complete text of the GNU General - Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/debian/patches/binutils-version-matching b/debian/patches/binutils-version-matching deleted file mode 100644 index 0e3bba8b..00000000 --- a/debian/patches/binutils-version-matching +++ /dev/null @@ -1,26 +0,0 @@ -From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> -Subject: Revert d9a4c912 to fix matching binutils version on Ubuntu. - -That commit breaks on Ubuntu as we don't just have "version xyz", but rather -just the version number at the end of the version string, which looks like -this: - - "GNU objcopy (GNU Binutils for Ubuntu) 2.26" - ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: b/Makefile -=================================================================== ---- a/Makefile -+++ b/Makefile -@@ -9,7 +9,7 @@ LD = $(CROSS_COMPILE)ld - OBJCOPY = $(CROSS_COMPILE)objcopy - - ARCH = $(shell $(CC) -dumpmachine | cut -f1 -d- | sed s,i[3456789]86,ia32,) --OBJCOPY_GTE224 = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.version //g' | cut -f1-2 -d.` \>= 2.24) -+OBJCOPY_GTE224 = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.* //g' | cut -f1-2 -d.` \>= 2.24) - - SUBDIRS = Cryptlib lib - diff --git a/debian/patches/series b/debian/patches/series index 8613be11..a5f3392d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,2 @@ second-stage-path sbsigntool-not-pesign -unused-variable -binutils-version-matching diff --git a/debian/patches/unused-variable b/debian/patches/unused-variable deleted file mode 100644 index b6435ce6..00000000 --- a/debian/patches/unused-variable +++ /dev/null @@ -1,19 +0,0 @@ -From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> -Subject: Remove unused variable; pointed out by Werror=unused-variable - ---- - shim.c | 1 - - 1 file changed, 1 deletion(-) - -Index: b/shim.c -=================================================================== ---- a/shim.c -+++ b/shim.c -@@ -1118,7 +1118,6 @@ static EFI_STATUS handle_image (void *da - EFI_STATUS efi_status; - char *buffer; - int i; -- unsigned int size; - EFI_IMAGE_SECTION_HEADER *Section; - char *base, *end; - PE_COFF_LOADER_IMAGE_CONTEXT context; diff --git a/debian/shim.install b/debian/shim.install index 97d99c43..f37f6d19 100644 --- a/debian/shim.install +++ b/debian/shim.install @@ -1,3 +1,3 @@ -shim.efi /usr/lib/shim -MokManager.efi.signed /usr/lib/shim -fallback.efi.signed /usr/lib/shim +shim*.efi /usr/lib/shim +mm*.efi.signed /usr/lib/shim +fb*.efi.signed /usr/lib/shim |
