diff options
Diffstat (limited to 'app-admin/su-exec')
-rw-r--r-- | app-admin/su-exec/Manifest | 3 | ||||
-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, 43 insertions, 0 deletions
diff --git a/app-admin/su-exec/Manifest b/app-admin/su-exec/Manifest new file mode 100644 index 000000000000..7e5ba2aa118b --- /dev/null +++ b/app-admin/su-exec/Manifest @@ -0,0 +1,3 @@ +DIST su-exec-0.2.tar.gz 2426 BLAKE2B 79eda06463a238371e35dcc7acf2df9e8a7696a531a5dc9d0e9650219a5c72d71cf0e368f2178f83e949cf0f05fbc01e7023085fa2cffebcd8b78e82ab9756e2 SHA512 68155a06c716b362aee1214f22cd325b3e934c05b653d3b084a720458fb04207c0681d218b72adfd5ae8fab0262f7ab90e49eb2e218d1b0d7d7af7911715d4e1 +EBUILD su-exec-0.2.ebuild 595 BLAKE2B 44e9e1e201b74506b2d1bdd0d25f8e957ba5b7dd4db859de6708bd33d2c122d046a51122f7096936621c7e60dd0e5d44e565295cba4de4b055b3d2e7f8244f9d SHA512 2a008451f0277ac2bf5e97cca68078e4f333f0b488ca8750b22e75dc6424d45ce34c214e5b6513835b8faba6c40caab1506ec8e208ea231f2144ea2fb0d6a4cf +MISC metadata.xml 323 BLAKE2B 56dfb262d3d2714721cbd8436aaaa6628ca11013bc801a7d9a18fa5a87d4e20e41d98584f344a98b8f697ad6427f6641bba7090b562594b08995e8b31d4d2292 SHA512 3eadc250f3acadea3d3b3f29ef78380ed153b12b34b5e752dd088470949dec3590889b8daa6db37472ed043a10f14f5bf2e8c280fae7efd3ee398fa5d88b0caf 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..f51e2f258af4 --- /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="static" + +src_prepare() { + default + sed -i -e "s/-Werror//" Makefile || die +} + +src_compile() { + CC=$(tc-getCC) emake $(usex static "${PN}-static" "") +} + +src_install() { + newbin ${PN}$(usex static "-static" "") ${PN} + dodoc README.md +} |