Browse Source

Commons_function.ksh: a liliputian error; M!5

HucSte 10 months ago
parent
commit
480ae4a766
4 changed files with 32 additions and 5 deletions
  1. 2 1
      BlockZones.sha512
  2. 3 2
      BlockZones.sha512.sig
  3. 25 0
      LICENSE
  4. 2 2
      inc/commons_functions.ksh

+ 2 - 1
BlockZones.sha512

@@ -2,7 +2,7 @@ SHA512 (./badips.ksh) = 457c13615f9dfe15ce66cca6f3c62dd5df4d2f252d99a7d2f87c9fdc
 SHA512 (./README.md) = 01ea6cbd73460e5487eafe758e53dbb19d0fe6df25642fee3415f71c0b6fa055079eb16dd3ce6dcd5a56e0c4ee349d506cf508ccc9040c461d86b3b5bc5533f3
 SHA512 (./badips) = b8fc67adfe7ca3b09f56e53edddd0ff5e8bbae57d0d42344955b363413a19a98ee60a3c4d5675c006d90610d5f6f6af6bc19d92a93950ba66f4761397613e4ac
 SHA512 (./inc/vars.ksh) = fb47b02075e2a39bd7a8b79b097997d66f745612de3441f0a31534f5c9fcece9d1c45fec31652b832efba6468a875887e5ee186932d38b0ece8e48590b418ad6
-SHA512 (./inc/commons_functions.ksh) = e82bde676d73b5b1d82b8489fcd67b3b83a3821401212181688f8ffc72beb858230362e1c5405f1d234d964b6f6ee5d6da5d8122a8c14846e05e845ad4606e78
+SHA512 (./inc/commons_functions.ksh) = b12db429203044cbe235e0a7ac9911594faf0f4b45e589fad10155d3936daa0d03e82387b1babdf81396ab31126bd8dde64c0102eb52c8ceeb69449791bc3434
 SHA512 (./inc/badips.ksh) = 016fcd3c390ac0b8d9e4d6e584fc21226663e0dcccdc4e70a1050ffb825b31b6c50adf664cd32e7e93e5c45873ad4d5c3a77d489cfbbca666d4fb500afbd54e7
 SHA512 (./inc/blacklists.ksh) = 66b6f2cbb927d607406c9e13535f9f32e7603d8a13a79a8b3ee3e272832dff9f9a2503d128815ed87ab8be3ef5da2067e528e0d12c6efd5ea039ad7645deec80
 SHA512 (./inc/bogons.ksh) = ef46b34954494ea846a029029768e59fa4d8fabc40ba34f956fc1729e090f54962738fd77b3d635c208315c0ce0708a435cc8e5dc6fd3ae92564967c070335c0
@@ -34,6 +34,7 @@ SHA512 (./BlockZones.pub) = cc7ab9deefa96cf3b83cfccadc716939fc6df95c8550b3219cd3
 SHA512 (./bogons.ksh93) = bd48c2f05bd570e86f048321e0b219ec94637a52ddb9db4fe38a4d0c37038a7d0cf3d5ea872a10338efdffe920b7ebf18bec6d7f08c7d36df0e1abf286cab5cd
 SHA512 (./img/Black_wasp.png) = f5d52f8a8ff8b5083ee055cc023530ce52ac148fd058e00c2bec9afb552489c2eff726acd91f8c008992c78618590badb0177a169ecd1b8cec969d446f2d9e65
 SHA512 (./img/Black_wasp.svg) = c8c0d3a766fe05915d5831671a98ad6707dcb3127001e99559d68f4305c45351e1bdb56b9d2a5ccbb389bdf0d58992afb473c8c489c8af8183293ba75220e13b
+SHA512 (./LICENSE) = 5f6e2682f990cd12e24fda4e791a2f637c6ad116da2e55c411eceaeb65654cb97c3156e6cb527b163f5fc60a9eebe61536513f1d9dca2184f1369aa76f8176f3
 SHA512 (./README_en.md) = 79c197d912cd45c6715a6876dddf2b441cc29df1ab2e4eeb6e3c2180d77dfbbc071e96303e0ce33746de24e75f0931401ac7d52afdc2b4f52eda0823f52d3537
 SHA512 (./bz_menu.ksh) = 9f707121b41a322b002f5fb341ea16a50e7da17e45fb15001807f81e7aef9ac01c08c492b550c37f1bc7c114c661bd6b9e9340a4080ac399ffd83a45d1e16cb7
 SHA512 (./bz_menu.ksh93) = ad4a8943829a28cf07a38aae08261894291d36283506381a05c5d269116c131a6704d2da57ad2f752ef4b0081fa60dcc5d536971679fbe7bdbad3ba4461a85ce

+ 3 - 2
BlockZones.sha512.sig

@@ -1,10 +1,10 @@
 untrusted comment: verify with BlockZones.pub
