Compare commits

..

No commits in common. "0207fb13251a63810a6f121030b449d1c810061a" and "2024db6dc6c22e316ff44750971ea4437b646980" have entirely different histories.

21 changed files with 44 additions and 144 deletions

View File

@ -84,7 +84,6 @@ debmaker_chroot() {
zdebmaker_inject zdebmaker_inject
debmaker_mount_proc_sys ${OPEN_FILE} ${MOUNT_PATH}/${APP}/ debmaker_mount_proc_sys ${OPEN_FILE} ${MOUNT_PATH}/${APP}/
sudo chroot ${MOUNT_PATH}/${APP}/ sudo chroot ${MOUNT_PATH}/${APP}/
find ${MOUNT_PATH}/${APP}/tmp/dist/ -name *.deb -exec cp -v {} dist/ \;
debmaker_umount_proc_sys ${MOUNT_PATH}/${APP}/ debmaker_umount_proc_sys ${MOUNT_PATH}/${APP}/
} }

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=0.108.0-b.42 VERSION=0.108.0-b.41
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}

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=2.0.3 VERSION=2.0.1
APP=babybuddy APP=babybuddy
DEPOT=https://github.com/babybuddy/babybuddy.git DEPOT=https://github.com/babybuddy/babybuddy.git
GIT_VERSION=v${VERSION} GIT_VERSION=v${VERSION}

View File

@ -23,9 +23,9 @@ apt update
apt install -y --no-install-recommends curl apt-transport-https gnupg wget ca-certificates software-properties-common apt install -y --no-install-recommends curl apt-transport-https gnupg wget ca-certificates software-properties-common
wget -qO - https://deb.lgy.fr/install.sh | bash wget -qO - https://deb.lgy.fr/install.sh | bash
wget -qO - https://deb.nodesource.com/setup_18.x | bash wget -qO - https://deb.nodesource.com/setup_16.x | bash
wget https://repos.azul.com/azul-repo.key -O - | gpg --dearmor -o /usr/share/keyrings/azul.gpg apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" > /etc/apt/sources.list.d/zulu.list apt-add-repository 'deb http://repos.azulsystems.com/debian stable main'
#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
#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

