1 | Summary: An OpenSSH key manager |
---|
2 | Name: keychain |
---|
3 | Version: 2.0.3 |
---|
4 | Release: 0vl1 |
---|
5 | License: GPL |
---|
6 | Group: Applications/Internet |
---|
7 | Source0: http://gentoo.oregonstate.edu/distfiles/%{name}-%{version}.tar.bz2 |
---|
8 | URL: http://www.gentoo.org/projects/keychain |
---|
9 | Prefix: /usr |
---|
10 | BuildArch: noarch |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | Requires: bash, openssh-clients |
---|
13 | Summary(ja): OpenSSH¤Î¸°´ÉÍý¥Ä¡¼¥ë |
---|
14 | |
---|
15 | %description |
---|
16 | Keychain is an OpenSSH key manager, typically run from ~/.bash_profile. When |
---|
17 | run, it will make sure ssh-agent is running; if not, it will start ssh-agent. |
---|
18 | It will redirect ssh-agent's output to ~/.ssh-agent, so that cron jobs that |
---|
19 | need to use ssh-agent keys can simply source this file and make the necessary |
---|
20 | passwordless ssh connections. In addition, when keychain runs, it will |
---|
21 | check with ssh-agent and make sure that the ssh RSA/DSA keys that you |
---|
22 | specified on the keychain command line have actually been added to |
---|
23 | ssh-agent. If not, you are prompted for the appropriate passphrases so that |
---|
24 | they can be added by keychain. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | keychain¤ÏOpenSSH¤Î¸°¤ò´ÉÍý¤¹¤ë¤¿¤á¤Î¥Ä¡¼¥ë¤Ç¡¤~/.bash_profile¤Ê¤É¤«¤éµ¯Æ° |
---|
28 | ¤µ¤ì¤Þ¤¹¡¥ keychain¤Ï¤Þ¤ºssh-agent¤¬Æ°ºî¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤·¡¤Æ°ºî |
---|
29 | ¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ç¤¢¤ì¤Ðssh-agent¤òµ¯Æ°¤·¤Þ¤¹¡¥¤½¤·¤Æssh-agent¤Î½ÐÎϤò |
---|
30 | ~/.ssh-agent-<hostname>¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤ß¤Þ¤¹¡¥¤³¤Î¥Õ¥¡¥¤¥ë¤Ïcron¤Ê |
---|
31 | ¤É¤«¤é¼Â¹Ô¤µ¤ì¤ë¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Ë¤È¤Ã¤ÆÆäËÍÍѤǡ¤Ã±¤Ësource¤¹¤ë¤À¤±¤Ç |
---|
32 | ssh-agent¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡¥¤½¤Î·ë²Ì¡¤¥Ñ¥¹¥Õ¥ì¡¼¥º |
---|
33 | ¤ÎÆþÎϤò¤É¤¦¤¹¤ë¤«¤È¤¤¤¦ÌäÂê¤Ë¤Ê¤ä¤Þ¤µ¤ì¤Ê¤¯¤ÆºÑ¤à¤Î¤Ç¤¹¡¥ |
---|
34 | |
---|
35 | °ìÈÌŪ¤Ë¤Ï~/.bash_profile¤ä~/.zprofile¤Ë¼¡¤Î¤è¤¦¤Êµ½Ò¤ò¤·¤ª¤¯¤È¤è¤¤¤Ç¤·¤ç |
---|
36 | ¤¦¡¥ |
---|
37 | |
---|
38 | keychain ~/.ssh/id_rsa ~/.ssh/id_dsa ~/.ssh/identity |
---|
39 | . ~/.keychain/`hostname`-sh |
---|
40 | |
---|
41 | * 1.8-0vl3 °ÊÁ°¤È¤Ï½ñ¼°¤¬ÊѤï¤Ã¤Æ¤¤¤Þ¤¹¡ª * |
---|
42 | |
---|
43 | %prep |
---|
44 | |
---|
45 | %setup -q |
---|
46 | |
---|
47 | %build |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf ${RPM_BUILD_ROOT} |
---|
51 | mkdir -p ${RPM_BUILD_ROOT}{%{_bindir},%{_mandir}/man1} |
---|
52 | install -m555 keychain ${RPM_BUILD_ROOT}%{_bindir} |
---|
53 | install -m555 keychain.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf ${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-, root, root) |
---|
60 | %{_bindir}/keychain |
---|
61 | %{_mandir}/man1/keychain.1* |
---|
62 | %doc ChangeLog README COPYING |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Tue Sep 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.3-0vl2 |
---|
66 | - fix typo in Group: |
---|
67 | - use License: instead of Copyright: |
---|
68 | |
---|
69 | * Fri Feb 6 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.3-0vl1 |
---|
70 | - new upstream release |
---|
71 | - add COPYING in %%doc |
---|
72 | - update SOURCE0 URL |
---|
73 | - update user's manual in %%description |
---|
74 | |
---|
75 | * Sun Feb 03 2002 akira yamada <akira@vinelinux.org> 1.8-0vl3 |
---|
76 | - requires bash |
---|
77 | |
---|
78 | * Mon Dec 03 2001 Yoichi Imai <yoichi@silver-forest.com> |
---|
79 | - 1.8-0vl1 |
---|
80 | - source update |
---|
81 | |
---|
82 | * Sun Dec 02 2001 Yoichi Imai <yoichi@silver-forest.com> |
---|
83 | - 1.7-0vl1 |
---|
84 | - initial release. |
---|