X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by lists.alpinelinux.org (Postfix) with ESMTP id 7DD8BF856FC for ; Tue, 1 Jan 2019 11:56:27 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id x10so28067925wrs.8 for ; Tue, 01 Jan 2019 03:56:27 -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=9swSvp1atBhEpuc5oT64ai6JpeSM8hPCGgctcWd7++A=; b=DHZJ0X94Cwqn1UJXH8fn0X+1E+PS/I+E8K5Qx/Z5dr2gGPScbXhkYPgoKuWxeE+1S9 0com0ZybVIe35cPGGSHQ5js41Q7E0Q+3cYyXy0kNPM3Y/Ao5CcPMvQLT5dWs5iFC+ZLD 45Hm/xFBcq8XLFw1U9t39QBx94j1DDrCMf8qpHZ4odyRQ+u2cEXlKfhFYxkOwhV7E+u7 BMmrCq8A5XInwVjJ+ggW+i+bsKqEr2+qFjB3enRG6QxqATnw0nCe1TeUBUdQ1YDqSm/z f2XqLh2WIM2qr3O4eEHamXwEAvP2cPzIAQ13OmbpOpLuT0N2x63tG6RuET1zNPbvgo7K eJXw== 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=9swSvp1atBhEpuc5oT64ai6JpeSM8hPCGgctcWd7++A=; b=sXCQWJhoQ1gXOaoWign+R9u9AdqVMErig5FOgloUpsTe4mJhbVhHuwrNUyGN4AZRoe sCUqfdg184xkA4hwWuZixlwYeaOuWUFRaydE8U/3wmH4FiSLY4+l4vUbRgZuvRuTPLBN ybCWcTZCdZTm9hatxxlA62dR/RaXD8m/l9X2WW7c4/il4OTQqsfMZQg9rhvRJdaHFk/l AT2ZvOuWXnYco3u2GB9LNo7AZpuK5L3g6tZdk921l1qTN0vpujgeGU5YVIUlmb2x0amu 5fJnFyEtOhUGD+J5TPcsZ25exIReUGPIoyuuFJCVLXylQEl5hjGT1MpgR12yCy/QILke z5Uw== X-Gm-Message-State: AJcUukfgeTgA0587NV5fIAGP5KJxr6Dsy5unowIwVX0VwSyMesXR2BDS Pde4zm7LzjL1CMP0EaKvyxYhN7j/wlyX4THP X-Google-Smtp-Source: ALg8bN4UqUbVBHwtgeweMkRbWm1VNSTTnV92kfI+AvdLfUMaRByg4AsMhJahfAwzoQn6S34EdJQ6cQ== X-Received: by 2002:a05:6000:51:: with SMTP id k17mr33735793wrx.259.1546343786017; Tue, 01 Jan 2019 03:56:26 -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 l8sm40267745wrr.60.2019.01.01.03.56.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Jan 2019 03:56:25 -0800 (PST) From: Eric Molitor X-Google-Original-From: Eric Molitor Received: by alpine (sSMTP sendmail emulation); Tue, 01 Jan 2019 11:56:21 +0000 To: alpine-aports@lists.alpinelinux.org Cc: Eric Molitor Subject: [alpine-aports] [PATCH v2] Initial commit of rEFInd package for alpine linux. - Includes patich to disable fortify headers when building libeg as nanojpeg.c uses custom efi allocators that were breaking. Date: Tue, 1 Jan 2019 11:56:11 +0000 Message-Id: <20190101115611.8371-1-eric@molitor.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181231161318.8896-1-eric@molitor.org> References: <20181231161318.8896-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 --- Changes v1 -> v2 - Fix License to correctly reflect GPL v3.0 - Use numeric prefix on patch .../refind/10-refind-disable-fortify.patch | 11 +++++++ community/refind/APKBUILD | 30 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 community/refind/10-refind-disable-fortify.patch create mode 100644 community/refind/APKBUILD diff --git a/community/refind/10-refind-disable-fortify.patch b/community/refind/10-refind-disable-fortify.patch new file mode 100644 index 0000000000..b59b711473 --- /dev/null +++ b/community/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/community/refind/APKBUILD b/community/refind/APKBUILD new file mode 100644 index 0000000000..7946da60c4 --- /dev/null +++ b/community/refind/APKBUILD @@ -0,0 +1,30 @@ +# 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" +#subpackages="$pkgname-doc" +source="https://sourceforge.net/projects/refind/files/${pkgver}/${pkgname}-src-${pkgver}.tar.gz + 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 refind-disable-fortify.patch" -- 2.20.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---