mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 11:58:43 -04:00
dev-util/execstack: new package, add 0_pre20130503
This commit is contained in:
parent
0b8bec8ab3
commit
dd80d4fca8
1
dev-util/execstack/Manifest
Normal file
1
dev-util/execstack/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST prelink-20130503.tar.bz2 928040 BLAKE2B cb0e6fbff85b57c8698f22750377461e127bf89f6d03e6fab2338cc50dc280036ab5d1f56b0e8eed5ebaf391f8e3e0d3c32d9df6499fa17e2e556656ba13966d SHA512 69138a695e3e535deacd8224f6f8364ff64b8868b87b516d1f3392d9df968f77265177e9fede09c38f16aa878f9fd57a9ec39f0d9deabc0c9c01609b11156ba3
|
31
dev-util/execstack/execstack-0_pre20130503.ebuild
Normal file
31
dev-util/execstack/execstack-0_pre20130503.ebuild
Normal 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
|
||||
}
|
8
dev-util/execstack/metadata.xml
Normal file
8
dev-util/execstack/metadata.xml
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user