From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA6EF158089 for ; Wed, 4 Oct 2023 16:50:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA6F02BC025; Wed, 4 Oct 2023 16:50:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1DAA2BC025 for ; Wed, 4 Oct 2023 16:50:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D63B9335D4F for ; Wed, 4 Oct 2023 16:50:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33B96994 for ; Wed, 4 Oct 2023 16:50:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1696438035.611739f6d355367906a758a61282ecce8ed82f7a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/pesign/files/, app-crypt/pesign/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/pesign/Manifest app-crypt/pesign/files/pesign-116-no-werror.patch app-crypt/pesign/pesign-116.ebuild X-VCS-Directories: app-crypt/pesign/files/ app-crypt/pesign/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 611739f6d355367906a758a61282ecce8ed82f7a X-VCS-Branch: master Date: Wed, 4 Oct 2023 16:50:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 768c1ce2-83b7-4977-98ce-00fa5f809cf5 X-Archives-Hash: d37a48b4684c7b3d14b4d2c1c552bf32 commit: 611739f6d355367906a758a61282ecce8ed82f7a Author: Sam James gentoo org> AuthorDate: Wed Oct 4 16:02:49 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 4 16:47:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611739f6 app-crypt/pesign: add 116 Bug: https://bugs.gentoo.org/842228 Bug: https://bugs.gentoo.org/897706 Closes: https://bugs.gentoo.org/892932 Signed-off-by: Sam James gentoo.org> app-crypt/pesign/Manifest | 1 + app-crypt/pesign/files/pesign-116-no-werror.patch | 11 +++++ app-crypt/pesign/pesign-116.ebuild | 57 +++++++++++++++++++++++ 3 files changed, 69 insertions(+) diff --git a/app-crypt/pesign/Manifest b/app-crypt/pesign/Manifest index e3ca7ffe3ede..aaf05c8e4530 100644 --- a/app-crypt/pesign/Manifest +++ b/app-crypt/pesign/Manifest @@ -1 +1,2 @@ DIST pesign-114.tar.gz 148898 BLAKE2B 0dae3b4e17c61bcea02a6f81f6a62f8d526e83954bf95d0de24726daa81e45a3b42b6867f2d64decd69f421a14f5e2ff6ff1ec26246f44d68b242b452e60d9a1 SHA512 567176718e098c3494e27ce29b61ef396ca2503137260fc36c784951f0bd2130c9f61c655461d6091e9bdb0df77c9e00cf2fde8fb1b1c5ab83e4b9c57d65fdab +DIST pesign-116.tar.bz2 120424 BLAKE2B a1bce804c13a0aba1eb5fdf0b3963d658011484d4708d58bd9265b6ad8a3d2d3e3156a49736e6fb029bd5d8cc175f6440e62dbc34722357888a239e4d7e7d9e2 SHA512 be3e1083f5e9f889cb8f7c50a8ebe723542fb2f6d1de8de9b04a9f21526ebaa8ab1efc7d4be11bcb0bc9862fa4bc6f78ee35e4d3496dd3b8927170b97795d25c diff --git a/app-crypt/pesign/files/pesign-116-no-werror.patch b/app-crypt/pesign/files/pesign-116-no-werror.patch new file mode 100644 index 000000000000..0563a749baf6 --- /dev/null +++ b/app-crypt/pesign/files/pesign-116-no-werror.patch @@ -0,0 +1,11 @@ +--- a/Make.defaults ++++ b/Make.defaults +@@ -60,7 +60,7 @@ cflags = $(CFLAGS) $(ARCH3264) \ + -Wall -Wextra -Wsign-compare -Wno-unused-result \ + -Wno-unused-function -Wno-missing-field-initializers \ + $(call enabled,ENABLE_LEAK_CHECKER,-Wno-analyzer-malloc-leak,) \ +- -Werror -Wno-error=cpp -Wno-free-nonheap-object \ ++ -Wno-error=cpp -Wno-free-nonheap-object \ + -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing \ + -D_GNU_SOURCE -DCONFIG_$(ARCH) -I${TOPDIR}/include \ + '-DRUNDIR="$(rundir)"' \ diff --git a/app-crypt/pesign/pesign-116.ebuild b/app-crypt/pesign/pesign-116.ebuild new file mode 100644 index 000000000000..d890d561aad2 --- /dev/null +++ b/app-crypt/pesign/pesign-116.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Tools for manipulating signed PE-COFF binaries" +HOMEPAGE="https://github.com/rhboot/pesign" +SRC_URI="https://github.com/rhboot/pesign/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/nspr + dev-libs/nss + dev-libs/openssl:= + dev-libs/popt + sys-apps/util-linux + >=sys-libs/efivar-38 +" +DEPEND=" + ${RDEPEND} + sys-boot/gnu-efi +" +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-116-no-werror.patch +) + +src_compile() { + emake \ + AR="$(tc-getAR)" \ + ARFLAGS="-cvqs" \ + AS="$(tc-getAS)" \ + CC="$(tc-getCC)" \ + CPPFLAGS="${CPPFLAGS}" \ + LD="$(tc-getLD)" \ + OBJCOPY="$(tc-getOBJCOPY)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + RANLIB="$(tc-getRANLIB)" \ + rundir="${EPREFIX}/var/run" +} + +src_install() { + emake DESTDIR="${ED}" VERSION="${PVR}" rundir="${EPREFIX}/var/run" install + einstalldocs + + # remove some files that don't make sense for Gentoo installs + rm -rf "${ED}/etc" "${ED}/var" "${ED}/usr/share/doc/${PF}/COPYING" || die +}