fix gotify
new version for adguardhome authelia bitwarden-desktop element-web gitea gotify joplin mautrix-whatsapp metabase zigbee2mqtt rustdesk-server
This commit is contained in:
parent
5012543e4c
commit
cc93246273
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.108.0-b.9
|
VERSION=0.108.0-b.11
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=4.36.2
|
VERSION=4.36.3
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2022.6.1
|
VERSION=2022.6.2
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.11.0
|
VERSION=1.11.2
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.16.9
|
VERSION=1.17.0
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
@ -20,14 +20,12 @@ envinit() {
|
||||||
wget -qO - https://deb.nodesource.com/setup_16.x | bash
|
wget -qO - https://deb.nodesource.com/setup_16.x | bash
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
wget -qO - https://go.dev/dl/go1.17.7.linux-amd64.tar.gz | tar -C /usr/local -xz
|
wget -qO - https://go.dev/dl/go1.18.1.linux-amd64.tar.gz | tar -C /usr/local -xz
|
||||||
}
|
}
|
||||||
|
|
||||||
prebuild(){
|
prebuild(){
|
||||||
[ -e /tmp/git ] && rm -fr /tmp/git
|
[ -e /tmp/git ] && rm -fr /tmp/${APP}
|
||||||
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
|
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/${APP}
|
||||||
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
|
|
||||||
cp -r /tmp/git/. /tmp/${APP}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -3,31 +3,32 @@
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
APP=gotify
|
APP=gotify
|
||||||
VERSION=2.1.4
|
VERSION=2.1.5
|
||||||
GIT_VERSION=v$VERSION
|
GIT_VERSION=v$VERSION
|
||||||
DEB_VERSION=$VERSION-2
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=6
|
||||||
|
|
||||||
STEP="envinit prebuild build makedeb"
|
STEP="envinit prebuild build makedeb"
|
||||||
|
|
||||||
envinit() {
|
envinit() {
|
||||||
apt install -y --no-install-recommends build-essential git wget ca-certificates dpkg fakeroot
|
apt-get update
|
||||||
|
apt install -y --no-install-recommends build-essential git wget ca-certificates dpkg fakeroot gnupg2
|
||||||
wget -qO - https://deb.nodesource.com/setup_16.x | bash
|
wget -qO - https://deb.nodesource.com/setup_16.x | bash
|
||||||
wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarnkey.gpg
|
wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarnkey.gpg
|
||||||
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list
|
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y nodejs yarn
|
apt-get install -y nodejs yarn
|
||||||
wget -qO - https://go.dev/dl/go1.17.7.linux-amd64.tar.gz | tar -C /usr/local -xz
|
wget -qO - https://go.dev/dl/go1.18.1.linux-amd64.tar.gz | tar -C /usr/local -xz
|
||||||
}
|
}
|
||||||
|
|
||||||
prebuild(){
|
prebuild(){
|
||||||
GIT_VERSION=$1
|
[ -e /tmp/${APP} ] && rm -fr /tmp/${APP}
|
||||||
git clone --depth 1 -b ${GIT_VERSION} https://github.com/gotify/server.git /tmp/server
|
git clone --depth 1 -b ${GIT_VERSION} https://github.com/gotify/server.git /tmp/${APP}
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd /tmp/server/
|
cd /tmp/${APP}
|
||||||
PATH=${PATH}:/usr/local/go/bin
|
PATH=${PATH}:/usr/local/go/bin
|
||||||
export GO111MODULE=on
|
export GO111MODULE=on
|
||||||
make download-tools
|
make download-tools
|
||||||
|
@ -38,12 +39,10 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
makedeb(){
|
makedeb(){
|
||||||
GIT_VERSION=$1
|
|
||||||
DEB_VERSION=$2
|
|
||||||
PATH_DEB=/tmp/src/rootfs
|
PATH_DEB=/tmp/src/rootfs
|
||||||
|
|
||||||
cp /tmp/server/gotify-server ${PATH_DEB}/usr/bin/
|
cp /tmp/${APP}/gotify-server ${PATH_DEB}/usr/bin/
|
||||||
cp /tmp/server/config.example.yml ${PATH_DEB}/etc/gotify/config.yml
|
cp /tmp/${APP}/config.example.yml ${PATH_DEB}/etc/gotify/config.yml
|
||||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
id gotify &> /dev/null || useradd gotify -r -s /bin/false -md /var/lib/gotify
|
id gotify &> /dev/null || useradd gotify -r -s /bin/false -md /var/lib/gotify
|
||||||
|
|
||||||
chown -R www-data:www-data /var/lib/grocy/data/
|
chown -R www-data:www-data /var/lib/gotify/data/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
GIT_VERSION=v2.8.8
|
GIT_VERSION=v2.9.1
|
||||||
DEB_VERSION_DESKTOP=2.8.8-$(date +%Y%m%d%H%M)
|
DEB_VERSION_DESKTOP=2.9.1-$(date +%Y%m%d%H%M)
|
||||||
DEB_VERSION_SERVER=2.7.8-$(date +%Y%m%d%H%M)
|
DEB_VERSION_SERVER=2.7.8-$(date +%Y%m%d%H%M)
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
|
mautrix-whatsapp (0.6.0) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* First deb version
|
||||||
|
|
||||||
|
-- Thomas Legay <thomas@lgy.fr> Mon, 17 Jul 2022 21:08:37 +0200
|
||||||
|
|
||||||
mautrix-whatsapp (0.5.0) UNRELEASED; urgency=medium
|
mautrix-whatsapp (0.5.0) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
* First deb version
|
* First deb version
|
||||||
|
|
||||||
-- Thomas Legay <thomas@lgy.fr> Mon, 03 Jul 2022 21:08:37 +0200
|
-- Thomas Legay <thomas@lgy.fr> Mon, 03 Jul 2022 21:08:37 +0200
|
||||||
|
|
||||||
mautrix-whatsapp (0.4.0) UNRELEASED; urgency=medium
|
mautrix-whatsapp (0.4.0) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
* First deb version
|
* First deb version
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.5.0
|
VERSION=0.6.0
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.43.4
|
VERSION=0.44
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
APP=rustdesk-server
|
APP=rustdesk-server
|
||||||
VERSION=1.1.5
|
VERSION=1.1.5-1
|
||||||
GIT_VERSION=$VERSION
|
GIT_VERSION=$VERSION
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.26.0
|
VERSION=1.27.0
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue