diff options
author | Brian Feldman <green@FreeBSD.org> | 1999-11-24 03:36:23 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 1999-11-24 03:36:23 +0000 |
commit | f0ca59b2b5e3ec904210d8c0a010cbd5fe3909b6 (patch) | |
tree | f83627ec33084e9d6b259693d33ee39310cca441 /security/openssh/files/patch-al | |
parent | Upgrade to 0.94, portlint, PREFIX (diff) |
Update the CVS_DATE. This brings in support for TIS authentication,
obsoleting a couple patches (it's the same code, though, except for
additions).
This also brings in KNFization of everything (please hold the cheering
down :) and made me reroll all my patches.
My patches have been almost entirely rewritten. The places are the
same, but the code's rewritten. It fits with the style (KNF) now,
and looks better.
I've also added strlcat.c to the build, which, just like strlcpy.c, is
necessary for compatibility with older libcs. After strlcat() snuck
into the OpenSSH code recently, this would prevent OpenSSH from
building on (e.g.) FreeBSD 3.2. Adding it to ssh/lib/ makes it work
yet again :)
Diffstat (limited to 'security/openssh/files/patch-al')
-rw-r--r-- | security/openssh/files/patch-al | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/security/openssh/files/patch-al b/security/openssh/files/patch-al new file mode 100644 index 000000000000..365a45928036 --- /dev/null +++ b/security/openssh/files/patch-al @@ -0,0 +1,27 @@ +--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/ssh.h Tue Nov 23 18:58:02 1999 ++++ ./ssh.h Tue Nov 23 19:31:00 1999 +@@ -51,7 +51,7 @@ + port if present. */ + #define SSH_SERVICE_NAME "ssh" + +-#define ETCDIR "/etc" ++#define ETCDIR "__PREFIX__/etc" + #define PIDDIR "/var/run" + + /* System-wide file containing host keys of known hosts. This file should be +@@ -64,11 +64,11 @@ + are all defined in Makefile.in. Of these, ssh_host_key should be readable + only by root, whereas ssh_config should be world-readable. */ + +-#define HOST_KEY_FILE "/etc/ssh_host_key" +-#define SERVER_CONFIG_FILE "/etc/sshd_config" +-#define HOST_CONFIG_FILE "/etc/ssh_config" ++#define HOST_KEY_FILE "__PREFIX__/etc/ssh_host_key" ++#define SERVER_CONFIG_FILE "__PREFIX__/etc/sshd_config" ++#define HOST_CONFIG_FILE "__PREFIX__/etc/ssh_config" + +-#define SSH_PROGRAM "/usr/bin/ssh" ++#define SSH_PROGRAM "__PREFIX__/usr/bin/ssh" + + /* The process id of the daemon listening for connections is saved + here to make it easier to kill the correct daemon when necessary. */ |