pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/openssh



Module Name:    pkgsrc
Committed By:   vins
Date:           Sun Jun  1 10:45:20 UTC 2025

Modified Files:
        pkgsrc/security/openssh: builtin.mk

Log Message:
openssh: define OPENSSH in builtin.mk


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/openssh/builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/openssh/builtin.mk
diff -u pkgsrc/security/openssh/builtin.mk:1.1 pkgsrc/security/openssh/builtin.mk:1.2
--- pkgsrc/security/openssh/builtin.mk:1.1      Sun Jun  1 08:11:47 2025
+++ pkgsrc/security/openssh/builtin.mk  Sun Jun  1 10:45:20 2025
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1 2025/06/01 08:11:47 vins Exp $
+# $NetBSD: builtin.mk,v 1.2 2025/06/01 10:45:20 vins Exp $
 
 BUILTIN_PKG:=  openssh
 
@@ -61,3 +61,20 @@ USE_BUILTIN.openssh!=                                                        \
 .  endif
 .endif
 MAKEVARS+=             USE_BUILTIN.openssh
+
+###
+### The section below only applies if we are not including this file
+### solely to determine whether a built-in implementation exists.
+###
+CHECK_BUILTIN.openssh?=        no
+.if ${CHECK_BUILTIN.openssh:tl} == no
+#
+# Here we place code that depends on whether USE_BUILTIN.openssh is
+# set to "yes" or "no".
+#
+.  if ${USE_BUILTIN.openssh:tl} == yes
+OPENSSH=               ${SSH:Q}
+.  else
+OPENSSH=               ${PREFIX}/bin/ssh
+.  endif
+.endif  # CHECK_BUILTIN.openssh



Home | Main Index | Thread Index | Old Index