mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
app-admin/doas-sudo-shim: new package, add 0.2.0
Signed-off-by: Theron York <theron.york@cloudnuke.org>
This commit is contained in:
1
app-admin/doas-sudo-shim/Manifest
Normal file
1
app-admin/doas-sudo-shim/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST doas-sudo-shim-0.2.0.tar.gz 5442 BLAKE2B 34d69829d3d03fd1c3c4040b4a9d1a5546e8db17ed3cb9caec9c1e218289e38a7b18cc55fe36bdcb1505a511c1d4f94b9c5602516b1006d9a919fe9c7b73d4e4 SHA512 fb646c2bbee1ac31e0bcac58cbcbc14c008c2bd4820a9e06a0316c625c44e64631724c45dfb493e21c9628d9ec2de802fe3ec92f176c86975858aba71cc8e23d
|
||||
27
app-admin/doas-sudo-shim/doas-sudo-shim-0.2.0.ebuild
Normal file
27
app-admin/doas-sudo-shim/doas-sudo-shim-0.2.0.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="sudo shim that utilizes doas"
|
||||
HOMEPAGE="https://github.com/jirutka/doas-sudo-shim"
|
||||
SRC_URI="https://github.com/jirutka/doas-sudo-shim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="app-admin/doas"
|
||||
|
||||
src_install() {
|
||||
dobin sudo
|
||||
dodoc README.adoc LICENSE
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This package installs a 'sudo' script that forwards commands to doas."
|
||||
elog "It conflicts with app-admin/sudo because both provide /usr/bin/sudo."
|
||||
elog "To use this shim, either remove app-admin/sudo or mask it."
|
||||
elog "Make sure your /etc/doas.conf is configured properly."
|
||||
}
|
||||
11
app-admin/doas-sudo-shim/metadata.xml
Normal file
11
app-admin/doas-sudo-shim/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Theron York</name>
|
||||
<email>theron.york@cloudnuke.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jirutka/doas-sudo-shim</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user