commit:     34c7074999fe3d58a6b992c49d864ab0dbd8ed93
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 04:27:53 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 04:30:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c70749

app-crypt/sbsigntool: version bump to 0.8

Package-Manager: portage-2.2.28

 app-crypt/sbsigntool/Manifest              |  2 ++
 app-crypt/sbsigntool/sbsigntool-0.8.ebuild | 46 ++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/app-crypt/sbsigntool/Manifest b/app-crypt/sbsigntool/Manifest
index bbdd012..f76e6f0 100644
--- a/app-crypt/sbsigntool/Manifest
+++ b/app-crypt/sbsigntool/Manifest
@@ -1 +1,3 @@
+DIST sbsigntool-0.8-ccan.tar.gz 113537 SHA256 
8693929fff1138ed39d5387774da05355162f7275f5495638b55bfd258200e0b SHA512 
6857096879f116f1802eb6b44789cbea7bb24440bc0f16503aeadf5f276fa45943f322f844dbb9abee717655205d82b830143be3a7f4424fd4146b9360674a09
 WHIRLPOOL 
4b577b5d959af7bc6a4bd29d877a293007286de56cd7a88ad144b23eb7d91dafe32ab095f4eede82fdbfd689f5df07d15232bdec186e0b38c580a496b76a27ae
+DIST sbsigntool-0.8.tar.gz 55537 SHA256 
67a5df2818a424d0f76e8701562d9239fad88769421d8d2df733e5a98f119812 SHA512 
ffc2661135dcdbdd218640f0a0657127c5519ade7ddaaa894898e382b4898829e5b877be51fce48bddd186667bf533f779cd5a323c79aad8b0e63b74f7a2c128
 WHIRLPOOL 
72693ff682cc2bcde9c166edc2532755da78c626504a1f830d1e1b04d855ee8c571e43110d6a30a763c4342de7f86603724636d1f38b2b91ea74e64555203872
 DIST sbsigntool_0.6.orig.tar.gz 212375 SHA256 
84fb0c8f6fb1e79aa418a4f70a3139b38d5630043b28291c875f383e9b4294b8 SHA512 
ed314d1cb7278cf5f27d4c3cd17f2195678419a7f9e47770429b6f95df35f7df035331e60c45970183ddd9b150a9b752f876c777929598b0525872b3255af95c
 WHIRLPOOL 
3b86b9861f5e26586e8a9eb9bbf48adf1a12714b294f0acd605d53e37c27192006c6ecc81d31bf4f200f8e88508f38a52ef93e9e01e301c4245a11894227cecc

diff --git a/app-crypt/sbsigntool/sbsigntool-0.8.ebuild 
b/app-crypt/sbsigntool/sbsigntool-0.8.ebuild
new file mode 100644
index 0000000..179f5b3
--- /dev/null
+++ b/app-crypt/sbsigntool/sbsigntool-0.8.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils toolchain-funcs autotools-utils
+
+DESCRIPTION="Utilities for signing and verifying files for UEFI Secure Boot"
+HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jejb/sbsigntools.git/";
+SRC_URI="https://kernel.googlesource.com/pub/scm/linux/kernel/git/jejb/sbsigntools.git/+archive/df8303a4e37e42cce36d8ef7d4ea4d75b1080e28.tar.gz
 -> ${P}.tar.gz
+       https://dev.gentoo.org/~tamiko/distfiles/${P}-ccan.tar.gz";
+
+LICENSE="GPL-3 LGPL-3 LGPL-2.1 CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl"
+
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
+       sys-apps/util-linux"
+DEPEND="${RDEPEND}
+       sys-apps/help2man
+       sys-boot/gnu-efi
+       sys-libs/binutils-libs
+       virtual/pkgconfig"
+
+S="${WORKDIR}"
+
+src_prepare() {
+       local iarch
+       case ${ARCH} in
+               ia64)  iarch=ia64 ;;
+               x86)   iarch=ia32 ;;
+               amd64) iarch=x86_64 ;;
+               *)     die "unsupported architecture: ${ARCH}" ;;
+       esac
+       sed -i "/^EFI_ARCH=/s:=.*:=${iarch}:" configure.ac || die
+       sed -i 's/-m64$/& -march=x86-64/' tests/Makefile.am || die
+       sed -i "/^AR /s:=.*:= $(tc-getAR):" lib/ccan/Makefile.in || die #481480
+
+       AUTOTOOLS_IN_SOURCE_BUILD=1
+       AUTOTOOLS_AUTORECONF=true
+       autotools-utils_src_prepare
+}

Reply via email to