1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
Viktor Szakats
9f4a270857 configure: drop old, vendored, ld detection code, merge and rename rest
Keep `lib-link.m4`, rename to `libssh2-link.m4`, namespace its content
to `LIBSSH2_`. Also copy 3 lower-level functions from another `.m4`.
Drop using vendored `AC_LIB_PROG_LD`, which served the purpose of
detecting `LD` and `with_gnu_ld`.

To reduce amount of old, complex vendored code and also to avoid
autoreconf auto-updating these in-repo files locally.

Follow-up to 0443145a75 #1920
Follow-up to bcc9292aab #1921

Closes #1916
2026-05-11 14:27:13 +02:00
Viktor Szakats
07ffced7c2 scripts: move maketgz, git2news.pl from root to scripts directory
To match curl and to avoid clutter in root.

Closes #1918
2026-05-01 17:03:55 +02:00
Viktor Szakats
a73aa23c9f checksrc: stop disabling TYPEDEFSTRUCT globally
Silence locally in public headers. They are part of the documented
public interface, removing them would be a breaking change.

Follow-up to 35aa0b2cd7 #1910
Follow-up to 7dd7e62629 #1909
Follow-up to c07e953a2f #1908
Follow-up to 967647c4da #1907

Closes #1912
2026-05-01 14:19:03 +02:00
Viktor Szakats
3da7e62767 checksrc-all.pl: limit checks to repo files only
- harden external command execution.
- drop no longer necessary global option.
- fix indent.

Closes #1900
2026-04-30 12:40:21 +02:00
Viktor Szakats
1f0d0626a3 appveyor: test tidy-ups
- wait for sshd before the build, to ease testing.
- restore the RSA 2048 hostkey generator line, commented, to ease tests.
- keep per-job `SKIP_CTEST` settings, commented, to ease tests.
- drop automatism to disable tests for ARM64, for simplicity.

Note: This has been tested with tests enabled, but they remain
a hit-or-miss (mostly a miss) due to failed sshd connection, and this
patch does not re-enable them.

FTR:
- a CI run when tests worked without issues (2023-12-04):
  https://ci.appveyor.com/project/libssh2org/libssh2/builds/48673013/job/79lywpm3pfvq7hn5
- a fresh CI run when the first job successfully waited for sshd:
  https://ci.appveyor.com/project/libssh2org/libssh2/builds/53941135/job/yu9jf5hvp3grse0g

Ref: #1856 #1857
Follow-up to c71ff14f3b #1894
Follow-up to c321b324d6 #1768
Follow-up to b5e68bdc37 #1461
Follow-up to f36edf94e7 #997

Closes #1892
2026-04-26 12:08:36 +02:00
Viktor Szakats
001571c1ff checksrc: add missing semicolon, fix IFDEFSINGLE capture group
Pointed out by GitHub Code Quality

Closes #21435
2026-04-24 11:17:21 +02:00
Viktor Szakats
96df6f2f8f checksrc: add missing items to warnings hash, alpha-sort 2026-04-24 10:03:48 +02:00
Viktor Szakats
d9631cfc86 checksrc: fix code quality findings
- fix counting errors.
- fix an error message.
- tidy up regexp syntax.

Pointed out by GitHub Code Quality
2026-04-24 09:48:31 +02:00
Viktor Szakats
bda85e2034 checksrc.pl: delete stray commas
Closes #1879
2026-04-23 22:08:45 +02:00
Viktor Szakats
317907545b tidy-up: rename ci directory to scripts
To reduce differences with curl.

Also:
- add most scripts to the source distro tarball. Some were referenced
  by build scripts (e.g. `checksrc`).

Closes #1870
2026-04-23 09:09:59 +02:00