diff --git a/lib/exec_in_chroot.sh b/lib/exec_in_chroot.sh index bf5b729..e3f4aa4 100755 --- a/lib/exec_in_chroot.sh +++ b/lib/exec_in_chroot.sh @@ -23,11 +23,6 @@ get_git_source(){ fi } -configure_depot_erlang_rabbitmq(){ - echo "deb [arch=amd64 signed-by=/usr/share/keyrings/erlang-rabbitmq.gpg] https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-erlang/deb/debian bookworm main" > /etc/apt/sources.list.d/erlang.list - wget -qO - "https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-erlang.E495BB49CC4BBE5B.key" | gpg --dearmor > /usr/share/keyrings/erlang-rabbitmq.gpg -} - configure_depot_yarn() { 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 diff --git a/ressources/babybuddy/debmaker b/ressources/babybuddy/debmaker index ab0197d..1deb32a 100755 --- a/ressources/babybuddy/debmaker +++ b/ressources/babybuddy/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=2.6.0 +VERSION=2.5.0 APP=babybuddy DEPOT=https://github.com/babybuddy/babybuddy.git GIT_VERSION=v${VERSION} diff --git a/ressources/bitwarden-desktop/debmaker b/ressources/bitwarden-desktop/debmaker index 47185da..24e7e43 100755 --- a/ressources/bitwarden-desktop/debmaker +++ b/ressources/bitwarden-desktop/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=2024.10.1 +VERSION=2024.7.1 APP=bitwarden-desktop DEPOT=https://github.com/bitwarden/clients.git GIT_VERSION=desktop-v${VERSION} diff --git a/ressources/claper/README.MD b/ressources/claper/README.MD deleted file mode 100644 index c1cfd9c..0000000 --- a/ressources/claper/README.MD +++ /dev/null @@ -1,22 +0,0 @@ -#### claper - -##### Information -Site : https://claper.co/ - -Doc : https://docs.claper.co/ - -Source : https://github.com/ClaperCo/Claper - -##### Install - -```bash -apt install -y wget ca-certificates -wget -qO - https://deb.lgy.fr/install.sh | bash -echo "deb [arch=amd64 signed-by=/usr/share/keyrings/erlang-rabbitmq.gpg] https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-erlang/deb/debian bookworm main" > /etc/apt/sources.list.d/erlang.list -wget -qO - "https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-erlang.E495BB49CC4BBE5B.key" | gpg --dearmor > /usr/share/keyrings/erlang-rabbitmq.gpg -apt-get update -apt-get install -y claper - -systemctl enable --now claper - -``` diff --git a/ressources/claper/debmaker b/ressources/claper/debmaker deleted file mode 100755 index f1ddfef..0000000 --- a/ressources/claper/debmaker +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -VERSION=2.1.1 -APP=claper -DEPOT=https://github.com/ClaperCo/Claper.git -GIT_VERSION=v${VERSION} -DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) -DEBIAN_VERSION_CODENAME=bookworm -IMAGE_SIZE=5 -PACKAGE_DEPENDENCY="nodejs elixir npm erlang-dev erlang-syntax-tools make build-essential erlang-xmerl" - -main(){ - configure_depot_erlang_rabbitmq - base_package_upgrade - install_package_dependency - get_git_source - build - makedeb -} - -build() { - cd /tmp/${APP} - mix local.hex --force - mix deps.get - mix ecto.migrate - mix assets.deploy -} - -makedeb(){ - PATH_DEB=/tmp/src/rootfs - mkdir -p ${PATH_DEB}/opt/ - mkdir -p ${PATH_DEB}/etc/default/ - mkdir -p ${PATH_DEB}/usr/lib/systemd/system/ - - mv ${PATH_DEB}/DEBIAN/claper.default ${PATH_DEB}/etc/default/claper - mv ${PATH_DEB}/DEBIAN/claper.service ${PATH_DEB}/usr/lib/systemd/system/ - cp -fr /tmp/${APP} ${PATH_DEB}/opt/${APP} - cp -fr /root/.mix ${PATH_DEB}/opt/${APP} - - sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control - fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist -} diff --git a/ressources/claper/rootfs/DEBIAN/changelog b/ressources/claper/rootfs/DEBIAN/changelog deleted file mode 100644 index e69de29..0000000 diff --git a/ressources/claper/rootfs/DEBIAN/claper.default b/ressources/claper/rootfs/DEBIAN/claper.default deleted file mode 100644 index bce80a4..0000000 --- a/ressources/claper/rootfs/DEBIAN/claper.default +++ /dev/null @@ -1,53 +0,0 @@ - -BASE_URL=https://domainer.com -# SAME_SITE_COOKIE=Lax -# SECURE_COOKIE=false - -DATABASE_URL=postgres://claper:xxxxxxxxxxx@postgresql:5432/claper -SECRET_KEY_BASE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -# ⚠️ Don't use this exact value for SECRET_KEY_BASE or someone would be able to sign a cookie with user_id=1 and log in as the admin! - -# Storage configuration - -PRESENTATION_STORAGE=local -PRESENTATION_STORAGE_DIR=priv/static -#MAX_FILE_SIZE_MB=15 - -#AWS_ACCESS_KEY_ID=xxx -#AWS_SECRET_ACCESS_KEY=xxx -#AWS_REGION=eu-west-3 -#AWS_PRES_BUCKET=xxx - -# Mail configuration - -MAIL_TRANSPORT=local -MAIL_FROM=noreply@claper.co -MAIL_FROM_NAME=Claper - -SMTP_RELAY=smtprelay -#SMTP_USERNAME=johndoe@example.com -#SMTP_PASSWORD=xxx -#SMTP_PORT=465 -#SMTP_TLS=if_available - -#ENABLE_MAILBOX_ROUTE=false -#MAILBOX_USER=admin -#MAILBOX_PASSWORD=admin - -# Claper configuration - -ENABLE_ACCOUNT_CREATION=false -#ALLOW_UNLINK_EXTERNAL_PROVIDER=false -#LOGOUT_REDIRECT_URL=https://google.com -#GS_JPG_RESOLUTION=300x300 - -# OIDC configuration - -#OIDC_PROVIDER_NAME="keycloak" -#OIDC_ISSUER= -#OIDC_CLIENT_ID= -#OIDC_CLIENT_SECRET= -# OIDC_SCOPES="openid email profile" -# OIDC_LOGO_URL="" -# OIDC_PROPERTY_MAPPINGS="roles:custom_attributes.roles,organization:custom_attributes.organization" -#OIDC_AUTO_REDIRECT_LOGIN=true diff --git a/ressources/claper/rootfs/DEBIAN/claper.service b/ressources/claper/rootfs/DEBIAN/claper.service deleted file mode 100644 index 0628cb7..0000000 --- a/ressources/claper/rootfs/DEBIAN/claper.service +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -Description=claper - -[Service] -User=claper -Group=claper -EnvironmentFile=/etc/default/claper -ExecStart=/usr/bin/mix phx.server -WorkingDirectory=/opt/claper -PrivateTmp=true -PrivateDevices=true -ProtectHome=true -ProtectSystem=strict -Restart=on-failure -RestartSec=30s -ReadWritePaths=/opt/claper - -[Install] -WantedBy=multi-user.target diff --git a/ressources/claper/rootfs/DEBIAN/conffiles b/ressources/claper/rootfs/DEBIAN/conffiles deleted file mode 100644 index 61c6790..0000000 --- a/ressources/claper/rootfs/DEBIAN/conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/default/claper diff --git a/ressources/claper/rootfs/DEBIAN/control b/ressources/claper/rootfs/DEBIAN/control deleted file mode 100644 index 365697d..0000000 --- a/ressources/claper/rootfs/DEBIAN/control +++ /dev/null @@ -1,8 +0,0 @@ -Package: claper -Version: %VERSION% -Section: contrib -Priority: optional -Architecture: all -Depends: inotify-tools, erlang-base, erlang-syntax-tools, erlang-xmerl -Maintainer: Thomas Legay -Description: claper diff --git a/ressources/claper/rootfs/DEBIAN/postinst b/ressources/claper/rootfs/DEBIAN/postinst deleted file mode 100755 index 9b087ea..0000000 --- a/ressources/claper/rootfs/DEBIAN/postinst +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -id claper &> /dev/null || useradd claper -r -s /bin/false -d /opt/claper - -chown -R claper:claper /opt/claper diff --git a/ressources/element-web/debmaker b/ressources/element-web/debmaker index 0d61578..6a259f8 100755 --- a/ressources/element-web/debmaker +++ b/ressources/element-web/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.11.78 +VERSION=1.11.74 APP=element-web DEPOT=https://github.com/vector-im/element-web.git GIT_VERSION=v${VERSION} diff --git a/ressources/forgejo/debmaker b/ressources/forgejo/debmaker index ce65638..698ec33 100755 --- a/ressources/forgejo/debmaker +++ b/ressources/forgejo/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=9.0.0 +VERSION=8.0.1 APP=forgejo DEPOT=https://codeberg.org/forgejo/forgejo GIT_VERSION=v${VERSION} @@ -11,7 +11,7 @@ PACKAGE_DEPENDENCY="build-essential nodejs" main() { base_package_upgrade - configure_depot_nodejs 20 + configure_depot_nodejs 18 install_package_dependency install_go get_git_source diff --git a/ressources/gotify/debmaker b/ressources/gotify/debmaker index a4d7fa7..26865e3 100755 --- a/ressources/gotify/debmaker +++ b/ressources/gotify/debmaker @@ -28,7 +28,6 @@ build() { cd /tmp/${APP} PATH=${PATH}:/usr/local/go/bin export GO111MODULE=on - export NODE_OPTIONS=--openssl-legacy-provider make download-tools go get -d (cd ui && yarn && yarn build) diff --git a/ressources/joplin-desktop/debmaker b/ressources/joplin-desktop/debmaker index 0fb2909..78d60d3 100755 --- a/ressources/joplin-desktop/debmaker +++ b/ressources/joplin-desktop/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=3.1.15 +VERSION=3.1.1 APP=joplin-desktop GIT_VERSION=v${VERSION} DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) diff --git a/ressources/keycloak/debmaker b/ressources/keycloak/debmaker index a957077..512c056 100755 --- a/ressources/keycloak/debmaker +++ b/ressources/keycloak/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=25.0.6 +VERSION=25.0.2 APP=keycloak DEPOT=https://github.com/keycloak/keycloak.git GIT_VERSION=${VERSION} diff --git a/ressources/kimai2/debmaker b/ressources/kimai2/debmaker index a399ba3..0b0d7e6 100755 --- a/ressources/kimai2/debmaker +++ b/ressources/kimai2/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=2.24.0 +VERSION=2.20.1 APP=kimai2 DEPOT=https://github.com/kevinpapst/kimai2.git GIT_VERSION=${VERSION} diff --git a/ressources/mautrix-whatsapp/debian/rules b/ressources/mautrix-whatsapp/debian/rules index 7d1249a..f8114e7 100755 --- a/ressources/mautrix-whatsapp/debian/rules +++ b/ressources/mautrix-whatsapp/debian/rules @@ -25,4 +25,4 @@ override_dh_auto_build: ./build.sh - touch config.yaml + cp example-config.yaml config.yaml diff --git a/ressources/mautrix-whatsapp/debmaker b/ressources/mautrix-whatsapp/debmaker index 0addc96..8068edd 100755 --- a/ressources/mautrix-whatsapp/debmaker +++ b/ressources/mautrix-whatsapp/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=0.11.0 +VERSION=0.10.9 APP=mautrix-whatsapp DEPOT=https://github.com/mautrix/whatsapp.git GIT_VERSION=v${VERSION} diff --git a/ressources/metabase/debmaker b/ressources/metabase/debmaker index a4dbf07..56f1476 100755 --- a/ressources/metabase/debmaker +++ b/ressources/metabase/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=0.50.29.1 +VERSION=0.50.19.3 APP=metabase DEPOT=https://github.com/metabase/metabase.git GIT_VERSION=v$VERSION diff --git a/ressources/moodle-auth-oidc/debmaker b/ressources/moodle-auth-oidc/debmaker index 2917891..9d63d4d 100755 --- a/ressources/moodle-auth-oidc/debmaker +++ b/ressources/moodle-auth-oidc/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=4.4.0 +VERSION=4.3.1 APP=moodle-auth-oidc DEPOT=https://github.com/microsoft/moodle-auth_oidc.git GIT_VERSION=v$VERSION diff --git a/ressources/moodle-block-cohortspecifichtml/debmaker b/ressources/moodle-block-cohortspecifichtml/debmaker index 5ca39aa..b6d5c68 100755 --- a/ressources/moodle-block-cohortspecifichtml/debmaker +++ b/ressources/moodle-block-cohortspecifichtml/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=4.4 +VERSION=4.3 APP=moodle-block-cohortspecifichtml DEPOT=https://github.com/moodle-an-hochschulen/moodle-block_cohortspecifichtml.git GIT_VERSION=v$VERSION-r1 diff --git a/ressources/moodle-format-tiles/debmaker b/ressources/moodle-format-tiles/debmaker index e6009b9..be55350 100755 --- a/ressources/moodle-format-tiles/debmaker +++ b/ressources/moodle-format-tiles/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=4.4.0.24 +VERSION=4.4.0.5 APP=moodle-format-tiles DEPOT=https://bitbucket.org/dw8/moodle-format_tiles.git GIT_VERSION=moodle44 diff --git a/ressources/moodle-theme-adaptable/debmaker b/ressources/moodle-theme-adaptable/debmaker index 716dc13..1489d87 100755 --- a/ressources/moodle-theme-adaptable/debmaker +++ b/ressources/moodle-theme-adaptable/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=404.1.0 +VERSION=403.1.4 APP=moodle-theme-adaptable DEPOT=https://github.com/gjbarnard/moodle-theme_adaptable.git GIT_VERSION=V$VERSION diff --git a/ressources/phpbb/debmaker b/ressources/phpbb/debmaker index c72e3a1..999fdcb 100755 --- a/ressources/phpbb/debmaker +++ b/ressources/phpbb/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=3.3.13 +VERSION=3.3.12 APP=phpbb DEPOT=https://github.com/phpbb/phpbb.git GIT_VERSION=release-$VERSION diff --git a/ressources/roundcubemail/debmaker b/ressources/roundcubemail/debmaker index 322a1e9..1c35c35 100755 --- a/ressources/roundcubemail/debmaker +++ b/ressources/roundcubemail/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.6.9 +VERSION=1.6.8 APP=roundcubemail DEPOT=https://github.com/roundcube/roundcubemail.git GIT_VERSION=${VERSION} diff --git a/ressources/vaultwarden/debmaker b/ressources/vaultwarden/debmaker index 8d4ddff..5f76739 100755 --- a/ressources/vaultwarden/debmaker +++ b/ressources/vaultwarden/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.32.2 +VERSION=1.32.0 APP=vaultwarden GIT_VERSION=$VERSION DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M) diff --git a/ressources/zigbee2mqtt/debmaker b/ressources/zigbee2mqtt/debmaker index 6723103..bb1acc8 100755 --- a/ressources/zigbee2mqtt/debmaker +++ b/ressources/zigbee2mqtt/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.40.0 +VERSION=1.39.1 APP=zigbee2mqtt DEPOT=https://github.com/Koenkk/zigbee2mqtt.git GIT_VERSION=${VERSION}