Lines Matching +full:zlib +full:- +full:dev
15 setfacl -b . regress
16 PACKAGES="$PACKAGES,autoconf,automake,cygwin-devel,gcc-core"
17 PACKAGES="$PACKAGES,make,openssl-devel,zlib-devel"
19 *-darwin*)
32 set -e
34 if [ -x "`which lsb_release 2>&1`" ]; then
35 lsb_release -a
38 if [ ! -z "$SUDO" ]; then
40 # agent-getpeerid test from running ssh-add as nobody. See
41 # https://github.com/actions/runner-images/issues/6106
42 if ! "$SUDO" -u nobody test -x ~; then
47 # sudo still works, but sudo -u doesn't. Restore the sudo rule.
48 if ! "$SUDO" grep -E 'runner.*NOPASSWD' /etc/passwd >/dev/null; then
50 echo 'runner ALL=(ALL) NOPASSWD: ALL' |$SUDO tee -a /etc/sudoers
52 if ! "$SUDO" -u nobody -S test -x ~ </dev/null; then
64 --with-pam) TARGETS="${TARGETS} pam" ;;
65 --with-libedit) TARGETS="${TARGETS} libedit" ;;
72 default|without-openssl|without-zlib|c89)
75 clang-sanitize*)
76 PACKAGES="$PACKAGES clang-12"
78 cygwin-release)
79 PACKAGES="$PACKAGES libcrypt-devel libfido2-devel libkrb5-devel"
81 gcc-sanitize*)
83 clang-*|gcc-*)
84 compiler=$(echo $TARGET | sed 's/-Werror//')
88 PACKAGES="$PACKAGES libkrb5-dev"
91 PACKAGES="$PACKAGES heimdal-dev"
95 setup) PACKAGES="$PACKAGES libedit-devel" ;;
96 apt) PACKAGES="$PACKAGES libedit-dev" ;;
101 apt) PACKAGES="$PACKAGES libpam0g-dev" ;;
106 PACKAGES="$PACKAGES libfido2-dev libu2f-host-dev libcbor-dev"
109 PACKAGES="$PACKAGES libselinux1-dev selinux-policy-dev"
115 PACKAGES="$PACKAGES musl-tools"
118 PACKAGES="$PACKAGES libgoogle-perftools-dev"
120 openssl-noec)
122 SSLCONFOPTS="no-ec"
124 openssl-*)
125 INSTALL_OPENSSL=$(echo ${TARGET} | cut -f2 -d-)
127 1.1.1_stable) INSTALL_OPENSSL="OpenSSL_1_1_1-stable" ;;
129 3.*) INSTALL_OPENSSL="openssl-${INSTALL_OPENSSL}" ;;
131 PACKAGES="${PACKAGES} putty-tools dropbear-bin"
133 libressl-*)
134 INSTALL_LIBRESSL=$(echo ${TARGET} | cut -f2 -d-)
137 *) INSTALL_LIBRESSL="$(echo ${TARGET} | cut -f2 -d-)" ;;
139 PACKAGES="${PACKAGES} putty-tools dropbear-bin"
143 PACKAGES="${PACKAGES} cmake ninja-build"
145 putty-*)
146 INSTALL_PUTTY=$(echo "${TARGET}" | cut -f2 -d-)
152 zlib-*)
161 sudo apt update -qq
162 sudo apt install -qy software-properties-common
163 sudo apt-add-repository -y ppa:yubico/stable
167 while [ ! -z "$PACKAGES" ] && [ "$tries" -gt "0" ]; do
170 sudo apt update -qq
171 if sudo apt install -qy $PACKAGES; then
176 if [ ! -z "PACKAGES" ]; then
183 if /cygdrive/c/setup.exe -q -P `echo "$PACKAGES" | tr ' ' ,`; then
188 if [ ! -z "$PACKAGES" ]; then
191 tries=$(($tries - 1))
193 if [ ! -z "$PACKAGES" ]; then
205 if [ ! -z "${INSTALL_OPENSSL}" ]; then
210 ./config no-threads shared ${SSLCONFOPTS} \
211 --prefix=/opt/openssl &&
215 if [ ! -z "${INSTALL_LIBRESSL}" ]; then
217 (mkdir -p ${HOME}/libressl && cd ${HOME}/libressl &&
218 git clone https://github.com/libressl-portable/portable.git &&
222 ./configure --prefix=/opt/libressl &&
227 wget ${LIBRESSL_URLBASE}/libressl-${INSTALL_LIBRESSL}.tar.gz &&
228 tar xfz libressl-${INSTALL_LIBRESSL}.tar.gz &&
229 cd libressl-${INSTALL_LIBRESSL} &&
230 ./configure --prefix=/opt/libressl && make && sudo make install)
234 if [ ! -z "${INSTALL_BORINGSSL}" ]; then
237 cmake -GNinja -DCMAKE_POSITION_INDEPENDENT_CODE=ON .. && ninja &&
238 mkdir -p /opt/boringssl/lib &&
240 cp -r ${HOME}/boringssl/include /opt/boringssl)
243 if [ ! -z "${INSTALL_ZLIB}" ]; then
244 (cd ${HOME} && git clone https://github.com/madler/zlib.git &&
245 cd ${HOME}/zlib && ./configure && make &&
246 sudo make install prefix=/opt/zlib)
249 if [ ! -z "${INSTALL_PUTTY}" ]; then
254 (cd /tmp && wget https://tartarus.org/~simon/putty-snapshots/${tarball})
257 tarball=putty-${ver}.tar.gz
261 (cd ${HOME} && tar xfz /tmp/${tarball} && cd putty-*
262 if [ -f CMakeLists.txt ]; then
263 cmake . && cmake --build . && sudo cmake --build . --target install
268 /usr/local/bin/plink -V