-RWQhfERlQr9tQXBqnQtB0yL8ODxkgNOiTAxmuv1xL1A7NXiqzIWOPSMdO2nI31RMd8ALwX14L7+JA3l6nHt2ClUmYybjwvHubgQ=
+RWQhfERlQr9tQYpVqajlX1kuU1GYIl1wo7JfrPSKnMx8t3wVLZc9h70JUavwFEp15G/9x90gUMzP+6ucXlu5GBQ1qg0OWJjomAs=
 SHA512 (./badips.ksh) = 457c13615f9dfe15ce66cca6f3c62dd5df4d2f252d99a7d2f87c9fdc5602c42b60770cd458d73a8ef035c155693f593caf46eb787dabc0bab40f0998a33137f2
 SHA512 (./README.md) = 01ea6cbd73460e5487eafe758e53dbb19d0fe6df25642fee3415f71c0b6fa055079eb16dd3ce6dcd5a56e0c4ee349d506cf508ccc9040c461d86b3b5bc5533f3
 SHA512 (./badips) = b8fc67adfe7ca3b09f56e53edddd0ff5e8bbae57d0d42344955b363413a19a98ee60a3c4d5675c006d90610d5f6f6af6bc19d92a93950ba66f4761397613e4ac
 SHA512 (./inc/vars.ksh) = fb47b02075e2a39bd7a8b79b097997d66f745612de3441f0a31534f5c9fcece9d1c45fec31652b832efba6468a875887e5ee186932d38b0ece8e48590b418ad6
-SHA512 (./inc/commons_functions.ksh) = e82bde676d73b5b1d82b8489fcd67b3b83a3821401212181688f8ffc72beb858230362e1c5405f1d234d964b6f6ee5d6da5d8122a8c14846e05e845ad4606e78
+SHA512 (./inc/commons_functions.ksh) = b12db429203044cbe235e0a7ac9911594faf0f4b45e589fad10155d3936daa0d03e82387b1babdf81396ab31126bd8dde64c0102eb52c8ceeb69449791bc3434
 SHA512 (./inc/badips.ksh) = 016fcd3c390ac0b8d9e4d6e584fc21226663e0dcccdc4e70a1050ffb825b31b6c50adf664cd32e7e93e5c45873ad4d5c3a77d489cfbbca666d4fb500afbd54e7
 SHA512 (./inc/blacklists.ksh) = 66b6f2cbb927d607406c9e13535f9f32e7603d8a13a79a8b3ee3e272832dff9f9a2503d128815ed87ab8be3ef5da2067e528e0d12c6efd5ea039ad7645deec80
 SHA512 (./inc/bogons.ksh) = ef46b34954494ea846a029029768e59fa4d8fabc40ba34f956fc1729e090f54962738fd77b3d635c208315c0ce0708a435cc8e5dc6fd3ae92564967c070335c0
@@ -36,6 +36,7 @@ SHA512 (./BlockZones.pub) = cc7ab9deefa96cf3b83cfccadc716939fc6df95c8550b3219cd3
 SHA512 (./bogons.ksh93) = bd48c2f05bd570e86f048321e0b219ec94637a52ddb9db4fe38a4d0c37038a7d0cf3d5ea872a10338efdffe920b7ebf18bec6d7f08c7d36df0e1abf286cab5cd
 SHA512 (./img/Black_wasp.png) = f5d52f8a8ff8b5083ee055cc023530ce52ac148fd058e00c2bec9afb552489c2eff726acd91f8c008992c78618590badb0177a169ecd1b8cec969d446f2d9e65
 SHA512 (./img/Black_wasp.svg) = c8c0d3a766fe05915d5831671a98ad6707dcb3127001e99559d68f4305c45351e1bdb56b9d2a5ccbb389bdf0d58992afb473c8c489c8af8183293ba75220e13b
+SHA512 (./LICENSE) = 5f6e2682f990cd12e24fda4e791a2f637c6ad116da2e55c411eceaeb65654cb97c3156e6cb527b163f5fc60a9eebe61536513f1d9dca2184f1369aa76f8176f3
 SHA512 (./README_en.md) = 79c197d912cd45c6715a6876dddf2b441cc29df1ab2e4eeb6e3c2180d77dfbbc071e96303e0ce33746de24e75f0931401ac7d52afdc2b4f52eda0823f52d3537
 SHA512 (./bz_menu.ksh) = 9f707121b41a322b002f5fb341ea16a50e7da17e45fb15001807f81e7aef9ac01c08c492b550c37f1bc7c114c661bd6b9e9340a4080ac399ffd83a45d1e16cb7
 SHA512 (./bz_menu.ksh93) = ad4a8943829a28cf07a38aae08261894291d36283506381a05c5d269116c131a6704d2da57ad2f752ef4b0081fa60dcc5d536971679fbe7bdbad3ba4461a85ce

+ 25 - 0
LICENSE

@@ -0,0 +1,25 @@
+BSD 2-Clause License
+
+Copyright (c) 2017, Stephane HUC - "BlackLabels :: BlockZones"
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+  list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 2 - 2
inc/commons_functions.ksh

@@ -12,7 +12,7 @@
 #
 #	This file is part of "BlackLabel :: BlockZones Project"
 #
-# Date: 2017/08/25
+# Date: 2017/08/27
 #
 ##
 ###
@@ -606,7 +606,7 @@ install_service() {
 	
 }
 
-cp_for_blacklists() [
+cp_for_blacklists() {
 
 	dir_dest=""