Skip to content

Commit

Permalink
app-forensics/openscap: remove spuriouus ppc dep, add one more test dep
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
  • Loading branch information
sarnold committed Jul 16, 2023
1 parent adaca3c commit 9da0199
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app-forensics/openscap/openscap-1.3.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DESCRIPTION="NIST Certified SCAP 1.2 toolkit"

if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/OpenSCAP/openscap/releases/download/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/OpenSCAP/openscap.git"
Expand Down
1 change: 1 addition & 0 deletions net-misc/ssh-askpass-fullscreen/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST ssh-askpass-fullscreen-1.2.tar.gz 101597 BLAKE2B 86c632f83d99ed3d6934b921e499fdb75821659d5b54d380a9d7b04355b93602a481e94320d795b614f2e4c67e7a3ffe1e8380065840e31cb9f5e29c5ae8a75d SHA512 478ae81d8d8b174f9a7ba8f7071aca80503ee3ceed945f12fc44f69d08df4ede010de64ab96cacc901b5b29f4a0e4efb86c220e40f2903b8a4306acc4381f88d
79 changes: 79 additions & 0 deletions net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH SSH-ASKPASS-FULLSCREEN 1 "May 8 , 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
ssh-askpass-fullscreen \- A simple replacement for ssh-askpass written with gtk2
.SH SYNOPSIS
.B ssh-askpass-fullscreen

.SH DESCRIPTION
This manual page was written for the Debian distribution
because the original program does not have a manual page.
.PP

.B gnome-ssh-askpass
is a GNOME-based passphrase dialog for use with OpenSSH. It is
intended to be called by the
.B ssh-add(1)
program and not invoked directly. It allows
.B ssh-add(1)
to obtain a passphrase from a user, even if not connected to a terminal
(assuming that an X display is available). This happens auto-matically
in the case where
.B ssh-add
is invoked from one's
.B ~/.xsession or as one of the GNOME startup programs, for example.

In order to be called automatically by
.B ssh-add,
.B ssh-askpass-fullscreen
should be installed as /usr/bin/ssh-askpass


.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBssh-askpass-fullscreen\fP is a program that...
.SH ENVIRONMENT VARIABLES
The following environment variables are recognized:

.TP
.IR "GNOME_SSH_ASKPASS_GRAB_SERVER"
Causes gnome-ssh-askpass to grab the X server before
asking for a passphrase.

.TP
.IR "GNOME_SSH_ASKPASS_GRAB_POINTER"
Causes gnome-ssh-askpass to grab the mouse pointer will be
grabbed too.

.PP
These may have some benefit to security if you don't trust your X
server. Keyboard is always grabbed.

.TP

.SH SEE ALSO
.BR ssh-add (1),
.BR ssh-askpass (1).
.br

.SH AUTHOR
This manual page was written by Marco Presi (Zufus) <zufus@debian.org>,
for the Debian GNU/Linux system (but may be used by others) and it is
based on that for x11-ssh-askpass by Philip Hands and the one for
gnome-ssh-askpass by Colin Watson <cjwatson@debian.org>
8 changes: 8 additions & 0 deletions net-misc/ssh-askpass-fullscreen/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!--maintainer-needed-->
<upstream>
<remote-id type="github">atj/ssh-askpass-fullscreen</remote-id>
</upstream>
</pkgmetadata>
39 changes: 39 additions & 0 deletions net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2023 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 ~arm ~arm64 ~ia64 ppc ~riscv 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
}

0 comments on commit 9da0199

Please sign in to comment.