bba2516f76
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.
28 lines
801 B
Makefile
28 lines
801 B
Makefile
# $NetBSD: Makefile,v 1.13 2005/02/01 18:40:28 martti Exp $
|
|
|
|
DISTNAME= keychain-2.5.1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.ibiblio.org/pub/linux/distributions/gentoo/distfiles/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= martti@NetBSD.org
|
|
HOMEPAGE= http://www.gentoo.org/proj/en/keychain.xml
|
|
COMMENT= Nice ssh-agent front-end
|
|
|
|
.if !exists(/usr/bin/ssh-agent)
|
|
DEPENDS+= openssh-[0-9]*:../../security/openssh
|
|
.endif
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
NO_BUILD= # defined
|
|
|
|
INSTALLATION_DIRS= bin man/man1 share/doc/${PKGBASE}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/keychain ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/keychain.1 ${PREFIX}/man/man1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/keychain
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/keychain
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|