#!/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="unbound" vers="$(autoconf --version | head -n 1 | rev | cut -f 1 -d' ' | rev | cut -f 1,2 -d'.')" if [ "${vers}" = "2.71" ];then pkgVersion="release-1.26.1" else pkgVersion="release-1.7.2rc1" fi #pkgVersion="release-1.7.0rc3" #pkgVersion="master" pkgDeps="lib/autotools/autoconf;lib/autotools/automake;lib/autotools/gnulib" pkgDeps="$pkgDeps;lib/crypto/openssl" pkgDeps="$pkgDeps;lib/autotools/libtool" work="/opt/lib/$pkgName" pkgSrc="$work/$pkgVersion" pkgConfName="unbound" pkgInstallPath="lib/system/unbound" pkgConfPath="/usr/local/lib" #pkgConfPath="${pkgSrc}/dist" PKG_LIBS="-lunbound" PKG_SEARCHEAD_FILE="unbound.h" PKG_SEARCHLIB_FILE="libunbound.so" PKG_SEARCHEADLIB_FOLDERS="$PKG_SEARCH_FOLDERS /usr/local/lib:/usr/local/include/unbound" #PKG_SEARCHEADLIB_FOLDERS="" #LIBUNBOUND_LIBS="PKG_LIBS"; #LIBUNBOUND_CFLAGS="$PKG_CFLAGS"; pkgDirLog="$work/$pkgVersion-log" #if [ ! -d "$pkgSrc" ];then mkdir -p "$pkgSrc";fi if [ ! -d "$pkgDirLog" ];then mkdir -p "$pkgDirLog";fi