summaryrefslogtreecommitdiffstats
path: root/security/hpn-ssh
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-04-01 04:10:29 +0000
committerdinoex <dinoex@FreeBSD.org>2003-04-01 04:10:29 +0000
commita6086be344b121bfff6cc7476f9a7eb2ebe39b0e (patch)
treebe74333f664e4492de211e3590e4fcbc994bf246 /security/hpn-ssh
parentbc21517e6562c10fc478a28742b4fef90861969f (diff)
downloadFreeBSD-ports-a6086be344b121bfff6cc7476f9a7eb2ebe39b0e.zip
FreeBSD-ports-a6086be344b121bfff6cc7476f9a7eb2ebe39b0e.tar.gz
- extend regression tests
Diffstat (limited to 'security/hpn-ssh')
-rw-r--r--security/hpn-ssh/Makefile2
-rw-r--r--security/hpn-ssh/files/patch-regress-Makefile19
-rw-r--r--security/hpn-ssh/files/patch-regress-test-exec.sh11
3 files changed, 31 insertions, 1 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile
index a62daa8..90c74c7 100644
--- a/security/hpn-ssh/Makefile
+++ b/security/hpn-ssh/Makefile
@@ -136,7 +136,7 @@ post-install:
test:
(cd ${WRKSRC}/regress && ${SETENV} ${MAKE_ENV} \
- PATH=${PREFIX}/bin:${PREFIX}/sbin:${PATH} \
+ PATH=${WRKSRC}:${PREFIX}/bin:${PREFIX}/sbin:${PATH} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} )
.include <bsd.port.pre.mk>
diff --git a/security/hpn-ssh/files/patch-regress-Makefile b/security/hpn-ssh/files/patch-regress-Makefile
new file mode 100644
index 0000000..1c22e2d
--- /dev/null
+++ b/security/hpn-ssh/files/patch-regress-Makefile
@@ -0,0 +1,19 @@
+--- regress/Makefile.orig Wed Jan 22 07:53:17 2003
++++ regress/Makefile Tue Apr 1 05:28:43 2003
+@@ -1,6 +1,6 @@
+ # $OpenBSD: Makefile,v 1.20 2003/01/08 23:54:22 djm Exp $
+
+-REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7
++REGRESSTARGETS= t1 t2 t3 t4 t5 t6 t7
+
+ CLEANFILES+= t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2
+
+@@ -71,7 +71,7 @@
+ ssh-keygen -Bf t7.out > /dev/null
+
+ .for t in ${LTESTS}
+-REGRESS_TARGETS+=t-${t}
++REGRESSTARGETS+=t-${t}
+ t-${t}:
+ sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh
+ .endfor
diff --git a/security/hpn-ssh/files/patch-regress-test-exec.sh b/security/hpn-ssh/files/patch-regress-test-exec.sh
new file mode 100644
index 0000000..4632f3b
--- /dev/null
+++ b/security/hpn-ssh/files/patch-regress-test-exec.sh
@@ -0,0 +1,11 @@
+--- regress/test-exec.sh.orig Wed May 1 05:17:35 2002
++++ regress/test-exec.sh Tue Apr 1 06:03:11 2003
+@@ -130,6 +130,8 @@
+ PidFile $PIDFILE
+ AuthorizedKeysFile $OBJ/authorized_keys_%u
+ LogLevel QUIET
++ PermitRootLogin yes
++ UsePrivilegeSeparation no
+ EOF
+
+ # server config for proxy connects
OpenPOWER on IntegriCloud