Age | Commit message (Collapse) | Author |
|
With podman 5.0.1 on macOS 14.4.1 with M2 Pro, ssh localhost inside
podman containers fails. I'm not sure its reason, but as a work around,
I added --privileged to podman run.
|
|
|
|
|
|
podman does not add the entry for ip6-localhost in /etc/hosts. Thus this
commit adds it manually. Also, remove unused DIST_PKGS variable.
|
|
|
|
|
|
|
|
|
|
|
|
All docker files do not call isntall-build-deps.sh. Instead, cmake passes
REQUIREDPKGS to Dockerfiles, which is derived from the output of
./scripts/install-build-deps.sh --dont-install --platform PLATFORM.
This change enables caching package installaion during docker build.
|
|
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.
|
|
|
|
instead, mpr_* functions print messages to stdout or stderr directly.
|
|
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
|
|
|
|
|
|
A new build target `build-deb` builds mscp deb inside a docker
container. All debuild -us -uc outputs are copied to build/debbuild
directory.
|
|
A new build target `build-srpm` builds mscp src.rpm inside a docker
container. The src.rpm can be published at COPR.
|
|
|
|
and remove --dirty from git-describe-based versioning
|
|
doc/mscp.rst is generate from mscp.1 by make generate-mscp-rst.
README is also updateded to reference doc/mscp.rst.
|
|
|
|
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.
|
|
MSCP_BUILD_VERSION (`git describe --tags --dirty --match "v*"`) is
passed through include/mscp_version.h.in and cmake.
When git is failed, use VERSION file instead (for building from
source tar balls that excludes .git).
|
|
|
|
Previously wrapper functions for open(), opendir(), and stat(), etc,
are implemneted in path.h, and now they are in fileops.h and fileops.c.
This commit is a reparation for remote glob.
|
|
And cleanup Docker files
|
|
This change enables downloading latest packages from URL
https://github.com/upa/mscp/releases/latest/download/PACKAGE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The build recipe in docker/alpine-3.17.Dockerfile uses conan to
build mscp as a single binary (with statically linked musl).
Now the mscp binary is portable!
|
|
conan cmake build with -DBUILD_CONAN=ON and -DBUILD_STATIC=ON in
alpine make mscp as a single binary with statically linked musl.
|
|
|
|
ToDo:
main should use pipe to receive messages from libmscp.
|
|
Instead of pr_err(), libmscp uses mscp_set_error() and
applications use mscp_get_errror() to get error message.
|
|
|
|
|
|
|
|
this commit starts to refactor file.h|c to path.h|c and
add mscp.c|h. not completed yet.
|
|
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on
the patched libssh.
|
|
|
|
|
|
|
|
* install mscp from package at docker build phase.
* add docker-*-all custom targets.
|
|
TODO: add bruild procedure for async_write
|
|
* now mscp with async write is compilable on both macos and ubuntu
|