Browse Source

new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9884 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 8 years ago
parent
commit
5fcbb32c45
1 changed files with 120 additions and 65 deletions
  1. 120 65
      k/keychain/keychain-vl.spec

+ 120 - 65
k/keychain/keychain-vl.spec

@@ -1,84 +1,139 @@
-Summary: An OpenSSH key manager
-Name: keychain
-Version: 2.0.3
-Release: 0vl1
-License: GPL
-Group: Applications/Internet
-Source0: http://gentoo.oregonstate.edu/distfiles/%{name}-%{version}.tar.bz2
-URL: http://www.gentoo.org/projects/keychain
-Prefix: /usr
-BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Requires: bash, openssh-clients
-Summary(ja): OpenSSHの鍵管理ツール
+Name:		keychain
+Summary:	Agent manager for OpenSSH, ssh.com, Sun SSH, and GnuPG
+Version:	2.8.2
+Release:	1%{?_dist_release}
+License:	GPLv2
+Group:		Applications/Internet
+URL:		http://www.funtoo.org/Keychain
+Source0:	http://www.funtoo.org/distfiles/keychain/keychain-%{version}.tar.bz2
+Source1:	keychain.sh
+Source2:	keychain.csh
+Source3:	README.Fedora
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 
 %description
-Keychain is an OpenSSH key manager, typically run from ~/.bash_profile.  When
-run, it will make sure ssh-agent is running; if not, it will start ssh-agent.
-It will redirect ssh-agent's output to ~/.ssh-agent, so that cron jobs that
-need to use ssh-agent keys can simply source this file and make the necessary
-passwordless ssh connections.  In addition, when keychain runs, it will
-check with ssh-agent and make sure that the ssh RSA/DSA keys that you
-specified on the keychain command line have actually been added to
-ssh-agent.  If not, you are prompted for the appropriate passphrases so that
-they can be added by keychain.
-
-%description -l ja
-keychainはOpenSSHの鍵を管理するためのツールで,~/.bash_profileなどから起動
-されます. keychainはまずssh-agentが動作しているかどうかをチェックし,動作
-していないようであればssh-agentを起動します.そしてssh-agentの出力を
-~/.ssh-agent-<hostname>というファイルに書き込みます.このファイルはcronな
-どから実行されるシェルスクリプトにとって特に有用で,単にsourceするだけで
-ssh-agentにアクセスすることができるようになります.その結果,パスフレーズ
-の入力をどうするかという問題になやまされなくて済むのです.
-
-一般的には~/.bash_profileや~/.zprofileに次のような記述をしおくとよいでしょ
-う.
-
-  keychain ~/.ssh/id_rsa ~/.ssh/id_dsa ~/.ssh/identity
-  . ~/.keychain/`hostname`-sh
-
-  *  1.8-0vl3 以前とは書式が変わっています! *
+Keychain is a manager for OpenSSH, ssh.com, Sun SSH and GnuPG agents.
+It acts as a front-end to the agents, allowing you to easily have one
+long-running agent process per system, rather than per login session.
+This dramatically reduces the number of times you need to enter your
+passphrase from once per new login session to once every time your
+local machine is rebooted.
 
 %prep
-
 %setup -q
-
-%build
+sed -i -e 's|/usr/ucb:||' keychain
 
 %install
-rm -rf ${RPM_BUILD_ROOT}
-mkdir -p ${RPM_BUILD_ROOT}{%{_bindir},%{_mandir}/man1}
-install -m555 keychain ${RPM_BUILD_ROOT}%{_bindir}
-install -m555 keychain.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+mkdir -p %{buildroot}%{_mandir}/man1
+install -pm 755 keychain %{buildroot}%{_bindir}/keychain
+install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/keychain.sh
+install -pm 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/keychain.csh
+install -pm 644 keychain.1 %{buildroot}%{_mandir}/man1
+install -pm 644 %{SOURCE3} README.Fedora
 
 %clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf %{buildroot}
 
 %files
-%defattr(-, root, root)
+%defattr(-,root,root)
+%doc COPYING.txt ChangeLog README.md README.Fedora
+%config(noreplace) %{_sysconfdir}/profile.d/keychain.sh
+%config(noreplace) %{_sysconfdir}/profile.d/keychain.csh
 %{_bindir}/keychain
 %{_mandir}/man1/keychain.1*
