diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-01-26 16:59:47 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-01-26 16:59:47 +0100 |
commit | 4e3699e5d073e3e1b358c8eeac806666bf10bc0c (patch) | |
tree | ec187099cb7c3893c6236c06f64af9ba62c372e1 /app-admin/su-exec | |
parent | app-antivirus/clamav: rev bump to fix fd leak in cli_scanscript (diff) | |
download | gentoo-4e3699e5d073e3e1b358c8eeac806666bf10bc0c.tar.gz gentoo-4e3699e5d073e3e1b358c8eeac806666bf10bc0c.tar.bz2 gentoo-4e3699e5d073e3e1b358c8eeac806666bf10bc0c.zip |
app-admin/su-exec: Initial version
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-admin/su-exec')
-rw-r--r-- | app-admin/su-exec/Manifest | 1 | ||||
-rw-r--r-- | app-admin/su-exec/metadata.xml | 11 | ||||
-rw-r--r-- | app-admin/su-exec/su-exec-0.2.ebuild | 29 |
3 files changed, 41 insertions, 0 deletions
diff --git a/app-admin/su-exec/Manifest b/app-admin/su-exec/Manifest new file mode 100644 index 000000000000..1654c0b775dd --- /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 000000000000..662615bdd73c --- /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>mrueg@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 000000000000..4a1e1f1eab69 --- /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 +} |