app-admin/su-exec: initial import

This commit is contained in:
Julian Ospald 2018-06-06 20:21:41 +02:00
parent 7dc5d614ba
commit f90af58a8a
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user='ncopa' tag="v${PV}" ]
SUMMARY="Switch user and group id and exec"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"
DEFAULT_SRC_COMPILE_PARAMS=(
CC=${CC}
)
src_prepare() {
default
edo sed -i \
-e "s/-Werror//" \
Makefile
}
src_install() {
dobin su-exec
emagicdocs
}