This product uses a modified version of the Redemption RDP proxy, which is licensed under the GNU General Public License version 2. These modifications include a CentOS7 compatibility patch for random number generation and static build flags.

The included build's source code can be found at https://github.com/SSHcom/redemption in the 12.0.9-static-libs branch.

--------------------

Below are listed the versions/commits, source locations, configuration options and build commands of statically linked dependencies:


SSL_VERSION = 3.0.21
https://github.com/openssl/openssl/releases/download/openssl-${SSL_VERSION}/openssl-${SSL_VERSION}.tar.gz
`./Configure linux-x86_64`
`./config no-ssl2 no-ssl3 no-weak-ssl-ciphers no-tests no-shared no-module no-zlib`
`make && make install_sw`

NASM_VERSION = 2.15.05
https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/nasm-${NASM_VERSION}.tar.xz
`./configure --prefix=/usr`
`make && make install`

VIDEOLAN_X264_COMMIT = aaa9aa8
https://code.videolan.org/videolan/x264.git
`git checkout ${VIDEOLAN_X264_COMMIT}`
`./configure --enable-static --enable-pic --disable-cli`
`make install-lib-static install-lib-shared install-lib-dev`

FFMPEG_VERSION = 6.1
https://www.ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.xz
```
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH ./configure \
	--arch=x86_64 \
	--pkg-config-flags="--static" \
	--extra-cflags="-I/usr/local/include" \
	--extra-ldflags="/usr/local/lib/libx264.a" \
	--enable-gpl --enable-pic --enable-libx264 \
	--disable-swresample --disable-doc --disable-programs --disable-lzma
```
`make && make install`

HYPERSCAN_VERSION = 5.4.2
# The CentOS 7 build uses this version of Boost headers: https://boostorg.jfrog.io/artifactory/main/release/1.66.0/source/boost_1_66_0.tar.gz
# Other builds use the headers available from the boost-devel package.
https://github.com/intel/hyperscan/archive/refs/tags/v${HYPERSCAN_VERSION}.tar.gz
`cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_POSITION_INDEPENDENT_CODE=1 -DCMAKE_INSTALL_PREFIX=/usr`
`make && make install`
