git: d24b8053f790 - main - security/ssh-import-id: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Feb 2023 23:37:40 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d24b8053f7906b948f5bf28aa9816ccbfde1b469
commit d24b8053f7906b948f5bf28aa9816ccbfde1b469
Author: Seyed Pouria Mousavizadeh Tehrani <p.mousavizadeh@protonmail.com>
AuthorDate: 2023-02-16 21:06:31 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-20 23:36:35 +0000
security/ssh-import-id: new port
You're logged onto a cloud instance working on a problem with your
fellow devs, and you want to invite them to log in and take a look
at these crazy log messages. What to do?
Oh. You have to ask them to cat their public SSH key, paste it into
IRC (wait, no, it's id_rsa.pub, not id_rsa silly!) then you copy it
and cat it to the end of authorized_hosts.
That's where ssh-import-id comes in. With ssh-import-id, you can add
the public SSH keys from a known, trusted online identity to grant
SSH access.
Currently supported identities include Github and Launchpad.
WWW: https://git.launchpad.net/ssh-import-id
Submitter is first time maintainer.
PR: 265835
Approved by: flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38681
---
security/Makefile | 1 +
security/ssh-import-id/Makefile | 20 ++++++++++++++++++++
security/ssh-import-id/distinfo | 3 +++
security/ssh-import-id/pkg-descr | 13 +++++++++++++
4 files changed, 37 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index 69b5f64d9011..b7d327237686 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1230,6 +1230,7 @@
SUBDIR += srm
SUBDIR += ssb
SUBDIR += ssdeep
+ SUBDIR += ssh-import-id
SUBDIR += ssh-multiadd
SUBDIR += ssh-tools
SUBDIR += ssh-vault
diff --git a/security/ssh-import-id/Makefile b/security/ssh-import-id/Makefile
new file mode 100644
index 000000000000..b64ac45822ef
--- /dev/null
+++ b/security/ssh-import-id/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= ssh-import-id
+DISTVERSION= 5.11
+CATEGORIES= security python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= p.mousavizadeh@protonmail.com
+COMMENT= Authorize SSH public keys from trusted online identities
+WWW= https://git.launchpad.net/ssh-import-id
+
+LICENSE= GPLv3
+# LICENSE_FILE=Not shipped in PyPI sdist
+# https://bugs.launchpad.net/ssh-import-id/+bug/1992842
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= concurrent autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/security/ssh-import-id/distinfo b/security/ssh-import-id/distinfo
new file mode 100644
index 000000000000..865682c799ec
--- /dev/null
+++ b/security/ssh-import-id/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660480546
+SHA256 (ssh-import-id-5.11.tar.gz) = 2a976fefcbd97afa16c32a4c24f0ae5bb979e684c4ad0e23a8afb697dfa994c0
+SIZE (ssh-import-id-5.11.tar.gz) = 7051
diff --git a/security/ssh-import-id/pkg-descr b/security/ssh-import-id/pkg-descr
new file mode 100644
index 000000000000..eeaf933883b3
--- /dev/null
+++ b/security/ssh-import-id/pkg-descr
@@ -0,0 +1,13 @@
+You're logged onto a cloud instance working on a problem with your
+fellow devs, and you want to invite them to log in and take a look
+at these crazy log messages. What to do?
+
+Oh. You have to ask them to cat their public SSH key, paste it into
+IRC (wait, no, it's id_rsa.pub, not id_rsa silly!) then you copy it
+and cat it to the end of authorized_hosts.
+
+That's where ssh-import-id comes in. With ssh-import-id, you can add
+the public SSH keys from a known, trusted online identity to grant
+SSH access.
+
+Currently supported identities include Github and Launchpad.