app-admin/doas: drop 6.8.1-r1, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-03-12 20:14:42 +02:00
parent 59ddcffcec
commit c5c35ccad1
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 0 additions and 53 deletions

View File

@ -1,2 +1 @@
DIST OpenDoas-6.8.1.tar.gz 32398 BLAKE2B cdaa01efaf3d164bcf6993693c86039fa4866dc1ce619731b455985ca1ebb5ebec889b540f4720c590318202de8a4b2fdf5d715f2170346818e706857b5adfa3 SHA512 d96fe1cdd70e9211de9996ad05bcf7a127facd02af48f7ab2561869d9d16708f1b61722c6e6b9fe15a62e9ef501e09b1ba444b7b43a066f1895e543ebc9402e7
DIST OpenDoas-6.8.2.tar.gz 32430 BLAKE2B 14c418537b17cb82ceb1d789acc74d17364390c04d0a8d81b65de2ce3feca800e48158c6a8ea066176edeea44252f4baa99d1abde0dfbdc548c06f96e6409984 SHA512 4a93ff477413c859ba2702e688fa4f83248fff85e61e12336838a1e9aa1a8d9963a9782e4bc5e58e8d04b86c2c8ceb6b235ae9d3b32b3e548a2514a43653137d

View File

@ -1,52 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
MY_PN=OpenDoas
MY_P=${MY_PN}-${PV}
DESCRIPTION="Run commands as super/another user (alt sudo) (unofficial port from OpenBSD)"
HOMEPAGE="https://github.com/Duncaen/OpenDoas"
SRC_URI="https://github.com/Duncaen/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}
LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="pam persist"
BDEPEND="app-alternatives/yacc"
RDEPEND="pam? ( sys-libs/pam )
!pam? ( virtual/libcrypt:= )"
DEPEND="${RDEPEND}"
src_prepare() {
default
sed -i 's/-Werror //' GNUmakefile || die
}
src_configure() {
tc-export CC AR
./configure \
--prefix="${EPREFIX}"/usr \
--sysconfdir="${EPREFIX}"/etc \
$(use_with pam) \
$(use_with persist timestamp) \
|| die "Configure failed"
}
pkg_postinst() {
if use persist ; then
ewarn "The persist/timestamp feature is disabled by default upstream."
ewarn "It may not be as secure as on OpenBSD where proper kernel support exists."
fi
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
elog "By default, doas will deny all actions."
elog "You need to create your own custom configuration at ${EROOT}/etc/doas.conf."
elog "See https://wiki.gentoo.org/wiki/Doas for guidance."
fi
}