X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by lists.alpinelinux.org (Postfix) with ESMTP id 80EC2F85676 for ; Tue, 1 Jan 2019 20:45:19 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id p4so28800486wrt.7 for ; Tue, 01 Jan 2019 12:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=molitor-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o0ucHcs+tqsb6H0p0xUqNU6hj+bJDsPwho1aMAfFXaU=; b=D5X/8BD0uB7GoKkXsZntGzBKMtf72q2lW2943NJ4LuIMEb/Yvmt7eAZ5aCGAimjSBz L/7uqMbuVqpwZYs47w4LX2ghzqBcaTcZ4Y8iVz4Y92WTief7tZ0IRPS1chHO836iZIkE 1IJQ622JD5aQqov6d8bq/auHes3QdNOdLBwnLOsCY5t0imhjto8Kh3xJKh/zF5+X0+Z5 byZ/Zy78HO7n08BaNCb29JEf/Ob72l2m8cninngeiSNjqLk82E20T2tj/nB2z/UtS6df XJvbsSy6g2DFYfGRk+DxL6H8BEsYWDU3OtO6ju7u1cWly2WO+Sy4E/0/2y/lJiK97Bzu j3pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o0ucHcs+tqsb6H0p0xUqNU6hj+bJDsPwho1aMAfFXaU=; b=sMgx5qe9HvxjM6kMO19ELNC6P0uJbC+KV6KFAEdXPH66bO98hufkWE4rxEB8iStLMz pGml8eHlYifTFycBaZry+5BhU3ZMXXbE8AwMYKsZcUhyB6QepAppdswPID3U/M5kC7vY 4Cep42WgAd9uPeU8YII9ZWh4ToyBINdFJE+F3PEG31US+sgw9mIsMDhAzBQRMPuHRZlK yM0XtOSVuHd2yP01LyvByUQzny4DdF5J8T8gTSbuljn0by//2Ts6nYHNqQIYpaeIGMJG nVlW7kM7bS4xn7jKqP7hl+PfctUbT4xE3mb0oNTMMgPyxytU3wCXnR2G/OvnjJyecmwN PNuQ== X-Gm-Message-State: AJcUukfHhUaJYZZbej+r6ug0MksyLwtQSsOpvyhXm7C0s0UnFzEI/6lC p/Yu01GLsvwyhd6gB+dJOjdolX2oyEbGrA== X-Google-Smtp-Source: ALg8bN5/W2k6qzQfow1gAW+3zRGaXzEgaoWOKz3DUys+C/yweZtSyJ2YY9vFqNwmSS5pR+ZwVBUcPg== X-Received: by 2002:adf:d1d2:: with SMTP id m18mr38059244wri.138.1546375518270; Tue, 01 Jan 2019 12:45:18 -0800 (PST) Received: from alpine (cpc99626-brnt2-2-0-cust597.4-2.cable.virginm.net. [81.104.114.86]) by smtp.gmail.com with ESMTPSA id m4sm45946617wmi.3.2019.01.01.12.45.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Jan 2019 12:45:17 -0800 (PST) From: Eric Molitor X-Google-Original-From: Eric Molitor Received: by alpine (sSMTP sendmail emulation); Tue, 01 Jan 2019 20:45:12 +0000 To: alpine-aports@lists.alpinelinux.org Cc: Eric Molitor Subject: [alpine-aports] [PATCH v5] testing/refind: new aport Date: Tue, 1 Jan 2019 20:45:10 +0000 Message-Id: <20190101204510.6890-1-eric@molitor.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190101123356.16572-1-eric@molitor.org> References: <20190101123356.16572-1-eric@molitor.org> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://www.rodsbooks.com/refind A fork of the rEFIt boot manager for computers based on the Extensible Firmware Interface (EFI) and Unified EFI (UEFI). --- Changes v4 -> v5: - Remove commented out subpackage - Correct package location description to testing/refind .../refind/10-refind-disable-fortify.patch | 11 +++++++ testing/refind/APKBUILD | 29 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 testing/refind/10-refind-disable-fortify.patch create mode 100644 testing/refind/APKBUILD diff --git a/testing/refind/10-refind-disable-fortify.patch b/testing/refind/10-refind-disable-fortify.patch new file mode 100644 index 0000000000..b59b711473 --- /dev/null +++ b/testing/refind/10-refind-disable-fortify.patch @@ -0,0 +1,11 @@ +--- refind-0.11.4-orig/libeg/Makefile ++++ refind-0.11.4/libeg/Makefile +@@ -12,7 +12,7 @@ + + VPATH = $(SRCDIR) + +-LOCAL_GNUEFI_CFLAGS = -I$(SRCDIR) -I$(SRCDIR)/../include ++LOCAL_GNUEFI_CFLAGS = -D_FORTIFY_SOURCE=0 -I$(SRCDIR) -I$(SRCDIR)/../include + + OBJS = nanojpeg.o nanojpeg_xtra.o screen.o image.o text.o load_bmp.o load_icns.o lodepng.o lodepng_xtra.o + TARGET = libeg.a diff --git a/testing/refind/APKBUILD b/testing/refind/APKBUILD new file mode 100644 index 0000000000..873d3554d6 --- /dev/null +++ b/testing/refind/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Eric Molitor +pkgname=refind +pkgver=0.11.4 +pkgrel=0 +pkgdesc="rEFInd EFI Boot Manager" +url="http://www.rodsbooks.com/refind" +arch="aarch64 x86 x86_64" +options="!check" # No test suite. +license="GPL-3.0" +depends="" +makedepends="gnu-efi-dev bash" +source="https://sourceforge.net/projects/refind/files/${pkgver}/${pkgname}-src-${pkgver}.tar.gz + 10-refind-disable-fortify.patch" + +builddir="$srcdir/${pkgname}-${pkgver}" + +build() { + cd "$builddir" + make gnuefi +} + +package() { + cd "$builddir" + install -Dm755 refind/refind_x64.efi $pkgdir/usr/share/refind/refind_x64.efi + install -Dm755 refind.conf-sample $pkgdir/usr/share/refind/refind.conf-sample + cp -r icons $pkgdir/usr/share/refind +} +sha512sums="529962ae432edaf1895ba98deb00a23c66bd742578e1a367f70f7ed22dd7be7daf1960df8af410fba79ca775169120499a4c10119331b2b12b55a002d4354de1 refind-src-0.11.4.tar.gz +ccb61e6e5ae0d762932941d7edd5b9a3506db42cfce70ebc57468837799e60fee73b3c568ae603a6ebb677ae702fb5beb5d13b16daf976b954b35047b6f4ecc0 10-refind-disable-fortify.patch" -- 2.20.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---