From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/pypax/Manifest | 6 +++++ dev-python/pypax/metadata.xml | 20 ++++++++++++++++ dev-python/pypax/pypax-0.9.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++ dev-python/pypax/pypax-9999.ebuild | 48 +++++++++++++++++++++++++++++++++++++ 4 files changed, 122 insertions(+) create mode 100644 dev-python/pypax/Manifest create mode 100644 dev-python/pypax/metadata.xml create mode 100644 dev-python/pypax/pypax-0.9.2.ebuild create mode 100644 dev-python/pypax/pypax-9999.ebuild (limited to 'dev-python/pypax') diff --git a/dev-python/pypax/Manifest b/dev-python/pypax/Manifest new file mode 100644 index 000000000000..94302c0ab6b2 --- /dev/null +++ b/dev-python/pypax/Manifest @@ -0,0 +1,6 @@ +DIST elfix-0.9.2.tar.gz 398758 SHA256 1a50ec57d6f5d1b25dcaaaf15f82849774e9e4e7e263cee3aa4936c5e3d6f071 SHA512 a7be30722abe7249ec42024d33b2bda00524cfb85da66b4511c5056efbdbfae1d3c2b42048bcf4d5cb7c0ae675f763b74a834d93a25b541ebac42fddcd2c6cf9 WHIRLPOOL aead1a63612ea187dc00aa52ee2c18431036176aae2e0e08d3138ced751f28947ee8045dd63dae67f89946d5b64e705a6b6d45b884d3d9da1d7e6e03b37ed700 +EBUILD pypax-0.9.2.ebuild 1089 SHA256 bb3f3b441630b13a6a02ace6e4f6a76e903a19eab4e3ad6344c9fd182d4cb48d SHA512 49de33ef1c9417d9d3118f489ff428974191547b30a467a52892f83c7e5409aab2000aa6980b760144bcc41f68f4abd44e4afd34373ed282f3f12326503c8368 WHIRLPOOL 77f70c108c74fc5903363b2afc5e247b40ba71c45096cc30a74c8401d16ba5d806281fe489e10e70b367cc8fd3085355a2beab0d824d911e830ff85d91935c65 +EBUILD pypax-9999.ebuild 1100 SHA256 9736749ae54a7f7bc849071a1e6ae5ff697345a4dfe706f8ac9a507ddf3bfc2f SHA512 f4d0260ae9c58141589132d8d7cd8cf0066759b7014eab815e9f8266046595d6210baa61da4d54456f288fe5a38f377838090d322397c8f34e4a104fb44ccd68 WHIRLPOOL 6a6634d3b34bf1b12c56282ceb38f9fe222f3bf56011025794e2a8976ea340c53dba29849db1c9182f0109adc699862e81053b7c1371b137b0bf4af7f6201d30 +MISC ChangeLog 5797 SHA256 a7737098ab02ce4678a541da1fd95c3af17347509b144a9f29c48cb482140242 SHA512 0523e640c9b3887214bce6167eb82fabf24863f43296af9a94dba550ab24a099d4a37e996a295f712c0980e3deb67f52fe0b92a6e3e38465892fc1acfb0198f4 WHIRLPOOL caa87e44ec495dda230d9e2d9bffb632ff05ad198c35aad98b0b6d0506214bbc28c9d471aca50ef1d92482fddede7352fd1809254d2843011d4bd67a395a2eaf +MISC ChangeLog-2015 12040 SHA256 f4db17e69dbb409cc06ad9b8de295d2a5219ce08f5069b7f868b1bad038a22fa SHA512 cbe9487651e5019a36c7607b0ec74ffa9a65f8bc16a0ae36873c9efb28d2a011ede094e15b683b2c46ccba2bfd60852675155ccd8e2a46f98c244d64e7a04ea2 WHIRLPOOL 2e20773724a3607263f15bc695bbb966f4b4951b8b22120917edce8ef0d9e582754413879a2c101a4faf735b856e1f6043c2a78bbd3cf5a9c40fce9a55e27742 +MISC metadata.xml 597 SHA256 beb633159c631840f1ddb2f700689e6499eaeda6d468a6baf712211fd8182d96 SHA512 d5820da1b741114d7ecaf7cb7f0b6f1c08d675e53992c8fbf87f562c3b949ff7336e093a3a502202e671be299310c14a2a38b8d54d3485e0d9064964eb1ed87b WHIRLPOOL 207f6a858c8981ffc6f3965766bd0d66561609f92598ff283e76a7fc888151733359d8ce74bae6550cb94cbc396afbfa56fd29e85989f4a7d36c1493c34e24df diff --git a/dev-python/pypax/metadata.xml b/dev-python/pypax/metadata.xml new file mode 100644 index 000000000000..caddff84b5bc --- /dev/null +++ b/dev-python/pypax/metadata.xml @@ -0,0 +1,20 @@ + + + + + blueness@gentoo.org + Anthony G. Basile + + + hardened@gentoo.org + Gentoo Hardened + + + python@gentoo.org + Python + + + Enable XATTR_PAX_FLAGS support. + Enable PT_PAX_FLAGS support. + + diff --git a/dev-python/pypax/pypax-0.9.2.ebuild b/dev-python/pypax/pypax-0.9.2.ebuild new file mode 100644 index 000000000000..d6d789eeeda0 --- /dev/null +++ b/dev-python/pypax/pypax-0.9.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/elfix.git" + inherit git-2 +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://www.gentoo.org/proj/en/hardened/pax-quickstart.xml" + +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 +} diff --git a/dev-python/pypax/pypax-9999.ebuild b/dev-python/pypax/pypax-9999.ebuild new file mode 100644 index 000000000000..21130e24c551 --- /dev/null +++ b/dev-python/pypax/pypax-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/elfix.git" + inherit git-2 +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://www.gentoo.org/proj/en/hardened/pax-quickstart.xml" + +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 +} -- cgit v1.2.3