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 --- sys-apps/elfix/Manifest | 6 +++++ sys-apps/elfix/elfix-0.9.2.ebuild | 49 +++++++++++++++++++++++++++++++++++++++ sys-apps/elfix/elfix-9999.ebuild | 49 +++++++++++++++++++++++++++++++++++++++ sys-apps/elfix/metadata.xml | 16 +++++++++++++ 4 files changed, 120 insertions(+) create mode 100644 sys-apps/elfix/Manifest create mode 100644 sys-apps/elfix/elfix-0.9.2.ebuild create mode 100644 sys-apps/elfix/elfix-9999.ebuild create mode 100644 sys-apps/elfix/metadata.xml (limited to 'sys-apps/elfix') diff --git a/sys-apps/elfix/Manifest b/sys-apps/elfix/Manifest new file mode 100644 index 000000000000..9d29791bf4ab --- /dev/null +++ b/sys-apps/elfix/Manifest @@ -0,0 +1,6 @@ +DIST elfix-0.9.2.tar.gz 398758 SHA256 1a50ec57d6f5d1b25dcaaaf15f82849774e9e4e7e263cee3aa4936c5e3d6f071 SHA512 a7be30722abe7249ec42024d33b2bda00524cfb85da66b4511c5056efbdbfae1d3c2b42048bcf4d5cb7c0ae675f763b74a834d93a25b541ebac42fddcd2c6cf9 WHIRLPOOL aead1a63612ea187dc00aa52ee2c18431036176aae2e0e08d3138ced751f28947ee8045dd63dae67f89946d5b64e705a6b6d45b884d3d9da1d7e6e03b37ed700 +EBUILD elfix-0.9.2.ebuild 1129 SHA256 79a9a5ca0253e2d16a53e51fc1dce1d62764e442713346619221fd76a43f7d11 SHA512 ec804aad98f81c5354d5de715cdf1032d03a149bdbbe04288d1c2cf77c0bb2b99003d2d55e87a8d8de4d761e18af7a110b2925a8771062543939d8d0533c991c WHIRLPOOL 69d6cb9f160cd0cadb92bf39315cc053c3c02c2a562a540e1625b312567a48a0486b4ddcf5104921715d6094b4ad33cab040429120b7b4fee2c8e363833ae7d1 +EBUILD elfix-9999.ebuild 1138 SHA256 cd13a439133011886a9024199138ddda1de840ca082697e0f1e94b2a266596c2 SHA512 b80e67c75acd1110accd8d3808cf728fa96e997a570878b08b128f8e6364c0936ed39f00f66b6486b7520ba44aebd3b5ea9c05895ec1d470d8c7673f291c51a1 WHIRLPOOL 7363a68e5c3498dbf93657c3b7a00f4835654f958d9550947d2200219b636c762ca4bedd655b9762b546b55ae00b0f0e6c7f6cf850bedecefbc5ccc4d4cebdbf +MISC ChangeLog 5508 SHA256 1c273d28df8193e2d9067f96fe378087b3eba3eb7918644fbf89409818a937a9 SHA512 b2220d713c98e8d450fb512a3256920b53bdbbc0c7ca384992574a64b3ca82297763b9c95d4ad530bc6b634a0693c6dad1dddb5e7ed44a364ccbce39e9808074 WHIRLPOOL df61ccc4b576f0a838c3341980b6592756ae96583be3d884450fc81ecd10a7be2e252fe31dd7afb05bc615bacccd7a6fb0e33d254611d8f53d4d7c40a6bbe92a +MISC ChangeLog-2015 12780 SHA256 5a7b6fa8cb7286ccb37533b18b8d52b715e82b0937dd399b6166c50b3cb2b2d3 SHA512 bb56097843b102cc511c413afaca4b8e169c7cb0cc64c028316f2a31edb491743c8e2c98d36f7653b1e1bd88d7f35b0e9b67033bdb97da52051ed9b938ddc1c9 WHIRLPOOL 6395a4f6e07903db08c9d146e19fa8d2dd88c23551901ad7442bb99aecbbdbc96fd6cece842f8fbbe3b29f04332b9e629a9d13f6c7691f369caf215abddd9ff1 +MISC metadata.xml 496 SHA256 ea5638fded7b4b7b46dc90d850a7edcb1a4d1938fd3868270ac6e53c0ae4584c SHA512 b934fa247d4d5bb1d188de8bead5980aba83abe50423dd1e56c534b762b535faa242dbab58021e91bea43951542dc4f5885aff3754cc0957f01e86832bdd2c5e WHIRLPOOL 56a087c92f0e12adf02ad62c5e042af5d81a8835cdefc3720191a3a7f2dec4f10a7cd8daeb490573513b54606259a5dbdbf9aff6eabb2c420834f66731e265df diff --git a/sys-apps/elfix/elfix-0.9.2.ebuild b/sys-apps/elfix/elfix-0.9.2.ebuild new file mode 100644 index 000000000000..11349cf6d6f6 --- /dev/null +++ b/sys-apps/elfix/elfix-0.9.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils + +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/${P}.tar.gz" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86" +fi + +DESCRIPTION="A suite of tools to work with ELF objects on Hardened Gentoo" +HOMEPAGE="https://www.gentoo.org/proj/en/hardened/pax-quickstart.xml + https://dev.gentoo.org/~blueness/elfix/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+ptpax +xtpax" + +REQUIRED_USE="|| ( ptpax xtpax )" + +# These only work with a properly configured PaX kernel +RESTRICT="test" + +DEPEND="~dev-python/pypax-${PV}[ptpax=,xtpax=] + ptpax? ( dev-libs/elfutils ) + xtpax? ( sys-apps/attr )" + +RDEPEND="${DEPEND}" + +src_prepare() { + [[ ${PV} == "9999" ]] && ./autogen.sh +} + +src_configure() { + rm -f "${S}/scripts/setup.py" + econf --disable-tests \ + $(use_enable ptpax) \ + $(use_enable xtpax) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog INSTALL README THANKS TODO +} diff --git a/sys-apps/elfix/elfix-9999.ebuild b/sys-apps/elfix/elfix-9999.ebuild new file mode 100644 index 000000000000..9e35e46644dc --- /dev/null +++ b/sys-apps/elfix/elfix-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils + +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/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +fi + +DESCRIPTION="A suite of tools to work with ELF objects on Hardened Gentoo" +HOMEPAGE="https://www.gentoo.org/proj/en/hardened/pax-quickstart.xml + https://dev.gentoo.org/~blueness/elfix/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+ptpax +xtpax" + +REQUIRED_USE="|| ( ptpax xtpax )" + +# These only work with a properly configured PaX kernel +RESTRICT="test" + +DEPEND="~dev-python/pypax-${PV}[ptpax=,xtpax=] + ptpax? ( dev-libs/elfutils ) + xtpax? ( sys-apps/attr )" + +RDEPEND="${DEPEND}" + +src_prepare() { + [[ ${PV} == "9999" ]] && ./autogen.sh +} + +src_configure() { + rm -f "${S}/scripts/setup.py" + econf --disable-tests \ + $(use_enable ptpax) \ + $(use_enable xtpax) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog INSTALL README THANKS TODO +} diff --git a/sys-apps/elfix/metadata.xml b/sys-apps/elfix/metadata.xml new file mode 100644 index 000000000000..66a241e9f76d --- /dev/null +++ b/sys-apps/elfix/metadata.xml @@ -0,0 +1,16 @@ + + + + + blueness@gentoo.org + Anthony G. Basile + + + hardened@gentoo.org + Gentoo Hardened + + + Enable XATTR_PAX_FLAGS support. + Enable PT_PAX_FLAGS support. + + -- cgit v1.2.3