1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 09:32:37 +01:00

app-forensics/readpe: bump to 0.84 (previously named app-forensics/pev)

This commit is contained in:
2024-05-08 17:09:29 +02:00
parent 4c87049913
commit 6c11dd6d7b
6 changed files with 47 additions and 39 deletions

View File

@@ -1,4 +0,0 @@
AUX pev-fix-manpages-compression.patch 528 BLAKE2B 0842aa89c3643c7c111ac426620bfddcf16e6d5b14a30650e43d630ea40342ab160b922236d234cd48961d60a7b957f3831f4d172f1f911e731eee42c5e2f682 SHA512 b70d00726defaa44c56a60ed1948e349329d2f0240f9526065bfa2a3ac639226fec8fb55ae91f53cbb19e3b6d0f15fbc31b69f43990c18d55051c4a57d9b8976
DIST libpe-0_p20210819.tar.gz 120183 BLAKE2B a5c1e415e9acb88b706beec14f92241197734bfe2f45fbe58e20fcd10c7afc206774dc78efdd20c4cad3046caf1e3fde81b611d9bb67dfe2751503c9f7aa132d SHA512 5a28a1f51a44ad091dae271425c430654c97f5e80a42259568b97a2b66a236254a20821e3922036c0c01a47cdf871402fed8b1e601e6b0cc61df20287ad7ec7a
DIST pev-0.81_p20220203.tar.gz 551510 BLAKE2B 4c74fd29a4e21fc2e9792a8ff6a86509adfd9eda2223fcd261cdc0f5020c0774ce8643d2409e5ede1b1d0f6f8a0b8290a5df5edcf5cb149e082ea2b54063bbcc SHA512 5fcd7bb5ec945896750b3e9ad104e172f3104ea132f4ad3ee47315fd59bb3a2840258608d133e1c93a19f7fbaac6ce20d07d1696501c845638580a3ab2e377b9
EBUILD pev-0.81_p20220203.ebuild 1045 BLAKE2B 31dfeda01a0f8ba09d2c86ce15d45c9be442ed9ef4d5f3ce7f7271c6f5e6d98ff0e47c41d103f4c79fb603485f09da64a1552769ab67add24242cc0a492d0dbe SHA512 91e7dcc8fbfb7d7f0ac6f926867d3e8d3d91b4d9497edbb2f248489961ae13762378d99810493e09d26a50b4e9144cde634aea2e6a77113afbdba9db5e2c1293

View File

@@ -1,35 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PEV_COMMIT="2d6337beb6fa8be83d9164b45b53fd3b3300fb34"
LIBPE_COMMIT="5f44724e8fcdebf8a6b9fd009543c9dcfae4ea32"
DESCRIPTION="Multiplatform command line toolkit to work with PE binaries"
HOMEPAGE="https://github.com/merces/pev"
SRC_URI="https://github.com/merces/pev/archive/${PEV_COMMIT}.tar.gz -> ${P}.tar.gz
https://github.com/merces/libpe/archive/${LIBPE_COMMIT}.tar.gz -> libpe-0_p20210819.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${PN}-fix-manpages-compression.patch" )
S="${WORKDIR}/${PN}-${PEV_COMMIT}"
src_prepare() {
rmdir lib/libpe || die "Unable to remove libpe directory"
ln -s ../../libpe-${LIBPE_COMMIT} lib/libpe || die "Unable to symlink libpe directory"
sed -i \
-e '/^prefix/s#\([^=]*\).*$#\1= '"${EPREFIX}/usr"'#' \
-e '/^libdir/s#\([^=]*\).*$#\1= /usr/'$(get_libdir)'#' \
src/Makefile lib/libpe/Makefile || die
default
}

View File

@@ -0,0 +1 @@
DIST readpe-0.84.tar.gz 642372 BLAKE2B 59c326fad879c172c9b90964e2eb140fc4df2db3c7ee3b00324ed659fb8eb70c356036b3c601eaed6fc8e91dfc1ab29166383a5d7ded8b3d8970b601617c3f24 SHA512 facb4db30e46b05436888614302c784af543914f7aaa3c5a499352a6df71ea29c512f97304981a51f8e852a01ff95d1a3c7d885add86e8bb0c28cf805f7ed30b

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>david.guglielmi@gmail.com</email>
<name>David GUGLIELMI</name>
</maintainer>
<upstream>
<remote-id type="github">mentebinaria/readpe</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,35 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Multiplatform command line toolkit to work with PE binaries"
HOMEPAGE="https://github.com/mentebinaria/readpe"
SRC_URI="
https://github.com/mentebinaria/readpe/archive/v${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${PN}-fix-manpages-compression.patch" )
src_prepare() {
sed -i \
-e '/^prefix/s#\([^=]*\).*$#\1= '"${EPREFIX}/usr"'#' \
-e '/^libdir/s#\([^=]*\).*$#\1= /usr/'$(get_libdir)'#' \
src/Makefile lib/libpe/Makefile || die
default
}
src_compile() {
emake CC="$(tc-getCC)"
}