commit
This commit is contained in:
parent
f6f7521ffe
commit
797dff685b
21 changed files with 51 additions and 37 deletions
|
@ -38,7 +38,7 @@ configure_depot_nodejs() {
|
|||
}
|
||||
|
||||
install_go() {
|
||||
GO_VERSION=1.19.2
|
||||
GO_VERSION=1.20.4
|
||||
[ ! "$1" == "" ] && GO_VERSION=$1
|
||||
PATH=$PATH:/usr/local/go/bin
|
||||
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=0.108.0-b.34
|
||||
VERSION=0.108.0-b.35
|
||||
APP=adguardhome
|
||||
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.15.1
|
||||
VERSION=1.16.0
|
||||
APP=babybuddy
|
||||
DEPOT=https://github.com/babybuddy/babybuddy.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2023.4.0
|
||||
VERSION=2023.5.0
|
||||
APP=bitwarden-desktop
|
||||
DEPOT=https://github.com/bitwarden/clients.git
|
||||
GIT_VERSION=desktop-v${VERSION}
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=8
|
||||
PACKAGE_DEPENDENCY="pkg-config libsecret-1-dev yarn nodejs build-essential libglib2.0-dev"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.11.30
|
||||
VERSION=1.11.33
|
||||
APP=element-web
|
||||
DEPOT=https://github.com/vector-im/element-web.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.19.2
|
||||
VERSION=1.19.3
|
||||
APP=gitea
|
||||
DEPOT=https://github.com/go-gitea/gitea.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -27,6 +27,10 @@ makedeb(){
|
|||
PATH_DEB=/tmp/src/rootfs
|
||||
PATH_DEB_INSTALL=/tmp/src/rootfs-install
|
||||
|
||||
mkdir -p ${PATH_DEB}/usr/share/doc/glpi/
|
||||
mkdir -p ${PATH_DEB}/var/lib/glpi/
|
||||
mkdir -p ${PATH_DEB}/etc/
|
||||
|
||||
tar -zxvf /tmp/${APP}-${VERSION}.tgz -C ${PATH_DEB}/usr/share/
|
||||
|
||||
mv ${PATH_DEB}/usr/share/glpi/install ${PATH_DEB_INSTALL}/usr/share/glpi/
|
||||
|
@ -35,14 +39,14 @@ makedeb(){
|
|||
gzip ${PATH_DEB}/usr/share/doc/glpi/*
|
||||
|
||||
mv ${PATH_DEB}/usr/share/glpi/files ${PATH_DEB}/var/lib/glpi/
|
||||
ln -s /var/lib/glpi/files ${PATH_DEB}/usr/share/glpi/files
|
||||
mv ${PATH_DEB}/usr/share/glpi/config ${PATH_DEB}/etc/glpi
|
||||
|
||||
mv ${PATH_DEB}/usr/share/glpi/marketplace ${PATH_DEB}/var/lib/glpi/
|
||||
ln -s /var/lib/glpi/marketplace ${PATH_DEB}/usr/share/glpi/marketplace
|
||||
|
||||
cp -r ${PATH_DEB}/usr/share/glpi/config/. ${PATH_DEB}/etc/glpi/
|
||||
rm -fr ${PATH_DEB}/usr/share/glpi/config/
|
||||
ln -s /etc/glpi/ ${PATH_DEB}/usr/share/glpi/config
|
||||
mv ${PATH_DEB}/downstream.php ${PATH_DEB}/usr/share/glpi/inc/
|
||||
mv ${PATH_DEB}/local_define.php ${PATH_DEB}/etc/glpi
|
||||
mv ${PATH_DEB}/apache2-glpi.conf ${PATH_DEB}/usr/share/doc/glpi/
|
||||
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
|
|
15
ressources/glpi/rootfs/apache2-glpi.conf
Normal file
15
ressources/glpi/rootfs/apache2-glpi.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName glpi.domaine.com
|
||||
DocumentRoot /usr/share/glpi/public
|
||||
|
||||
<directory /usr/share/glpi/public>
|
||||
Options FollowSymLinks
|
||||
AllowOverride all
|
||||
Require all granted
|
||||
RewriteEngine On
|
||||
|
||||
# Redirect all requests to GLPI router, unless file exists.
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ index.php [QSA,L]
|
||||
</directory>
|
||||
</VirtualHost>
|
6
ressources/glpi/rootfs/downstream.php
Normal file
6
ressources/glpi/rootfs/downstream.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
define('GLPI_CONFIG_DIR', '/etc/glpi/');
|
||||
|
||||
if (file_exists(GLPI_CONFIG_DIR . '/local_define.php')) {
|
||||
require_once GLPI_CONFIG_DIR . '/local_define.php';
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
|
3
ressources/glpi/rootfs/local_define.php
Normal file
3
ressources/glpi/rootfs/local_define.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
define('GLPI_VAR_DIR', '/var/lib/glpi/files/');
|
||||
define('GLPI_LOG_DIR', '/var/log/glpi');
|
|
@ -1,10 +0,0 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName glpi.domaine.com
|
||||
DocumentRoot /usr/share/glpi
|
||||
|
||||
<directory /usr/share/glpi>
|
||||
Options FollowSymLinks
|
||||
AllowOverride all
|
||||
Require all granted
|
||||
</directory>
|
||||
</VirtualHost>
|
|
@ -1 +0,0 @@
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.11.1
|
||||
VERSION=2.11.9
|
||||
APP=joplin-desktop
|
||||
GIT_VERSION=v${VERSION}
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.10.11
|
||||
VERSION=2.11.1
|
||||
APP=joplin-server
|
||||
GIT_VERSION=server-v${VERSION}
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
|
@ -25,7 +25,7 @@ build() {
|
|||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs/
|
||||
|
||||
cp -fr /tmp/joplin-server/packages/{lib,turndown-plugin-gfm,turndown,htmlpack,fork-uslug,fork-sax,renderer,fork-htmlparser2,tools,server} ${PATH_DEB}/usr/share/joplin-server/
|
||||
cp -fr /tmp/joplin-server/packages/{lib,utils,turndown-plugin-gfm,turndown,htmlpack,fork-uslug,fork-sax,renderer,fork-htmlparser2,tools,server} ${PATH_DEB}/usr/share/joplin-server/
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.30.11
|
||||
VERSION=2.0.16
|
||||
VERSION=2.0.25
|
||||
APP=kimai2
|
||||
DEPOT=https://github.com/kevinpapst/kimai2.git
|
||||
GIT_VERSION=${VERSION}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=0.46.2
|
||||
VERSION=0.46.4
|
||||
APP=metabase
|
||||
DEPOT=https://github.com/metabase/metabase.git
|
||||
GIT_VERSION=v$VERSION
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP=rustdesk-server
|
||||
VERSION=1.1.7-4
|
||||
VERSION=1.1.8
|
||||
GIT_VERSION=$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2022.12.0
|
||||
VERSION=2023.5.0
|
||||
APP=vaultwarden-web
|
||||
GIT_VERSION=v$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
|
|
|
@ -4,7 +4,7 @@ VERSION=1.28.1
|
|||
APP=vaultwarden
|
||||
GIT_VERSION=$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=8
|
||||
DEPOT=https://github.com/dani-garcia/vaultwarden.git
|
||||
PACKAGE_DEPENDENCY="build-essential libmariadb-dev libpq-dev pkg-config libmysql++-dev"
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.30.3
|
||||
VERSION=1.30.2
|
||||
VERSION=1.31.2
|
||||
APP=zigbee2mqtt
|
||||
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
|
||||
GIT_VERSION=${VERSION}
|
||||
DEB_VERSION=1.30.3.1-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=2
|
||||
PACKAGE_DEPENDENCY="nodejs make g++ gcc"
|
||||
|
||||
main(){
|
||||
base_package_upgrade
|
||||
configure_depot_nodejs
|
||||
configure_depot_nodejs 18
|
||||
install_package_dependency
|
||||
get_git_source
|
||||
build
|
||||
|
|
Loading…
Reference in a new issue