pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ssh-copy-id: Import ssh-copy-id-8.0.1 as wip/ssh-copy-id



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Nov 16 16:54:49 2019 +0900
Changeset:	cf96692402713a7729f6a1c6431185195e521b35

Modified Files:
	Makefile
Added Files:
	ssh-copy-id/DESCR
	ssh-copy-id/Makefile
	ssh-copy-id/PLIST

Log Message:
ssh-copy-id: Import ssh-copy-id-8.0.1 as wip/ssh-copy-id

ssh-copy-id is a script that uses ssh(1) to log into a remote machine.

It is extracted from OpenSSH package.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cf96692402713a7729f6a1c6431185195e521b35

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 ssh-copy-id/DESCR    | 12 ++++++++++++
 ssh-copy-id/Makefile | 26 ++++++++++++++++++++++++++
 ssh-copy-id/PLIST    |  3 +++
 4 files changed, 42 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 72321ff8a2..7ba6b0ac5c 100644
--- a/Makefile
+++ b/Makefile
@@ -4573,6 +4573,7 @@ SUBDIR+=	srecord
 SUBDIR+=	srvx
 SUBDIR+=	sselp
 SUBDIR+=	ssh-chat
+SUBDIR+=	ssh-copy-id
 SUBDIR+=	ssid
 SUBDIR+=	ssu
 SUBDIR+=	st-term-git
diff --git a/ssh-copy-id/DESCR b/ssh-copy-id/DESCR
new file mode 100644
index 0000000000..4d078e1ae4
--- /dev/null
+++ b/ssh-copy-id/DESCR
@@ -0,0 +1,12 @@
+ssh-copy-id is a script that uses ssh(1) to log into a remote machine
+(presumably using a login password, so password authentication should be
+enabled, unless you've done some clever use of multiple identities).  It
+assembles a list of one or more fingerprints (as described below) and tries
+to log in with each key, to see if any of them are already installed (of
+course, if you are not using ssh-agent(1) this may result in you being
+repeatedly prompted for pass-phrases).  It then assembles a list of those
+that failed to log in, and using ssh, enables logins with those keys on the
+remote server.  By default it adds the keys by appending them to the remote
+user's ~/.ssh/authorized_keys (creating the file, and directory, if
+necessary).  It is also capable of detecting if the remote system is a
+NetScreen, and using its 'set ssh pka-dsa key ...'  command instead.
diff --git a/ssh-copy-id/Makefile b/ssh-copy-id/Makefile
new file mode 100644
index 0000000000..ee0abbdc2b
--- /dev/null
+++ b/ssh-copy-id/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME=	openssh-8.0p1
+PKGNAME=	ssh-copy-id-${DISTNAME:S/openssh-//:S/p1/.1/}
+CATEGORIES=	security
+
+MAINTAINER=	iku.iwasa%gmail.com@localhost
+HOMEPAGE=	http://www.openssh.com/
+COMMENT=	Use locally available keys to authorise logins on a remote machine
+LICENSE=	modified-bsd
+
+PATCHDIR=	${.CURDIR}/../../security/openssh/patches
+DISTINFO_FILE=	${.CURDIR}/../../security/openssh/distinfo
+
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
+
+USE_LANGUAGES=	# none
+NO_BUILD=	yes
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/contrib/ssh-copy-id	\
+		${DESTDIR}${PREFIX}/bin/ssh-copy-id
+	${INSTALL_MAN} ${WRKSRC}/contrib/ssh-copy-id.1 			\
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ssh-copy-id.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ssh-copy-id/PLIST b/ssh-copy-id/PLIST
new file mode 100644
index 0000000000..3c5d42f126
--- /dev/null
+++ b/ssh-copy-id/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/ssh-copy-id
+man/man1/ssh-copy-id.1


Home | Main Index | Thread Index | Old Index