Commit graph

47 commits

Author SHA1 Message Date
kamil
89217a857c keychain: Improve distinfo
Reuse the GitHub framework and stop using plain ${PKGVERSION_NOREV}.zip for
distfile name.

No functional change intended.
2018-04-18 19:25:27 +00:00
roy
8115ceeee2 Import keychain-2.8.5 with the following improvements:
*  gnupg socket support
  *  better portability
2018-01-27 10:00:15 +00:00
roy
2aa9c0a5d5 Update to keychain-2.8.4:
Uses id instead of whoami for better portability.
  GPG2 support, support for busybox ps and various optimizations.
2018-01-21 16:03:29 +00:00
wiz
923f1caff1 keychain: follow redirect 2017-11-06 13:27:21 +00:00
jperkin
5279457ba1 Put back dependency on bash again, the script uses the "local" keyword.
Bump PKGREVISION.
2017-04-25 12:16:47 +00:00
mef
c3f62a79c8 Updated security/keychain to 2.8.3
----------------------------------
* keychain 2.8.3 (24 Jun 2016)
  Summary: fix gpg key addition (Clemens Kaposi)
2016-09-20 12:36:09 +00:00
nonaka
f547e1769c Update security/keychain to 2.8.2.
* keychain 2.8.2 (06 Nov 2015)

  Summary: Support new ssh features, bug fix release.

  Support for new hash algorithms (Ben Boeckel)

  Remove bashisms (Daniel Hertz)

  Various optimizations (Daniel Hahler)

  --timeout option now gets passed to agent, doc fixes (Andrew Bezella, Emil
  Lundberg)

  RPM, Makefile fixes (Mike Frysinger)

* keychain 2.8.1 (29 May 2015)

  Summary: POSIX compatibility and bug fix release.

  Only set PATH to a standard value if PATH is not set. Otherwise, do not
  modify.

  Makefile Cygwin and RPM spec fixes (thanks Luke Bakken and Ricardo Silva)

  Confhost fixes. Deprecate in_path. Use command -v instead.

  Find_pids: Modify "ps" call to work with non-GNU ps. (Bryan Drewery)

  Re-introduce POSIX compatibility (remove shopt.) (vaeth)

* keychain 2.8.0 (21 Mar 2015)

  Support for OpenSSH 6.8 fingerprints.
  Support for GnuPG 2.1.0.

  Handle private keys that are symlinks, even if the associated public key is
  in the target directory rather than alongside the symlink.

  Allow private keys to have extensions, such as foo.priv. When looking for
  matching public keys, look for foo.priv.pub, but also strip extension and
  look for foo.pub if foo.priv.pub doesn't exist.

  Initial support for --list/-l option to list SSH keys.

  Updated docs for fish shell usage.

* keychain 2.7.2_beta1 (07 July 2014)

  Various changes and updates:

  Fixes for fish from Marc Joliet.

  Keychain will default to start only ssh-agent unless GPG is explicitly
  updated using --agents.

  Write ~/.gpg-agent-info when launching gpg-agent - fix from Thomas Spura.

  Add support for injecting agents into systemd (Ben Boeckel)

  Add support for --query option (Ben Boeckel)

  Add --absolute flag, allowing user to set a full path without getting a
  .keychain suffix automatically appended.

  Add --confhost option to scan ~/.ssh/config file to locate private key
  path specified there.
2016-08-18 06:09:01 +00:00
agc
5293710fb4 Add SHA512 digests for distfiles for security category
Problems found locating distfiles:
	Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
	Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
	Package libidea: missing distfile libidea-0.8.2b.tar.gz
	Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
	Package uvscan: missing distfile vlp4510e.tar.Z

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:17:40 +00:00
roy
a8e92b0595 Add patch to work with OpenSSH 6.8+ format. 2015-05-04 21:02:58 +00:00
roy
887ea4ec53 Keychain isn't a bash script.
Update homepage to proper one.
2015-03-13 11:29:33 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
fhajny
d48f713d38 Keychain really is a Bash script. Update homepage. Bump PKGREVISION. 2014-06-09 10:30:20 +00:00
asau
1a433eae91 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 18:16:19 +00:00
wiz
f4f9b4b89b Reset maintainer. 2010-09-28 13:21:29 +00:00
pettai
41e61b6afb * keychain 2.7.1 (07 May 2010)
- Addition of a "make clean" target. removal of runtests as it is currently
  broken.
