Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149639732
D48907.1790621224.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48907.1790621224.diff
View Options
Index: crypto/openssh/config.h
===================================================================
--- crypto/openssh/config.h
+++ crypto/openssh/config.h
@@ -2015,7 +2015,7 @@
#endif
/* Define if xauth is found in your path */
-#define XAUTH_PATH "/usr/local/bin/xauth"
+/* #undef XAUTH_PATH */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
Index: secure/ssh.mk
===================================================================
--- secure/ssh.mk
+++ secure/ssh.mk
@@ -7,6 +7,10 @@
CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
SRCS+= ssh_namespace.h
+.if defined(LOCALBASE)
+CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
+.endif
+
.if ${MK_USB} != "no"
# Built-in security key support
CFLAGS+= -include sk_config.h
Index: secure/usr.bin/ssh/Makefile
===================================================================
--- secure/usr.bin/ssh/Makefile
+++ secure/usr.bin/ssh/Makefile
@@ -29,10 +29,6 @@
LIBADD+= crypto
-.if defined(LOCALBASE)
-CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
-.endif
-
.include <bsd.prog.mk>
.PATH: ${SSHDIR}
Index: secure/usr.sbin/sshd/Makefile
===================================================================
--- secure/usr.sbin/sshd/Makefile
+++ secure/usr.sbin/sshd/Makefile
@@ -62,9 +62,6 @@
LIBADD+= crypto
-.if defined(LOCALBASE)
-CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
-.endif
.include <bsd.prog.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 28, 6:47 PM (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29988044
Default Alt Text
D48907.1790621224.diff (1 KB)
Attached To
Mode
D48907: ssh: Move XAUTH_PATH setting to ssh.mk
Attached
Detach File
Event Timeline
Log In to Comment