summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortron <tron>1999-05-16 15:02:22 +0000
committertron <tron>1999-05-16 15:02:22 +0000
commit7386b8f3095d9cf9db28116782f785b57c6503dc (patch)
tree6f81350ffef91528ce6a6e4708843611f7f50b90 /security
parentf367c671dc4fad6aa44686619146bbae8b02bddd (diff)
downloadpkgsrc-7386b8f3095d9cf9db28116782f785b57c6503dc.tar.gz
Fix dynamic package list creation so that a second "make install" will
work properly.
Diffstat (limited to 'security')
-rw-r--r--security/ssh/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 2daef331d31..4c652cc46f5 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 1999/05/15 13:46:58 bouyer Exp $
+# $NetBSD: Makefile,v 1.45 1999/05/16 15:02:22 tron Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -118,6 +118,10 @@ post-build:
-e 's#@PREFIX@#${PREFIX}#g' \
<$${FILE} >${WRKDIR}/`basename $${FILE}`; \
done
+ @if [ -x ${WRKSRC}/ssh-askpass ]; then \
+ ${ECHO} bin/ssh-askpass >>${PLIST_SRC}; \
+ ${ECHO} bin/ssh-askpass1 >>${PLIST_SRC}; \
+ fi
post-install:
@${MKDIR} ${PREFIX}/share/examples/ssh
@@ -133,7 +137,6 @@ post-install:
-f ${SSH_CONF_DIR}/ssh_host_key -N ""; \
fi
${INSTALL_SCRIPT} ${WRKDIR}/sshd.sh ${PREFIX}/etc/rc.d/sshd.sh
- @cd ${PREFIX}; find bin -name 'ssh-askpass*' >>${PLIST_SRC}
# Include <bsd.pkg.mk> here. It is essential to have all the override
# targets precede inclusion of this.