Repository navigation
Conversation
vszakats
force-pushed
the
build-tweaks
branch
2 times, most recently
from
April 29, 2023 00:50
8b3d408 to
4ff35f4
Compare
vszakats
force-pushed
the
build-tweaks
branch
24 times, most recently
from
May 1, 2023 10:30
db32612 to
81fd5ba
Compare
vszakats
added a commit
that referenced
this pull request
May 3, 2023
Also add a shebang and exec flag to ease testing/handling on *nix. PowerShell accepts both LF and CRLF. Cherry-picked from #1017
vszakats
added a commit
that referenced
this pull request
May 3, 2023
- update `AC_HELP_STRING' to 'AS_HELP_STRING`: ``` configure.ac:[...]: warning: The macro `AC_HELP_STRING' is obsolete. ``` "AC_HELP_STRING is deprecated in 2.70+ and I believe AS_HELP_STRING works already since 2.59 so bump the minimum required version to that." Ref: curl/curl@a59f046 - simplify to avoid: ``` src/Makefile.inc:48: warning: variable 'EXTRA_DIST_SOURCES' is defined but no program or src/Makefile.inc:48: library has 'DIST' as canonical name (possible typo) ``` Regression from 2c18b6f - `AC_TRY_LINK`/`AC_TRY_COMPILE`: ``` configure.ac:335: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:335: warning: The macro `AC_TRY_LINK' is obsolete. ``` - `libtool`-related ones: ``` configure.ac:70: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. configure.ac:70: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:70: put the 'win32-dll' option into LT_INIT's first parameter. configure.ac:71: warning: The macro `AC_PROG_LIBTOOL' is obsolete. ``` Using code copied from curl: https://github.com/curl/curl/blob/9ce7eee07042605045dcfd02a6f5b38ad5c8a05d/m4/xc-lt-iface.m4#L157-L163 - delete commented and obsolete `AC_HEADER_STDC`. - formatting. Most cherry-picked from `autoupdate` updates. Cherry-picked from #1017 Closes #1021
vszakats
added a commit
that referenced
this pull request
May 3, 2023
Also: - fix indent - lowercase variables names - fix formatting in `src/global.c` Cherry-picked from #1017
vszakats
added a commit
that referenced
this pull request
May 3, 2023
Necessary to pick the correct local username when run on Windows. Cherry-picked from #1017
vszakats
added a commit
that referenced
this pull request
May 3, 2023
Also merge `before_test` section into `test_script`. Cherry-picked from #1017
vszakats
added a commit
that referenced
this pull request
May 3, 2023
vszakats
added a commit
that referenced
this pull request
May 3, 2023
There were no new issues detected. Cherry-picked from #1017
vszakats
added a commit
that referenced
this pull request
May 3, 2023
Make sure these files get LF newlines on checkout. Before this patch a checked out libssh2 Git repository may have used CRLF newlines in text files, include test keys. Private keys with CRLF newlines could confuse sshd on Windows: ``` # sshd version: 'OpenSSH_9.2, OpenSSL 1.1.1t 7 Feb 2023' Unable to load host key "/d/a/libssh2/libssh2/tests/openssh_server/ssh_host_ed25519_key": invalid format Unable to load host key: /d/a/libssh2/libssh2/tests/openssh_server/ssh_host_ed25519_key ``` Ref: https://github.com/libssh2/libssh2/actions/runs/4846188677/jobs/8635575847#step:6:39 Cherry-picked from #1017
vszakats
added a commit
that referenced
this pull request
May 3, 2023
Also fix casing in backend names. Cherry-picked from #1017
vszakats
added a commit
that referenced
this pull request
May 3, 2023
Also silence a shellcheck warning. Cherry-picked from #1017
vszakats
added a commit
that referenced
this pull request
May 3, 2023
Silences these warnings on non-Windows: ``` ranlib: file: libssh2.a(agent_win.c.o) has no symbols ``` Cherry-picked from #1017
This was referenced May 3, 2023
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merged/merging via individual commits and PRs.