commit: a7cfa7a4dc0e4629826f3fffd05fadd0995d64fb
Author: Titouan Llusca <titouan.llusca <AT> gmail <DOT> com>
AuthorDate: Tue Oct 28 14:06:36 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Oct 28 14:10:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a7cfa7a4
app-admin/doasedit: new package, add 1.0.8, 9999
Signed-off-by: Titouan Llusca <titouan.llusca <AT> gmail.com>
app-admin/doasedit/Manifest | 1 +
app-admin/doasedit/doasedit-1.0.8.ebuild | 31 +++++++++++++++++++++++++++++++
app-admin/doasedit/doasedit-9999.ebuild | 31 +++++++++++++++++++++++++++++++
app-admin/doasedit/metadata.xml | 11 +++++++++++
4 files changed, 74 insertions(+)
diff --git a/app-admin/doasedit/Manifest b/app-admin/doasedit/Manifest
new file mode 100644
index 0000000000..119cc6db56
--- /dev/null
+++ b/app-admin/doasedit/Manifest
@@ -0,0 +1 @@
+DIST doasedit-1.0.8.tar.gz 5406 BLAKE2B
28762362869fc95d89b227ed2a7a6e705bb1269818a8aefb45f627146b9cda281d6a597809df6e2aa7da96075e69cc4763f9bd650d3ca82a7d5c9c4e7966df8e
SHA512
7194018653eb634a8571ab64afcf377a4fd3c4f641484da020dbd35061b513cf012c66fa9ef452794794d0f18046428205278c3de9aaf0611a801471224621d4
diff --git a/app-admin/doasedit/doasedit-1.0.8.ebuild
b/app-admin/doasedit/doasedit-1.0.8.ebuild
new file mode 100644
index 0000000000..c4ba799449
--- /dev/null
+++ b/app-admin/doasedit/doasedit-1.0.8.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} != "9999" ]]; then
+
SRC_URI="https://codeberg.org/TotallyLeGIT/doasedit/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://codeberg.org/TotallyLeGIT/doasedit.git"
+ S="${WORKDIR}/${P}"
+fi
+
+DESCRIPTION="Edit files as root using an unprivileged editor"
+HOMEPAGE="https://codeberg.org/TotallyLeGIT/doasedit"
+
+LICENSE="MIT"
+
+SLOT="0"
+
+RDEPEND="
+ app-admin/doas
+"
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ install
+}
diff --git a/app-admin/doasedit/doasedit-9999.ebuild
b/app-admin/doasedit/doasedit-9999.ebuild
new file mode 100644
index 0000000000..c4ba799449
--- /dev/null
+++ b/app-admin/doasedit/doasedit-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} != "9999" ]]; then
+
SRC_URI="https://codeberg.org/TotallyLeGIT/doasedit/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://codeberg.org/TotallyLeGIT/doasedit.git"
+ S="${WORKDIR}/${P}"
+fi
+
+DESCRIPTION="Edit files as root using an unprivileged editor"
+HOMEPAGE="https://codeberg.org/TotallyLeGIT/doasedit"
+
+LICENSE="MIT"
+
+SLOT="0"
+
+RDEPEND="
+ app-admin/doas
+"
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ install
+}
diff --git a/app-admin/doasedit/metadata.xml b/app-admin/doasedit/metadata.xml
new file mode 100644
index 0000000000..0f9e52a9ee
--- /dev/null
+++ b/app-admin/doasedit/metadata.xml
@@ -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>Titouan Llusca</name>
+ <email>[email protected]</email>
+</maintainer>
+<upstream>
+ <remote-id type="codeberg">TotallyLeGIT/doasedit</remote-id>
+</upstream>
+</pkgmetadata>