summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortron <tron>1998-06-15 10:25:24 +0000
committertron <tron>1998-06-15 10:25:24 +0000
commit038eec312d025f51096e5094585bf877754de226 (patch)
treecc7751b0ffdb7402c0615827ed0bd5e431b42ab9 /security
parent484bedabdf299a50d7aa5656bfdb6bc6d786a27e (diff)
downloadpkgsrc-038eec312d025f51096e5094585bf877754de226.tar.gz
If X11 is installed we need to track "ssh-askpass" and "ssh-askpass1".
Diffstat (limited to 'security')
-rw-r--r--security/ssh/Makefile24
1 files changed, 15 insertions, 9 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 257734e00e2..f11da9d7e95 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 1998/06/12 20:41:54 tv Exp $
+# $NetBSD: Makefile,v 1.26 1998/06/15 10:25:24 tron Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -9,6 +9,8 @@ MASTER_SITES= ftp://ftp.cs.hut.fi/pub/ssh/ \
MAINTAINER= tron@netbsd.org
+CONFLICTS= ssh-1.2.22 ssh-1.2.23
+
RESTRICTED= "Crypto; export-controlled"
MIRROR_DISTFILE= no
IS_INTERACTIVE= YES
@@ -80,14 +82,6 @@ MAN8= sshd.8 sshd1.8
PKGDIR= ${WRKDIR}/pkg
-post-extract:
- @${MKDIR} ${PKGDIR}
-.for FILE in COMMENT DEINSTALL DESCR MESSAGE PLIST
- @${SED} -e 's#@SSH_CONF_DIR@#${SSH_CONF_DIR}#g' \
- -e 's#@PREFIX@#${PREFIX}#g' \
- <${.CURDIR}/pkg/${FILE} >${PKGDIR}/${FILE}
-.endfor
-
pre-patch:
@${MV} -f ${WRKSRC}/make-ssh-known-hosts.pl \
${WRKSRC}/make-ssh-known-hosts.pl.in
@@ -107,6 +101,18 @@ fetch-depends:
@${FALSE}
.endif
+post-extract:
+ @${MKDIR} ${PKGDIR}
+.for FILE in COMMENT DEINSTALL DESCR MESSAGE PLIST
+ @${SED} -e 's#@SSH_CONF_DIR@#${SSH_CONF_DIR}#g' \
+ -e 's#@PREFIX@#${PREFIX}#g' \
+ <${.CURDIR}/pkg/${FILE} >${PKGDIR}/${FILE}
+.endfor
+ @if [ -f ${X11BASE}/include/X11/X.h ]; then \
+ ${ECHO} bin/ssh-askpass >>${PKGDIR}/PLIST; \
+ ${ECHO} bin/ssh-askpass1 >>${PKGDIR}/PLIST; \
+ fi
+
post-build:
@${SED} -e 's#@SSH_CONF_DIR@#${SSH_CONF_DIR}#g' \
-e 's#@PREFIX@#${PREFIX}#g' \