Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-07 | add -4 and -6 options to use either IPv4 or IPv6 | Ryo Nakamura | |
2024-02-07 | update man and doc for adjusting to -p option | Ryo Nakamura | |
2024-02-07 | cleanup error message handling | Ryo Nakamura | |
The top-level funtion in a thread should print errors using priv_get_err(), while lower-level functions should set error messages using priv_set_err() except that error mesesages should be printed immediately, e.g., under walk_src_path(). | |||
2024-02-06 | remove unused FindGSSAPI.cmake module | Ryo Nakamura | |
2024-02-06 | add .clang-format from Linux kernel and format sources | Ryo Nakamura | |
The exception is that ColumnLimit is 90. | |||
2024-02-06 | refactor error message-related functions | Ryo Nakamura | |
split message print fuctions (mpr_*), strerrno, and mscp_get/set_error into print.c/h and strerrno.c/h. ToDo: revise usages of priv_set_errv and pr_* functions. | |||
2024-02-06 | do not build strlcat.c if HAVE_STRLCAT is true | Ryo Nakamura | |
2024-02-06 | add -p option, preserving file timestamps | Ryo Nakamura | |
2024-02-06 | add two env vars to pass password/keyphrase (#9) | Ryo Nakamura | |
MSCP_SSH_AUTH_PASSWORD passes a password, and MSCP_SSH_AUTH_PASSPHRASE passes a passphrase for publickey auth. They enable avoiding interactive password input. Test cases are also added. | |||
2024-02-05 | passing options via pointers in mscp_ssh_opts | Ryo Nakamura | |
We do not need static buf because we have already dropped python biding support. | |||
2024-02-04 | do not passing msg_fp via mscp opts | Ryo Nakamura | |
instead, mpr_* functions print messages to stdout or stderr directly. | |||
2024-02-04 | remove (accidentally added) build-srpm.Dockerfile | Ryo Nakamura | |
2024-02-04 | bump up container image versions and drop using CPack | Ryo Nakamura | |
We have already provided DEB packages in launchpad PPA and RPM packages in COPR. Thus, we need no more deb/rpm packages in Github releases. The single binary build of mscp is an execptio. Updated container image versions: - almalinux 8.8 -> 9.3 - rocky 8.8 -> 8.9, and 9.3 is added - alpine 3.17 -> 3.19 | |||
2024-02-04 | drop python binding support | Ryo Nakamura | |
2024-02-04 | add doc/DEVELOP.md instead of doc/README.md | Ryo Nakamura | |
2024-02-04 | change build target update-mscp-rst to update-rst | Ryo Nakamura | |
2024-02-04 | build deb sources inside a container | Ryo Nakamura | |
A new build target `build-deb` builds mscp deb inside a docker container. All debuild -us -uc outputs are copied to build/debbuild directory. | |||
2024-02-04 | build source rpm inside a container | Ryo Nakamura | |
A new build target `build-srpm` builds mscp src.rpm inside a docker container. The src.rpm can be published at COPR. | |||
2024-01-20 | update README for building on FreeBSD | Ryo Nakamura | |
2024-01-20 | fix install-build-deps.sh to run on FreeBSD | Ryo Nakamura | |
2024-01-20 | run build on freebsd action in dev and main branches | Ryo Nakamura | |
2024-01-21 | add github actions to build mscp in FreeBSD | Ryo Nakamura | |
2024-01-21 | make it buildable at FreeBSD | Ryo Nakamura | |
2024-01-18 | update doc version | Ryo Nakamura | |
and remove --dirty from git-describe-based versioning | |||
2024-01-18 | bump version to 0.1.3 | Ryo Nakamura | |
2024-01-18 | import rpm pgp key before yum install in Alama | Ryo Nakamura | |
See https://cloudlinux.zendesk.com/hc/en-us/articles/12225072530204-yum-update-error-Error-GPG-check-FAILED | |||
2024-01-18 | add SPDX-License-Identifier to source files | Ryo Nakamura | |
2024-01-18 | don't allocate char[PATH_MAX] for each file | Ryo Nakamura | |
This commit makes struct path allocation use strndup(). It reduices the memory footprint for struct path per file (issue #8). | |||
2024-01-18 | fix wrong dst path for source path under '/' | Ryo Nakamura | |
When a source file path is /FILE, its dest path would be dst/ILE. This commit fixes this issue (#8). | |||
2024-01-18 | add a test case test_copy_file_under_root_to_dir | Ryo Nakamura | |
Coping a file under / (root) to a remote directory causes corrupted remote path (Issue #8). | |||
2024-01-18 | print warn messages when stat and opendir failed | Ryo Nakamura | |
during scanning src paths due to, e.g., too many levels of symbolic links, too long path, and permission deineid. | |||
2024-01-14 | add manpage for mscp | Ryo Nakamura | |
doc/mscp.rst is generate from mscp.1 by make generate-mscp-rst. README is also updateded to reference doc/mscp.rst. | |||
2024-01-06 | bump libssh to libssh-0.10.6-2-g6f1b1e76 | Ryo Nakamura | |
libssh 0.10.6 has a regression in IPv6 parsing, so we pick stable-0.10 that includes the fixes. https://gitlab.com/libssh/libssh-mirror/-/issues/227 | |||
2024-01-04 | bump libssh to 0.10.6 | Ryo Nakamura | |
libssh 0.10.6 includes some security fixes, e.g., CVE-2023-48795. | |||
2023-12-10 | update README | Ryo Nakamura | |
install mscp from ppa for ubuntu | |||
2023-12-10 | fix Description in debian/control | Ryo Nakamura | |
2023-12-10 | add debian directory | Ryo Nakamura | |
2023-12-10 | dockerfile: do not run ldconfig in alpine | Ryo Nakamura | |
2023-12-10 | dockerfile: do ldconfig after pymscp installation | Ryo Nakamura | |
2023-12-10 | cmake: add INSTALL_EXECUTABLE_ONLY option | Ryo Nakamura | |
2023-12-10 | rename setup.py to pysetup.py | Ryo Nakamura | |
to prevent dh_auto_build from automatically detecting setup.py. | |||
2023-11-25 | add -P, equivalent to -p for just compatibility | Ryo Nakamura | |
and add a test case for -p and -P | |||
2023-11-25 | add -I interval option | Ryo Nakamura | |
-I INTERVAL option inserts sleep for interval (seconds) between SSH connection attempts (issue #7). | |||
2023-11-11 | workflows: do apt-get update before running install-build-deps.sh | Ryo Nakamura | |
2023-11-11 | codeql.yml: do apt-get update before running install-build-deps.sh | Ryo Nakamura | |
2023-11-01 | bump version to 0.1.2 | Ryo Nakamura | |
2023-11-01 | add --sysctl net.ipv6.conf.all.disable_ipv6=0 for docker run. | Ryo Nakamura | |
docker disables ipv6 on all interfaces inside containers by default, even ::1 on lo. It causes testing mscp with IPv6 fails. Thus, this commit disables disable_ipv6 via the --sysctl option. | |||
2023-11-01 | fix parsing user@host:path. | Ryo Nakamura | |
This commit fixes issue #6. Now mscp command correctly parses [x::x] IPv6 address notation in hostname. | |||
2023-11-01 | main: adopt rolling average of recent eight bps values to calculate ETA | Ryo Nakamura | |
2023-11-01 | main: call only mscp_stop() when receives sigint | Ryo Nakamura | |