mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
Add keychain 1.2, a user-friendly front-end to ssh-agent(1).
This commit is contained in:
parent
0652b197c0
commit
db2d46a3ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47598
@ -65,6 +65,7 @@
|
||||
SUBDIR += isakmpd
|
||||
SUBDIR += its4
|
||||
SUBDIR += john
|
||||
SUBDIR += keychain
|
||||
SUBDIR += keynote
|
||||
SUBDIR += keyprint
|
||||
SUBDIR += kmap
|
||||
|
30
security/keychain/Makefile
Normal file
30
security/keychain/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# New ports collection makefile for: keychain
|
||||
# Date created: 10 September 2001
|
||||
# Whom: Johann Visagie <wjv@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= keychain
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.ibiblio.org/gentoo/distfiles/
|
||||
|
||||
MAINTAINER= wjv@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= pidof:${PORTSDIR}/sysutils/psmisc
|
||||
|
||||
USE_BZIP2= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 400016
|
||||
RUN_DEPENDS= ssh-agent:${PORTSDIR}/security/openssh
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@ ${MKDIR} ${PREFIX}/bin
|
||||
@ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
security/keychain/distinfo
Normal file
1
security/keychain/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (keychain-1.2.tar.bz2) = 506755c48f886d3de6a0498125473680
|
29
security/keychain/files/patch-keychain
Normal file
29
security/keychain/files/patch-keychain
Normal file
@ -0,0 +1,29 @@
|
||||
--- keychain.orig Mon Sep 10 06:42:47 2001
|
||||
+++ keychain Mon Sep 10 08:54:24 2001
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
EOHELP
|
||||
echo -e " ${CYAN}keychain ~/.ssh/id_rsa ~/.ssh/id_dsa"
|
||||
-echo -e " source ~/.ssh-agent > /dev/null${OFF}"
|
||||
+echo -e " . ~/.ssh-agent > /dev/null${OFF}"
|
||||
echo -e " # the > /dev/null eliminates the redundant agent PID output"
|
||||
echo
|
||||
cat <<EOHELP
|
||||
@@ -109,7 +109,7 @@
|
||||
chmod 0600 ~/.ssh-agent
|
||||
SSH_AGENT_PID="NULL"
|
||||
else
|
||||
- source ~/.ssh-agent > /dev/null
|
||||
+ . ~/.ssh-agent > /dev/null
|
||||
fi
|
||||
|
||||
match="no"
|
||||
@@ -130,7 +130,7 @@
|
||||
chmod 0600 ~/.ssh-agent
|
||||
echo -e " ${GREEN}*${OFF} starting new ssh-agent"
|
||||
nohup ssh-agent > ~/.ssh-agent
|
||||
- source ~/.ssh-agent > /dev/null
|
||||
+ . ~/.ssh-agent > /dev/null
|
||||
fi
|
||||
|
||||
if [ -n "`echo $* | grep '\-\-clear'`" ]
|
1
security/keychain/pkg-comment
Normal file
1
security/keychain/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A user-friendly front-end to ssh-agent(1)
|
9
security/keychain/pkg-descr
Normal file
9
security/keychain/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Keychain is a shell script which acts as user-friendly front-end to
|
||||
ssh-agent(1), allowing you to have one long-running ssh-agent process per
|
||||
system rather than per login session.
|
||||
|
||||
Please study the documentation on the keychain website carefully since
|
||||
incorrect usage of this script may have certain security implementations.
|
||||
|
||||
Author: Daniel Robbins <drobbins@gentoo.org>
|
||||
WWW: http://www.gentoo.org/projects/keychain.html
|
1
security/keychain/pkg-plist
Normal file
1
security/keychain/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/keychain
|
Loading…
Reference in New Issue
Block a user