Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2022 21:49:58 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4c5de95169b6 - main - security/passh: Add a new port
Message-ID:  <202202142149.21ELnw9P097480@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c5de95169b69ed92027621e6e598f96e0c4e235

commit 4c5de95169b69ed92027621e6e598f96e0c4e235
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-02-14 18:24:26 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-02-14 21:49:41 +0000

    security/passh: Add a new port
    
    Passh is a utility similar to sshpass. The goal of the project is to
    address some of the limitations of sshpass.
---
 security/Makefile        |  1 +
 security/passh/Makefile  | 29 +++++++++++++++++++++++++++++
 security/passh/distinfo  |  3 +++
 security/passh/pkg-descr |  5 +++++
 4 files changed, 38 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 57c259cf7d52..4be2e021d567 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -748,6 +748,7 @@
     SUBDIR += pam_yubico
     SUBDIR += pamtester
     SUBDIR += paperkey
+    SUBDIR += passh
     SUBDIR += passivedns
     SUBDIR += pbc
     SUBDIR += pbnj
diff --git a/security/passh/Makefile b/security/passh/Makefile
new file mode 100644
index 000000000000..12feb82e5c05
--- /dev/null
+++ b/security/passh/Makefile
@@ -0,0 +1,29 @@
+# Created by: Mateusz Piotrowski <0mp@FreeBSD.org>
+
+PORTNAME=	passh
+PORTVERSION=	g20210412
+CATEGORIES=	security
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	Non-interactive password inputting CLI
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	clarkwang
+GH_TAGNAME=	a7506523edcbfc04e6c7481864ec7b086b71741f
+
+PLIST_FILES=	bin/passh
+PORTDOCS=	README.md sshpass-broken.md
+
+OPTIONS_DEFINE=	DOCS
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/security/passh/distinfo b/security/passh/distinfo
new file mode 100644
index 000000000000..edc7866e82a8
--- /dev/null
+++ b/security/passh/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644862583
+SHA256 (clarkwang-passh-g20210412-a7506523edcbfc04e6c7481864ec7b086b71741f_GH0.tar.gz) = 8f8e5cccd27944fee0c7cdabf8e7ac90f4f654bc477f8e29ce812c16460a72b0
+SIZE (clarkwang-passh-g20210412-a7506523edcbfc04e6c7481864ec7b086b71741f_GH0.tar.gz) = 22164
diff --git a/security/passh/pkg-descr b/security/passh/pkg-descr
new file mode 100644
index 000000000000..a217b392c855
--- /dev/null
+++ b/security/passh/pkg-descr
@@ -0,0 +1,5 @@
+Passh is a tool for inputting passwords to programs like sudo, SSH, and
+su in a non-interactive way. The goal of the project is to address some
+of the limitations of a similar tool called sshpass.
+
+WWW: https://github.com/clarkwang/passh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202142149.21ELnw9P097480>