Configuring lsh 2.1 on macOS 12 finds logwtmp
:
checking for logwtmp... yes
but compiling fails:
unix_process.c:330:3: error: implicit declaration of function 'logwtmp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
logwtmp(lsh_get_cstring(self->line), "", "");
^
unix_process.c:461:3: error: implicit declaration of function 'logwtmp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
logwtmp(lsh_get_cstring(cleanup->line),
^
2 errors generated.
The configure test for working shutdown on AF_UNIX sockets uses strerror
without including <string.h>
and uses exit
without including <stdlib.h>
.
I could not fork the repository in order to send you a pull request because:
Limit reached You cannot create projects in your personal namespace. Contact your GitLab administrator.
so here is a diff:
--- configure.ac.orig 2013-06-24 16:17:18.000000000 -0500
+++ configure.ac 2024-01-29 09:33:16.000000000 -0600
@@ -602,6 +602,8 @@
#include <sys/socket.h>
#include <signal.h>
+#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
Niels Möller (b19bebc9) at 04 Oct 19:41
Fix syntax error in previous change.
Niels Möller (44e8a009) at 04 Oct 19:34
Initial support for pubkey userauth using rsa-sha2-256 and rsa-sha2...
Niels Möller (a4b7fda0) at 08 Sep 08:38
Delete lsh-keygen -l/--nist-level option.
... and 2 more commits
Niels Möller (b2a19a11) at 06 Sep 19:09
Use enum lsh_atom type in more places.
Niels Möller (83278e64) at 29 Aug 18:37
By default, disable all algorithms depending on sha1.
... and 1 more commit
Niels Möller (fec99bb5) at 31 Jul 19:25
Delete lsh-krb-checkpw and lsh-pam-checkpw.
... and 2 more commits
Niels Möller (6125ec39) at 29 Jul 07:19
Delete kerberos-related confiure checks.
... and 2 more commits
Niels Möller (339a0593) at 24 Jul 19:11
Disable all SHA1-based algorithms by default.
Niels Möller (042686b0) at 24 Jul 18:57
Drop blowfish and arcfour from default ciphers, add aes256-ctr.
Niels Möller (cc0c7bb1) at 24 Jul 18:46
Support rsa-sha2-256 and rsa-sha2-512 hostkey signatures.
... and 6 more commits
Niels Möller (83721802) at 19 Jan 20:34
Delete no longer used 'u' ssh_format modifier.
Niels Möller (49e81e7a) at 26 Nov 18:55
Implement curve25519 key exchange.
Niels Möller (d8b0cf47) at 26 Nov 16:36
Rework key exchange, in preparation for adding curve25519 support.
... and 1 more commit
Niels Möller (7a9a38d8) at 23 Nov 13:11
Add test for diffie-hellman-group14-sha256.
Niels Möller (cce9c3a7) at 18 Feb 15:49
Add support for diffie-hellman-group14-sha256.
... and 3 more commits