This commit is contained in:
thomas 2022-12-23 01:04:28 +01:00
parent 59094128f4
commit f1fc3cb2e9
15 changed files with 39 additions and 20 deletions

View File

@ -91,6 +91,10 @@ debmaker_run(){
[ -f cache/${APP} ] || zdebmaker_createAppOS
zdebmaker_inject
debmaker_mount_proc_sys cache/${APP} ${MOUNT_PATH}/${APP}/
if [ -e ressources/${APP}/debian ]
then
echo VERSION is : $(head -n 1 ressources/${APP}/debian/changelog | grep -oE "[0-9.-]*")
fi
if [ "$STEP" == "" ]
then
sudo chroot ${MOUNT_PATH}/${APP}/ /tmp/src/exec_in_chroot.sh main

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=0.108.0-b.23
VERSION=0.108.0-b.24
APP=adguardhome
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
GIT_VERSION=v${VERSION}

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=4.37.2
VERSION=4.37.5
APP=authelia
DEPOT=https://github.com/authelia/authelia.git
GIT_VERSION=v${VERSION}

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=2022.11.0
VERSION=2022.12.0
APP=bitwarden-desktop
DEPOT=https://github.com/bitwarden/clients.git
GIT_VERSION=desktop-v${VERSION}

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=1.11.16
VERSION=1.11.17
APP=element-web
DEPOT=https://github.com/vector-im/element-web.git
GIT_VERSION=v${VERSION}
@ -31,7 +31,7 @@ build() {
makedeb(){
PATH_DEB=/tmp/src/rootfs
tar -zxf /tmp/${APP}/dist/element-${GIT_VERSION}*.tar.gz --strip-components=1 -C ${PATH_DEB}/usr/share/element-web/
cp /tmp/${APP}/config.sample.json ${PATH_DEB}/etc/element-web/config.json

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=1.17.3
VERSION=1.17.4
APP=gitea
DEPOT=https://github.com/go-gitea/gitea.git
GIT_VERSION=v${VERSION}

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=2.9.17
VERSION=2.10.2
APP=joplin-desktop
GIT_VERSION=v${VERSION}
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=2.9.7
VERSION=2.10.4
APP=joplin-server
GIT_VERSION=server-v${VERSION}
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)

View File

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

View File

@ -1,3 +1,9 @@
mautrix-whatsapp (0.8.0) UNRELEASED; urgency=medium
* First deb version
-- Thomas Legay <thomas@lgy.fr> Mon, 17 Sep 2022 21:08:37 +0200
mautrix-whatsapp (0.7.2) UNRELEASED; urgency=medium
* First deb version

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=0.7.2
VERSION=0.8.0
APP=mautrix-whatsapp
DEPOT=https://github.com/mautrix/whatsapp.git
GIT_VERSION=v${VERSION}

View File

@ -1,7 +1,7 @@
#!/bin/bash
APP=tt-rss-plugin-wallabag
VERSION=2.0.1
VERSION=2.0.2
GIT_VERSION=$VERSION
DEB_VERSION=$VERSION
DEBIAN_VERSION_CODENAME=bullseye
@ -9,12 +9,16 @@ IMAGE_SIZE=1
#DEPOT=https://github.com/joshp23/ttrss-to-wallabag-v2.git
DEPOT=https://github.com/tomamplius/ttrss-to-wallabag-v2
STEP="base_package_upgrade get_git_source makedeb"
main(){
base_package_upgrade
get_git_source
makedeb
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
mkdir -p ${PATH_DEB}/usr/share/tt-rss/plugins.local/
cp -fr /tmp/${APP}/wallabag_v2 ${PATH_DEB}/usr/share/tt-rss/plugins.local/wallabag_v2
mkdir -p ${PATH_DEB}/usr/share/tt-rss/plugins/
cp -fr /tmp/${APP}/wallabag_v2 ${PATH_DEB}/usr/share/tt-rss/plugins/wallabag_v2
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist

View File

@ -1,2 +0,0 @@
#!/bin/bash
chown -R www-data:www-data /var/lib/tt-rss/

View File

@ -8,19 +8,26 @@ DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=1
DEPOT=https://git.tt-rss.org/fox/tt-rss.git
STEP="base_package_upgrade get_git_source makedeb"
main(){
base_package_upgrade
get_git_source
makedeb
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
cp -fr /tmp/${APP}/* ${PATH_DEB}/usr/share/tt-rss/
mv ${PATH_DEB}/usr/share/tt-rss/{cache,feed-icons,lock} ${PATH_DEB}/var/lib/tt-rss/
mv ${PATH_DEB}/usr/share/tt-rss/{cache,feed-icons,lock,plugins.local,templates.local,themes.local} ${PATH_DEB}/var/lib/tt-rss/
mv ${PATH_DEB}/usr/share/tt-rss/config.php-dist ${PATH_DEB}/etc/tt-rss/config.php
ln -s /var/lib/tt-rss/cache ${PATH_DEB}/usr/share/tt-rss/cache
ln -s /var/lib/tt-rss/feed-icons ${PATH_DEB}/usr/share/tt-rss/feed-icons
ln -s /var/lib/tt-rss/lock ${PATH_DEB}/usr/share/tt-rss/lock
ln -s /var/lib/tt-rss/lock ${PATH_DEB}/usr/share/tt-rss/plugins.local
ln -s /var/lib/tt-rss/lock ${PATH_DEB}/usr/share/tt-rss/templates.local
ln -s /var/lib/tt-rss/lock ${PATH_DEB}/usr/share/tt-rss/themes.local
ln -s /etc/tt-rss/config.php ${PATH_DEB}/usr/share/tt-rss/config.php