From 7f0ccc917c7abe6223784c703d86cd14755691fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jul 2021 22:39:47 +0100 Subject: gentoo resync : 03.07.2021 --- app-admin/doas/Manifest | 2 +- app-admin/doas/doas-6.8.1-r1.ebuild | 52 +++++++++++++++++++++++++++++++++++++ app-admin/doas/doas-6.8.1.ebuild | 51 ------------------------------------ 3 files changed, 53 insertions(+), 52 deletions(-) create mode 100644 app-admin/doas/doas-6.8.1-r1.ebuild delete mode 100644 app-admin/doas/doas-6.8.1.ebuild (limited to 'app-admin/doas') diff --git a/app-admin/doas/Manifest b/app-admin/doas/Manifest index d00f7472e71e..69e890f0d91d 100644 --- a/app-admin/doas/Manifest +++ b/app-admin/doas/Manifest @@ -1,3 +1,3 @@ DIST OpenDoas-6.8.1.tar.gz 32398 BLAKE2B cdaa01efaf3d164bcf6993693c86039fa4866dc1ce619731b455985ca1ebb5ebec889b540f4720c590318202de8a4b2fdf5d715f2170346818e706857b5adfa3 SHA512 d96fe1cdd70e9211de9996ad05bcf7a127facd02af48f7ab2561869d9d16708f1b61722c6e6b9fe15a62e9ef501e09b1ba444b7b43a066f1895e543ebc9402e7 -EBUILD doas-6.8.1.ebuild 1325 BLAKE2B 56415a510bf24adbb6eb0939330d767b9c81d60b0f058f23bb81b2d7907aba83dd74f697acc4a450f0dbbdd303edb901cda1eb719f866dc7c5d64391404b49d2 SHA512 b5661cc423a209c959945304e20ed30f531d6399423ead251d2ed9f9ae09f8b6e31d02bbd1f32f226629711b73e8d48d3fa4112ae21e00bc318f1cec31008260 +EBUILD doas-6.8.1-r1.ebuild 1355 BLAKE2B 0283d5a6535c46ed3dbcb3bbdf3aefd6beac4ffdba0bfb68d3e840dcc9c71a59f84647042e060f7f9a49634124b130d08a441f01b567734f5161dec2ba863812 SHA512 4ab87324a68230c9ab418c0e97b8a24ef12fb53536bed890461dd7e8ddf0bfdc8e34f0bca9b8c41bd32ea07bb7b9059d2302d2740d0730457c9d8f39fe166c38 MISC metadata.xml 557 BLAKE2B 69a4a6528247efce28e3da9d035f1c4cdc83854a2ca78b83a75be542e8aad9874ed74fb6e07f5b7811d8fa23d1cf1adb11d9a86a687e4b6649709aef2bbaea56 SHA512 b89cfe499bf3fa4630a29ad3966f538e2c111710e4cfd035c945490394c8577ce1150cdecaff1f1548774d8b219b66b6f7faebc95861e1093edc9445fb5b7ffc diff --git a/app-admin/doas/doas-6.8.1-r1.ebuild b/app-admin/doas/doas-6.8.1-r1.ebuild new file mode 100644 index 000000000000..87b3c2c97b6d --- /dev/null +++ b/app-admin/doas/doas-6.8.1-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 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 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="pam persist" + +BDEPEND="virtual/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 +} diff --git a/app-admin/doas/doas-6.8.1.ebuild b/app-admin/doas/doas-6.8.1.ebuild deleted file mode 100644 index 60e9377fd334..000000000000 --- a/app-admin/doas/doas-6.8.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 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 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="pam persist" - -BDEPEND="virtual/yacc" -RDEPEND="pam? ( sys-libs/pam )" -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 -} -- cgit v1.2.3