mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
net-misc/gnome-ssh-askpass: new package, add 9.1_p1
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
This commit is contained in:
2
net-misc/gnome-ssh-askpass/Manifest
Normal file
2
net-misc/gnome-ssh-askpass/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST openssh-9.1p1.tar.gz 1838747 BLAKE2B 287b6b1cc4858b27af88f4a4674670afff1fb5b99461892083393c53ef3747c5a0fcd90cba95d2c27465a919e00f7f42732c93af4f306665ba0393bbb7a534f5 SHA512 a1f02c407f6b621b1d0817d1a0c9a6839b67e416c84f3b76c63003b119035b24c19a1564b22691d1152e1d2d55f4dc7eb1af2d2318751e431a99c4efa77edc70
|
||||
DIST openssh-9.1p1.tar.gz.asc 833 BLAKE2B 83efe3c705f6a02c25a9fc9bac2a4efd77470598d9e0fcb86dff2d265c58cffec1afecad3621769b2bd78ac25884f0ee20ae9b311e895db93e3bb552dffd6e74 SHA512 47dc7295f9694250bcbb86d7ca0830a47da4f3df7795bb05ebaf1590284ccce5317022c536bea1b09bd2fa4d8013295cc0de287ebe3f9dc605582077e9f11ddd
|
||||
64
net-misc/gnome-ssh-askpass/gnome-ssh-askpass-9.1_p1.ebuild
Normal file
64
net-misc/gnome-ssh-askpass/gnome-ssh-askpass-9.1_p1.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs verify-sig
|
||||
|
||||
PARCH=openssh-9.1p1
|
||||
|
||||
DESCRIPTION="GTK-based passphrase dialog for use with OpenSSH"
|
||||
HOMEPAGE="https://www.openssh.com/"
|
||||
SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz
|
||||
verify-sig? ( mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz.asc )
|
||||
"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/openssh.org.asc
|
||||
S="${WORKDIR}/${PARCH}"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="gtk2 +gtk3 verify-sig"
|
||||
REQUIRED_USE="|| ( gtk2 gtk3 )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( sec-keys/openpgp-keys-openssh )
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# We don't have signatures for HPN, X509, so we have to write this ourselves
|
||||
use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${PARCH}.tar.gz{,.asc}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
true
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd contrib
|
||||
|
||||
use gtk2 && emake gnome-ssh-askpass2
|
||||
use gtk3 && emake gnome-ssh-askpass3
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use gtk2 && ( dobin contrib/gnome-ssh-askpass2; \
|
||||
echo "export SSH_ASKPASS='${EPREFIX}/usr/bin/gnome-ssh-askpass2'" > "${T}/99gnome_ssh_askpass" \
|
||||
|| die "envd file creation failed" )
|
||||
|
||||
use gtk3 && ( dobin contrib/gnome-ssh-askpass3; \
|
||||
echo "export SSH_ASKPASS='${EPREFIX}/usr/bin/gnome-ssh-askpass3'" > "${T}/99gnome_ssh_askpass" \
|
||||
|| die "envd file creation failed" )
|
||||
|
||||
doenvd "${T}"/99gnome_ssh_askpass
|
||||
}
|
||||
Reference in New Issue
Block a user