update
This commit is contained in:
parent
4aa8111f98
commit
c72fb8b625
|
@ -38,7 +38,7 @@ configure_depot_nodejs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install_go() {
|
install_go() {
|
||||||
GO_VERSION=1.21.1
|
GO_VERSION=1.22.1
|
||||||
[ ! "$1" == "" ] && GO_VERSION=$1
|
[ ! "$1" == "" ] && GO_VERSION=$1
|
||||||
PATH=$PATH:/usr/local/go/bin
|
PATH=$PATH:/usr/local/go/bin
|
||||||
if [ -e /usr/local/go/bin/go ] || [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
if [ -e /usr/local/go/bin/go ] || [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
||||||
|
|
|
@ -107,7 +107,7 @@ debmaker_run(){
|
||||||
sudo chroot ${MOUNT_PATH}/${APP}/ /tmp/src/exec_in_chroot.sh ${CURRENT_STEP}
|
sudo chroot ${MOUNT_PATH}/${APP}/ /tmp/src/exec_in_chroot.sh ${CURRENT_STEP}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
rm -fr dist/${APP}*
|
rm -fr dist/${APP}_*
|
||||||
find ${MOUNT_PATH}/${APP}/tmp/dist/ -name *.deb -exec cp -v {} dist/ \;
|
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}/
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
rsync -a --delete -e 'ssh -J lgy.fr' ./dist/ deb.net.lgy.fr:/tmp/new
|
rsync -a --delete --progress -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/ includedeb tools /tmp/new/*'
|
||||||
|
echo move to /tmp/
|
||||||
|
mv ./dist/* /tmp/
|
||||||
#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/*'
|
#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/*'
|
||||||
|
#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/ deleteunreferenced'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.108.0-b.49
|
VERSION=0.108.0-b.54
|
||||||
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}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=4.37.5
|
VERSION=4.38.7
|
||||||
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}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.1.2
|
VERSION=2.3.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}
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
build/baikal/Core usr/share/baikal/Core
|
build/baikal/Core usr/share/baikal/
|
||||||
build/baikal/vendor usr/share/baikal/vendor
|
build/baikal/vendor usr/share/baikal/
|
||||||
build/baikal/html usr/share/baikal/html
|
build/baikal/html usr/share/baikal/
|
||||||
build/baikal/Core usr/share/baikal/html
|
|
||||||
build/baikal/Specific var/lib/baikal
|
build/baikal/Specific var/lib/baikal
|
||||||
build/baikal/README.md usr/share/doc/baikal/README.md
|
build/baikal/README.md usr/share/doc/baikal/
|
||||||
build/baikal/LICENSE usr/share/doc/baikal/LICENSE
|
build/baikal/LICENSE usr/share/doc/baikal/
|
||||||
config/baikal.yaml.dist etc/baikal/baikal.yaml
|
config/baikal.yaml.dist etc/baikal/
|
||||||
debian/baikal-apache.conf usr/share/doc/baikal/baikal-apache.conf
|
debian/baikal-apache.conf usr/share/doc/baikal/
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.9.4
|
VERSION=0.9.5
|
||||||
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=bullseye
|
||||||
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 debhelper-compat"
|
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"
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
base_package_upgrade
|
base_package_upgrade
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2024.3.0
|
VERSION=2024.4.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}
|
||||||
|
@ -51,6 +51,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
|
||||||
|
|
||||||
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,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.11.49
|
VERSION=1.11.64
|
||||||
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}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.21.7-0
|
VERSION=1.21.10-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,18 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.14.14
|
VERSION=3.0.2
|
||||||
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=bookworm
|
DEBIAN_VERSION_CODENAME=bookworm
|
||||||
IMAGE_SIZE=10
|
IMAGE_SIZE=14
|
||||||
PACKAGE_DEPENDENCY="build-essential python-is-python3 nodejs rsync yarn"
|
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 18
|
configure_depot_nodejs 20
|
||||||
install_package_dependency
|
install_package_dependency
|
||||||
get_git_source
|
get_git_source
|
||||||
build
|
build
|
||||||
|
@ -20,7 +20,7 @@ main(){
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
rm -fr /tmp/${APP}/packages/app-mobile
|
# rm -fr /tmp/${APP}/packages/app-mobile
|
||||||
cd /tmp/${APP}/
|
cd /tmp/${APP}/
|
||||||
BUILD_SEQUENCIAL=1 yarn install
|
BUILD_SEQUENCIAL=1 yarn install
|
||||||
cd packages/app-desktop
|
cd packages/app-desktop
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=24.0.1
|
VERSION=24.0.2
|
||||||
APP=keycloak
|
APP=keycloak
|
||||||
DEPOT=https://github.com/keycloak/keycloak.git
|
DEPOT=https://github.com/keycloak/keycloak.git
|
||||||
GIT_VERSION=${VERSION}
|
GIT_VERSION=${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.4.1
|
VERSION=2.14.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}
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.10.4
|
VERSION=0.10.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}
|
||||||
DEBIAN_VERSION_CODENAME=bookworm
|
DEBIAN_VERSION_CODENAME=bookworm
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=4
|
||||||
PACKAGE_DEPENDENCY="debhelper-compat libolm-dev build-essential devscripts golang"
|
PACKAGE_DEPENDENCY="debhelper-compat libolm-dev build-essential devscripts go"
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
# echo deb http://deb.debian.org/debian bullseye-backports main > /etc/apt/sources.list.d/backports.list
|
echo deb http://deb.debian.org/debian bookworm-backports main > /etc/apt/sources.list.d/backports.list
|
||||||
base_package_upgrade
|
base_package_upgrade
|
||||||
install_package_dependency
|
install_package_dependency
|
||||||
# apt install -y --no-install-recommends -t bullseye-backports golang
|
# install_go
|
||||||
|
apt install -y --no-install-recommends -t bookworm-backports golang
|
||||||
get_git_source
|
get_git_source
|
||||||
makedeb
|
makedeb
|
||||||
}
|
}
|
||||||
|
@ -20,6 +21,7 @@ main(){
|
||||||
makedeb(){
|
makedeb(){
|
||||||
cd /tmp/${APP}/
|
cd /tmp/${APP}/
|
||||||
rm /tmp/*.deb
|
rm /tmp/*.deb
|
||||||
|
# PATH=/usr/local/go/bin:$PATH
|
||||||
cp -fr /tmp/src/debian /tmp/${APP}
|
cp -fr /tmp/src/debian /tmp/${APP}
|
||||||
export DEBEMAIL=thomas@lgy.fr
|
export DEBEMAIL=thomas@lgy.fr
|
||||||
dch -v ${VERSION}
|
dch -v ${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.49.0
|
VERSION=0.49.5
|
||||||
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
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=4.3.1
|
||||||
|
APP=moodle-auth-oidc
|
||||||
|
DEPOT=https://github.com/microsoft/moodle-auth_oidc.git
|
||||||
|
GIT_VERSION=v$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
|
||||||
|
build
|
||||||
|
makedeb
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cd /tmp/${APP}
|
||||||
|
}
|
||||||
|
|
||||||
|
makedeb(){
|
||||||
|
PATH_DEB=/tmp/src/rootfs
|
||||||
|
|
||||||
|
mkdir -p ${PATH_DEB}/usr/share/moodle/auth/
|
||||||
|
mv /tmp/${APP} ${PATH_DEB}/usr/share/moodle/auth/oidc
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
Package: moodle-auth-oidc
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Depends: moodle
|
||||||
|
Description: moodle-auth-oidc
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=4.3
|
||||||
|
APP=moodle-block-cohortspecifichtml
|
||||||
|
DEPOT=https://github.com/moodle-an-hochschulen/moodle-block_cohortspecifichtml.git
|
||||||
|
GIT_VERSION=v$VERSION-r1
|
||||||
|
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/blocks/
|
||||||
|
mv /tmp/${APP} ${PATH_DEB}/usr/share/moodle/blocks/cohortspecifichtml
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
Package:moodle-block-cohortspecifichtml
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Depends: moodle
|
||||||
|
Description: moodle-block-cohortspecifichtml
|
|
@ -0,0 +1,27 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=2.1.1
|
||||||
|
APP=moodle-editor-tiny-c4l
|
||||||
|
DEPOT=https://github.com/reskit/moodle-tiny_c4l.git
|
||||||
|
GIT_VERSION=v$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/tiny/plugins/
|
||||||
|
mv /tmp/${APP} ${PATH_DEB}/usr/share/moodle/lib/editor/tiny/plugins/c4l
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
Package: moodle-editor-tiny-c4l
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Depends: moodle
|
||||||
|
Description: moodle-editor-tiny-c4l
|
|
@ -0,0 +1,27 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=4.1.10
|
||||||
|
APP=moodle-format-onetopic
|
||||||
|
DEPOT=https://github.com/davidherney/moodle-format_onetopic.git
|
||||||
|
GIT_VERSION=v$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//course/format/
|
||||||
|
mv /tmp/${APP} ${PATH_DEB}/usr/share/moodle//course/format/onetopic
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
Package: moodle-format-onetopic
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Depends: moodle
|
||||||
|
Description: moodle-format-onetopic
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=4.3
|
||||||
|
APP=moodle-format-tiles
|
||||||
|
DEPOT=https://bitbucket.org/dw8/moodle-format_tiles.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//course/format/
|
||||||
|
mv /tmp/${APP} ${PATH_DEB}/usr/share/moodle//course/format/tiles
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
Package: moodle-format-tiles
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Depends: moodle
|
||||||
|
Description: moodle-format-tiles
|
|
@ -0,0 +1,27 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=1.401.03
|
||||||
|
APP=moodle-mod-board
|
||||||
|
DEPOT=https://github.com/brickfield/moodle-mod_board.git
|
||||||
|
GIT_VERSION=v$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//mod/
|
||||||
|
mv /tmp/${APP} ${PATH_DEB}/usr/share/moodle/mod/board
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
Package: moodle-mod-board
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Depends: moodle
|
||||||
|
Description: moodle-mod-board
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=403.1.4
|
||||||
|
APP=moodle-theme-adaptable
|
||||||
|
DEPOT=https://github.com/gjbarnard/moodle-theme_adaptable.git
|
||||||
|
GIT_VERSION=V$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
|
||||||
|
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/adaptable
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
Package:moodle-theme-adaptable
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Depends: moodle
|
||||||
|
Description: moodle-theme-adaptable
|
|
@ -14,4 +14,9 @@ apt-get update
|
||||||
|
|
||||||
apt-get install -y moodle
|
apt-get install -y moodle
|
||||||
|
|
||||||
|
systemctl enable --now moodle-cron@1
|
||||||
|
systemctl enable --now moodle-cron@2
|
||||||
|
systemctl enable --now moodle-adhoc_task@.service@1
|
||||||
|
systemctl enable --now moodle-adhoc_task@.service@2
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
VERSION=4.3.0
|
VERSION=4.3.0
|
||||||
APP=moodle
|
APP=moodle
|
||||||
DEPOT=git://git.moodle.org/moodle.git
|
DEPOT=git://git.moodle.org/moodle.git
|
||||||
GIT_VERSION=v$VERSION
|
GIT_VERSION=MOODLE_403_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
|
||||||
|
@ -24,7 +24,13 @@ build(){
|
||||||
makedeb(){
|
makedeb(){
|
||||||
PATH_DEB=/tmp/src/rootfs
|
PATH_DEB=/tmp/src/rootfs
|
||||||
|
|
||||||
mv /tmp/${APP} ${PATH_DEB_INSTALL}/usr/share/
|
mkdir -p ${PATH_DEB}/usr/share/
|
||||||
|
mv /tmp/${APP} ${PATH_DEB}/usr/share/
|
||||||
|
|
||||||
|
mkdir -p ${PATH_DEB}/etc/moodle/
|
||||||
|
mv ${PATH_DEB}/usr/share/moodle/config-dist.php ${PATH_DEB}/etc/moodle/config.php
|
||||||
|
sed -i "s/__DIR__/'\/usr\/share\/moodle'/" ${PATH_DEB}/etc/moodle/config.php
|
||||||
|
ln -s /etc/moodle/config.php ${PATH_DEB}/usr/share/moodle/config.php
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/moodle/config.php
|
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=moodle adhoc task
|
||||||
|
StartLimitIntervalSec=120
|
||||||
|
StartLimitBurst=10
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
user=www-data
|
||||||
|
group=www-data
|
||||||
|
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=60s
|
||||||
|
StandardOutput=null
|
||||||
|
Restart=always
|
||||||
|
ExecStart=/usr/bin/php /usr/share/moodle/admin/cli/adhoc_task.php -e -k=3600
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -0,0 +1,18 @@
|
||||||
|
[Unit]
|
||||||
|
Description=moodle cron task
|
||||||
|
StartLimitIntervalSec=120
|
||||||
|
StartLimitBurst=10
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=www-data
|
||||||
|
Group=www-data
|
||||||
|
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=60s
|
||||||
|
|
||||||
|
StandardOutput=null
|
||||||
|
Restart=always
|
||||||
|
ExecStart=/usr/bin/php /usr/share/moodle/admin/cli/cron.php
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2023-09-24
|
VERSION=2024-02-02
|
||||||
APP=rss-bridge
|
APP=rss-bridge
|
||||||
DEPOT=https://github.com/RSS-Bridge/rss-bridge.git
|
DEPOT=https://github.com/RSS-Bridge/rss-bridge.git
|
||||||
GIT_VERSION=$VERSION
|
GIT_VERSION=$VERSION
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2023.10.0
|
VERSION=2024.3.1
|
||||||
APP=vaultwarden-web
|
APP=vaultwarden-web
|
||||||
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)
|
||||||
|
@ -19,8 +19,9 @@ main(){
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
export NODE_OPTIONS=--max-old-space-size=8192
|
||||||
cd /tmp/${APP}
|
cd /tmp/${APP}
|
||||||
echo web-$GIT_VERSION | ./package_web_vault.sh
|
echo $GIT_VERSION | ./package_web_vault.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
makedeb(){
|
makedeb(){
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.6.2
|
VERSION=2.6.9
|
||||||
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)
|
||||||
|
@ -12,22 +12,18 @@ PACKAGE_DEPENDENCY="php-common php-xml php-json php-gd php-mbstring php-xml php-
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
base_package_upgrade
|
base_package_upgrade
|
||||||
envinit
|
configure_depot_yarn
|
||||||
|
configure_depot_nodejs 20
|
||||||
|
install_package_dependency
|
||||||
|
install_composer
|
||||||
get_git_source
|
get_git_source
|
||||||
build
|
build
|
||||||
makedeb
|
makedeb
|
||||||
}
|
}
|
||||||
|
|
||||||
envinit() {
|
|
||||||
configure_depot_yarn
|
|
||||||
configure_depot_nodejs 18
|
|
||||||
install_package_dependency
|
|
||||||
install_composer
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd /tmp/${APP}
|
cd /tmp/${APP}
|
||||||
COMPOSER_ALLOW_SUPERUSER=1 SYMFONY_ENV=prod php /usr/bin/composer.phar install --no-dev -o --prefer-dist -n --no-scripts
|
COMPOSER_ALLOW_SUPERUSER=1 SYMFONY_ENV=prod php /usr/bin/composer install --no-dev -o --prefer-dist -n --no-scripts
|
||||||
ENV=PROD make build
|
ENV=PROD make build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.36.0
|
VERSION=1.36.1
|
||||||
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