efilinux-signed/0000755000000000000000000000000012015437600011034 5ustar efilinux-signed/download-efilinux0000755000000000000000000000133512015437566014427 0ustar #! /usr/bin/python3 import re import shutil from urllib.parse import urlparse, urlunparse from urllib.request import urlopen import apt from aptsources.distro import get_distro cache = apt.Cache() efilinux = cache["efilinux"].candidate pool_parsed = urlparse(efilinux.uri) dists_dir = "/dists/%s/main/uefi/efilinux-%s/current/" % ( get_distro().codename, efilinux.architecture) for base in "efilinux.efi.signed", "version": dists_parsed = list(pool_parsed) dists_parsed[2] = re.sub(r"/pool/.*", dists_dir + base, dists_parsed[2]) dists_uri = urlunparse(dists_parsed) print("Downloading %s ..." % dists_uri) with urlopen(dists_uri) as dists, open(base, "wb") as out: shutil.copyfileobj(dists, out) efilinux-signed/Makefile0000644000000000000000000000042012015437600012470 0ustar all: efilinux.efi.signed efilinux.efi.signed: ./download-efilinux install: efilinux.efi.signed install -d $(DESTDIR)/usr/lib/efilinux-signed install -m0644 efilinux.efi.signed version \ $(DESTDIR)/usr/lib/efilinux-signed/ clean: rm -f efilinux.efi.signed version efilinux-signed/debian/0000755000000000000000000000000012015450634012260 5ustar efilinux-signed/debian/changelog0000644000000000000000000000021212015450634014125 0ustar efilinux-signed (1.0) quantal; urgency=low * Initial release. -- Colin Watson Thu, 23 Aug 2012 16:51:54 +0100 efilinux-signed/debian/rules0000755000000000000000000000072212015450266013342 0ustar #! /usr/bin/make -f export DH_VERBOSE := 1 VERSION := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2) %: dh $@ docdir := debian/efilinux-signed/usr/share/doc/efilinux-signed override_dh_installchangelogs: dh_installchangelogs # Quieten lintian, which otherwise gets confused by our odd version # number. ln $(docdir)/changelog $(docdir)/changelog.Debian override_dh_gencontrol: dh_gencontrol -- -v$(VERSION)+$(shell cat version) efilinux-signed/debian/compat0000644000000000000000000000000212015140027013446 0ustar 9 efilinux-signed/debian/source/0000755000000000000000000000000012015141130013544 5ustar efilinux-signed/debian/source/format0000644000000000000000000000001512015141130014753 0ustar 3.0 (native) efilinux-signed/debian/control0000644000000000000000000000063712015142461013665 0ustar Source: efilinux-signed Section: utils Priority: optional Maintainer: Colin Watson Build-Depends: debhelper (>= 9), lsb-release, python3, python3-apt Standards-Version: 3.9.3 Package: efilinux-signed Architecture: linux-amd64 Depends: ${misc:Depends} Description: Signed UEFI bootloader efilinux is a simple UEFI bootloader. This version of it is signed with Canonical's UEFI signing key. efilinux-signed/debian/copyright0000644000000000000000000000377612015140732014223 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: efilinux Upstream-Contact: Matt Fleming Source: http://github.com/mfleming/efilinux Comment: This package exists to download a signed binary from the Ubuntu archive and publish it in .deb format. The actual bootloader source code may be found in the efilinux source package: 'apt-get source efilinux'. Files: * Copyright: 2011-2012 Intel Corporation License: BSD Files: debian/* Copyright: 2012 Canonical Ltd. License: BSD License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * 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. . * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER 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.