Subject: detecting ssh
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 09/11/2001 10:56:01
Hi!
I'm creating package for keychain and before I'll submit a PR I'd
like to know how to test if there is ssh-agent or not.
Should I just do
.if !exists(/usr/bin/ssh-agent)
DEPENDS+= ...
.endif
or should I check for the operating system version and assume that
after certain release there is ssh included in the operating system?
Which is the "right" way to do this?
Martti
---
Martti Kuparinen <martti.kuparinen@iki.fi> NetBSD - No media hype
http://www.iki.fi/~kuparine/ http://www.netbsd.org/