mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-05 15:04:24 +01:00
pypax: remove, Gentoo fixed it
This commit is contained in:
parent
e3dc00595f
commit
7f0e27a7cd
3 changed files with 0 additions and 70 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST elfix-0.9.5.tar.gz 401722 BLAKE2B 184f8944c62412675819ca86f13bcf23039ebcf069df528267f3e4272859e6cc442a1e05a7a121d88987c282d7e2f513d02f28ce41a8e3c0c226b456fa256aa6 SHA512 e15ab664357796f3a63ac54912eb43ae659947088a10ef16aafcbdd713cc3670fb0319cb2b95a2d29092866d322ef69df1d63847dfc0c4ab2cdd49e6eaa4635e
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>hardened@gentoo.org</email>
|
||||
<name>Gentoo Hardened</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="xtpax">Enable XATTR_PAX_FLAGS support.</flag>
|
||||
<flag name="ptpax">Enable PT_PAX_FLAGS support.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
||||
S="${WORKDIR}/elfix-${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Python module to get or set either PT_PAX and/or XATTR_PAX flags"
|
||||
HOMEPAGE="https://dev.gentoo.org/~blueness/elfix/
|
||||
https://wiki.gentoo.org/wiki/Project:Hardened/PaX_Quickstart"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+ptpax +xtpax"
|
||||
|
||||
REQUIRED_USE="|| ( ptpax xtpax )"
|
||||
|
||||
RDEPEND="
|
||||
ptpax? ( dev-libs/elfutils )
|
||||
xtpax? ( sys-apps/attr )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
cd scripts || die
|
||||
unset PTPAX
|
||||
unset XTPAX
|
||||
use ptpax && export PTPAX="yes"
|
||||
use xtpax && export XTPAX="yes"
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd scripts || die
|
||||
distutils-r1_src_install
|
||||
}
|
||||
Loading…
Reference in a new issue