#!/bin/sh # ===================================================================== # Projet : DARKMAKE # Fichier : install # 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. # ===================================================================== if ! type "shInclude" > /dev/null; then racine="${racine:-/etc/darkmake}" . /etc/darkcontainer/lib/shTools shLog="${shLog:-"apache2 install"}" shDebugEnable="${shDebugEnable:-1}" shDebug "$*" $(shInclude /etc/darkcontainer/lib/autotools/pkg-config) fi autoPath="web/apache2" shErrorOnMissing "autoPath" #$(shInclude $racine/web/apache2/global/install_vars) . $racine/lib/autotools/libtool/install/basics #shDebug 1 "$racine/web/apache2/global/vars" for param in $*;do if [ "$param" = "force_initv" ];then force_initv=1; shDebug 1 "force_initv" fi done $(shInclude $racine/web/apache2/global/vars) shLog="$pName-install:" shDebug "[ INFO ] which :sh touch kill $pName" cmdSh="${cmdSh:-$(which sh)}" cmdTouch="${cmdTouch:-$(which touch)}" cmdKill="${cmdKill:-$(which kill)}" #if [ -z "$cmdDaemon" ];then cmdDaemon="$(which $pName)";fi #if [ -z "$cmdDaemon" ];then cmdDaemon="$pFolder/$pName";fi echo pChrootDir="$pChrootDir"\ pName="$pName"\ pUser="$pUser"\ pGroup="$pGroup"\ pStart="$pStart"\ pStartDebug="$pStartDebug"\ pCacheDir="$pCacheDir"\ pServiceInfo="$pServiceInfo"\ pServiceDoc="$pServiceDoc"\ cmdDaemon="$cmdDaemon"\ cmdDaemonFull="$cmdDaemonFull"\ pLibFiles="$pLibFiles"\ pLibFolders="$pLibFolders"\ pDebugFile="$pDebugFile"\ pParamStart="$pParamStart"\ pParamStartDebug="$pParamStartDebug"\ pPreStart="$pPreStart"\ pParamStartDebug="$pParamStartDebug"\ pMountFolders="$pMountFolders"\ pDirUserGroupRight="$pDirUserGroupRight"\ pDirStruct="$pDirStruct"\ pidFile="$pidFile"\ pCopyLib="$pCopyLib"\ pChrootDir="$pChrootDir"\ pName="$pName"\ pUser="$pUser"\ pGroup="$pGroup"\ pStart="$pStart"\ pStartDebug="$pStartDebug"\ pCacheDir="$pCacheDir"\ pServiceInfo="$pServiceInfo"\ pServiceDoc="$pServiceDoc"\ cmdDaemon="$cmdDaemon"\ cmdDaemonFull="$cmdDaemonFull"\ pLibFiles="$pLibFiles"\ pLibFolders="$pLibFolders"\ pDebugFile="$pDebugFile"\ pParamStart="$pParamStart"\ pParamStartDebug="$pParamStartDebug"\ pPreStart="$pPreStart"\ pParamStartDebug="$pParamStartDebug"\ pMountFolders="$pMountFolders"\ pDirUserGroupRight="$pDirUserGroupRight"\ pDirStruct="$pDirStruct"\ pIdFile="$pIdFile"\ pCopyLib="$pCopyLib"\ $cmdSh $racine/bakuba/bin/service_install #echo "cp /usr/local/lib/libsvn_* /srv/httpd/usr/lib/;cp /usr/local/lib/libutf8proc.* /srv/httpd/usr/lib/"