Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Update packages and eclasses from 2018 #302

Merged
merged 40 commits into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
5dd9232
dev-cpp/gflags: Sync with gentoo
krnowak Mar 2, 2022
d7d70ae
app-crypt/pinentry: Sync with gentoo
krnowak Mar 2, 2022
1b5b219
eclass/qmake-utils: Sync with gentoo
krnowak Mar 2, 2022
a1251cd
app-portage/elt-patches: Sync with gentoo
krnowak Mar 2, 2022
073f33d
sys-devel/flex: Sync with gentoo
krnowak Mar 2, 2022
7b08c2f
sys-apps/sandbox: Sync with gentoo
krnowak Mar 2, 2022
da9a017
sys-devel/make: Sync with gentoo
krnowak Mar 2, 2022
6ad0338
dev-util/intltool: Sync with gentoo
krnowak Mar 2, 2022
efc8f8b
app-shells/bash-completion: Sync with gentoo
krnowak Mar 2, 2022
98cc991
x11-base/xorg-proto: Sync with gentoo
krnowak Mar 2, 2022
be2c89c
dev-perl/libintl-perl: Sync with gentoo
krnowak Mar 2, 2022
8e34060
app-crypt/efitools: Sync with gentoo
krnowak Mar 2, 2022
a15aac4
sys-fs/quota: Sync with gentoo
krnowak Mar 2, 2022
d3a1718
dev-libs/libassuan: Sync with gentoo
krnowak Mar 2, 2022
0e5594e
sys-fs/xfsprogs: Sync with gentoo
krnowak Mar 2, 2022
1d9912c
virtual/libelf: Sync with gentoo
krnowak Mar 2, 2022
f71e438
sys-devel/autoconf-archive: Sync with gentoo
krnowak Mar 2, 2022
ed9695c
x11-misc/makedepend: Sync with gentoo
krnowak Mar 2, 2022
ce14096
sys-libs/zlib: Sync with gentoo
krnowak Mar 2, 2022
eb3d74f
dev-libs/libusb: Sync with gentoo
krnowak Mar 2, 2022
dbd818d
sys-apps/grep: Sync with gentoo
krnowak Mar 2, 2022
b8a6ba9
dev-libs/protobuf: Sync with gentoo
krnowak Mar 2, 2022
7ea2315
sys-apps/less: Sync with gentoo
krnowak Mar 2, 2022
8e8883f
sys-apps/iucode_tool: Sync with gentoo
krnowak Mar 2, 2022
14f0b12
app-crypt/rhash: Sync with gentoo
krnowak Mar 2, 2022
da21f93
virtual/libiconv: Sync with gentoo
krnowak Mar 2, 2022
9ae1cb7
app-text/docbook-xsl-stylesheets: Sync with gentoo
krnowak Mar 2, 2022
ccc8695
virtual/dev-manager: Sync with gentoo
krnowak Mar 2, 2022
fec41ce
eclass/ruby-utils: Sync with gentoo
krnowak Mar 2, 2022
99d2110
eclass: Drop unused eclasses
krnowak Mar 2, 2022
be4664c
eclass/golang-base: Sync with gentoo
krnowak Mar 2, 2022
93eca21
eclass/check-reqs: Sync with gentoo
krnowak Mar 2, 2022
18bc10e
eclass/db-use: Sync with gentoo
krnowak Mar 2, 2022
5621924
eclass/linux-mod: Sync with gentoo
krnowak Mar 2, 2022
54d6f86
eclass/java-utils-2: Sync with gentoo
krnowak Mar 2, 2022
d1d6849
eclass/versionator: Sync with gentoo
krnowak Mar 2, 2022
77f86f0
eclass/ruby-single: Sync with gentoo
krnowak Mar 2, 2022
37f7077
changelog: Add an entry
krnowak Mar 3, 2022
8ff2111
virtual/perl-version: Add from gentoo
krnowak Mar 3, 2022
0877f4d
dev-libs/inih: Add from gentoo
krnowak Mar 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app-crypt/efitools/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST efitools-1.7.0.tar.bz2 96042 BLAKE2B b0042df906282d878b1400c359c1eece24588f5df7ab753b62f5f0b95e97467cfaa17e04a2ef40a7ec85155c4d13bd438dd94471e0ec98ab23030dd54e7d4214 SHA512 1e839c5565b0a113569cf47bf98d656875f9a127b481287a553e8b1276969021e1a39a730b9ede3852e15d1ac045db7ec64767f5ac71a24567236c0938697ccb
DIST efitools-1.8.1.tar.gz 115319 BLAKE2B 3aad65defc203055122027cc3a48f50912d2f08b592841780fdc1bf337d75774116e698c4270865275ce7fe64988cd84105138ca979d81818f0065d7ae90f1d0 SHA512 114ef8e52160f5a5239ec306dbd587610849bce771ba8145ed092afd79e44f3ecee93cc1d97e2d5fdb880cc825bbbe928b3ef6701fd3b1fa444053894be1098a
DIST efitools-1.9.2.tar.gz 116037 BLAKE2B b3540932eb112e362fd0eed47090360603807dcaec8c6a10058618f8252eeb5dcbbd703d313cb6fadae62c1312815080cf2c77fc86f9dfc9f9afca24ad97f584 SHA512 77e0ad7e865814ed388ff6daabe0f4b49ba51672bf2cbb98b7905e209cbd28f9ede2f73213ce45af8a978c1e67dba24ec88a1188661317cc22317b47e575cde8
33 changes: 0 additions & 33 deletions app-crypt/efitools/efitools-1.7.0.ebuild

This file was deleted.

9 changes: 4 additions & 5 deletions app-crypt/efitools/efitools-1.8.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -12,10 +12,9 @@ SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/snaps
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="libressl static"
IUSE="static"

