mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-admin/su-exec: Initial version
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
1
app-admin/su-exec/Manifest
Normal file
1
app-admin/su-exec/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST su-exec-0.2.tar.gz 2426 BLAKE2B 79eda06463a238371e35dcc7acf2df9e8a7696a531a5dc9d0e9650219a5c72d71cf0e368f2178f83e949cf0f05fbc01e7023085fa2cffebcd8b78e82ab9756e2 SHA512 68155a06c716b362aee1214f22cd325b3e934c05b653d3b084a720458fb04207c0681d218b72adfd5ae8fab0262f7ab90e49eb2e218d1b0d7d7af7911715d4e1
|
||||
11
app-admin/su-exec/metadata.xml
Normal file
11
app-admin/su-exec/metadata.xml
Normal file
@@ -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>
|
||||
29
app-admin/su-exec/su-exec-0.2.ebuild
Normal file
29
app-admin/su-exec/su-exec-0.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user