Thanks, applied as 13f216eb26eea7096794daa93a29f9b679ba1dea. Michael
[sent from post-receive hook] On Sun, 24 Sep 2023 07:44:53 +0200, Alexander Dahl <a...@thorsis.com> wrote: > As noted by sshpass itself and Debian: using this is a potential > security risk, consider pubkey auth first! > > Link: https://sourceforge.net/projects/sshpass/ > Signed-off-by: Alexander Dahl <a...@thorsis.com> > Message-Id: <20230921115128.1020018-1-...@thorsis.com> > Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de> > > diff --git a/rules/sshpass.in b/rules/sshpass.in > new file mode 100644 > index 000000000000..b855016e2340 > --- /dev/null > +++ b/rules/sshpass.in > @@ -0,0 +1,22 @@ > +## SECTION=networking > + > +config SSHPASS > + tristate > + prompt "sshpass" > + help > + Sshpass is a tool for non-interactivly performing password > + authentication with SSH's so called "interactive keyboard > + password authentication". > + Most user should use SSH's more secure public key > + authentiaction instead. > + > + SECURITY NOTE: There is a reason openssh insists that > + passwords be typed interactively. > + Passwords are harder to store securely and to pass around > + securely between programs. > + If you have not looked into solving your needs using SSH's > + "public key authentication", perhaps in conjunction with the > + ssh agent (RTFM ssh-add), please do so before being tempted > + into using this package. > + > +# vim: ft=kconfig noet tw=72 ts=8 sw=8 > diff --git a/rules/sshpass.make b/rules/sshpass.make > new file mode 100644 > index 000000000000..7fe27d1e684e > --- /dev/null > +++ b/rules/sshpass.make > @@ -0,0 +1,52 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2023 by Alexander Dahl <a...@thorsis.com> > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_SSHPASS) += sshpass > + > +# > +# Paths and names > +# > +SSHPASS_VERSION := 1.10 > +SSHPASS_MD5 := e435c55deb6e2e410508ecc5da3066f8 > +SSHPASS := sshpass-$(SSHPASS_VERSION) > +SSHPASS_SUFFIX := tar.gz > +SSHPASS_URL := $(call ptx/mirror, SF, > sshpass/$(SSHPASS).$(SSHPASS_SUFFIX)) > +SSHPASS_SOURCE := $(SRCDIR)/$(SSHPASS).$(SSHPASS_SUFFIX) > +SSHPASS_DIR := $(BUILDDIR)/$(SSHPASS) > +SSHPASS_LICENSE := GPL-2.0-or-later > +SSHPASS_LICENSE_FILES := > file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +SSHPASS_CONF_TOOL := autoconf > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/sshpass.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, sshpass) > + @$(call install_fixup, sshpass,PRIORITY,optional) > + @$(call install_fixup, sshpass,SECTION,base) > + @$(call install_fixup, sshpass,AUTHOR,"Alexander Dahl > <a...@thorsis.com>") > + @$(call install_fixup, sshpass,DESCRIPTION,missing) > + > + @$(call install_copy, sshpass, 0, 0, 0755, -, /usr/bin/sshpass) > + > + @$(call install_finish, sshpass) > + > + @$(call touch) > + > +# vim: ft=make noet tw=72 ts=8 sw=8