LIB_DEPEND="!libressl? ( dev-libs/openssl:0=[static-libs(+)] )
libressl? ( dev-libs/libressl:0=[static-libs(+)] )"
LIB_DEPEND="dev-libs/openssl:0=[static-libs(+)]"

RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
sys-apps/util-linux"
Expand All @@ -30,7 +29,7 @@ DEPEND="${RDEPEND}

PATCHES=(
"${FILESDIR}/1.7.0-Make.rules.patch"
"${FILESDIR}/${P}-libressl-compatibility.patch"
"${FILESDIR}/1.8.1-respect-ar.patch"
)

src_prepare() {
Expand Down
56 changes: 56 additions & 0 deletions app-crypt/efitools/efitools-1.9.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit flag-o-matic toolchain-funcs

DESCRIPTION="Tools for manipulating UEFI secure boot platforms"
HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git"
SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/snapshot/${P}.tar.gz"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="static"

LIB_DEPEND="dev-libs/openssl:0=[static-libs(+)]"

RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
sys-apps/util-linux"

DEPEND="${RDEPEND}
app-crypt/sbsigntools
dev-perl/File-Slurp
static? ( ${LIB_DEPEND} )
sys-apps/help2man
sys-boot/gnu-efi
virtual/pkgconfig"

PATCHES=(
"${FILESDIR}/1.7.0-Make.rules.patch"
"${FILESDIR}/1.8.1-respect-ar.patch"
)

src_prepare() {
if use static; then
append-ldflags -static
sed -i "s/-lcrypto\b/$($(tc-getPKG_CONFIG) --static --libs libcrypto)/g" \
Makefile || die
fi

# Let it build with clang.
if tc-is-clang; then
sed -i -e 's/-fno-toplevel-reorder//g' Make.rules || die
fi

# Respect users CFLAGS
sed -i -e 's/CFLAGS.*= -O2 -g/CFLAGS += /' Make.rules || die

# Respect users LDFLAGS
sed -i -e 's/LDFLAGS/LIBS/g' Make.rules || die
sed -i -e 's/\$(CC)/& $(LDFLAGS)/g' Makefile || die

# Run 'default', to apply user patches
default
}
25 changes: 25 additions & 0 deletions app-crypt/efitools/files/1.8.1-respect-ar.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 81503d7a43b99c036758d05c1794502c09189fa4 Mon Sep 17 00:00:00 2001
From: Matthias Maier <[email protected]>
Date: Tue, 5 Oct 2021 22:27:52 -0500
Subject: [PATCH] Do not use ar directly

---
Make.rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Make.rules b/Make.rules
index e46d407..767070d 100644
--- a/Make.rules
+++ b/Make.rules
@@ -129,7 +129,7 @@ getvar = $(shell if [ "$(1)" = "PK" -o "$(1)" = "KEK" ]; then echo $(1); else ec
# sbsign --key KEK.key --cert KEK.crt --output $@ $<

%.a:
- ar rcv $@ $^
+ $(AR) rcv $@ $^

doc/%.1: doc/%.1.in %
$(HELP2MAN) --no-info -i $< -o $@ ./$*
--
2.32.0

This file was deleted.

2 changes: 1 addition & 1 deletion app-crypt/efitools/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
Expand Down
4 changes: 2 additions & 2 deletions app-crypt/pinentry/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST pinentry-1.0.0.tar.bz2 436930 BLAKE2B 949be8de8504a42cd5bd6ffebe331a825db7ff3c2ccc5fc554155b7621fddf9df957aa92063eb1a06c6964826a296bf60a4cc46cf2886552e37703a62042f35a SHA512 f109236707c51871b5020ef807a551366461fafcfbe09bf8cda19d4b163a42cf622562b905ceb41429f1d648b3f3d27807538709da6a135b67f9888709eccd62
DIST pinentry-1.1.0.tar.bz2 467702 BLAKE2B cf43555848ab0dc60756fca123aba7599ebb1bfe0458b973ed9d84479f8de9ee69ef309b518b40aa340434d64d37793cf97c94f78f99820bc5c71ecd2aac7a49 SHA512 5012672925bcb5f683358c259e55e4b87c67cf063ad52c759308933733025c33f7ce08e5b8019ffc101cbf7ef30499040ef2fd34a7611698e65e1593f80948cd
DIST pinentry-1.1.1.tar.bz2 515723 BLAKE2B f257fe552852e6d1ff2c23aeb0c1127b43e3a60e44c78dfa764d569e659ccb78528ce3ee863114af273a4b6f6c24686cda2cb14bb04995eb8c41ccd4541a9fbd SHA512 d6ab5af8ac2f3c9c05e09703e95d8e2676f9b2b7ceb97f6a31d101d0e9da7a1e106a6d3eabe86cab1bb35a4b119a7cba1380ac64bf13c61af0b3c48803116c12
DIST pinentry-1.2.0.tar.bz2 498390 BLAKE2B 6e97b55fe39e9c17f8a87fa669d23fca56c1095c2533a9eebe459fafc95a3fcb0a5ea502077aae5480b5259a3096c5f85e05d4872c0b19ad33f3d9084a220cc7 SHA512 19cea79aa3982d1f0d75220c8e24ca38d6c49475c6f4c5aa7101151b4690db23ed316096a4a411136e716ba4eb471f48f9b09556e5c9837533c2356b9b384b63
11 changes: 11 additions & 0 deletions app-crypt/pinentry/files/pinentry-1.0.0-AR.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
https://bugs.gentoo.org/718028
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,7 @@ AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
+AM_PROG_AR
AC_PROG_RANLIB
# We need to check for cplusplus here because we may not do the test
# for Qt and autoconf does does not allow that.

This file was deleted.

Loading