View File

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
VERSION=2.8.28 VERSION=2.3.21
APP=budibase APP=budibase
DEPOT=https://github.com/Budibase/budibase.git DEPOT=https://github.com/Budibase/budibase.git
GIT_VERSION=${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=bullseye
IMAGE_SIZE=20 IMAGE_SIZE=20
PACKAGE_DEPENDENCY="yarn nodejs build-essential" PACKAGE_DEPENDENCY="yarn nodejs"
main(){ main(){
base_package_upgrade base_package_upgrade
@ -19,15 +19,15 @@ main(){
envinit() { envinit() {
configure_depot_yarn configure_depot_yarn
configure_depot_nodejs 16 configure_depot_nodejs 18
install_package_dependency install_package_dependency
} }
build() { build() {
cd /tmp/${APP} cd /tmp/${APP}
npm install -g yarn jest lerna husky --force npm install -g yarn jest lerna --force
yarn yarn
#yarn bootstrap yarn bootstrap
yarn build yarn build
rm -fr /tmp/${APP}/packages/*/build rm -fr /tmp/${APP}/packages/*/build
@ -36,12 +36,11 @@ build() {
makedeb(){ makedeb(){
PATH_DEB=/tmp/src/rootfs PATH_DEB=/tmp/src/rootfs
grep "process.env" packages/server/src/environment.ts | grep ":" | cut -d ":" -f 1 | tr -d ' ' | grep ^[A-Z] | awk '{print "#"$1"="}' | sort > ${PATH_DEB}/etc/default/budibase-server grep ":" /tmp/${APP}/packages/server/src/environment.js | cut -d ":" -f 1 | tr -d ' ' | grep ^[A-Z] | awk '{print "#"$1"="}' | sort > ${PATH_DEB}/etc/default/budibase-server
grep "process.env" packages/worker/src/environment.ts | grep ":" | cut -d ":" -f 1 | tr -d ' ' | grep ^[A-Z] | awk '{print "#"$1"="}' | sort > ${PATH_DEB}/etc/default/budibase-worker grep ":" /tmp/${APP}/packages/worker/src/environment.ts | cut -d ":" -f 1 | tr -d ' ' | grep ^[A-Z] | awk '{print "#"$1"="}' | sort> ${PATH_DEB}/etc/default/budibase-worker
mkdir -p ${PATH_DEB}/opt/budibase/ mkdir -p ${PATH_DEB}/opt/budibase/
cp -fr /tmp/${APP}/packages/* ${PATH_DEB}/opt/budibase/ cp -fr /tmp/${APP}/packages/* ${PATH_DEB}/opt/budibase/
cp -fr /tmp/${APP}/node_modules ${PATH_DEB}/opt/budibase/
mkdir -p ${PATH_DEB}/opt/budibase/server/client mkdir -p ${PATH_DEB}/opt/budibase/server/client
cp ${PATH_DEB}/opt/budibase/client/manifest.json ${PATH_DEB}/opt/budibase/server/client cp ${PATH_DEB}/opt/budibase/client/manifest.json ${PATH_DEB}/opt/budibase/server/client
cp ${PATH_DEB}/opt/budibase/client/dist/budibase-client.js ${PATH_DEB}/opt/budibase/server/client cp ${PATH_DEB}/opt/budibase/client/dist/budibase-client.js ${PATH_DEB}/opt/budibase/server/client

View File

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
VERSION=2.21.6 VERSION=2.21.1
APP=clouseau APP=clouseau
DEPOT=https://github.com/cloudant-labs/clouseau.git DEPOT=https://github.com/cloudant-labs/clouseau.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=bookworm DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=3 IMAGE_SIZE=3
PACKAGE_DEPENDENCY="software-properties-common erlang mvn" PACKAGE_DEPENDENCY="software-properties-common erlang"
main(){ main(){
envinit envinit
@ -19,12 +19,12 @@ main(){
envinit() { envinit() {
base_package_upgrade base_package_upgrade
install_package_dependency install_package_dependency
wget https://repos.azul.com/azul-repo.key | gpg --dearmor -O /usr/share/keyrings/azul.gpg apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" > /etc/apt/sources.list.d/zulu.list apt-add-repository 'deb http://repos.azulsystems.com/debian stable main'
apt-get update apt-get update
apt-get install -y --no-install-recommends zulu-7 apt-get install -y --no-install-recommends zulu-7
mkdir -p /usr/share/maven mkdir -p /usr/share/maven
wget -O - https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.tar.gz | tar -zxC /usr/share/maven --strip-components=1 wget -O - https://dlcdn.apache.org/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz | tar -zxC /usr/share/maven --strip-components=1
rm -f /usr/bin/mvn rm -f /usr/bin/mvn
ln -s /usr/share/maven/bin/mvn /usr/bin/mvn ln -s /usr/share/maven/bin/mvn /usr/bin/mvn

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.20.1-0 VERSION=1.19.3-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,10 +1,10 @@
#!/bin/bash #!/bin/bash
APP=gotify APP=gotify
VERSION=2.3.0 VERSION=2.2.4
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=bullseye
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"

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=2.12.9 VERSION=2.12.7
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)

View File

@ -1,38 +0,0 @@
#### keycloak
##### Information
Site : https://www.keycloak.org/
Source : https://github.com/keycloak/keycloak
##### Install
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt install keycloak
# edit /etc/default/keycloak
# edit /etc/keycloak/keycloak.conf
systemctl enable --now keycloak
```
##### Configuration
Create database sample on postgresql
```SQL
CREATE USER keycloak WITH PASSWORD 'password';
CREATE DATABASE "keycloak"
WITH OWNER "keycloak"
ENCODING 'UTF8'
LC_COLLATE = 'fr_FR.UTF-8'
LC_CTYPE = 'fr_FR.UTF-8'
TEMPLATE template0;
GRANT ALL privileges ON DATABASE keycloak TO keycloak;
```

View File

@ -1,51 +0,0 @@
#!/bin/bash
VERSION=1.4.99-22.0.0
APP=keycloak-radius-plugin
DEPOT=https://github.com/vzakharchenko/keycloak-radius-plugin.git
GIT_VERSION=v${VERSION}
GIT_VERSION=last
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=12
PACKAGE_DEPENDENCY="default-jdk maven"
shopt -s extglob
main(){
base_package_upgrade
install_package_dependency
#get_git_source
[ -e /tmp/${APP} ] && rm -fr /tmp/${APP}
git clone https://github.com/elkman/keycloak-radius-plugin.git /tmp/${APP}
cd /tmp/${APP}
git checkout remotes/origin/feature/upgrade-to-kc22.0.1
build
makedeb
}
build() {
cd /tmp/${APP}/keycloak-plugins
KEYCLOAK_VERSION=22.0.1
sed -i "s/<keycloak.version>[0-9]\+\(\.[0-9]\+\)*<\/keycloak.version>/<keycloak.version>${KEYCLOAK_VERSION}<\/keycloak.version>/g" pom.xml
mvn clean install -DskipTestsuite -DskipExamples -DskipTests
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
mkdir -p ${PATH_DEB}/usr/lib/keycloak/providers
cp /tmp/${APP}/keycloak-plugins/chillispot-radius-plugin/target/chillispot-radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
cp /tmp/${APP}/keycloak-plugins/cisco-radius-plugin/target/cisco-radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
cp /tmp/${APP}/keycloak-plugins/proxy-radius-plugin/target/proxy-radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
cp /tmp/${APP}/keycloak-plugins/radius-disconnect-plugin/target/radius-disconnect-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
cp /tmp/${APP}/keycloak-plugins/radius-plugin/target/radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
cp /tmp/${APP}/keycloak-plugins/rad-sec-plugin/target/rad-sec-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
cp /tmp/${APP}/keycloak-plugins/mikrotik-radius-plugin/target/mikrotik-radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
cp /tmp/${APP}/keycloak-plugins/radius-theme/target/radius-theme-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).zip ${PATH_DEB}/usr/lib/keycloak/providers
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
}

View File

@ -1,8 +0,0 @@
Package: keycloak-radius-plugin
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Depends: keycloak
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: keycloak radius plugin

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
VERSION=22.0.1 VERSION=19.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}
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=bullseye
IMAGE_SIZE=12 IMAGE_SIZE=12
PACKAGE_DEPENDENCY="default-jdk maven" PACKAGE_DEPENDENCY="default-jdk maven"
@ -28,7 +28,7 @@ makedeb(){
mkdir -p ${PATH_DEB}/usr/lib/keycloak mkdir -p ${PATH_DEB}/usr/lib/keycloak
mkdir -p ${PATH_DEB}/var/lib/ mkdir -p ${PATH_DEB}/var/lib/
tar -zxf /tmp/${APP}/quarkus/dist/target/keycloak-*tar.gz -C ${PATH_DEB}/usr/lib/keycloak --strip-components=1 tar -zxf /tmp/${APP}/quarkus/dist/target/keycloak-19.0.1.tar.gz -C ${PATH_DEB}/usr/lib/keycloak --strip-components=1
mv ${PATH_DEB}/usr/lib/keycloak/conf ${PATH_DEB}/etc/keycloak mv ${PATH_DEB}/usr/lib/keycloak/conf ${PATH_DEB}/etc/keycloak
#mv ${PATH_DEB}/usr/lib/keycloak/data ${PATH_DEB}/var/lib/keycloak #mv ${PATH_DEB}/usr/lib/keycloak/data ${PATH_DEB}/var/lib/keycloak

View File

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

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=0.46.6.2 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
@ -23,7 +23,6 @@ main(){
build() { build() {
cd /tmp/${APP}/ cd /tmp/${APP}/
PATH=$PATH:/usr/local/bin PATH=$PATH:/usr/local/bin
npx browserslist@latest --update-db
./bin/build.sh ./bin/build.sh
} }

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
VERSION=RELEASE.2023-07-21T21-12-44Z VERSION=RELEASE.2023-01-20T02-05-44Z
APP=minio APP=minio
DEPOT=https://github.com/minio/minio.git DEPOT=https://github.com/minio/minio.git
GIT_VERSION=$VERSION GIT_VERSION=$VERSION
DEB_VERSION=${VERSION:8:4}${VERSION:13:2}${VERSION:16:2}${VERSION:19:2}${VERSION:22:2}-$(date +%Y%m%d%H%M) DEB_VERSION=${VERSION:8:4}${VERSION:13:2}${VERSION:16:2}${VERSION:19:2}${VERSION:22:2}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=5 IMAGE_SIZE=5
PACKAGE_DEPENDENCY="build-essential" PACKAGE_DEPENDENCY="build-essential"

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
APP=rustdesk-server APP=rustdesk-server
VERSION=1.1.8-1 VERSION=1.1.8
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

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.29.1 VERSION=1.29.0
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,10 +1,10 @@
#!/bin/bash #!/bin/bash
VERSION=2.6.1 VERSION=2.5.4
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=bookworm DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=4 IMAGE_SIZE=4
DEPOT=https://github.com/wallabag/wallabag.git DEPOT=https://github.com/wallabag/wallabag.git
@ -20,10 +20,10 @@ main(){
envinit() { envinit() {
configure_depot_yarn configure_depot_yarn
configure_depot_nodejs 18 configure_depot_nodejs
install_package_dependency install_package_dependency
cd /opt/ cd /opt/
wget https://getcomposer.org/download/2.5.8/composer.phar -O /opt/composer.phar wget https://getcomposer.org/download/2.2.13/composer.phar -O /opt/composer.phar
} }
build() { build() {