svn commit: r386347 - head/security/keychain
Bryan Drewery
bdrewery at FreeBSD.org
Thu May 14 16:26:44 UTC 2015
Author: bdrewery
Date: Thu May 14 16:26:43 2015
New Revision: 386347
URL: https://svnweb.freebsd.org/changeset/ports/386347
Log:
Revert r386285, removing exists() check on RUN_DEPENDS, for now.
The ports framework properly handles this but the tools that are used do not.
Portmaster and Portupgrade both incorrectly install openssh-portable even if
ssh-agent is installed already. Poudriere does not install or add a dependency
on it, but it does build the dependency.
At least the portmaster and portupgrade issues must be resolved first. They
will also fix any other port installing unneeded dependencies and allow
many of the exists() checks to come out of the tree.
Modified:
head/security/keychain/Makefile
Modified: head/security/keychain/Makefile
==============================================================================
--- head/security/keychain/Makefile Thu May 14 16:22:28 2015 (r386346)
+++ head/security/keychain/Makefile Thu May 14 16:26:43 2015 (r386347)
@@ -3,7 +3,7 @@
PORTNAME= keychain
PORTVERSION= 2.8.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://www.funtoo.org/archive/keychain/ \
GENTOO
@@ -28,7 +28,9 @@ PLIST_FILES= bin/${PORTNAME} \
PORTDOCS= ChangeLog README.md
+.if !exists(${LOCALBASE}/bin/ssh-agent) && !exists(/usr/bin/ssh-agent)
RUN_DEPENDS+= ssh-agent:${PORTSDIR}/security/openssh-portable
+.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
More information about the svn-ports-all
mailing list