From f90af58a8a3875d37c2192e44445632d8e644bcc Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 6 Jun 2018 20:21:41 +0200 Subject: [PATCH] app-admin/su-exec: initial import --- .../app-admin/su-exec/su-exec-0.2.exheres-0 | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packages/app-admin/su-exec/su-exec-0.2.exheres-0 diff --git a/packages/app-admin/su-exec/su-exec-0.2.exheres-0 b/packages/app-admin/su-exec/su-exec-0.2.exheres-0 new file mode 100644 index 0000000..f423ba8 --- /dev/null +++ b/packages/app-admin/su-exec/su-exec-0.2.exheres-0 @@ -0,0 +1,30 @@ +# Copyright 2018 Julian Ospald +# 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 +} +