aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-04-01 12:10:29 +0800
committerdinoex <dinoex@FreeBSD.org>2003-04-01 12:10:29 +0800
commita6086be344b121bfff6cc7476f9a7eb2ebe39b0e (patch)
treebe74333f664e4492de211e3590e4fcbc994bf246 /security/openssh-portable
parentbc21517e6562c10fc478a28742b4fef90861969f (diff)
downloadfreebsd-ports-gnome-a6086be344b121bfff6cc7476f9a7eb2ebe39b0e.tar.gz
freebsd-ports-gnome-a6086be344b121bfff6cc7476f9a7eb2ebe39b0e.tar.zst
freebsd-ports-gnome-a6086be344b121bfff6cc7476f9a7eb2ebe39b0e.zip
- extend regression tests
Diffstat (limited to 'security/openssh-portable')
-rw-r--r--security/openssh-portable/Makefile2
-rw-r--r--security/openssh-portable/files/patch-regress-Makefile19
-rw-r--r--security/openssh-portable/files/patch-regress-test-exec.sh11
3 files changed, 31 insertions, 1 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index a62daa89755b..90c74c77a357 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/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/openssh-portable/files/patch-regress-Makefile b/security/openssh-portable/files/patch-regress-Makefile
new file mode 100644
index 000000000000..1c22e2d7446e
--- /dev/null
+++ b/security/openssh-portable/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/openssh-portable/files/patch-regress-test-exec.sh b/security/openssh-portable/files/patch-regress-test-exec.sh
new file mode 100644
index 000000000000..4632f3bb78c7
--- /dev/null
+++ b/security/openssh-portable/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