summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog21
-rw-r--r--debian/control7
-rw-r--r--debian/copyright10
-rw-r--r--debian/debian-uefi-ca.derbin0 -> 930 bytes
-rwxr-xr-xdebian/rules18
-rw-r--r--debian/source/include-binaries1
-rw-r--r--debian/watch5
7 files changed, 51 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index d7013ef0..13d2065c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+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 ]
@@ -15,6 +21,21 @@ shim (0.9+1474479173.6c180c6-0ubuntu1) UNRELEASED; urgency=medium
-- 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.
+ * Update Standards-Version.
+ * Embed the newly-minted Debian CA certificate.
+ * Vendorize debian/rules so that the same package can be used in both
+ Debian and Ubuntu without modification.
+ * Fix debian/copyright to match the spec (last match wins, not first)
+ * Fix shim.efi to not be executable.
+ * Add watchfile.
+ * Support parallel builds, because eh why not
+ * Update Vcs-Bzr.
+
+ -- Steve Langasek <vorlon@debian.org> Tue, 23 Aug 2016 05:23:42 +0000
+
shim (0.9+1465500757.14a5905-0ubuntu1) yakkety; urgency=medium
* New upstream release.
diff --git a/debian/control b/debian/control
index 0f71c7f7..25b0b47e 100644
--- a/debian/control
+++ b/debian/control
@@ -1,11 +1,10 @@
Source: shim
Section: admin
Priority: optional
-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
-XSBC-Original-Maintainer: Steve Langasek <vorlon@debian.org>
-Standards-Version: 3.9.3
+Maintainer: Steve Langasek <vorlon@debian.org>
+Standards-Version: 3.9.8
Build-Depends: debhelper (>= 9), gnu-efi (>= 3.0u), sbsigntool, openssl
-Vcs-Bzr: lp:ubuntu/shim
+Vcs-Bzr: lp:~ubuntu-core-dev/shim/trunk
Package: shim
Architecture: amd64
diff --git a/debian/copyright b/debian/copyright
index c679517d..6c8adf16 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,11 @@ Upstream-Name: shim
Upstream-Contact: Matthew Garrett <mjg@redhat.com>
Source: https://github.com/mjg59/shim.git
+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
@@ -117,11 +122,6 @@ License: OpenSSL and Original-SSLeay
copied and put under another distribution licence
[including the GNU Public Licence.]
-Files: *
-Copyright: 2012 Red Hat, Inc
- 2009-2012 Intel Corporation
-License: BSD-2-Clause
-
License: BSD-2-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
diff --git a/debian/debian-uefi-ca.der b/debian/debian-uefi-ca.der
new file mode 100644
index 00000000..1dd6ee16
--- /dev/null
+++ b/debian/debian-uefi-ca.der
Binary files differ
diff --git a/debian/rules b/debian/rules
index 28523b56..8ff28a02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,21 @@
#!/usr/bin/make -f
+# Other vendors, add your certs here. No sense in using
+# dpkg-vendor --derives-from, because only Canonical-generated binaries will
+# be signed with this key; so if you are building your own shim binary you
+# should be building the other binaries also.
+ifeq ($(shell dpkg-vendor --is ubuntu && echo yes),yes)
+ cert=debian/canonical-uefi-ca.der
+else
+ cert=debian/debian-uefi-ca.der
+endif
+
%:
- dh $@
+ dh $@ --parallel
override_dh_auto_build:
- dh_auto_build -- EFI_PATH=/usr/lib VENDOR_CERT_FILE=debian/canonical-uefi-ca.der
+ dh_auto_build -- EFI_PATH=/usr/lib VENDOR_CERT_FILE=$(cert)
+
+override_dh_fixperms:
+ dh_fixperms
+ chmod a-x debian/shim/usr/lib/shim/shim.efi
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
index 5be73be9..d82be748 100644
--- a/debian/source/include-binaries
+++ b/debian/source/include-binaries
@@ -1 +1,2 @@
debian/canonical-uefi-ca.der
+debian/debian-uefi-ca.der
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 00000000..361d88c4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+# Compulsory line, this is a version 4 file
+version=4
+
+opts="repack,compression=xz,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/shim-$1\.tar\.gz/" \
+ https://github.com/mjg59/shim/releases .*/v?(\d\S*)\.tar\.gz