diff options
author | Jonathan Davies <jpds@protonmail.com> | 2022-03-22 00:25:11 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-25 18:48:58 +0000 |
commit | 133c8592bd805972ab3ff8296144fa465605296d (patch) | |
tree | d67172f2983eba10e8955bdf84cd90f8ba849f2b /app-admin | |
parent | app-admin/sudo: Added verify-sig integration. (diff) | |
download | gentoo-133c8592bd805972ab3ff8296144fa465605296d.tar.gz gentoo-133c8592bd805972ab3ff8296144fa465605296d.tar.bz2 gentoo-133c8592bd805972ab3ff8296144fa465605296d.zip |
app-admin/sudo: Sync live ebuild.
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24701
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sudo/sudo-9999.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app-admin/sudo/sudo-9999.ebuild b/app-admin/sudo/sudo-9999.ebuild index 5bf3fbade179..5c23d70b6741 100644 --- a/app-admin/sudo/sudo-9999.ebuild +++ b/app-admin/sudo/sudo-9999.ebuild @@ -14,13 +14,21 @@ if [[ ${PV} == "9999" ]] ; then inherit mercurial EHG_REPO_URI="https://www.sudo.ws/repos/sudo" else + inherit verify-sig + VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/sudo.ws.asc + BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-sudo )" + uri_prefix= case ${P} in *_beta*|*_rc*) uri_prefix=beta/ ;; esac SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz - ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz" + ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz + verify-sig? ( + https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz.sig + ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz.sig + )" if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~sparc-solaris" fi @@ -58,7 +66,7 @@ RDEPEND=" selinux? ( sec-policy/selinux-sudo ) sendmail? ( virtual/mta ) " -BDEPEND=" +BDEPEND+=" sys-devel/bison virtual/pkgconfig " @@ -187,7 +195,7 @@ src_install() { fperms 0440 /etc/ldap.conf.sudo insinto /etc/openldap/schema - newins doc/schema.OpenLDAP sudo.schema + newins docs/schema.OpenLDAP sudo.schema fi if use pam; then |