Suivi de version

This commit is contained in:
thomas 2023-07-05 23:53:40 +02:00
parent 7531b2fcac
commit 0925d5a9e4
17 changed files with 61 additions and 56 deletions

View file

@ -29,11 +29,16 @@ configure_depot_nodejs() {
NODE_VERSION=16
[ ! "$1" == "" ] && NODE_VERSION=$1
XNODE_VERSION=${NODE_VERSION}.x
grep -q ${XNODE_VERSION} /etc/apt/sources.list.d/nodesource.list
if [ $? -ne 0 ]
then
wget -qO - https://deb.nodesource.com/setup_${XNODE_VERSION} | bash
fi
if [ -e /etc/apt/sources.list.d/nodesource.list ]
then
grep -q ${XNODE_VERSION} /etc/apt/sources.list.d/nodesource.list
if [ $? -ne 0 ]
then
wget -qO - https://deb.nodesource.com/setup_${XNODE_VERSION} | bash
fi
else
wget -qO - https://deb.nodesource.com/setup_${XNODE_VERSION} | bash
fi
echo -e "Package: nodejs\\nPin: version ${NODE_VERSION}.*\\nPin-Priority: 1000" > /etc/apt/preferences.d/nodejs
}
@ -41,11 +46,14 @@ install_go() {
GO_VERSION=1.20.5
[ ! "$1" == "" ] && GO_VERSION=$1
PATH=$PATH:/usr/local/go/bin
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
then
rm -rvf /usr/local/go/
wget -qO - https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz | tar -C /usr/local -xz
fi
if [ "$(whereis go | cut -d ":" -f 2)" == "" ]
then
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
then
rm -rvf /usr/local/go
wget -qO - https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz | tar -C /usr/local -xz
fi
fi
}
install_rust() {
@ -57,11 +65,6 @@ install_clojure() {
wget -qO - https://download.clojure.org/install/linux-install-1.11.1.1155.sh | bash
}
minimum_package() {
base_package_upgrade
}
default_prebuild(){
get_git_source
}

View file

@ -1,12 +1,12 @@
#!/bin/bash
VERSION=0.108.0-b.35
VERSION=0.108.0-b.39
APP=adguardhome
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
GIT_VERSION=v${VERSION}
GIT_VERSION=v0.108.0-b.30
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="build-essential nodejs yarn"

View file

@ -5,7 +5,7 @@ APP=babybuddy
DEPOT=https://github.com/babybuddy/babybuddy.git
GIT_VERSION=v${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=6
PACKAGE_DEPENDENCY=""

View file

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=2023.5.0
VERSION=2023.5.1
APP=bitwarden-desktop
DEPOT=https://github.com/bitwarden/clients.git
GIT_VERSION=desktop-v${VERSION}

View file

@ -1,11 +1,11 @@
#!/bin/bash
VERSION=1.11.33
VERSION=1.11.35
APP=element-web
DEPOT=https://github.com/vector-im/element-web.git
GIT_VERSION=v${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=5
PACKAGE_DEPENDENCY="yarn nodejs"

View file

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=1.19.3-0
VERSION=1.19.4-0
APP=forgejo
DEPOT=https://codeberg.org/forgejo/forgejo
GIT_VERSION=v${VERSION}

View file

@ -1,13 +1,13 @@
#!/bin/bash
VERSION=10.0.7
VERSION=10.0.8
APP=glpi
DEPOT=https://github.com/glpi-project/glpi.git
GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="patch composer php-json php-xml php-curl php-gd php-intl php-ldap php-zip php-mysql gettext nodejs"
PACKAGE_DEPENDENCY="patch composer php-json php-xml php-curl php-gd php-intl php-ldap php-zip php-mysql gettext nodejs unzip"
main() {
base_package_upgrade
@ -29,7 +29,7 @@ makedeb(){
mkdir -p ${PATH_DEB}/usr/share/doc/glpi/
mkdir -p ${PATH_DEB}/var/lib/glpi/
mkdir -p ${PATH_DEB}/etc/
mkdir -p ${PATH_DEB}/etc/cron.d
tar -zxvf /tmp/${APP}-${VERSION}.tgz -C ${PATH_DEB}/usr/share/
@ -47,7 +47,7 @@ makedeb(){
mv ${PATH_DEB}/downstream.php ${PATH_DEB}/usr/share/glpi/inc/
mv ${PATH_DEB}/local_define.php ${PATH_DEB}/etc/glpi
mv ${PATH_DEB}/apache2-glpi.conf ${PATH_DEB}/usr/share/doc/glpi/
mv ${PATH_DEB}glpi.cron ${PATH_DEB}/etc/cron.d/glpi
mv ${PATH_DEB}/glpi.cron ${PATH_DEB}/etc/cron.d/glpi
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist

View file

@ -1,27 +1,23 @@
#!/bin/bash
APP=gotify
VERSION=2.2.4
VERSION=2.2.5
GIT_VERSION=v$VERSION
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=6
DEPOT=https://github.com/gotify/server.git
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
main(){
base_package_upgrade
envinit
get_git_source
build
makedeb
}
envinit() {
configure_depot_yarn
configure_depot_nodejs
install_package_dependency
install_go
get_git_source
build
makedeb
}
build() {

View file

@ -1,13 +1,13 @@
#!/bin/bash
VERSION=2.11.9
VERSION=2.11.11
APP=joplin-desktop
GIT_VERSION=v${VERSION}
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEPOT=https://github.com/laurent22/joplin.git
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=10
PACKAGE_DEPENDENCY="build-essential python nodejs rsync yarn"
PACKAGE_DEPENDENCY="build-essential python3 nodejs rsync yarn nodejs"
main(){
base_package_upgrade

View file

@ -1,19 +1,22 @@
#!/bin/bash
VERSION=2.11.1
VERSION=2.11.2
APP=joplin-server
GIT_VERSION=server-v${VERSION}
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEPOT=https://github.com/laurent22/joplin.git
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
PACKAGE_DEPENDENCY="build-essential python-is-python3 nodejs rsync yarn"
IMAGE_SIZE=12
STEP="base_package_upgrade envinit default_prebuild build makedeb"
envinit() {
main(){
base_package_upgrade
configure_depot_yarn
configure_depot_nodejs
apt install -y --no-install-recommends build-essential python nodejs rsync yarn
install_package_dependency
get_git_source
build
makedeb
}
build() {

View file

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=2.0.25
VERSION=2.0.27
APP=kimai2
DEPOT=https://github.com/kevinpapst/kimai2.git
GIT_VERSION=${VERSION}

View file

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=0.8.4
VERSION=0.8.6
APP=mautrix-whatsapp
DEPOT=https://github.com/mautrix/whatsapp.git
GIT_VERSION=v${VERSION}

View file

@ -1,18 +1,18 @@
#!/bin/bash
VERSION=0.46.4
VERSION=0.46.6
APP=metabase
DEPOT=https://github.com/metabase/metabase.git
GIT_VERSION=v$VERSION
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=10
PACKAGE_DEPENDENCY="build-essential default-jdk curl nodejs yarn"
main(){
base_package_upgrade
configure_depot_yarn
configure_depot_nodejs
configure_depot_nodejs 18
install_package_dependency
install_clojure
get_git_source
@ -23,6 +23,9 @@ main(){
build() {
cd /tmp/${APP}/
PATH=$PATH:/usr/local/bin
# export NODE_OPTIONS=--max-old-space-size=2048
# export JVM_MAX_HEAP_SIZE=12
npx browserslist@latest --update-db
./bin/build.sh
}

View file

@ -1,7 +1,7 @@
#!/bin/bash
VERSION=2_9_0
APP=mysql_fdw
APP=mysqlfdw
DEPOT=https://github.com/EnterpriseDB/mysql_fdw.git
GIT_VERSION=REL-${VERSION}
DEB_VERSION=$(echo ${VERSION} | sed 's/_/./g' )-$(date +%Y%m%d%H%M)

View file

@ -1,11 +1,11 @@
#!/bin/bash
VERSION=1.6.1
VERSION=1.6.2
APP=roundcubemail
DEPOT=https://github.com/roundcube/roundcubemail.git
GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip"

View file

@ -1,10 +1,10 @@
#!/bin/bash
VERSION=2.5.4
VERSION=2.6.1
APP=wallabag
GIT_VERSION=$VERSION
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
DEPOT=https://github.com/wallabag/wallabag.git

View file

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=1.31.2
VERSION=1.32.0
APP=zigbee2mqtt
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
GIT_VERSION=${VERSION}