From 26e710d517d399d39d921fb9289460ddf1c594c1 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Wed, 2 Jan 2002 19:45:38 +0000 Subject: 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) --- security/hpn-ssh/Makefile | 6 ++++++ security/openssh-portable/Makefile | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'security') 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 -- cgit v1.2.3