From 893d24e40a596fb3e888e094697358b2a1ba4a3e Mon Sep 17 00:00:00 2001 From: Kay0u Date: Mon, 12 Apr 2021 12:26:14 +0200 Subject: [PATCH] Upgrade to 1.16.3 --- conf/go.arm.src | 4 ++-- conf/go.arm64.src | 4 ++-- conf/go.i386.src | 4 ++-- conf/go.x86-64.src | 4 ++-- conf/lxd.src | 4 ++-- scripts/install | 9 +-------- scripts/restore | 9 +-------- scripts/upgrade | 2 +- 8 files changed, 13 insertions(+), 27 deletions(-) diff --git a/conf/go.arm.src b/conf/go.arm.src index 5d255bb..08921fe 100644 --- a/conf/go.arm.src +++ b/conf/go.arm.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://golang.org/dl/go1.16.linux-armv6l.tar.gz -SOURCE_SUM=d1d9404b1dbd77afa2bdc70934e10fbfcf7d785c372efc29462bb7d83d0a32fd +SOURCE_URL=https://golang.org/dl/go1.16.3.linux-armv6l.tar.gz +SOURCE_SUM=0dae30385e3564a557dac7f12a63eedc73543e6da0f6017990e214ce8cc8797c SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/go.arm64.src b/conf/go.arm64.src index ec9bf71..2ccc1ff 100644 --- a/conf/go.arm64.src +++ b/conf/go.arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://golang.org/dl/go1.16.linux-arm64.tar.gz -SOURCE_SUM=3770f7eb22d05e25fbee8fb53c2a4e897da043eb83c69b9a14f8d98562cd8098 +SOURCE_URL=https://golang.org/dl/go1.16.3.linux-arm64.tar.gz +SOURCE_SUM=566b1d6f17d2bc4ad5f81486f0df44f3088c3ed47a3bec4099d8ed9939e90d5d SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/go.i386.src b/conf/go.i386.src index a4c8bf3..3563edf 100644 --- a/conf/go.i386.src +++ b/conf/go.i386.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://golang.org/dl/go1.16.linux-386.tar.gz -SOURCE_SUM=ea435a1ac6d497b03e367fdfb74b33e961d813883468080f6e239b3b03bea6aa +SOURCE_URL=https://golang.org/dl/go1.16.3.linux-386.tar.gz +SOURCE_SUM=48b2d1481db756c88c18b1f064dbfc3e265ce4a775a23177ca17e25d13a24c5d SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/go.x86-64.src b/conf/go.x86-64.src index d344c9f..1d743f9 100644 --- a/conf/go.x86-64.src +++ b/conf/go.x86-64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://golang.org/dl/go1.16.linux-amd64.tar.gz -SOURCE_SUM=013a489ebb3e24ef3d915abe5b94c3286c070dfe0818d5bca8108f1d6e8440d2 +SOURCE_URL=https://golang.org/dl/go1.16.3.linux-amd64.tar.gz +SOURCE_SUM=951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/lxd.src b/conf/lxd.src index 713de01..8fc0a7e 100644 --- a/conf/lxd.src +++ b/conf/lxd.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/lxc/lxd/releases/download/lxd-4.12/lxd-4.12.tar.gz -SOURCE_SUM=3c5b87eb20e49f11084afb29224b6bad7a69bbdd8eaa99941c106149234bf1e1 +SOURCE_URL=https://github.com/lxc/lxd/releases/download/lxd-4.13/lxd-4.13.tar.gz +SOURCE_SUM=8efd95ad4023e0d197490deb169512977ce81e3560cfd5dd93511ae438405970 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/scripts/install b/scripts/install index 22fc194..bdc3cd8 100755 --- a/scripts/install +++ b/scripts/install @@ -33,13 +33,6 @@ ynh_script_progression --message="Storing installation settings..." #================================================= # STANDARD MODIFICATIONS -#================================================= -# OPEN A PORT -#================================================= -ynh_script_progression --message="Configuring firewall..." - -ynh_exec_warn_less yunohost firewall allow --no-upnp Both 67 - #================================================= # INSTALL DEPENDENCIES #================================================= @@ -137,7 +130,7 @@ root:100000:65536" | tee -a /etc/subuid /etc/subgid #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports=67 +yunohost service add $app --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index aea4fbd..91863b1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -38,13 +38,6 @@ ynh_script_progression --message="Recreating the dedicated system user..." # Create the dedicated user (if not existing) ynh_system_user_create --username=$app -#================================================= -# OPEN A PORT -#================================================= -ynh_script_progression --message="Configuring firewall..." - -ynh_exec_warn_less yunohost firewall allow --no-upnp Both 67 - #================================================= # SPECIFIC RESTORATION #================================================= @@ -69,7 +62,7 @@ systemctl enable $app.service --quiet #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports=67 +yunohost service add $app --log="/var/log/$app/$app.log" #================================================= # RESTORE VARIOUS FILES diff --git a/scripts/upgrade b/scripts/upgrade index 5c9680d..0bc4f3a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -149,7 +149,7 @@ root:100000:65536" | tee -a /etc/subuid /etc/subgid #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports=67 +yunohost service add $app --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE