summaryrefslogtreecommitdiffstats
path: root/security/keychain
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2001-09-10 08:13:34 +0000
committerwjv <wjv@FreeBSD.org>2001-09-10 08:13:34 +0000
commit8e89d825ee18edc267f837f5983347195da155a9 (patch)
tree545a787045ce318970d46053ac02c25d8cfd095a /security/keychain
parentc909f47cd89d8c5257bfb5599eb951c16024ed7c (diff)
downloadFreeBSD-ports-8e89d825ee18edc267f837f5983347195da155a9.zip
FreeBSD-ports-8e89d825ee18edc267f837f5983347195da155a9.tar.gz
Add keychain 1.2, a user-friendly front-end to ssh-agent(1).
Diffstat (limited to 'security/keychain')
-rw-r--r--security/keychain/Makefile30
-rw-r--r--security/keychain/distinfo1
-rw-r--r--security/keychain/files/patch-keychain29
-rw-r--r--security/keychain/pkg-comment1
-rw-r--r--security/keychain/pkg-descr9
-rw-r--r--security/keychain/pkg-plist1
6 files changed, 71 insertions, 0 deletions
diff --git a/security/keychain/Makefile b/security/keychain/Makefile
new file mode 100644
index 0000000..3ba21708
--- /dev/null
+++ b/security/keychain/Makefile
@@ -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>
diff --git a/security/keychain/distinfo b/security/keychain/distinfo
new file mode 100644
index 0000000..7eae24e
--- /dev/null
+++ b/security/keychain/distinfo
@@ -0,0 +1 @@
+MD5 (keychain-1.2.tar.bz2) = 506755c48f886d3de6a0498125473680
diff --git a/security/keychain/files/patch-keychain b/security/keychain/files/patch-keychain
new file mode 100644
index 0000000..dfba9cc
--- /dev/null
+++ b/security/keychain/files/patch-keychain
@@ -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'`" ]
diff --git a/security/keychain/pkg-comment b/security/keychain/pkg-comment
new file mode 100644
index 0000000..cc16318
--- /dev/null
+++ b/security/keychain/pkg-comment
@@ -0,0 +1 @@
+A user-friendly front-end to ssh-agent(1)
diff --git a/security/keychain/pkg-descr b/security/keychain/pkg-descr
new file mode 100644
index 0000000..9c52d3e
--- /dev/null
+++ b/security/keychain/pkg-descr
@@ -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
diff --git a/security/keychain/pkg-plist b/security/keychain/pkg-plist
new file mode 100644
index 0000000..a03342d
--- /dev/null
+++ b/security/keychain/pkg-plist
@@ -0,0 +1 @@
+bin/keychain
OpenPOWER on IntegriCloud