dev-util/execstack: new package, add 0_pre20130503

This commit is contained in:
qwe795138426 2025-02-14 10:36:42 +00:00 committed by peeweep
parent 0b8bec8ab3
commit dd80d4fca8
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST prelink-20130503.tar.bz2 928040 BLAKE2B cb0e6fbff85b57c8698f22750377461e127bf89f6d03e6fab2338cc50dc280036ab5d1f56b0e8eed5ebaf391f8e3e0d3c32d9df6499fa17e2e556656ba13966d SHA512 69138a695e3e535deacd8224f6f8364ff64b8868b87b516d1f3392d9df968f77265177e9fede09c38f16aa878f9fd57a9ec39f0d9deabc0c9c01609b11156ba3

View File

@ -0,0 +1,31 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="set the executable stack flag of ELF binaries and libraries"
HOMEPAGE="https://people.redhat.com/jakub/prelink"
SRC_URI="https://people.redhat.com/jakub/prelink/prelink-20130503.tar.bz2"
S="${WORKDIR}"/prelink
LICENSE="GPL-1+"
SLOT="0"
KEYWORDS="~amd64"
src_prepare() {
default
# fix libelf detection
sed -i 's/#include <string.h>/&\n#include <unistd.h>/' m4/libelf.m4 || die
eautoreconf
}
src_compile() {
cd src
emake execstack
}
src_install() {
dobin src/execstack
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>qwe7951384261@outlook.com</email>
<name>Yining Feng</name>
</maintainer>
</pkgmetadata>