Suivi de version
This commit is contained in:
parent
7531b2fcac
commit
0925d5a9e4
|
@ -29,11 +29,16 @@ configure_depot_nodejs() {
|
||||||
NODE_VERSION=16
|
NODE_VERSION=16
|
||||||
[ ! "$1" == "" ] && NODE_VERSION=$1
|
[ ! "$1" == "" ] && NODE_VERSION=$1
|
||||||
XNODE_VERSION=${NODE_VERSION}.x
|
XNODE_VERSION=${NODE_VERSION}.x
|
||||||
grep -q ${XNODE_VERSION} /etc/apt/sources.list.d/nodesource.list
|
if [ -e /etc/apt/sources.list.d/nodesource.list ]
|
||||||
if [ $? -ne 0 ]
|
then
|
||||||
then
|
grep -q ${XNODE_VERSION} /etc/apt/sources.list.d/nodesource.list
|
||||||
wget -qO - https://deb.nodesource.com/setup_${XNODE_VERSION} | bash
|
if [ $? -ne 0 ]
|
||||||
fi
|
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
|
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
|
GO_VERSION=1.20.5
|
||||||
[ ! "$1" == "" ] && GO_VERSION=$1
|
[ ! "$1" == "" ] && GO_VERSION=$1
|
||||||
PATH=$PATH:/usr/local/go/bin
|
PATH=$PATH:/usr/local/go/bin
|
||||||
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
if [ "$(whereis go | cut -d ":" -f 2)" == "" ]
|
||||||
then
|
then
|
||||||
rm -rvf /usr/local/go/
|
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
||||||
wget -qO - https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz | tar -C /usr/local -xz
|
then
|
||||||
fi
|
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() {
|
install_rust() {
|
||||||
|
@ -57,11 +65,6 @@ install_clojure() {
|
||||||
wget -qO - https://download.clojure.org/install/linux-install-1.11.1.1155.sh | bash
|
wget -qO - https://download.clojure.org/install/linux-install-1.11.1.1155.sh | bash
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
minimum_package() {
|
|
||||||
base_package_upgrade
|
|
||||||
}
|
|
||||||
|
|
||||||
default_prebuild(){
|
default_prebuild(){
|
||||||
get_git_source
|
get_git_source
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.108.0-b.35
|
VERSION=0.108.0-b.39
|
||||||
APP=adguardhome
|
APP=adguardhome
|
||||||
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
|
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
GIT_VERSION=v0.108.0-b.30
|
GIT_VERSION=v0.108.0-b.30
|
||||||
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=bookworm
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=4
|
||||||
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ APP=babybuddy
|
||||||
DEPOT=https://github.com/babybuddy/babybuddy.git
|
DEPOT=https://github.com/babybuddy/babybuddy.git
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${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=bookworm
|
||||||
IMAGE_SIZE=6
|
IMAGE_SIZE=6
|
||||||
PACKAGE_DEPENDENCY=""
|
PACKAGE_DEPENDENCY=""
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2023.5.0
|
VERSION=2023.5.1
|
||||||
APP=bitwarden-desktop
|
APP=bitwarden-desktop
|
||||||
DEPOT=https://github.com/bitwarden/clients.git
|
DEPOT=https://github.com/bitwarden/clients.git
|
||||||
GIT_VERSION=desktop-v${VERSION}
|
GIT_VERSION=desktop-v${VERSION}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.11.33
|
VERSION=1.11.35
|
||||||
APP=element-web
|
APP=element-web
|
||||||
DEPOT=https://github.com/vector-im/element-web.git
|
DEPOT=https://github.com/vector-im/element-web.git
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${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=bookworm
|
||||||
IMAGE_SIZE=5
|
IMAGE_SIZE=5
|
||||||
PACKAGE_DEPENDENCY="yarn nodejs"
|
PACKAGE_DEPENDENCY="yarn nodejs"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.19.3-0
|
VERSION=1.19.4-0
|
||||||
APP=forgejo
|
APP=forgejo
|
||||||
DEPOT=https://codeberg.org/forgejo/forgejo
|
DEPOT=https://codeberg.org/forgejo/forgejo
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=10.0.7
|
VERSION=10.0.8
|
||||||
APP=glpi
|
APP=glpi
|
||||||
DEPOT=https://github.com/glpi-project/glpi.git
|
DEPOT=https://github.com/glpi-project/glpi.git
|
||||||
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=bookworm
|
||||||
IMAGE_SIZE=4
|
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() {
|
main() {
|
||||||
base_package_upgrade
|
base_package_upgrade
|
||||||
|
@ -29,7 +29,7 @@ makedeb(){
|
||||||
|
|
||||||
mkdir -p ${PATH_DEB}/usr/share/doc/glpi/
|
mkdir -p ${PATH_DEB}/usr/share/doc/glpi/
|
||||||
mkdir -p ${PATH_DEB}/var/lib/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/
|
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}/downstream.php ${PATH_DEB}/usr/share/glpi/inc/
|
||||||
mv ${PATH_DEB}/local_define.php ${PATH_DEB}/etc/glpi
|
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}/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
|
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
|
||||||
|
|
|
@ -1,27 +1,23 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
APP=gotify
|
APP=gotify
|
||||||
VERSION=2.2.4
|
VERSION=2.2.5
|
||||||
GIT_VERSION=v$VERSION
|
GIT_VERSION=v$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=bookworm
|
||||||
IMAGE_SIZE=6
|
IMAGE_SIZE=6
|
||||||
DEPOT=https://github.com/gotify/server.git
|
DEPOT=https://github.com/gotify/server.git
|
||||||
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
base_package_upgrade
|
base_package_upgrade
|
||||||
envinit
|
|
||||||
get_git_source
|
|
||||||
build
|
|
||||||
makedeb
|
|
||||||
}
|
|
||||||
|
|
||||||
envinit() {
|
|
||||||
configure_depot_yarn
|
configure_depot_yarn
|
||||||
configure_depot_nodejs
|
configure_depot_nodejs
|
||||||
install_package_dependency
|
install_package_dependency
|
||||||
install_go
|
install_go
|
||||||
|
get_git_source
|
||||||
|
build
|
||||||
|
makedeb
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.11.9
|
VERSION=2.11.11
|
||||||
APP=joplin-desktop
|
APP=joplin-desktop
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
DEPOT=https://github.com/laurent22/joplin.git
|
DEPOT=https://github.com/laurent22/joplin.git
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bookworm
|
||||||
IMAGE_SIZE=10
|
IMAGE_SIZE=10
|
||||||
PACKAGE_DEPENDENCY="build-essential python nodejs rsync yarn"
|
PACKAGE_DEPENDENCY="build-essential python3 nodejs rsync yarn nodejs"
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
base_package_upgrade
|
base_package_upgrade
|
||||||
|
|
|
@ -1,19 +1,22 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.11.1
|
VERSION=2.11.2
|
||||||
APP=joplin-server
|
APP=joplin-server
|
||||||
GIT_VERSION=server-v${VERSION}
|
GIT_VERSION=server-v${VERSION}
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
DEPOT=https://github.com/laurent22/joplin.git
|
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
|
IMAGE_SIZE=12
|
||||||
|
|
||||||
STEP="base_package_upgrade envinit default_prebuild build makedeb"
|
main(){
|
||||||
|
base_package_upgrade
|
||||||
envinit() {
|
|
||||||
configure_depot_yarn
|
configure_depot_yarn
|
||||||
configure_depot_nodejs
|
configure_depot_nodejs
|
||||||
apt install -y --no-install-recommends build-essential python nodejs rsync yarn
|
install_package_dependency
|
||||||
|
get_git_source
|
||||||
|
build
|
||||||
|
makedeb
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.0.25
|
VERSION=2.0.27
|
||||||
APP=kimai2
|
APP=kimai2
|
||||||
DEPOT=https://github.com/kevinpapst/kimai2.git
|
DEPOT=https://github.com/kevinpapst/kimai2.git
|
||||||
GIT_VERSION=${VERSION}
|
GIT_VERSION=${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.8.4
|
VERSION=0.8.6
|
||||||
APP=mautrix-whatsapp
|
APP=mautrix-whatsapp
|
||||||
DEPOT=https://github.com/mautrix/whatsapp.git
|
DEPOT=https://github.com/mautrix/whatsapp.git
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.46.4
|
VERSION=0.46.6
|
||||||
APP=metabase
|
APP=metabase
|
||||||
DEPOT=https://github.com/metabase/metabase.git
|
DEPOT=https://github.com/metabase/metabase.git
|
||||||
GIT_VERSION=v$VERSION
|
GIT_VERSION=v$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=bookworm
|
||||||
IMAGE_SIZE=10
|
IMAGE_SIZE=10
|
||||||
PACKAGE_DEPENDENCY="build-essential default-jdk curl nodejs yarn"
|
PACKAGE_DEPENDENCY="build-essential default-jdk curl nodejs yarn"
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
base_package_upgrade
|
base_package_upgrade
|
||||||
configure_depot_yarn
|
configure_depot_yarn
|
||||||
configure_depot_nodejs
|
configure_depot_nodejs 18
|
||||||
install_package_dependency
|
install_package_dependency
|
||||||
install_clojure
|
install_clojure
|
||||||
get_git_source
|
get_git_source
|
||||||
|
@ -23,6 +23,9 @@ main(){
|
||||||
build() {
|
build() {
|
||||||
cd /tmp/${APP}/
|
cd /tmp/${APP}/
|
||||||
PATH=$PATH:/usr/local/bin
|
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
|
./bin/build.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2_9_0
|
VERSION=2_9_0
|
||||||
APP=mysql_fdw
|
APP=mysqlfdw
|
||||||
DEPOT=https://github.com/EnterpriseDB/mysql_fdw.git
|
DEPOT=https://github.com/EnterpriseDB/mysql_fdw.git
|
||||||
GIT_VERSION=REL-${VERSION}
|
GIT_VERSION=REL-${VERSION}
|
||||||
DEB_VERSION=$(echo ${VERSION} | sed 's/_/./g' )-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$(echo ${VERSION} | sed 's/_/./g' )-$(date +%Y%m%d%H%M)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.6.1
|
VERSION=1.6.2
|
||||||
APP=roundcubemail
|
APP=roundcubemail
|
||||||
DEPOT=https://github.com/roundcube/roundcubemail.git
|
DEPOT=https://github.com/roundcube/roundcubemail.git
|
||||||
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=bookworm
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=4
|
||||||
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip"
|
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip"
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.5.4
|
VERSION=2.6.1
|
||||||
APP=wallabag
|
APP=wallabag
|
||||||
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=bookworm
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=4
|
||||||
DEPOT=https://github.com/wallabag/wallabag.git
|
DEPOT=https://github.com/wallabag/wallabag.git
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.31.2
|
VERSION=1.32.0
|
||||||
APP=zigbee2mqtt
|
APP=zigbee2mqtt
|
||||||
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
|
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
|
||||||
GIT_VERSION=${VERSION}
|
GIT_VERSION=${VERSION}
|
||||||
|
|
Loading…
Reference in New Issue