commit of the day

This commit is contained in:
thomas 2023-07-11 23:00:08 +02:00
parent 0925d5a9e4
commit 568c7a4342
19 changed files with 67 additions and 64 deletions

View File

@ -29,16 +29,11 @@ configure_depot_nodejs() {
NODE_VERSION=16
[ ! "$1" == "" ] && NODE_VERSION=$1
XNODE_VERSION=${NODE_VERSION}.x
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
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
echo -e "Package: nodejs\\nPin: version ${NODE_VERSION}.*\\nPin-Priority: 1000" > /etc/apt/preferences.d/nodejs
}
@ -46,14 +41,11 @@ install_go() {
GO_VERSION=1.20.5
[ ! "$1" == "" ] && GO_VERSION=$1
PATH=$PATH:/usr/local/go/bin
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
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
}
install_rust() {
@ -65,6 +57,11 @@ 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.39
VERSION=0.108.0-b.35
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=bookworm
DEBIAN_VERSION_CODENAME=bullseye
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=bookworm
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=6
PACKAGE_DEPENDENCY=""

View File

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

View File

@ -1,11 +1,11 @@
#!/bin/bash
VERSION=22.2.1
VERSION=23.1.0
APP=cloudbeaver
DEPOT=https://github.com/dbeaver/cloudbeaver.git
GIT_VERSION=last
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=5
PACKAGE_DEPENDENCY="nodejs yarn maven openjdk-11-jdk"

View File

@ -1,11 +1,11 @@
#!/bin/bash
VERSION=1.11.35
VERSION=1.11.33
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=bookworm
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=5
PACKAGE_DEPENDENCY="yarn nodejs"

View File

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

View File

@ -1,13 +1,17 @@
#!/bin/bash
VERSION=10.0.8
<<<<<<< HEAD
VERSION=10.0.9
=======
VERSION=10.0.7
>>>>>>> parent of 0925d5a (Suivi de version)
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=bookworm
DEBIAN_VERSION_CODENAME=bullseye
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 unzip"
PACKAGE_DEPENDENCY="patch composer php-json php-xml php-curl php-gd php-intl php-ldap php-zip php-mysql gettext nodejs"
main() {
base_package_upgrade
@ -29,7 +33,7 @@ makedeb(){
mkdir -p ${PATH_DEB}/usr/share/doc/glpi/
mkdir -p ${PATH_DEB}/var/lib/glpi/
mkdir -p ${PATH_DEB}/etc/cron.d
mkdir -p ${PATH_DEB}/etc/
tar -zxvf /tmp/${APP}-${VERSION}.tgz -C ${PATH_DEB}/usr/share/
@ -47,7 +51,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,23 +1,27 @@
#!/bin/bash
APP=gotify
VERSION=2.2.5
VERSION=2.2.4
GIT_VERSION=v$VERSION
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
DEBIAN_VERSION_CODENAME=bullseye
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.11
VERSION=2.11.9
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=bookworm
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=10
PACKAGE_DEPENDENCY="build-essential python3 nodejs rsync yarn nodejs"
PACKAGE_DEPENDENCY="build-essential python nodejs rsync yarn"
main(){
base_package_upgrade

View File

@ -1,22 +1,19 @@
#!/bin/bash
VERSION=2.11.2
VERSION=2.11.1
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=bookworm
PACKAGE_DEPENDENCY="build-essential python-is-python3 nodejs rsync yarn"
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=12
main(){
base_package_upgrade
STEP="base_package_upgrade envinit default_prebuild build makedeb"
envinit() {
configure_depot_yarn
configure_depot_nodejs
install_package_dependency
get_git_source
build
makedeb
apt install -y --no-install-recommends build-essential python nodejs rsync yarn
}
build() {

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=0.8.6
VERSION=0.8.4
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.6
VERSION=0.46.4
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=bookworm
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=10
PACKAGE_DEPENDENCY="build-essential default-jdk curl nodejs yarn"
main(){
base_package_upgrade
configure_depot_yarn
configure_depot_nodejs 18
configure_depot_nodejs
install_package_dependency
install_clojure
get_git_source
@ -23,9 +23,6 @@ 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=mysqlfdw
APP=mysql_fdw
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.2
VERSION=1.6.1
APP=roundcubemail
DEPOT=https://github.com/roundcube/roundcubemail.git
GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip"

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=1.28.1
VERSION=1.29.0
APP=vaultwarden
GIT_VERSION=$VERSION
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)

View File

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

View File

@ -1,6 +1,10 @@
#!/bin/bash
VERSION=1.32.0
<<<<<<< HEAD
VERSION=1.32.1
=======
VERSION=1.31.2
>>>>>>> parent of 0925d5a (Suivi de version)
APP=zigbee2mqtt
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
GIT_VERSION=${VERSION}