- New release process in Makefile and release.sh - keychain release tarball
  will now contain pre-generated keychain, keychain.1 and keychain.spec so
  that users do not need to run "make". Updated README.rst to refer to the
  "source code" as a "release archive" since it contains both source code and
  ready-to-go script and man page.
- GPG fix from Gentoo bug 203871; This fix will fix the issue with pinentry
  starting in the background and not showing up in the terminal.

* keychain 2.7.0 (23 Oct 2009)

- lockfile() replacement from Parallels Inc. OpenVZ code, takelock() rewrite,
  resulting in ~100 line code savings. Default lock timeout set to 5 seconds,
  and now keychain will try to forcefully acquire the lock if the timeout
  aborts, rather than simply failing and aborting.
- MacOS X/BSD improvements: fix sed call in Makefile for MacOS X and presumably
  other *BSD environments. Rename COPYING to COPYING.txt + slight COPYING.txt
  formatting change. Fixed POD errors (removed '=end').
- Disable "Identity added" messages when --quiet is specified.
  (Gentoo bug #250328)
  --help will print output to stdout (Gentoo bug #196060)
  output cleanup and colorization changes - moving away from blue and over to
  cyan as it displays better terminals with black background.
  Also some additional colorization.

* keychain 2.6.9 (26 Jul 2009)

- Close Gentoo bug 222953 fix potential issues with GNU grep, Mac OS X color
  fix when called with --eval.
- Perl 5.10 Makefile fix. Transition README to README.rst (reStructuredText).
  Updated maintainership information.
  Simplified default output
2010-05-18 06:29:31 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
martti
97bdd322bb Activated LICENSE=... 2009-05-12 12:27:19 +00:00
martti
8b8f9427d3 Added PKG_DESTDIR_SUPPORT=user-destdir 2009-05-12 11:09:26 +00:00
martti
9fc7653761 Based on some feedback, comment out the newly added LICENSE=xxx for now.
I'll re-activate this later when the global license stuff is activated.
2007-10-30 19:31:38 +00:00
martti
c95b7ca9f8 Added LICENSE=gnu-gpl-v2 2007-10-30 13:57:17 +00:00
martti
920703277a Updated security/keychain to 2.6.8
* keychain 2.6.8 (24 Oct 2006)

  Save LC_ALL for gpg invocation so that pinentry-curses works.  This affected
  peper and kloeri, though it seems to work for me in any case.

* keychain 2.6.7 (24 Oct 2006)

  Prevent gpg_listmissing from accidentally loading keys
2007-01-14 08:32:32 +00:00
martti
dcccbf7bd2 Make pkglint happy. 2006-10-16 11:25:18 +00:00
martti
572fd8e4b6 Updated security/keychain to 2.6.6
* keychain 2.6.6 (08 Sep 2006)

  08 Sep 2006; Aron Griffis <agriffis@gentoo.org>:
  Make --lockwait -1 mean forever.  Previously 0 meant forever but was
  undocumented.  Add more locking regression tests #137981

* keychain 2.6.5 (08 Sep 2006)

  08 Sep 2006; Aron Griffis <agriffis@gentoo.org>:
  Break out of loop when empty lockfile can't be removed #127471.  Add locking
  regression tests:
    100_lock_stale 101_lock_held 102_lock_empty 103_lock_empty_cant_remove

* keychain 2.6.4 (08 Sep 2006)

  08 Sep 2006; Aron Griffis <agriffis@gentoo.org>:
  Add validinherit function so that validity of SSH_AUTH_SOCK and friends can be
  validated from startagent rather than up front.  The advantage is that warning
  messages aren't emitted unnecessarily when --inherit *-once.
  Fix --eval for fish, and add new testcases:
    053_start_with_--eval_ksh
    054_start_with_--eval_fish
    055_start_with_--eval_csh

* keychain 2.6.3 (07 Sep 2006)

  07 Sep 2006; Aron Griffis <agriffis@gentoo.org>:
  Support fish: http://roo.no-ip.org/fish/
  Thanks to Ilkka Poutanen for the patch.
2006-10-16 08:26:10 +00:00
wiz
b6160330f7 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:53:15 +00:00
martti
8da39f54f8 Undo previous as it is not needed (pointed out by wiz@) 2006-04-25 07:58:26 +00:00
martti
b18a7ae9f1 Use PKGMANDIR instead of man 2006-04-25 07:45:53 +00:00
martti
1db46071a2 Updated security/keychain to 2.6.2
Add --confirm option and corresponding regression tests for Debian bug 296382.
  Thanks to Liyang HU for the patch.  Also add initialization for $ssh_timeout
  which was being inherited from the environment and add regression tests for
  --timeout
2006-04-25 06:34:16 +00:00
martti
e9f3e44177 Fixed warnings found by pkglint -Wall. 2006-02-17 07:43:36 +00:00
martti
101dbf27e3 Updated keychain to 2.6.1
* keychain 2.6.1 (10 Oct 2005)

  10 Oct 2005; Aron Griffis <agriffis@gentoo.org>:
  Change "unset evalopt" to "evalopt=false" and run through *all* the regression
  tests instead of just the new ones.  *sigh*

* keychain 2.6.0 (10 Oct 2005)

  10 Oct 2005; Aron Griffis <agriffis@gentoo.org>:
  Add the --eval option which makes keychain startup easier.  See the man-page
  for examples.  Get rid of the release notes from README, so now this file is
  where changes are tracked.
2005-10-28 05:29:54 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
martti
d4865c0931 Updated keychain to 2.5.5
* lots of bug fixes
2005-08-04 10:50:43 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
martti
bba2516f76 Updated keychain to 2.5.1
Don't accidentally inherit a forwarded agent when
  inheritwhich=local-once.  Move the --stop warning after the version
  splash.

  Add inheritance support via --inherit.  Add parameters to --stop for
  more control.  Change the default behavior of keychain to inherit if
  there's no keychain agent running ("--inherit local-once"), and
  refrain from killing other agents unless "--stop others" is
  specified.
2005-02-01 18:40:28 +00:00
martti
2b809ae328 Updated keychain to 2.4.3
* Bug fixes
2004-11-28 10:06:39 +00:00
schmonz
995650e302 Update to 2.3.4. From the changelog:
* keychain 2.3.4 (24 Jul 2004)

  24 Jul 2004; Aron Griffis <agriffis@gentoo.org>;
  Fix bug 28599 reported by Bruno Pelaia; ignore defunct processes in
  ps output

* keychain 2.3.3 (30 Jun 2004)

  30 Jun 2004; Aron Griffis <agriffis@gentoo.org>;
  Fix bug reported by Matthew S. Moore in email; escape the backticks
  in --help output

  Fix bug reported by Herbie Ong in email; set pidf, cshpidf and lockf
  variables after parsing command-line to honor --dir setting

  Fix bug reported by Stephan Stahl in email; make spaces in filenames
  work throughout keychain, even in pure Bourne shell

  Fix operation on HP-UX with older OpenSSH by interpreting output of
  ssh-add as well as the error status

* keychain 2.3.2 (16 Jun 2004)

  16 Jun 2004; Aron Griffis <agriffis@gentoo.org>;
  Fix bug 53837 (keychain needs ssh-askpass) by unsetting SSH_ASKPASS
  when --nogui is specified

* keychain 2.3.1 (03 Jun 2004)

  03 Jun 2004; Aron Griffis <agriffis@gentoo.org>;
  Fix bug 52874: problems when the user is running csh

* keychain 2.3.0 (14 May 2004)

  14 May 2004; Aron Griffis <agriffis@gentoo.org>;
  Rewrite the locking code to avoid procmail

* keychain 2.2.2 (03 May 2004)

  03 May 2004; Aron Griffis <agriffis@gentoo.org>;
  Call loadagent prior to generating HOSTNAME-csh file so that
  variables are set.

* keychain 2.2.1 (27 Apr 2004)

  27 Apr 2004; Aron Griffis <agriffis@gentoo.org>;
  Find running ssh-agent processes by searching for /[s]sh-agen/
  instead of /[s]sh-agent/ for the sake of Solaris, which cuts off ps
  -u output at 8 characters.  Thanks to Clay England for reporting the
  problem and testing the fix.

* keychain 2.2.0 (21 Apr 2004)

  21 Apr 2004; Aron Griffis <agriffis@gentoo.org>;
  Rewrote most of the code, organized into functions, fixed speed
  issues involving ps, fixed compatibility issues for various UNIXes,
  hopefully didn't introduce too many bugs.  This version has a
  --quick option (for me) and a --timeout option (for carpaski).

  Also added a Makefile and converted the man-page to pod for easier
  editing.  See perlpod(1) for information on the format.  Note that
  the pod is sucked into keychain and colorized when you run make.
2004-07-26 19:02:10 +00:00
schmonz
99681e8cde Enable pkgviews installation. 2004-03-29 03:28:49 +00:00
martti
ff2d99ade0 Updated keychain to 2.0.3
- Added keychain man page
- Fixed bugs with displaying colors for keychain --help
- Added a $grepopts to fix the grepping for a pid on cygwin
- Added a TODO document color fix based on submission by Luke Holden
2003-07-18 03:59:49 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
martti
344173b272 Updated keychain to 2.0.2
NOTE: The .ssh-agent-* files are now in the ~/.keychain/ directory. Use
something like this in your dot files:

[ -r ${HOME}/.ssh-agent-`hostname` ]   && . ${HOME}/.ssh-agent-`hostname`
[ -r ${HOME}/.keychain/`hostname`-sh ] && . ${HOME}/.keychain/`hostname`-sh
2003-01-18 05:58:58 +00:00
cjep
09132bc144 implementations->implications 2002-12-24 00:47:43 +00:00
schmonz
6af3775516 Update to 1.9, and remove unneeded dependency on sysutils/psmisc.
OK'd by martti and garbled.

Changelog:

  04 Mar 2002; changed license from "GPL, v2 or later" to "GPL v2".

  04 Mar 2002; added "keychain.cygwin" for Cygwin systems.  It may be time to
  follow this pattern and start building separate, optimized scripts for each
  platform so they don't get too sluggish.  Maybe I could use a C preprocessor
  for this.

  06 Dec 2001; several people: Solaris doesn't like '-e' comparisons; switched
  to '-f'
2002-04-10 17:52:08 +00:00
martti
f6e061a93a Updated to 1.8
* Added a "--local" option for removing the ${HOSTNAME} from the various
  files that keychain creates.  Handy for non-NFS users.

* Using the Bourne shell "type" builtin rather than using the external
  "which" command.  Should make things a lot more robust and slightly
  faster.

* Solaris' "which" command outputs "no lockfile in..." to stdout rather
  than stderr.  A one-line fix (test the error condition) has been
  applied.

* lockfile settings tweak

* If you stop making progress providing valid passphrases, it's three
  strikes and you're out.

* Some private keys can't be "ssh-keygen -l -f"'d; this patch causes
  keychain to look for the corresponding public key if the private
  key doesn't work.  Thanks Constantine!

* CYAN color misdefined; fixed.

* A "quiet mode" (--quiet) fix; I missed an "echo".

* Missed another "kill -9"; it's now gone.
2002-01-03 14:29:53 +00:00
martti
cc38a9f569 Updated keychain to version 1.7. Changes since 1.2:
* Use procmail's lockfile to serialize the execution of critical parts of
  keychain, thus avoiding multiple ssh-agent processes being started if
  you happen to have multiple xterms open automatically when you log in.
  Keychain will now auto-detect whether lockfile is installed; if it is,
  keychain will automatically use it
* No longer "kill -9" our ssh-agent processes
* Added argument "--quiet | -q"
* Added "-h" as alias for "--help", added "-k" as alias for "--stop"
* Add /usr/ucb to path for Solaris systems
* Try to add multiple keys using ssh-add; avoid typing in identical
  passphrases more than once.
* Misc. compatibility, signal handling, cleanup fixes
* We now use .ssh-agent-[hostname] instead of .ssh-agent
* "source" to "." shell-compatibility fixes.
* "rm -f $pidf" after stopping ssh-agent fix
2001-11-09 09:56:27 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
wiz
16f9b5fec5 Make it work under 1.5. Patch by Martti Kuparinen from pkg/14010.
Update to 1.2nb1.
2001-09-19 13:48:00 +00:00
wiz
749fa330dd Initial import of keychain package provided by Martti Kuparinen in pkg/13931.
DESCR:
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.
2001-09-15 14:20:41 +00:00