This commit is contained in:
Thomas Legay 2025-01-23 03:09:12 +01:00
parent 69cbf81a7c
commit 679d31630b
29 changed files with 112 additions and 32 deletions

View file

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
VERSION=0.108.0-b.57 VERSION=0.108.0-b.62
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}
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=4 IMAGE_SIZE=6
PACKAGE_DEPENDENCY="build-essential nodejs yarn" PACKAGE_DEPENDENCY="build-essential nodejs yarn"
main(){ main(){
@ -23,6 +23,7 @@ main(){
build() { build() {
cd /tmp/${APP} cd /tmp/${APP}
PATH=$PATH:/usr/local/go/bin PATH=$PATH:/usr/local/go/bin
sed -i "s/CHANNEL = development/CHANNEL = release/" Makefile
make make
} }

View file

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

View file

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

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
VERSION=0.9.5 VERSION=0.10.1
APP=baikal APP=baikal
DEPOT=https://github.com/sabre-io/Baikal.git DEPOT=https://github.com/sabre-io/Baikal.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=2 IMAGE_SIZE=2
PACKAGE_DEPENDENCY="php-mbstring php-exif php-opcache php-sockets php-tokenizer php-iconv php-json php-phar php-curl rsync zip make composer unzip devscripts debhelper-compat build-essential" PACKAGE_DEPENDENCY="php-mbstring php-exif php-opcache php-sockets php-tokenizer php-iconv php-json php-phar php-curl rsync zip make composer unzip devscripts debhelper-compat build-essential"

View file

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
VERSION=2024.10.1 VERSION=2025.1.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}
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=8 IMAGE_SIZE=8
PACKAGE_DEPENDENCY="pkg-config libsecret-1-dev yarn nodejs build-essential libglib2.0-dev" PACKAGE_DEPENDENCY="pkg-config libsecret-1-dev yarn nodejs build-essential libglib2.0-dev rpm"
main(){ main(){
base_package_upgrade base_package_upgrade
@ -28,7 +28,8 @@ build() {
cd /tmp/${APP} cd /tmp/${APP}
npm ci npm ci
cd /tmp/${APP}/apps/desktop/desktop_native/ cd /tmp/${APP}/apps/desktop/desktop_native/
npm run build -- --target x86_64-unknown-linux-musl node build.js cross-platform
npm run dist:lin
cd /tmp/${APP}/apps/desktop cd /tmp/${APP}/apps/desktop
PATH=$PATH:/tmp/${APP}/node_modules/.bin/ PATH=$PATH:/tmp/${APP}/node_modules/.bin/
npm run clean:dist npm run clean:dist
@ -51,7 +52,7 @@ makedeb(){
cp $tmp ${PATH_DEB}/usr/share/icons/hicolor/${RESOLUTION}/apps/bitwarden.png cp $tmp ${PATH_DEB}/usr/share/icons/hicolor/${RESOLUTION}/apps/bitwarden.png
done done
ln -s /usr/lib/bitwarden-desktop/bitwarden ${PATH_DEB}/usr/bin/bitwarden ln -s /usr/lib/bitwarden-desktop/bitwarden ${PATH_DEB}/usr/bin/bitwarden
chmod u+s ${PATH_DEB}/usr/bin/bitwarden/chrome-sandbox chmod u+s ${PATH_DEB}/usr/lib/bitwarden-desktop/chrome-sandbox
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

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.11.78 VERSION=1.11.89
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}
@ -14,6 +14,7 @@ main(){
configure_depot_yarn configure_depot_yarn
configure_depot_nodejs 20 configure_depot_nodejs 20
install_package_dependency install_package_dependency
get_git_source
build build
makedeb makedeb
} }

View file

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

@ -49,6 +49,7 @@ makedeb(){
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
chmod 644 ${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

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=4.0.3 VERSION=4.3.0
APP=grocy APP=grocy
DEPOT=https://github.com/grocy/grocy.git DEPOT=https://github.com/grocy/grocy.git
GIT_VERSION=v$VERSION GIT_VERSION=v$VERSION

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=3.1.15 VERSION=3.2.6
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,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=26.0.5 VERSION=26.1.0
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,18 +1,19 @@
#!/bin/bash #!/bin/bash
VERSION=2.24.0 VERSION=2.27.0
APP=kimai2 APP=kimai2
DEPOT=https://github.com/kevinpapst/kimai2.git DEPOT=https://github.com/kevinpapst/kimai2.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=bookworm
IMAGE_SIZE=2 IMAGE_SIZE=2
PACKAGE_DEPENDENCY="composer php-zip php-gd php-intl php-xsl" PACKAGE_DEPENDENCY="php-zip php-gd php-intl php-xsl"
main() { main() {
base_package_upgrade base_package_upgrade
install_package_dependency install_package_dependency
default_prebuild install_composer
get_git_source
build build
makedeb makedeb
} }

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=0.11.0 VERSION=0.11.2
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.51.3 VERSION=0.52.5.4
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

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=4.4.0 VERSION=4.4.1
APP=moodle-auth-oidc APP=moodle-auth-oidc
DEPOT=https://github.com/microsoft/moodle-auth_oidc.git DEPOT=https://github.com/microsoft/moodle-auth_oidc.git
GIT_VERSION=v$VERSION GIT_VERSION=v$VERSION

View file

@ -0,0 +1,27 @@
#!/bin/bash
VERSION=2021062100
APP=moodle-editor-morefontcolors
DEPOT=https://github.com/ndunand/moodle-atto_morefontcolors.git
GIT_VERSION=$VERSION
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=1
PACKAGE_DEPENDENCY=""
main(){
base_package_upgrade
install_package_dependency
default_prebuild
makedeb
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
mkdir -p ${PATH_DEB}/usr/share/moodle/lib/editor/atto/plugins/
mv /tmp/${APP} ${PATH_DEB}/usr/share/moodle/lib/editor/atto/plugins/morefontcolors
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
}

View file

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

View file

@ -0,0 +1,32 @@
#!/bin/bash
VERSION=4.4.0
APP=moodle-theme-pimenko
DEPOT=https://github.com/DigiDago/moodle-theme_pimenko.git
GIT_VERSION=last
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=1
PACKAGE_DEPENDENCY=""
main(){
base_package_upgrade
install_package_dependency
default_prebuild
build
makedeb
}
build(){
cd /tmp/${APP}
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
mkdir -p ${PATH_DEB}/usr/share/moodle/theme/
mv /tmp/${APP} ${PATH_DEB}/usr/share/moodle/theme/pimenko
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
}

View file

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

View file

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
VERSION=4.4.0 VERSION=4.5.0
APP=moodle APP=moodle
DEPOT=git://git.moodle.org/moodle.git DEPOT=git://git.moodle.org/moodle.git
GIT_VERSION=MOODLE_404_STABLE GIT_VERSION=MOODLE_405_STABLE
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=2 IMAGE_SIZE=2

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=3.3.13 VERSION=3.3.14
APP=phpbb APP=phpbb
DEPOT=https://github.com/phpbb/phpbb.git DEPOT=https://github.com/phpbb/phpbb.git
GIT_VERSION=release-$VERSION GIT_VERSION=release-$VERSION

View file

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

View file

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

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.23.15 VERSION=1.23.16
APP=uptime-kuma APP=uptime-kuma
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,9 +1,9 @@
#!/bin/bash #!/bin/bash
VERSION=2024.6.2 VERSION=2025.1.0
APP=vaultwarden-web APP=vaultwarden-web
BITWARDEN_VERSION=v${VERSION} BITWARDEN_VERSION=v${VERSION}
GIT_VERSION=${BITWARDEN_VERSION}c GIT_VERSION=${BITWARDEN_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=5 IMAGE_SIZE=5
@ -12,7 +12,7 @@ PACKAGE_DEPENDENCY="build-essential python-is-python3 nodejs"
main(){ main(){
base_package_upgrade base_package_upgrade
configure_depot_nodejs 18 configure_depot_nodejs 22
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=1.32.4 VERSION=1.32.7
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.40.0 VERSION=1.42.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}