#!/bin/sh # ===================================================================== # Projet : DARKMAKE # Fichier : install_vars # Auteur : Nicolas "DarkHack" Chapuis (c) 2026 # ================== DARKHACK ================== # [ darkweb.fr - system online ] # Powered by Perplexity, your AI assistant # [https://www.perplexity.ai](https://www.perplexity.ai) # ============================================== # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ===================================================================== pkgName="openssl" pkgVersion="OpenSSL_1_1_1m" #pkgVersion="OpenSSL_1_0_2m" pkgDeps="lib/autotools/autoconf;lib/autotools/automake;lib/autotools/gnulib" pkgDeps="$pkgDeps;lib/graphical/xcb-pthread-stubs;lib/graphical/xorg-util-macros;lib/compression/zlib;lib/autotools/gmplib" pkgDeps="$pkgDeps;lib/languages/perl;lib/autotools/binutils" pkgDeps="$pkgDeps;lib/autotools/libtool" pkgConfName="openssl" pkgInstallPath="lib/crypto/openssl" if [ -f "/usr/local/lib64/pkgconfig/openssl.pc" ];then pkgConfPath="/usr/local/lib64" elif [ -f "/usr/local/lib/pkgconfig/openssl.pc" ];then pkgConfPath="/usr/local/lib" fi PKG_LIBS="-lcrypto -lssl" PKG_SEARCHLIB_FILE="libssl.so libcrypto.so" #PKG_SEARCHLIB_FILE="${PKG_SEARCHLIB_FILE} libother.so" PKG_SEARCHEAD_FILE="ssl.h" if [ -d "/usr/local/lib64" ];then PKG_SSL_LIB="/usr/local/lib64" else PKG_SSL_LIB="/usr/local/lib" fi PKG_SEARCHEADLIB_FOLDERS="${PKG_SSL_LIB}:/usr/local/include/openssl" #PKG_SEARCHEADLIB_FOLDERS="$PKG_SEARCHEADLIB_FOLDERS /usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu" PKG_CFLAGS="-I/usr/local/include/openssl" PKG_CPPFLAGS="-I/usr/local/include/openssl" #PKG_LDFLAGS="${PKG_LDFLAGS} -L${PKG_SSL_LIB}" PKG_LD_RUN_PATH="${PKG_LD_RUN_PATH}:${PKG_SSL_LIB}" PKG_LD_LIBRARY_PATH="${PKG_LD_LIBRARY_PATH}:${PKG_SSL_LIB}" PKG_LIBRARY_PATH="${PKG_LIBRARY_PATH}:${PKG_SSL_LIB}" work="/opt/lib/$pkgName" pkgSrc="$work/$pkgVersion" pkgDirLog="$work/$pkgVersion-log" #if [ ! -d "$pkgSrc" ];then mkdir -p "$pkgSrc";fi if [ ! -d "$pkgDirLog" ];then mkdir -p "$pkgDirLog";fi