-%doc ChangeLog README COPYING
 
 %changelog
-* Tue Sep 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.3-0vl2
-- fix typo in Group:
-- use License: instead of Copyright:
-
-* Fri Feb  6 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.3-0vl1
+* Sun Dec  6 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2.8.2-1
 - new upstream release
-- add COPYING in %%doc
-- update SOURCE0 URL
-- update user's manual in %%description
 
-* Sun Feb 03 2002 akira yamada <akira@vinelinux.org> 1.8-0vl3
-- requires bash
+* Sun Dec  6 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2.8.0-1
+- initial build based on Fedora Rawhide
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Tue May 05 2015 Andreas Bierfert <andreas.bierfert@lowlatency.de>
+- 2.8.0-1
+- version upgrade (rhbz#531382, rhbz#811365, rhbz#1209473)
+- support for newer openssh/gnupg (rhbz#1204340)
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon Mar  2 2009 Ville Skytt辰 <ville.skytta at iki.fi> - 2.6.8-6
+- Write ~/.gpg-agent-info when launching gpg-agent for better compatibility
+  with other things using it, e.g. KDE 4 (#486025).
+- Drop no longer needed zsh special case which caused issues with ksh from
+  profile.d script (#314431).
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Feb 16 2009 Ville Skytt辰 <ville.skytta at iki.fi> - 2.6.8-4
+- Don't override/unset $HOST or $USERHOME in profile.d snippets (#463913).
+
+* Sun Apr  6 2008 Ville Skytt辰 <ville.skytta at iki.fi> - 2.6.8-3
+- Make profile.d sh snippet check if it has already run (skip if yes),
+  and avoid polluting the shell with its internal variables.
+- License: GPLv2.
+- Update URLs.
+
+* Sat Nov 04 2006 Alexander Dalloz <alex {%} dalloz {*} de> - 2.6.8-2
+- Fix #212190.
+
+* Sat Nov 04 2006 Alexander Dalloz <alex {%} dalloz {*} de> - 2.6.8-1
+- Update to 2.6.8.
+
+* Fri Sep 01 2006 Alexander Dalloz <alex {%} dalloz {*} de> - 2.6.2-1
+- Update to 2.6.2.
+
+* Tue Aug 29 2006 Alexander Dalloz <alex {%} dalloz {*} de> - 2.6.1-2
+- Rebuild for FC6.
+
+* Sat Nov 26 2005 Ville Skytt辰 <ville.skytta at iki.fi> - 2.6.1-1
+- Update to 2.6.1.
+- Invoke keychain with --noask in opt-in scripts in non-interactive shells
+  to fix scp'ing to an opt-in enabled account for which keychain hasn't run.
+- Make opt-in config work the same way with zsh as with other shells.
+- Replace tweaks in manpage patch with more generic instructions.
+- Make profile.d snippets non-executable (#35714).
+- Preserve timestamps of installed files, other cosmetics.
+
+* Tue Aug 16 2005  Alexander Dalloz <alex {%} dalloz {*} de> - 2.5.5-2
+- Added test for homedir mismatch in opt-in scripts, covering
+  `sudo -s' (reported by Ville Skytt辰).
+
+* Fri Aug 05 2005  Alexander Dalloz <alex {%} dalloz {*} de> - 2.5.5-1
+- Updated to new upstream version
+- Removed keychain.pod from %%doc.
 
-* Mon Dec 03 2001 Yoichi Imai <yoichi@silver-forest.com>
-- 1.8-0vl1
-- source update
+* Wed Jul 27 2005 Alexander Dalloz <alex {%} dalloz {*} de> - 2.5.4.1-2
+- Added manpage patch and %%prep removal of non existing path
+  (thanks Ville Skytt辰)
+- Added opt-in mechanism through profile.d scripts for all
+  login shells Fedora ships.
 
-* Sun Dec 02 2001 Yoichi Imai <yoichi@silver-forest.com>
-- 1.7-0vl1
-- initial release.
+* Sun Jul 10 2005 Alexander Dalloz <alex {%} dalloz {*} de> - 2.5.4.1-1
+- Initial build, based on upstream .spec by Aron Griffis.