* [ptxdist] [PATCH] sshpass: Add new package
@ 2023-09-21 11:51 Alexander Dahl
2023-09-24 5:44 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dahl @ 2023-09-21 11:51 UTC (permalink / raw)
To: ptxdist
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 <ada@thorsis.com>
---
rules/sshpass.in | 22 ++++++++++++++++++++
rules/sshpass.make | 52 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
create mode 100644 rules/sshpass.in
create mode 100644 rules/sshpass.make
diff --git a/rules/sshpass.in b/rules/sshpass.in
new file mode 100644
index 000000000..b855016e2
--- /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 000000000..7fe27d1e6
--- /dev/null
+++ b/rules/sshpass.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2023 by Alexander Dahl <ada@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 <ada@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
base-commit: 62f61865b380ca0064e7e8a3b7a81a8fb74ea51c
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] sshpass: Add new package
2023-09-21 11:51 [ptxdist] [PATCH] sshpass: Add new package Alexander Dahl
@ 2023-09-24 5:44 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2023-09-24 5:44 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
Thanks, applied as 13f216eb26eea7096794daa93a29f9b679ba1dea.
Michael
[sent from post-receive hook]
On Sun, 24 Sep 2023 07:44:53 +0200, Alexander Dahl <ada@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 <ada@thorsis.com>
> Message-Id: <20230921115128.1020018-1-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@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 <ada@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 <ada@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-24 5:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-21 11:51 [ptxdist] [PATCH] sshpass: Add new package Alexander Dahl
2023-09-24 5:44 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox