commit: 4e3699e5d073e3e1b358c8eeac806666bf10bc0c Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Fri Jan 26 15:59:47 2018 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Fri Jan 26 15:59:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3699e5
app-admin/su-exec: Initial version Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-admin/su-exec/Manifest | 1 + app-admin/su-exec/metadata.xml | 11 +++++++++++ app-admin/su-exec/su-exec-0.2.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/app-admin/su-exec/Manifest b/app-admin/su-exec/Manifest new file mode 100644 index 00000000000..1654c0b775d --- /dev/null +++ b/app-admin/su-exec/Manifest @@ -0,0 +1 @@ +DIST su-exec-0.2.tar.gz 2426 BLAKE2B 79eda06463a238371e35dcc7acf2df9e8a7696a531a5dc9d0e9650219a5c72d71cf0e368f2178f83e949cf0f05fbc01e7023085fa2cffebcd8b78e82ab9756e2 SHA512 68155a06c716b362aee1214f22cd325b3e934c05b653d3b084a720458fb04207c0681d218b72adfd5ae8fab0262f7ab90e49eb2e218d1b0d7d7af7911715d4e1 diff --git a/app-admin/su-exec/metadata.xml b/app-admin/su-exec/metadata.xml new file mode 100644 index 00000000000..662615bdd73 --- /dev/null +++ b/app-admin/su-exec/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mr...@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <upstream> + <remote-id type="github">ncopa/su-exec</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-admin/su-exec/su-exec-0.2.ebuild b/app-admin/su-exec/su-exec-0.2.ebuild new file mode 100644 index 00000000000..4a1e1f1eab6 --- /dev/null +++ b/app-admin/su-exec/su-exec-0.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Switch user and group id and exec" +HOMEPAGE="https://github.com/ncopa/su-exec" +SRC_URI="https://github.com/ncopa/su-exec/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +src_prepare() { + default + sed -i -e "s/-Werror//" Makefile || die +} + +src_compile() { + CC=$(tc-getCC) emake +} + +src_install() { + dobin ${PN} + dodoc README.md +}