From 0bd2b1fda3df4859e2cf36aa17746ae1e3db3cb3 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Tue, 8 Mar 2016 11:51:46 +0400 Subject: [PATCH 1/3] correction de bugs avec apacheconfig --- apacheconfig | 6 ++++-- lib/ulib/apache.tools | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apacheconfig b/apacheconfig index 204518c..bf8e03e 100755 --- a/apacheconfig +++ b/apacheconfig @@ -252,8 +252,9 @@ elif [ "$action" == deploy -o "$action" == localhosts ]; then ${oneconf:+--one-conf "$oneconf"} ${onemodule:+--one-module "$onemodule"} ${onesite:+--one-site "$onesite"} - ${custom_sysinfos:+--sysname "$sysname" --sysdist "$sysdist" --sysver "$sysver" --bits "$bits"} ) + # sur une ligne séparée parce que $bits peut être vide + [ -n "$custom_sysinfos" ] && array_add args --sysname "$sysname" --sysdist "$sysdist" --sysver "$sysver" --bits "$bits" for __name in "${TEMPLATE_DYNAMIC_VARS[@]}"; do array_add args -v "$__name=${!__name}" done @@ -266,8 +267,9 @@ elif [ "$action" == deploy -o "$action" == localhosts ]; then --ignore "$(basename -- "$config")" ${oneconf:+--one-conf "$(basename -- "$oneconf")"} ${onemodule:+--one-module "$(basename -- "$onemodule")"} - ${custom_sysinfos:+--sysname "$sysname" --sysdist "$sysdist" --sysver "$sysver" --bits "$bits"} ) + # sur une ligne séparée parce que $bits peut être vide + [ -n "$custom_sysinfos" ] && array_add args --sysname "$sysname" --sysdist "$sysdist" --sysver "$sysver" --bits "$bits" elif [ "$action" == localhosts ]; then etitle "Mise à jour de /etc/hosts" args=(apache_autoconf_localhosts) diff --git a/lib/ulib/apache.tools b/lib/ulib/apache.tools index b3c97ad..814b4dc 100644 --- a/lib/ulib/apache.tools +++ b/lib/ulib/apache.tools @@ -307,7 +307,7 @@ function apache_autoconf() { # Faire un script sed pour remplacer les variables spécifiées par leur # valeur dans les fichiers local -a FILLVARS; local FILLSCRIPT FILLTEMP - __apache_autoconf_fillxxx + __apache_autoconf_fillxxx "$@" # Copie des certificats local modified rehash conf @@ -575,7 +575,7 @@ function apache_autoconf_localhosts() { # Faire un script sed pour remplacer les variables spécifiées par leur # valeur dans les fichiers local -a FILLVARS; local FILLSCRIPT FILLTEMP ULIB_INSTALL_VERBOSE - __apache_autoconf_fillxxx + __apache_autoconf_fillxxx "$@" local -a newhosts if [ -d "$sitesdir" ]; then From abbbfd5949c289858dbb59058cb4a05d9e5424da Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Tue, 8 Mar 2016 12:04:05 +0400 Subject: [PATCH 2/3] Init changelog & version 4.1.1 --- CHANGES.txt | 4 ++++ VERSION.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 834b3fc..304ba3c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,7 @@ +## Version 4.1.1 du 08/03/2016-12:04 + +0bd2b1f correction de bugs avec apacheconfig + ## Version 4.1.0 du 03/03/2016-11:02 4024b2a pyulib/umail: possibilité de spécifier le type de contenu diff --git a/VERSION.txt b/VERSION.txt index ee74734..627a3f4 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -4.1.0 +4.1.1 From 06954efd350391eecaa9ee780a554419be0c761c Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Tue, 8 Mar 2016 12:04:19 +0400 Subject: [PATCH 3/3] maj ulib --- lib/ulib/.ulibver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ulib/.ulibver b/lib/ulib/.ulibver index f833300..dcf5bb7 100644 --- a/lib/ulib/.ulibver +++ b/lib/ulib/.ulibver @@ -1 +1 @@ -012000000 +012000001