add quacamole sqlpage

This commit is contained in:
Thomas Legay 2023-11-21 01:24:31 +01:00
parent 337df6c751
commit a31db48ad0
43 changed files with 421 additions and 14 deletions

View file

@ -0,0 +1,17 @@
#### moodle
##### Information
Site : https://moodle.org/
Source : git://git.moodle.org/moodle.git
##### Install
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y moodle
```

31
ressources/moodle/debmaker Executable file
View file

@ -0,0 +1,31 @@
#!/bin/bash
VERSION=4.3.0
APP=moodle
DEPOT=git://git.moodle.org/moodle.git
GIT_VERSION=v$VERSION
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=2
PACKAGE_DEPENDENCY=""
main(){
base_package_upgrade
install_package_dependency
default_prebuild
build
makedeb
}
build(){
cd /tmp/${APP}
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
mv /tmp/${APP} ${PATH_DEB_INSTALL}/usr/share/
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
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Maintainer: Thomas Legay <thomas@lgy.fr>
Depends: php-gd, php-soap, php-intl, php-mbstring, php-xml, php-pgsql, php-curl, php-zip
Description: moodle