parent
862c0d9ec7
commit
5c12d1fb2a
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.108.0-b.14
|
VERSION=0.108.0-b.15
|
||||||
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}
|
||||||
|
|
|
@ -6,7 +6,7 @@ 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=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=10
|
IMAGE_SIZE=8
|
||||||
PACKAGE_DEPENDENCY="pkg-config libsecret-1-dev yarn nodejs"
|
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"
|
STEP="base_package_upgrade configure_depot_yarn configure_depot_nodejs install_package_dependency get_git_source build makedeb"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.11.4
|
VERSION=1.11.5
|
||||||
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=10.0.2
|
VERSION=10.0.3
|
||||||
APP=glpi
|
APP=glpi
|
||||||
DEPOT=https://github.com/glpi-project/glpi.git
|
DEPOT=https://github.com/glpi-project/glpi.git
|
||||||
GIT_VERSION=${VERSION}
|
GIT_VERSION=${VERSION}
|
||||||
|
@ -22,8 +22,12 @@ build(){
|
||||||
|
|
||||||
makedeb(){
|
makedeb(){
|
||||||
PATH_DEB=/tmp/src/rootfs
|
PATH_DEB=/tmp/src/rootfs
|
||||||
|
PATH_DEB_INSTALL=/tmp/src/rootfs-install
|
||||||
|
|
||||||
tar -zxvf /tmp/${APP}-${VERSION}.tgz -C ${PATH_DEB}/usr/share/
|
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/
|
mv ${PATH_DEB}/usr/share/glpi/*.md ${PATH_DEB}/usr/share/doc/glpi/
|
||||||
gzip ${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
|
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
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB_INSTALL}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB_INSTALL} /tmp/dist
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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,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,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
|
|
@ -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,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,0 +1 @@
|
||||||
|
/etc/phpbb/config.php
|
|
@ -0,0 +1,7 @@
|
||||||
|
Package: phpbb
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: base
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Description: phpbb
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
chown www-data:www-data /var/lib/phpbb -R
|
||||||
|
chown www-data:www-data /var/cache/phpbb -R
|
|
@ -0,0 +1 @@
|
||||||
|
|
Loading…
Reference in New Issue