This commit is contained in:
Thomas Legay 2024-03-17 23:55:26 +01:00
parent a31db48ad0
commit 4aa8111f98
10 changed files with 20 additions and 17 deletions

View File

@ -29,12 +29,12 @@ configure_depot_yarn() {
} }
configure_depot_nodejs() { configure_depot_nodejs() {
NODE_MAJOR=16 NODE_MAJOR=18
[ ! "$1" == "" ] && NODE_MAJOR=$1 [ ! "$1" == "" ] && NODE_MAJOR=$1
echo -e "Package: nodejs\\nPin: version $NODE_MAJOR.*\\nPin-Priority: 1000" > /etc/apt/preferences.d/nodejs echo -e "Package: nodejs\\nPin: version $NODE_MAJOR.*\\nPin-Priority: 1000" > /etc/apt/preferences.d/nodejs
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" > /etc/apt/sources.list.d/nodesource.list echo "deb https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" > /etc/apt/sources.list.d/nodesource.list
[ -f /etc/apt/keyrings/nodesource.gpg ] || wget -qO - https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg [ -f /etc/apt/trusted.gpg.d/nodesource.gpg ] || wget -qO - https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/nodesource.gpg
} }
install_go() { install_go() {
@ -58,10 +58,10 @@ install_clojure() {
} }
install_composer(){ install_composer(){
wget https://getcomposer.org/installer -O /tmp/installer wget https://getcomposer.org/installer -O /tmp/composer-setup.php
php /tmp/installer php /tmp/composer-setup.php --install-dir=/usr/bin
php composer-setup.php --install-dir=/usr/bin rm /tmp/composer-setup.php
rm /tmp/installer mv /usr/bin/composer.phar /usr/bin/composer
} }
minimum_package() { minimum_package() {

3
postrun.sh Executable file
View File

@ -0,0 +1,3 @@
rsync -a --delete -e 'ssh -J lgy.fr' ./dist/ deb.net.lgy.fr:/tmp/new
ssh -R /root/.gnupg/S.gpg-agent:/run/user/1000/gnupg/S.gpg-agent.extra -J lgy.fr deb.net.lgy.fr 'reprepro -Vb /var/www/html/ includedeb tools /tmp/new/*'
#ssh -R /root/.gnupg/S.gpg-agent:/run/user/1000/gnupg/S.gpg-agent.extra -J lgy.fr deb.net.lgy.fr 'reprepro -Vb /var/www/html/ export tools /tmp/new/*'

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=2023.10.0 VERSION=2024.3.0
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}

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.20.5-0 VERSION=1.21.7-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}

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=10.0.10 VERSION=10.0.14
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}

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=2.13.6 VERSION=2.14.14
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)
@ -12,7 +12,7 @@ PACKAGE_DEPENDENCY="build-essential python-is-python3 nodejs rsync 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
get_git_source get_git_source
build build

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=22.0.5 VERSION=24.0.1
APP=keycloak APP=keycloak
DEPOT=https://github.com/keycloak/keycloak.git DEPOT=https://github.com/keycloak/keycloak.git
GIT_VERSION=${VERSION} GIT_VERSION=${VERSION}

View File

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
VERSION=0.47.8 VERSION=0.49.0
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=bookworm DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=10 IMAGE_SIZE=14
PACKAGE_DEPENDENCY="build-essential default-jdk curl nodejs yarn" PACKAGE_DEPENDENCY="build-essential default-jdk curl nodejs yarn"
main(){ main(){

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.33.2 VERSION=1.36.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}