summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-01-02 19:45:38 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-01-02 19:45:38 +0000
commit26e710d517d399d39d921fb9289460ddf1c594c1 (patch)
treea90063a7f202fb2164ed96bbde92c31beb1a4500 /security
parentRemove the modula-3-socks port. It is obsolete. CVSup works fine (diff)
adding a knob to the OpenSSH port to allow people
to overwrite the ssh in the base system. make OPENSSH_OVERWRITE_BASE=yes Submitted by: n@nectar.cc (Jacques A. Vidrine)
Notes
Notes: svn path=/head/; revision=52509
Diffstat (limited to 'security')
-rw-r--r--security/hpn-ssh/Makefile6
-rw-r--r--security/openssh-portable/Makefile6
2 files changed, 12 insertions, 0 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile
index 472fc894bde9..34b9e03d96df 100644
--- a/security/hpn-ssh/Makefile
+++ b/security/hpn-ssh/Makefile
@@ -36,6 +36,12 @@ CONFIGURE_ARGS+= --with-pam
CONFIGURE_ARGS+= --with-tcp-wrappers
.endif
+.if defined(OPENSSH_OVERWRITE_BASE)
+PREFIX= /usr
+CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man \
+ --sysconfdir=/etc/ssh --localstatedir=/var \
+.endif
+
.if defined(BATCH)
EXTRA_PATCHES+= ${FILESDIR}/batch.patch
.endif
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 472fc894bde9..34b9e03d96df 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -36,6 +36,12 @@ CONFIGURE_ARGS+= --with-pam
CONFIGURE_ARGS+= --with-tcp-wrappers
.endif
+.if defined(OPENSSH_OVERWRITE_BASE)
+PREFIX= /usr
+CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man \
+ --sysconfdir=/etc/ssh --localstatedir=/var \
+.endif
+
.if defined(BATCH)
EXTRA_PATCHES+= ${FILESDIR}/batch.patch
.endif