Add phpbb
version update
This commit is contained in:
parent
862c0d9ec7
commit
5c12d1fb2a
23 changed files with 115 additions and 5 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
0
ressources/glpi/rootfs-install/DEBIAN/changelog
Normal file
0
ressources/glpi/rootfs-install/DEBIAN/changelog
Normal file
7
ressources/glpi/rootfs-install/DEBIAN/control
Normal file
7
ressources/glpi/rootfs-install/DEBIAN/control
Normal file
|
@ -0,0 +1,7 @@
|
|||
Package: glpi-install
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Maintainer: Thomas Legay <thomas@syngate.fr>
|
||||
Description: glpi-install
|
0
ressources/glpi/rootfs-install/usr/share/glpi/.keep
Normal file
0
ressources/glpi/rootfs-install/usr/share/glpi/.keep
Normal file
0
ressources/mautrix-wsproxy/rootfs/etc/.keep
Normal file
0
ressources/mautrix-wsproxy/rootfs/etc/.keep
Normal file
26
ressources/phpbb-language-fr/debmaker
Executable file
26
ressources/phpbb-language-fr/debmaker
Executable file
|
@ -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
|
||||
}
|
0
ressources/phpbb-language-fr/rootfs/DEBIAN/changelog
Normal file
0
ressources/phpbb-language-fr/rootfs/DEBIAN/changelog
Normal file
7
ressources/phpbb-language-fr/rootfs/DEBIAN/control
Normal file
7
ressources/phpbb-language-fr/rootfs/DEBIAN/control
Normal file
|
@ -0,0 +1,7 @@
|
|||
Package: phpbb-language-fr
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||
Description: phpbb language pack fr
|
44
ressources/phpbb/debmaker
Executable file
44
ressources/phpbb/debmaker
Executable file
|
@ -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
|
||||
}
|
0
ressources/phpbb/rootfs-install/DEBIAN/changelog
Normal file
0
ressources/phpbb/rootfs-install/DEBIAN/changelog
Normal file
7
ressources/phpbb/rootfs-install/DEBIAN/control
Normal file
7
ressources/phpbb/rootfs-install/DEBIAN/control
Normal file
|
@ -0,0 +1,7 @@
|
|||
Package: phpbb-install
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||
Description: phpbb install folder
|
0
ressources/phpbb/rootfs-install/usr/share/phpbb/.keep
Normal file
0
ressources/phpbb/rootfs-install/usr/share/phpbb/.keep
Normal file
0
ressources/phpbb/rootfs/DEBIAN/changelog
Normal file
0
ressources/phpbb/rootfs/DEBIAN/changelog
Normal file
1
ressources/phpbb/rootfs/DEBIAN/conffiles
Normal file
1
ressources/phpbb/rootfs/DEBIAN/conffiles
Normal file
|
@ -0,0 +1 @@
|
|||
/etc/phpbb/config.php
|
7
ressources/phpbb/rootfs/DEBIAN/control
Normal file
7
ressources/phpbb/rootfs/DEBIAN/control
Normal file
|
@ -0,0 +1,7 @@
|
|||
Package: phpbb
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||
Description: phpbb
|
3
ressources/phpbb/rootfs/DEBIAN/postinst
Executable file
3
ressources/phpbb/rootfs/DEBIAN/postinst
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
chown www-data:www-data /var/lib/phpbb -R
|
||||
chown www-data:www-data /var/cache/phpbb -R
|
1
ressources/phpbb/rootfs/etc/phpbb/.gitkeep
Normal file
1
ressources/phpbb/rootfs/etc/phpbb/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
|
0
ressources/phpbb/rootfs/usr/share/.keep
Normal file
0
ressources/phpbb/rootfs/usr/share/.keep
Normal file
0
ressources/phpbb/rootfs/var/lib/phpbb/.keep
Normal file
0
ressources/phpbb/rootfs/var/lib/phpbb/.keep
Normal file
Loading…
Reference in a new issue