commit:     d5caee8e3b0c2e422cd3382853d345b54b3a2ed4
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 17:39:48 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 17:41:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5caee8e

net-misc/ssh-askpass-fullscreen: ver and EAPI bump

* Bump version
* Bump EAPI
* Drop to m-n as Gnome does not maintain this ebuild
* Install custom man page

Bug: https://bugs.gentoo.org/742146
Closes: https://bugs.gentoo.org/606714
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 net-misc/ssh-askpass-fullscreen/Manifest           |  1 +
 net-misc/ssh-askpass-fullscreen/metadata.xml       |  8 +----
 .../ssh-askpass-fullscreen-1.2.ebuild              | 39 ++++++++++++++++++++++
 3 files changed, 41 insertions(+), 7 deletions(-)

diff --git a/net-misc/ssh-askpass-fullscreen/Manifest 
b/net-misc/ssh-askpass-fullscreen/Manifest
index 05daa95003f..4a6e17df42e 100644
--- a/net-misc/ssh-askpass-fullscreen/Manifest
+++ b/net-misc/ssh-askpass-fullscreen/Manifest
@@ -1 +1,2 @@
 DIST ssh-askpass-fullscreen-1.0.tar.bz2 69301 BLAKE2B 
c47e3123f94504162cec237d6c2ff61825b655efaa9bff2710650cce3e2cb45b10ff842c4d88002461ab51c410dd9fc748ee4cdca7cea56e67bc22497b427e7b
 SHA512 
272b7d8bcbfb997530afcb6c619180b625e6753e1dc86cba30f30fa594cd71ec8bfc522b0fb8aee5842cb7a4532a00fc1e0954def9ac81a1b521360d7140f52b
+DIST ssh-askpass-fullscreen-1.2.tar.gz 101597 BLAKE2B 
86c632f83d99ed3d6934b921e499fdb75821659d5b54d380a9d7b04355b93602a481e94320d795b614f2e4c67e7a3ffe1e8380065840e31cb9f5e29c5ae8a75d
 SHA512 
478ae81d8d8b174f9a7ba8f7071aca80503ee3ceed945f12fc44f69d08df4ede010de64ab96cacc901b5b29f4a0e4efb86c220e40f2903b8a4306acc4381f88d

diff --git a/net-misc/ssh-askpass-fullscreen/metadata.xml 
b/net-misc/ssh-askpass-fullscreen/metadata.xml
index 796542559d7..58f638b2ac3 100644
--- a/net-misc/ssh-askpass-fullscreen/metadata.xml
+++ b/net-misc/ssh-askpass-fullscreen/metadata.xml
@@ -1,11 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo GNOME Desktop</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="github">atj/ssh-askpass-fullscreen</remote-id>
-       </upstream>
+       <!--maintainer-needed-->
 </pkgmetadata>

diff --git a/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild 
b/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild
new file mode 100644
index 00000000000..9a508e4b02a
--- /dev/null
+++ b/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="A small SSH Askpass replacement written with GTK2"
+HOMEPAGE="https://github.com/atj/ssh-askpass-fullscreen";
+SRC_URI="https://github.com/atj/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.10.0:2
+       x11-libs/libX11"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       # automake-1.13 fix, bug #468764
+       sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.ac || die 
"sed #1 failed"
+
+       eapply_user
+       eautoreconf
+}
+
+src_install() {
+       default
+
+       doman "${FILESDIR}"/ssh-askpass-fullscreen.1
+
+       # Automatically display the passphrase dialog - see bug #437764
+       echo "SSH_ASKPASS='${EPREFIX}/usr/bin/ssh-askpass-fullscreen'" >> 
"${T}/99ssh_askpass" \
+               || die "envd file creation failed"
+       doenvd "${T}"/99ssh_askpass
+}

Reply via email to