summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2024-04-14add --privileged for docker/podman run for docker-test-*Ryo Nakamura
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.
2024-04-13fix release-related partsRyo Nakamura
2024-04-11add test on ubuntu 24.04Ryo Nakamura
2024-04-10add --add-host=ip6-localhost for docker run in testRyo Nakamura
podman does not add the entry for ip6-localhost in /etc/hosts. Thus this commit adds it manually. Also, remove unused DIST_PKGS variable.
2024-04-10add -L limit bitrate option (#14)Ryo Nakamura
2024-02-17add checkpoint.c and .hRyo Nakamura
2024-02-12add htonll and ntohllRyo Nakamura
2024-02-11cmake: add USE_PODMAN to use podman instead of dockerRyo Nakamura
2024-02-11add pool strcture and move src list to poolRyo Nakamura
2024-02-11install-build-deps.sh has --dont-install and --platform options.Ryo Nakamura
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.
2024-02-06refactor error message-related functionsRyo 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-06do not build strlcat.c if HAVE_STRLCAT is trueRyo Nakamura
2024-02-04do not passing msg_fp via mscp optsRyo Nakamura
instead, mpr_* functions print messages to stdout or stderr directly.
2024-02-04bump up container image versions and drop using CPackRyo 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-04drop python binding supportRyo Nakamura
2024-02-04change build target update-mscp-rst to update-rstRyo Nakamura
2024-02-04build deb sources inside a containerRyo 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-04build source rpm inside a containerRyo 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-21make it buildable at FreeBSDRyo Nakamura
2024-01-18update doc versionRyo Nakamura
and remove --dirty from git-describe-based versioning
2024-01-14add manpage for mscpRyo Nakamura
doc/mscp.rst is generate from mscp.1 by make generate-mscp-rst. README is also updateded to reference doc/mscp.rst.
2023-12-10cmake: add INSTALL_EXECUTABLE_ONLY optionRyo Nakamura
2023-11-01add --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-08-04introduce git-based versioningRyo Nakamura
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).
2023-08-03cmake: add docker-build no-cache targetRyo Nakamura
2023-08-03cleanup wrappers for file operationsRyo Nakamura
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.
2023-07-20drop centos8, add almalinux 8.8, update rocky to 8.8Ryo Nakamura
And cleanup Docker files
2023-03-12remove VERSION from package file namesRyo Nakamura
This change enables downloading latest packages from URL https://github.com/upa/mscp/releases/latest/download/PACKAGE
2023-03-10remove numpy from test, and fix compiling single binary mscpRyo Nakamura
2023-03-10add include GNUInstallDirsRyo Nakamura
2023-03-10now make install installs libmscpRyo Nakamura
2023-03-10fix CMakeLists to build libmscp on ubnutu 22.04Ryo Nakamura
2023-03-10merge main into libRyo Nakamura
2023-03-10fix typoRyo Nakamura
2023-03-10add alpine docker to build mscp as a single binaryRyo Nakamura
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!
2023-03-09add conanfile.txt to compile mscp as a single binaryRyo Nakamura
conan cmake build with -DBUILD_CONAN=ON and -DBUILD_STATIC=ON in alpine make mscp as a single binary with statically linked musl.
2023-03-09fix cmake: remove modification to libssh CMakeRyo Nakamura
2023-03-04remove pprint, use message (mpr_*) instead.Ryo Nakamura
ToDo: main should use pipe to receive messages from libmscp.
2023-03-03add message.h and message.c, mscp_set|get_error()Ryo Nakamura
Instead of pr_err(), libmscp uses mscp_set_error() and applications use mscp_get_errror() to get error message.
2023-02-26now mscp links libmscpRyo Nakamura
2023-02-26have written mscp.cRyo Nakamura
2023-02-25add copy-related functions to pathRyo Nakamura
2023-02-25start to impliment mscp as a libraryRyo Nakamura
this commit starts to refactor file.h|c to path.h|c and add mscp.c|h. not completed yet.
2022-12-03remove unused code and introduce -b buf_sz optionRyo Nakamura
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh.
2022-11-20fix CPACK build dependencyRyo Nakamura
2022-11-20build libssh-static from mscp cmakeRyo Nakamura
2022-11-20use list(LENGTH) to iterate DIST_ listsRyo Nakamura
2022-11-20fix CMakeLists.txtRyo Nakamura
* install mscp from package at docker build phase. * add docker-*-all custom targets.
2022-11-19cleanup docker-related commands in cmakeRyo Nakamura
TODO: add bruild procedure for async_write
2022-11-18cleanup CMakeLists.txtRyo Nakamura
* now mscp with async write is compilable on both macos and ubuntu