Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602954 - app-admin/su-exec - simple tool that will simply execute a program with different privileges
Summary: app-admin/su-exec - simple tool that will simply execute a program with diffe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-17 19:43 UTC by Konstantin
Modified: 2019-05-09 01:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
su-exec-0.2.ebild (su-exec-0.2.ebuild,377 bytes, text/plain)
2016-12-17 19:43 UTC, Konstantin
Details
su-exec-0.2.ebuild (file_602954.txt,435 bytes, text/plain)
2017-01-31 11:59 UTC, Konstantin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin 2016-12-17 19:43:15 UTC
Created attachment 456518 [details]
su-exec-0.2.ebild

Hi!

Please find attached su-exec-0.2.ebuild This is small (builds to a 10kb binary) and useful utility for building containers and embedded systems. 

>> tool that will simply execute a program with different privileges. The program will not run as a child, like su and sudo, so we work around TTY and signal issues.
Comment 1 Konstantin 2016-12-17 19:46:50 UTC
Comment on attachment 456518 [details]
su-exec-0.2.ebild

># Copyright 1999-2016 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Id$
>
>EAPI=6
>
>DESCRIPTION="This is a simple tool that will simply execute a program with different privileges"
>SLOT="0"
>
>HOMEPAGE="https://github.com/ncopa/su-exec"
>
>SRC_URI="https://github.com/ncopa/${PN}/archive/v${PV}.zip -> ${P}.zip"
>
>LICENSE="MIT"
>
>KEYWORDS='~*'
Comment 2 Konstantin 2017-01-31 11:56:38 UTC
Comment on attachment 456518 [details]
su-exec-0.2.ebild

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

DESCRIPTION="This is a simple tool that will simply execute a program with different privileges"
SLOT="0"

HOMEPAGE="https://github.com/ncopa/su-exec"

SRC_URI="https://github.com/ncopa/${PN}/archive/v${PV}.zip -> ${P}.zip"

LICENSE="MIT"

KEYWORDS='~*'

src_install()
{
    dobin su-exec
}
Comment 3 Konstantin 2017-01-31 11:59:47 UTC
Created attachment 461962 [details]
su-exec-0.2.ebuild