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