diff --git a/ressources/adguardhome/debmaker b/ressources/adguardhome/debmaker index 007dde5..163d36e 100755 --- a/ressources/adguardhome/debmaker +++ b/ressources/adguardhome/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=0.108.0-b.14 +VERSION=0.108.0-b.15 APP=adguardhome DEPOT=https://github.com/AdguardTeam/AdGuardHome.git GIT_VERSION=v${VERSION} diff --git a/ressources/bitwarden-desktop/debmaker b/ressources/bitwarden-desktop/debmaker index 84166e3..b8c99a0 100755 --- a/ressources/bitwarden-desktop/debmaker +++ b/ressources/bitwarden-desktop/debmaker @@ -6,7 +6,7 @@ DEPOT=https://github.com/bitwarden/clients.git GIT_VERSION=desktop-v${VERSION} DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) DEBIAN_VERSION_CODENAME=bullseye -IMAGE_SIZE=10 +IMAGE_SIZE=8 PACKAGE_DEPENDENCY="pkg-config libsecret-1-dev yarn nodejs" STEP="base_package_upgrade configure_depot_yarn configure_depot_nodejs install_package_dependency get_git_source build makedeb" diff --git a/ressources/element-web/debmaker b/ressources/element-web/debmaker index 2f3d37d..d5a48e7 100755 --- a/ressources/element-web/debmaker +++ b/ressources/element-web/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.11.4 +VERSION=1.11.5 APP=element-web DEPOT=https://github.com/vector-im/element-web.git GIT_VERSION=v${VERSION} diff --git a/ressources/glpi/debmaker b/ressources/glpi/debmaker index aadaf75..ef85711 100755 --- a/ressources/glpi/debmaker +++ b/ressources/glpi/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=10.0.2 +VERSION=10.0.3 APP=glpi DEPOT=https://github.com/glpi-project/glpi.git GIT_VERSION=${VERSION} @@ -22,8 +22,12 @@ build(){ makedeb(){ PATH_DEB=/tmp/src/rootfs - + PATH_DEB_INSTALL=/tmp/src/rootfs-install + tar -zxvf /tmp/${APP}-${VERSION}.tgz -C ${PATH_DEB}/usr/share/ + + mv ${PATH_DEB}/usr/share/glpi/install ${PATH_DEB_INSTALL}/usr/share/glpi/ + mv ${PATH_DEB}/usr/share/glpi/*.md ${PATH_DEB}/usr/share/doc/glpi/ gzip ${PATH_DEB}/usr/share/doc/glpi/* @@ -39,5 +43,8 @@ makedeb(){ sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist + + sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB_INSTALL}/DEBIAN/control + fakeroot dpkg-deb -Z gzip --build ${PATH_DEB_INSTALL} /tmp/dist } diff --git a/ressources/glpi/rootfs-install/DEBIAN/changelog b/ressources/glpi/rootfs-install/DEBIAN/changelog new file mode 100644 index 0000000..e69de29 diff --git a/ressources/glpi/rootfs-install/DEBIAN/control b/ressources/glpi/rootfs-install/DEBIAN/control new file mode 100644 index 0000000..5c3ee55 --- /dev/null +++ b/ressources/glpi/rootfs-install/DEBIAN/control @@ -0,0 +1,7 @@ +Package: glpi-install +Version: %VERSION% +Section: base +Priority: optional +Architecture: all +Maintainer: Thomas Legay +Description: glpi-install diff --git a/ressources/glpi/rootfs-install/usr/share/glpi/.keep b/ressources/glpi/rootfs-install/usr/share/glpi/.keep new file mode 100644 index 0000000..e69de29 diff --git a/ressources/mautrix-wsproxy/rootfs/etc/.keep b/ressources/mautrix-wsproxy/rootfs/etc/.keep new file mode 100644 index 0000000..e69de29 diff --git a/ressources/phpbb-language-fr/debmaker b/ressources/phpbb-language-fr/debmaker new file mode 100755 index 0000000..e706151 --- /dev/null +++ b/ressources/phpbb-language-fr/debmaker @@ -0,0 +1,26 @@ +#!/bin/bash + +VERSION=4.8.0 +APP=phpbb-language-fr +DEPOT=https://github.com/qiaeru/phpbb-language-fr.git +GIT_VERSION=v$VERSION +DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M) +DEBIAN_VERSION_CODENAME=bullseye +IMAGE_SIZE=1 + +STEP="base_package_upgrade default_prebuild makedeb" + +build(){ + cd /tmp/${APP}/phpBB + php ../composer.phar install -n +} + +makedeb(){ + PATH_DEB=/tmp/src/rootfs + PATH_DEB_INSTALL=/tmp/src/rootfs-install + + cp -fr /tmp/${APP}/language ${PATH_DEB}/usr/share/phpbb + + sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control + fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist +} diff --git a/ressources/phpbb-language-fr/rootfs/DEBIAN/changelog b/ressources/phpbb-language-fr/rootfs/DEBIAN/changelog new file mode 100644 index 0000000..e69de29 diff --git a/ressources/phpbb-language-fr/rootfs/DEBIAN/control b/ressources/phpbb-language-fr/rootfs/DEBIAN/control new file mode 100644 index 0000000..def3489 --- /dev/null +++ b/ressources/phpbb-language-fr/rootfs/DEBIAN/control @@ -0,0 +1,7 @@ +Package: phpbb-language-fr +Version: %VERSION% +Section: base +Priority: optional +Architecture: all +Maintainer: Thomas Legay +Description: phpbb language pack fr diff --git a/ressources/phpbb-language-fr/rootfs/usr/share/phpbb/.keep b/ressources/phpbb-language-fr/rootfs/usr/share/phpbb/.keep new file mode 100644 index 0000000..e69de29 diff --git a/ressources/phpbb/debmaker b/ressources/phpbb/debmaker new file mode 100755 index 0000000..ed73569 --- /dev/null +++ b/ressources/phpbb/debmaker @@ -0,0 +1,44 @@ +#!/bin/bash + +VERSION=3.3.8 +APP=phpbb +DEPOT=https://github.com/phpbb/phpbb.git +GIT_VERSION=release-$VERSION +DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M) +DEBIAN_VERSION_CODENAME=bullseye +IMAGE_SIZE=2 +PACKAGE_DEPENDENCY="php-simplexml php-curl php-zip" + +STEP="base_package_upgrade install_package_dependency default_prebuild build makedeb" + +build(){ + cd /tmp/${APP}/phpBB + php ../composer.phar install -n +} + +makedeb(){ + PATH_DEB=/tmp/src/rootfs + PATH_DEB_INSTALL=/tmp/src/rootfs-install + + mv /tmp/${APP}/phpBB/install ${PATH_DEB_INSTALL}/usr/share/phpbb + + cp -fr /tmp/${APP}/phpBB ${PATH_DEB}/usr/share/phpbb + + touch ${PATH_DEB}/etc/${APP}/config.php + ln -s /etc/${APP}/config.php ${PATH_DEB}/usr/share/phpbb/config.php + + for tmp in ext files store images + do + mv ${PATH_DEB}/usr/share/phpbb/${tmp} ${PATH_DEB}/var/lib/phpbb/${tmp} + ln -s /var/lib/phpbb/${tmp} ${PATH_DEB}/usr/share/phpbb/${tmp} + done + + mv ${PATH_DEB}/usr/share/phpbb/cache ${PATH_DEB}/var/lib/phpbb/cache + ln -s /var/cache/phpbb ${PATH_DEB}/usr/share/phpbb/cache + + sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control + fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist + + sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB_INSTALL}/DEBIAN/control + fakeroot dpkg-deb -Z gzip --build ${PATH_DEB_INSTALL} /tmp/dist +} diff --git a/ressources/phpbb/rootfs-install/DEBIAN/changelog b/ressources/phpbb/rootfs-install/DEBIAN/changelog new file mode 100644 index 0000000..e69de29 diff --git a/ressources/phpbb/rootfs-install/DEBIAN/control b/ressources/phpbb/rootfs-install/DEBIAN/control new file mode 100644 index 0000000..c605e01 --- /dev/null +++ b/ressources/phpbb/rootfs-install/DEBIAN/control @@ -0,0 +1,7 @@ +Package: phpbb-install +Version: %VERSION% +Section: base +Priority: optional +Architecture: all +Maintainer: Thomas Legay +Description: phpbb install folder diff --git a/ressources/phpbb/rootfs-install/usr/share/phpbb/.keep b/ressources/phpbb/rootfs-install/usr/share/phpbb/.keep new file mode 100644 index 0000000..e69de29 diff --git a/ressources/phpbb/rootfs/DEBIAN/changelog b/ressources/phpbb/rootfs/DEBIAN/changelog new file mode 100644 index 0000000..e69de29 diff --git a/ressources/phpbb/rootfs/DEBIAN/conffiles b/ressources/phpbb/rootfs/DEBIAN/conffiles new file mode 100644 index 0000000..5757b20 --- /dev/null +++ b/ressources/phpbb/rootfs/DEBIAN/conffiles @@ -0,0 +1 @@ +/etc/phpbb/config.php diff --git a/ressources/phpbb/rootfs/DEBIAN/control b/ressources/phpbb/rootfs/DEBIAN/control new file mode 100644 index 0000000..0405e1e --- /dev/null +++ b/ressources/phpbb/rootfs/DEBIAN/control @@ -0,0 +1,7 @@ +Package: phpbb +Version: %VERSION% +Section: base +Priority: optional +Architecture: all +Maintainer: Thomas Legay +Description: phpbb diff --git a/ressources/phpbb/rootfs/DEBIAN/postinst b/ressources/phpbb/rootfs/DEBIAN/postinst new file mode 100755 index 0000000..195386e --- /dev/null +++ b/ressources/phpbb/rootfs/DEBIAN/postinst @@ -0,0 +1,3 @@ +#!/bin/bash +chown www-data:www-data /var/lib/phpbb -R +chown www-data:www-data /var/cache/phpbb -R diff --git a/ressources/phpbb/rootfs/etc/phpbb/.gitkeep b/ressources/phpbb/rootfs/etc/phpbb/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/ressources/phpbb/rootfs/etc/phpbb/.gitkeep @@ -0,0 +1 @@ + diff --git a/ressources/phpbb/rootfs/usr/share/.keep b/ressources/phpbb/rootfs/usr/share/.keep new file mode 100644 index 0000000..e69de29 diff --git a/ressources/phpbb/rootfs/var/lib/phpbb/.keep b/ressources/phpbb/rootfs/var/lib/phpbb/.keep new file mode 100644 index 0000000..e69de29