#!/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="gnutls" vers="$(autoconf --version | head -n 1 | rev | cut -f 1 -d' ' | rev | cut -f 1,2 -d'.')" if [ "${vers}" = "2.71" ];then ## pkgVersion="3.8.13" ## pkgVersion="3.8.O" # pkgVersion="3.7.11" pkgVersion="3.6.16" ## autoconf 2.61 # pkgVersion="gnutls_3_3_30" # pkgVersion="gnutls_3_3_0" else ## pkgVersion="3.7.11" # pkgVersion="3.7.0" ## autoconf 2.63 ## pkgVersion="3.6.16" ## pkgVersion="gnutls_3_6_12" ## pkgVersion="gnutls_3_6_0" ## pkgVersion="gnutls_3_5_19" ## pkgVersion="gnutls_3_5_0" ## pkgVersion="gnutls_3_4_17" ## pkgVersion="gnutls_3_4_0" ## nettle 2.7 pkgVersion="gnutls_3_2_21" ### pkgVersion="gnutls_3_2_21" fi ## nettle 2.7 pkgVersion="gnutls_3_2_21" pkgDeps="lib/autotools/autoconf;lib/autotools/gnulib;lib/autotools/automake" pkgDeps="$pkgDeps;lib/compression/zlib;lib/crypto/openssl;lib/crypto/nettle;lib/crypto/tasn1;lib/crypto/p11-kits" pkgDeps="$pkgDeps;lib/autotools/gperf;lib/system/libiconv;lib/crypto/trousers;lib/web/idn;lib/system/unbound;" pkgDeps="$pkgDeps;lib/system/libunistring;lib/autotools/gettext;lib/autotools/gmplib" pkgDeps="$pkgDeps;lib/autotools/libtool" pkgConfName="gnutls" pkgInstallPath="lib/crypto/gnutls" pkgConfPath="/usr/local/lib" #pkgConfPath="${pkgSrc}/dist" PKG_LIBS="-lgnutls" PKG_SEARCHEAD_FILE="gnutls.h" PKG_SEARCHLIB_FILE="libgnutls.so" PKG_SEARCHEADLIB_FOLDERS="$PKG_SEARCH_FOLDERS /usr/local/lib:/usr/local/include/gnutls" #PKG_SEARCHEADLIB_FOLDERS="" LIBGNUTLS_LIBS="${PKG_LIBS} -L/usr/local/lib" LIBGNUTLS_CFLAGS="-I/usr/local/include/gnutls" 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