From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 36DE91399E9 for ; Fri, 4 Sep 2015 00:14:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6EA0142A9; Fri, 4 Sep 2015 00:14:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5644714283 for ; Fri, 4 Sep 2015 00:14:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54E6234091E for ; Fri, 4 Sep 2015 00:14:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AC10182 for ; Fri, 4 Sep 2015 00:14:21 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1441325681.c7c8c91c2521fa9922cbe5d87ded26003bef93d2.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/elfix/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/elfix/elfix-9999.ebuild X-VCS-Directories: sys-apps/elfix/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: c7c8c91c2521fa9922cbe5d87ded26003bef93d2 X-VCS-Branch: master Date: Fri, 4 Sep 2015 00:14:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 463a6914-2148-46e9-9513-73da7840db5f X-Archives-Hash: ef48383d82598c6bc661d074fcd5ff2a commit: c7c8c91c2521fa9922cbe5d87ded26003bef93d2 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Sep 4 00:14:41 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Sep 4 00:14:41 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c8c91c sys-apps/elfix: add 9999 version Package-Manager: portage-2.2.20.1 sys-apps/elfix/elfix-9999.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/sys-apps/elfix/elfix-9999.ebuild b/sys-apps/elfix/elfix-9999.ebuild new file mode 100644 index 0000000..f303c41 --- /dev/null +++ b/sys-apps/elfix/elfix-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~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 +}