diff --git a/arpspoof/CHANGELOG.md b/arpspoof/CHANGELOG.md index f022974c4..1c278f72b 100644 --- a/arpspoof/CHANGELOG.md +++ b/arpspoof/CHANGELOG.md @@ -1,3 +1,6 @@ + +## 4.0.0 (26-04-2022) +- Update to latest version from null - Add codenotary sign - New standardized logic for Dockerfile build and packages installation diff --git a/arpspoof/Dockerfile b/arpspoof/Dockerfile index 1674f8011..788723eac 100644 --- a/arpspoof/Dockerfile +++ b/arpspoof/Dockerfile @@ -33,8 +33,8 @@ COPY rootfs/ / ARG MODULES="00-banner.sh 00-global_var.sh" # Automatic modules download -RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \ - && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \ +RUN if ! command -v bash >/dev/"4.0.0" 2>/dev/"4.0.0"; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/"4.0.0"; fi \ + && if ! command -v curl >/dev/"4.0.0" 2>/dev/"4.0.0"; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/"4.0.0"; fi \ && mkdir -p /etc/cont-init.d \ && for scripts in $MODULES; do echo "$scripts" && curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" && [ "$(sed -n '/\/bin/p;q' /etc/cont-init.d/"$scripts")" != "" ] || (echo "script failed to install $scripts" && exit 1); done \ && chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE @@ -43,8 +43,8 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get ENV PACKAGES="jq curl iproute2" # Automatic apps & bashio -RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \ - && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \ +RUN if ! command -v bash >/dev/"4.0.0" 2>/dev/"4.0.0"; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/"4.0.0"; fi \ + && if ! command -v curl >/dev/"4.0.0" 2>/dev/"4.0.0"; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/"4.0.0"; fi \ && curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \ && chmod 777 /automatic_packages.sh \ && eval /./automatic_packages.sh "${PACKAGES:-}" \ diff --git a/arpspoof/config.json b/arpspoof/config.json index 2bcc53fc6..8ea05f097 100644 --- a/arpspoof/config.json +++ b/arpspoof/config.json @@ -33,6 +33,6 @@ "slug": "arpspoof", "upstream": "1.0.0", "url": "https://github.com/alexbelgium/hassio-addons/tree/master/arpsoof", - "version": "1.0.0", + "version": "4.0.0", "webui": "http://[HOST]:[PORT:7022]" } diff --git a/arpspoof/updater.json b/arpspoof/updater.json index 01a6426dc..f27677e1c 100644 --- a/arpspoof/updater.json +++ b/arpspoof/updater.json @@ -4,5 +4,6 @@ "slug": "arpspoof", "source": "github", "upstream_repo": "t0mer/Arpspoof-Docker", - "upstream_version": "1.0.0 " + "upstream_version": "1.0.0 ", + "upstream": "4.0.0" }