This commit is contained in:
thomas 2023-02-06 13:57:24 +01:00
parent 3a10b26136
commit 976a7c7078
11 changed files with 54 additions and 19 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=0.108.0-b.25 VERSION=0.108.0-b.26
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}

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=2.2.22 VERSION=2.3.0
APP=budibase APP=budibase
DEPOT=https://github.com/Budibase/budibase.git DEPOT=https://github.com/Budibase/budibase.git
GIT_VERSION=v${VERSION} GIT_VERSION=v${VERSION}

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.11.20 VERSION=1.11.22
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}

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=4.9.0 VERSION=4.10.0
APP=phpbb-language-fr APP=phpbb-language-fr
DEPOT=https://github.com/qiaeru/phpbb-language-fr.git DEPOT=https://github.com/qiaeru/phpbb-language-fr.git
GIT_VERSION=v$VERSION GIT_VERSION=v$VERSION

View File

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
VERSION=3.3.9 VERSION=3.3.10
APP=phpbb APP=phpbb
DEPOT=https://github.com/phpbb/phpbb.git DEPOT=https://github.com/phpbb/phpbb.git
GIT_VERSION=release-$VERSION GIT_VERSION=release-$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-simplexml php-curl php-zip" PACKAGE_DEPENDENCY="php-simplexml php-curl php-zip php-cli"
main(){ main(){
base_package_upgrade base_package_upgrade

View File

@ -7,7 +7,7 @@ GIT_VERSION=postfixadmin-${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=4 IMAGE_SIZE=4
PACKAGE_DEPENDENCY="debhelper-compat build-essential:native dh-apache2 composer php-sqlite3 php-mysql php-xml" PACKAGE_DEPENDENCY="debhelper-compat build-essential:native dh-apache2 composer php-sqlite3 php-mysql php-xml php-zip"
main(){ main(){
base_package_upgrade base_package_upgrade
@ -26,6 +26,7 @@ build(){
makedeb(){ makedeb(){
cd /tmp/${APP}/ cd /tmp/${APP}/
rm /tmp/*.deb
make -f debian/rules binary-indep make -f debian/rules binary-indep
cp /tmp/*.deb /tmp/dist cp /tmp/*.deb /tmp/dist
} }

View File

@ -0,0 +1,23 @@
#!/bin/bash
APP=tt-rss-plugin-readability
GIT_VERSION=last
DEB_VERSION=$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=1
DEPOT=https://dev.tt-rss.org/tt-rss/ttrss-af-readability.git
main(){
base_package_upgrade
get_git_source
makedeb
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
mkdir -p ${PATH_DEB}/usr/share/tt-rss/plugins/
cp -fr /tmp/${APP} ${PATH_DEB}/usr/share/tt-rss/plugins/af_readability
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: tt-rss-plugin-readability
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Depends: tt-rss, php-curl
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: tt-rss-plugin-readability

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=2.5.2 VERSION=2.5.3
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)
@ -8,24 +8,27 @@ DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=4 IMAGE_SIZE=4
DEPOT=https://github.com/wallabag/wallabag.git DEPOT=https://github.com/wallabag/wallabag.git
STEP="base_package_upgrade envinit prebuild build makedeb" PACKAGE_DEPENDENCY="php-common php-xml php-json php-gd php-mbstring php-xml php-tidy php-curl php-tokenizer php-bcmath php-intl php-fpm unzip make yarn nodejs"
main(){
base_package_upgrade
envinit
get_git_source
build
makedeb
}
envinit() { envinit() {
configure_depot_yarn configure_depot_yarn
configure_depot_nodejs configure_depot_nodejs
apt-get install -y --no-install-recommends php-common php-xml php-json php-gd php-mbstring php-xml php-tidy php-curl php-tokenizer php-bcmath php-intl php-fpm unzip make yarn nodejs install_package_dependency
} cd /opt/
wget https://getcomposer.org/download/2.2.13/composer.phar -O /opt/composer.phar
prebuild(){
[ -e /tmp/${APP} ] && rm -fr /tmp/${APP}
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/${APP}
cd /tmp/${APP}
wget https://getcomposer.org/download/2.2.13/composer.phar
} }
build() { build() {
cd /tmp/${APP} cd /tmp/${APP}
SYMFONY_ENV=prod php composer.phar install --no-dev -o --prefer-dist -n --no-scripts COMPOSER_ALLOW_SUPERUSER=1 SYMFONY_ENV=prod php /opt/composer.phar install --no-dev -o --prefer-dist -n --no-scripts
ENV=PROD make build ENV=PROD make build
} }

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.29.2 VERSION=1.30.0
APP=zigbee2mqtt APP=zigbee2mqtt
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
GIT_VERSION=${VERSION} GIT_VERSION=${VERSION}