parent
e270a50847
commit
dbef6baf09
88
debmaker
88
debmaker
|
@ -1,39 +1,53 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source ./lib/function.sh
|
source ./lib/function.sh
|
||||||
case $1 in
|
ACTION=$1
|
||||||
list)
|
while [ ! -z $2 ]
|
||||||
ls ressources;;
|
do
|
||||||
run)
|
shift
|
||||||
if [ -e ressources/$2/debmaker ]
|
case $ACTION in
|
||||||
then
|
list)
|
||||||
. ressources/$2/debmaker
|
ls ressources
|
||||||
debmaker_run
|
exit
|
||||||
else
|
;;
|
||||||
echo no $2 project
|
run)
|
||||||
fi
|
if [ -e ressources/$1/debmaker ]
|
||||||
;;
|
then
|
||||||
edit)
|
. ressources/$1/debmaker
|
||||||
if [ -e ressources/$2/debmaker ]
|
debmaker_run
|
||||||
then
|
if [ $? -ne 0 ]
|
||||||
nano ressources/$2/debmaker
|
then
|
||||||
else
|
echo erreur lors de la génération
|
||||||
echo no $2 project
|
exit
|
||||||
fi
|
fi
|
||||||
;;
|
else
|
||||||
chroot)
|
echo no $1 project
|
||||||
if [ -e ressources/$2/debmaker ]
|
fi
|
||||||
then
|
;;
|
||||||
if [ -e cache/$2 ]
|
edit)
|
||||||
then
|
if [ -e ressources/$1/debmaker ]
|
||||||
. ressources/$2/debmaker
|
then
|
||||||
debmaker_chroot
|
nano ressources/$1/debmaker
|
||||||
else
|
else
|
||||||
echo no cache file
|
echo no $1 project
|
||||||
fi
|
fi
|
||||||
else
|
;;
|
||||||
echo no $2 project
|
chroot)
|
||||||
fi
|
if [ -e ressources/$1/debmaker ]
|
||||||
;;
|
then
|
||||||
*)
|
if [ -e cache/$1 ]
|
||||||
echo debmaker [list] [chroot app] [run <app>] [edit <app>];;
|
then
|
||||||
esac
|
. ressources/$1/debmaker
|
||||||
|
debmaker_chroot
|
||||||
|
else
|
||||||
|
echo no cache file
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo no $1 project
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "debmaker [list] [chroot app] [run <app>] [edit <app>]"
|
||||||
|
exit
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
|
@ -8,6 +8,7 @@ MOUNT_PATH=/mnt/debmaker
|
||||||
|
|
||||||
zdebmaker_getDep(){
|
zdebmaker_getDep(){
|
||||||
sudo sleep 0
|
sudo sleep 0
|
||||||
|
if [ $? -ne 0 ] ; then exit ; fi
|
||||||
[ -d cache ] || mkdir cache
|
[ -d cache ] || mkdir cache
|
||||||
[ -d dist ] || mkdir dist
|
[ -d dist ] || mkdir dist
|
||||||
[ -d ${DEBOOTSTRAP_DIR} ] || debmaker_debootstrapUpdate
|
[ -d ${DEBOOTSTRAP_DIR} ] || debmaker_debootstrapUpdate
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.108.0-b.26
|
VERSION=0.108.0-b.31
|
||||||
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}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2023.1.1
|
VERSION=2023.3.1
|
||||||
APP=bitwarden-desktop
|
APP=bitwarden-desktop
|
||||||
DEPOT=https://github.com/bitwarden/clients.git
|
DEPOT=https://github.com/bitwarden/clients.git
|
||||||
GIT_VERSION=desktop-v${VERSION}
|
GIT_VERSION=desktop-v${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.3.0
|
VERSION=2.3.21
|
||||||
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}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.11.22
|
VERSION=1.11.26
|
||||||
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=1.18.3
|
VERSION=1.19.0
|
||||||
APP=gitea
|
APP=gitea
|
||||||
DEPOT=https://github.com/go-gitea/gitea.git
|
DEPOT=https://github.com/go-gitea/gitea.git
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.10.5
|
VERSION=2.11.1
|
||||||
APP=joplin-desktop
|
APP=joplin-desktop
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.10.9
|
VERSION=2.10.11
|
||||||
APP=joplin-server
|
APP=joplin-server
|
||||||
GIT_VERSION=server-v${VERSION}
|
GIT_VERSION=server-v${VERSION}
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
DEPOT=https://github.com/laurent22/joplin.git
|
DEPOT=https://github.com/laurent22/joplin.git
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=10
|
IMAGE_SIZE=12
|
||||||
|
|
||||||
STEP="base_package_upgrade envinit default_prebuild build makedeb"
|
STEP="base_package_upgrade envinit default_prebuild build makedeb"
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.30.7
|
VERSION=1.30.11
|
||||||
|
VERSION=2.0.13
|
||||||
APP=kimai2
|
APP=kimai2
|
||||||
DEPOT=https://github.com/kevinpapst/kimai2.git
|
DEPOT=https://github.com/kevinpapst/kimai2.git
|
||||||
GIT_VERSION=${VERSION}
|
GIT_VERSION=${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=bookworm
|
||||||
IMAGE_SIZE=2
|
IMAGE_SIZE=2
|
||||||
PACKAGE_DEPENDENCY="composer php-zip php-gd php-intl php-xsl"
|
PACKAGE_DEPENDENCY="composer php-zip php-gd php-intl php-xsl"
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.8.1
|
VERSION=0.8.3
|
||||||
APP=mautrix-whatsapp
|
APP=mautrix-whatsapp
|
||||||
DEPOT=https://github.com/mautrix/whatsapp.git
|
DEPOT=https://github.com/mautrix/whatsapp.git
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=4
|
||||||
PACKAGE_DEPENDENCY="debhelper-compat libolm-dev build-essential"
|
PACKAGE_DEPENDENCY="debhelper-compat libolm-dev build-essential devscripts"
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
echo deb http://deb.debian.org/debian bullseye-backports main > /etc/apt/sources.list.d/backports.list
|
echo deb http://deb.debian.org/debian bullseye-backports main > /etc/apt/sources.list.d/backports.list
|
||||||
|
@ -19,7 +19,10 @@ main(){
|
||||||
|
|
||||||
makedeb(){
|
makedeb(){
|
||||||
cd /tmp/${APP}/
|
cd /tmp/${APP}/
|
||||||
|
rm /tmp/*.deb
|
||||||
cp -fr /tmp/src/debian /tmp/${APP}
|
cp -fr /tmp/src/debian /tmp/${APP}
|
||||||
dpkg-buildpackage -us -uc
|
export DEBEMAIL=thomas@lgy.fr
|
||||||
|
dch -v ${VERSION}
|
||||||
|
dpkg-buildpackage -us -uc
|
||||||
cp /tmp/*.deb /tmp/dist
|
cp /tmp/*.deb /tmp/dist
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.45.2.1
|
VERSION=0.46.0
|
||||||
APP=metabase
|
APP=metabase
|
||||||
DEPOT=https://github.com/metabase/metabase.git
|
DEPOT=https://github.com/metabase/metabase.git
|
||||||
GIT_VERSION=v$VERSION
|
GIT_VERSION=v$VERSION
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2022-06-14
|
VERSION=2023-03-22
|
||||||
APP=rss-bridge
|
APP=rss-bridge
|
||||||
DEPOT=https://github.com/RSS-Bridge/rss-bridge.git
|
DEPOT=https://github.com/RSS-Bridge/rss-bridge.git
|
||||||
GIT_VERSION=$VERSION
|
GIT_VERSION=$VERSION
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
APP=rustdesk-server
|
APP=rustdesk-server
|
||||||
VERSION=1.1.7-2
|
VERSION=1.1.7-3
|
||||||
GIT_VERSION=$VERSION
|
GIT_VERSION=$VERSION
|
||||||
GIT_VERSION=1.1.7
|
|
||||||
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=5
|
IMAGE_SIZE=5
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.27.0
|
VERSION=1.28.0
|
||||||
APP=vaultwarden
|
APP=vaultwarden
|
||||||
GIT_VERSION=$VERSION
|
GIT_VERSION=$VERSION
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.30.1
|
VERSION=1.30.2
|
||||||
APP=zigbee2mqtt
|
APP=zigbee2mqtt
|
||||||
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
|
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
|
||||||
GIT_VERSION=${VERSION}
|
GIT_VERSION=${VERSION}
|
||||||
|
|
Loading…
Reference in New Issue