POSIX and Windows (using mingw-w64) are supported.
pkg-config
complaint>=openssl-1.1
- softhsm2
- easy-rsa
- awk compliant
- Optional
valgrind
- autoconf
- automake
- libtool
Run:
$ autoreconf -ivf
Use conf-dev.sh
to configure all features during development.
Use MYCMS_DO_VALGRIND=1 make check
to check using valgrind
.
$ ln -s packaging/debian
$ sudo apt install build-essential devscripts equivs
$ sudo mk-build-deps -i
$ sudo apt remove mycms-build-deps
$ debuild -b -uc -us -i
Due to deb
magics, before release version must be updated manually in packaging/debian/changelog
.
$ dpkg -i mycms*.deb
$ sudo apt install mingw-w64 nsis
$ MYCMS_PREFIX=/tmp/mycms-prefix
Download and extract OpenSSL tarball.
Run the following in OpenSSL source directory:
$ ./Configure --prefix="${MYCMS_PREFIX}" --cross-compile-prefix=x86_64-w64-mingw32- mingw64
$ make install_dev
$ ./configure --host=x86_64-w64-mingw32 --prefix="${MYCMS_PREFIX}" \
--enable-tool \
--enable-io-driver-file \
@ANY_ADDITIONAL_CONFIG@ \
PKG_CONFIG_PATH="${MYCMS_PREFIX}/lib64/pkgconfig/"
$ make install
$ DESTDIR="${MYCMS_PREFIX}" ./packaging/windows-nsis/build