Compare commits
No commits in common. "8178f6679a32336fa1c0bb3a28445bd04164b259" and "c72fb8b625466cb3fd270c8030287d78b665f569" have entirely different histories.
8178f6679a
...
c72fb8b625
|
@ -38,7 +38,7 @@ configure_depot_nodejs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install_go() {
|
install_go() {
|
||||||
GO_VERSION=1.22.3
|
GO_VERSION=1.22.1
|
||||||
[ ! "$1" == "" ] && GO_VERSION=$1
|
[ ! "$1" == "" ] && GO_VERSION=$1
|
||||||
PATH=$PATH:/usr/local/go/bin
|
PATH=$PATH:/usr/local/go/bin
|
||||||
if [ -e /usr/local/go/bin/go ] || [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
if [ -e /usr/local/go/bin/go ] || [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.108.0-b.56
|
VERSION=0.108.0-b.54
|
||||||
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}
|
||||||
|
@ -12,7 +12,7 @@ PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
||||||
main(){
|
main(){
|
||||||
base_package_upgrade
|
base_package_upgrade
|
||||||
configure_depot_yarn
|
configure_depot_yarn
|
||||||
configure_depot_nodejs 20
|
configure_depot_nodejs
|
||||||
install_package_dependency
|
install_package_dependency
|
||||||
install_go
|
install_go
|
||||||
get_git_source
|
get_git_source
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.4.0
|
VERSION=2.3.0
|
||||||
APP=babybuddy
|
APP=babybuddy
|
||||||
DEPOT=https://github.com/babybuddy/babybuddy.git
|
DEPOT=https://github.com/babybuddy/babybuddy.git
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2024.5.0
|
VERSION=2024.4.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,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.11.67
|
VERSION=1.11.64
|
||||||
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}
|
||||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||||
DEBIAN_VERSION_CODENAME=bookworm
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=5
|
IMAGE_SIZE=5
|
||||||
PACKAGE_DEPENDENCY="yarn nodejs"
|
PACKAGE_DEPENDENCY="yarn nodejs"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=7.0.3
|
VERSION=1.21.10-0
|
||||||
APP=forgejo
|
APP=forgejo
|
||||||
DEPOT=https://codeberg.org/forgejo/forgejo
|
DEPOT=https://codeberg.org/forgejo/forgejo
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=3.0.8
|
VERSION=3.0.2
|
||||||
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,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=24.0.4
|
VERSION=24.0.2
|
||||||
APP=keycloak
|
APP=keycloak
|
||||||
DEPOT=https://github.com/keycloak/keycloak.git
|
DEPOT=https://github.com/keycloak/keycloak.git
|
||||||
GIT_VERSION=${VERSION}
|
GIT_VERSION=${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.17.0
|
VERSION=2.14.0
|
||||||
APP=kimai2
|
APP=kimai2
|
||||||
DEPOT=https://github.com/kevinpapst/kimai2.git
|
DEPOT=https://github.com/kevinpapst/kimai2.git
|
||||||
GIT_VERSION=${VERSION}
|
GIT_VERSION=${VERSION}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.49.13
|
VERSION=0.49.5
|
||||||
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=3.0.0
|
VERSION=2.1.1
|
||||||
APP=moodle-editor-tiny-c4l
|
APP=moodle-editor-tiny-c4l
|
||||||
DEPOT=https://github.com/reskit/moodle-tiny_c4l.git
|
DEPOT=https://github.com/reskit/moodle-tiny_c4l.git
|
||||||
GIT_VERSION=v$VERSION
|
GIT_VERSION=v$VERSION
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=4.4.0.2
|
VERSION=4.3
|
||||||
APP=moodle-format-tiles
|
APP=moodle-format-tiles
|
||||||
DEPOT=https://bitbucket.org/dw8/moodle-format_tiles.git
|
DEPOT=https://bitbucket.org/dw8/moodle-format_tiles.git
|
||||||
GIT_VERSION=moodle44
|
GIT_VERSION=last
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
DEBIAN_VERSION_CODENAME=bookworm
|
DEBIAN_VERSION_CODENAME=bookworm
|
||||||
IMAGE_SIZE=1
|
IMAGE_SIZE=1
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=4.4.0
|
VERSION=4.3.0
|
||||||
APP=moodle
|
APP=moodle
|
||||||
DEPOT=git://git.moodle.org/moodle.git
|
DEPOT=git://git.moodle.org/moodle.git
|
||||||
GIT_VERSION=MOODLE_404_STABLE
|
GIT_VERSION=MOODLE_403_STABLE
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
DEBIAN_VERSION_CODENAME=bookworm
|
DEBIAN_VERSION_CODENAME=bookworm
|
||||||
IMAGE_SIZE=2
|
IMAGE_SIZE=2
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
#### paperless-ngx
|
|
||||||
|
|
||||||
##### Information
|
|
||||||
Site : https://paperless-ngx.com/
|
|
||||||
|
|
||||||
Source : https://github.com/paperless-ngx/
|
|
||||||
|
|
||||||
##### Install
|
|
||||||
|
|
||||||
```bash
|
|
||||||
apt install -y wget ca-certificates
|
|
||||||
wget -qO - https://deb.lgy.fr/install.sh | bash
|
|
||||||
apt-get update
|
|
||||||
|
|
||||||
apt-get install -y paperless-ngx
|
|
||||||
|
|
||||||
```
|
|
|
@ -1,65 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
VERSION=2.8.6
|
|
||||||
APP=paperless-ngx
|
|
||||||
DEPOT=https://github.com/paperless-ngx/paperless-ngx.git
|
|
||||||
GIT_VERSION=v${VERSION}
|
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
|
||||||
DEBIAN_VERSION_CODENAME=bookworm
|
|
||||||
IMAGE_SIZE=8
|
|
||||||
PACKAGE_DEPENDENCY="nodejs python3 python3-pip python3-dev imagemagick fonts-liberation gnupg libpq-dev default-libmysqlclient-dev pkg-config libmagic-dev mime-support libzbar0 poppler-utils unpaper ghostscript icc-profiles-free qpdf liblept5 libxml2 pngquant zlib1g tesseract-ocr"
|
|
||||||
|
|
||||||
main(){
|
|
||||||
base_package_upgrade
|
|
||||||
configure_depot_nodejs 20
|
|
||||||
install_package_dependency
|
|
||||||
default_prebuild
|
|
||||||
build
|
|
||||||
makedeb
|
|
||||||
}
|
|
||||||
|
|
||||||
build(){
|
|
||||||
cd /tmp/${APP}
|
|
||||||
/tmp/venv/bin/pip install --upgrade pipenv==2023.12.1 setuptools wheel
|
|
||||||
/tmp/venv/bin/pipenv sync --dev
|
|
||||||
|
|
||||||
|
|
||||||
cd /tmp/${APP}/src-ui
|
|
||||||
export NODE_OPTIONS=--max-old-space-size=8192
|
|
||||||
npm ci
|
|
||||||
npx playwright install --with-deps
|
|
||||||
./node_modules/.bin/ng build --configuration production
|
|
||||||
|
|
||||||
cd /tmp/${APP}
|
|
||||||
/tmp/venv/bin/pipenv requirements > requirements.txt
|
|
||||||
|
|
||||||
cd /tmp/${APP}/src
|
|
||||||
/tmp/venv/bin/pipenv run python3 manage.py compilemessages
|
|
||||||
/tmp/venv/bin/pipenv run python3 manage.py collectstatic --no-input
|
|
||||||
}
|
|
||||||
|
|
||||||
makedeb(){
|
|
||||||
PATH_DEB=/tmp/src/rootfs
|
|
||||||
mkdir -p ${PATH_DEB}/usr/lib/systemd/system/
|
|
||||||
mkdir -p ${PATH_DEB}/usr/share/paperless-ngx
|
|
||||||
mkdir -p ${PATH_DEB}/usr/share/doc/paperless-ngx
|
|
||||||
mkdir -p ${PATH_DEB}/etc/default
|
|
||||||
mkdir -p ${PATH_DEB}/var/cache/paperless-ngx
|
|
||||||
|
|
||||||
cp -fr /tmp/${APP}/src/ ${PATH_DEB}/usr/share/paperless-ngx
|
|
||||||
cp -fr /tmp/${APP}/requirements.txt ${PATH_DEB}/usr/share/paperless-ngx
|
|
||||||
cp -fr /tmp/${APP}/static ${PATH_DEB}/usr/share/paperless-ngx
|
|
||||||
cp -fr /tmp/${APP}/gunicorn.conf.py ${PATH_DEB}/usr/share/paperless-ngx
|
|
||||||
cp -fr /tmp/${APP}/paperless.conf.example ${PATH_DEB}/etc/default/paperless-ngx
|
|
||||||
|
|
||||||
cp -fr /tmp/${APP}/README.md ${PATH_DEB}/usr/share/doc/paperless-ngx
|
|
||||||
cp -fr /tmp/${APP}/LICENSE ${PATH_DEB}/usr/share/doc/paperless-ngx
|
|
||||||
|
|
||||||
mv /tmp/src/prestart.sh ${PATH_DEB}/usr/share/paperless-ngx
|
|
||||||
|
|
||||||
mv /tmp/src/*.service ${PATH_DEB}/usr/lib/systemd/system/
|
|
||||||
|
|
||||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
|
||||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Paperless consumer
|
|
||||||
#Requires=redis.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=paperless-ngx
|
|
||||||
Group=paperless-ngx
|
|
||||||
EnvironmentFile=/etc/default/paperless-ngx
|
|
||||||
WorkingDirectory=/usr/share/paperless-ngx/src
|
|
||||||
ExecStartPre=/usr/share/paperless-ngx/prestart.sh
|
|
||||||
ExecStart=/var/cache/paperless-ngx/python-venv/bin/python3 manage.py document_consumer
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,14 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Paperless Celery Beat
|
|
||||||
#Requires=redis.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=paperless-ngx
|
|
||||||
Group=paperless-ngx
|
|
||||||
EnvironmentFile=/etc/default/paperless-ngx
|
|
||||||
WorkingDirectory=/usr/share/paperless-ngx/src
|
|
||||||
ExecStartPre=/usr/share/paperless-ngx/prestart.sh
|
|
||||||
ExecStart=/var/cache/paperless-ngx/python-venv/bin/celery --app paperless beat --loglevel INFO
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,14 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Paperless Celery Workers
|
|
||||||
#Requires=redis.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=paperless-ngx
|
|
||||||
Group=paperless-ngx
|
|
||||||
EnvironmentFile=/etc/default/paperless-ngx
|
|
||||||
WorkingDirectory=/usr/share/paperless-ngx/src
|
|
||||||
ExecStartPre=/usr/share/paperless-ngx/prestart.sh
|
|
||||||
ExecStart=/var/cache/paperless-ngx/python-venv/bin/celery --app paperless worker --loglevel INFO
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,17 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Paperless webserver
|
|
||||||
After=network.target
|
|
||||||
Wants=network.target
|
|
||||||
#Requires=redis.service
|
|
||||||
#Requires=paperless-webserver.socket
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=paperless-ngx
|
|
||||||
Group=paperless-ngx
|
|
||||||
EnvironmentFile=/etc/default/paperless-ngx
|
|
||||||
WorkingDirectory=/usr/share/paperless-ngx/src
|
|
||||||
ExecStartPre=/usr/share/paperless-ngx/prestart.sh
|
|
||||||
ExecStart=/var/cache/paperless-ngx/python-venv/bin/gunicorn -c ../gunicorn.conf.py paperless.asgi:application
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
(
|
|
||||||
flock 9
|
|
||||||
if [ -e /var/cache/paperless-ngx/lastcheck ] && [ "$(cat /var/cache/paperless-ngx/lastcheck)" == "$(date +%y%m%d)" ]
|
|
||||||
then
|
|
||||||
echo allready check today
|
|
||||||
else
|
|
||||||
python3 -m venv /var/cache/paperless-ngx/python-venv
|
|
||||||
/var/cache/paperless-ngx/python-venv/bin/pip3 install -r /usr/share/paperless-ngx/requirements.txt
|
|
||||||
date +%y%m%d > /var/cache/paperless-ngx/lastcheck
|
|
||||||
fi
|
|
||||||
) 9>python3 -m venv /tmp/paperless-ngx-python-venv
|
|
|
@ -1 +0,0 @@
|
||||||
/etc/default/paperless-ngx
|
|
|
@ -1,8 +0,0 @@
|
||||||
Package: paperless-ngx
|
|
||||||
Version: %VERSION%
|
|
||||||
Section: contrib
|
|
||||||
Priority: optional
|
|
||||||
Architecture: all
|
|
||||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
|
||||||
Depends: python3, python3-pip, python3-dev, imagemagick, fonts-liberation, gnupg, libpq-dev, default-libmysqlclient-dev, pkg-config, libmagic-dev, mime-support, libzbar0, poppler-utils, unpaper, ghostscript, icc-profiles-free, qpdf, liblept5, libxml2, pngquant, zlib1g, tesseract-ocr, gcc
|
|
||||||
Description: Paperless-ngx is a document management system that transforms your physical documents into a searchable online archive so you can keep, well, less paper.
|
|
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
APP=paperless-ngx
|
|
||||||
HOMEDIR=/var/lib/paperless-ngx
|
|
||||||
LOGDIR=/var/log/paperless-ngx
|
|
||||||
CACHEDIR=/var/cache/paperless-ngx
|
|
||||||
|
|
||||||
[ -d ${HOMEDIR} ] || mkdir -p ${HOMEDIR}
|
|
||||||
id ${APP} &> /dev/null || useradd ${APP} -r -s /bin/false -d ${HOMEDIR}
|
|
||||||
|
|
||||||
chown ${APP}:${APP} ${HOMEDIR}
|
|
||||||
|
|
||||||
[ -d ${LOGDIR} ] || mkdir -p ${LOGDIR}
|
|
||||||
chown ${APP}:${APP} ${LOGDIR}
|
|
||||||
[ -d ${CACHEDIR} ] || mkdir -p ${CACHEDIR}
|
|
||||||
chown ${APP}:${APP} ${CACHEDIR}
|
|
|
@ -1,21 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.6.7
|
VERSION=1.6.4
|
||||||
APP=roundcubemail
|
APP=roundcubemail
|
||||||
DEPOT=https://github.com/roundcube/roundcubemail.git
|
DEPOT=https://github.com/roundcube/roundcubemail.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=bookworm
|
DEBIAN_VERSION_CODENAME=bookworm
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=4
|
||||||
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip php-ldap"
|
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip"
|
||||||
|
|
||||||
main(){
|
STEP="base_package_upgrade install_package_dependency default_prebuild build makedeb"
|
||||||
base_package_upgrade
|
|
||||||
install_package_dependency
|
|
||||||
get_git_source
|
|
||||||
build
|
|
||||||
makedeb
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd /tmp/${APP}
|
cd /tmp/${APP}
|
||||||
|
@ -23,7 +17,6 @@ build() {
|
||||||
PATH=$PATH:/tmp/${APP}/node_modules/.bin/
|
PATH=$PATH:/tmp/${APP}/node_modules/.bin/
|
||||||
sed 's/GITREMOTE=git/GITREMOTE=https/' Makefile -i
|
sed 's/GITREMOTE=git/GITREMOTE=https/' Makefile -i
|
||||||
sed "s/git clone --branch=\$(GITBRANCH)/git clone -b ${GIT_VERSION}/" Makefile -i
|
sed "s/git clone --branch=\$(GITBRANCH)/git clone -b ${GIT_VERSION}/" Makefile -i
|
||||||
export COMPOSER_ALLOW_SUPERUSER=1
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
APP=rustdesk-server
|
APP=rustdesk-server
|
||||||
VERSION=1.1.11-1
|
VERSION=1.1.8-1
|
||||||
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=bookworm
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=5
|
IMAGE_SIZE=5
|
||||||
DEPOT=https://github.com/rustdesk/rustdesk-server.git
|
DEPOT=https://github.com/rustdesk/rustdesk-server.git
|
||||||
PACKAGE_DEPENDENCY="build-essential"
|
PACKAGE_DEPENDENCY="build-essential"
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
VERSION=0.1
|
|
||||||
APP=smbnetfs-utils
|
|
||||||
GIT_VERSION=${VERSION}
|
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
|
||||||
DEPOT=N/A
|
|
||||||
DEBIAN_VERSION_CODENAME=bookworm
|
|
||||||
IMAGE_SIZE=1
|
|
||||||
PACKAGE_DEPENDENCY=""
|
|
||||||
|
|
||||||
main(){
|
|
||||||
base_package_upgrade
|
|
||||||
install_package_dependency
|
|
||||||
makedeb
|
|
||||||
}
|
|
||||||
|
|
||||||
makedeb(){
|
|
||||||
PATH_DEB=/tmp/src/rootfs/
|
|
||||||
|
|
||||||
mkdir -p ${PATH_DEB}/usr/bin/
|
|
||||||
mkdir -p ${PATH_DEB}/etc/default/
|
|
||||||
mkdir -p ${PATH_DEB}/usr/lib/systemd/system/
|
|
||||||
|
|
||||||
mv /tmp/src/smbnetfs@.service ${PATH_DEB}/usr/lib/systemd/system/
|
|
||||||
mv /tmp/src/smbnetfs-utils ${PATH_DEB}/usr/bin/
|
|
||||||
mv /tmp/src/smbnetfs-utils.default ${PATH_DEB}/etc/default/smbnetfs-utils
|
|
||||||
|
|
||||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
|
||||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
/etc/default/smbnetfs-utils
|
|
|
@ -1,8 +0,0 @@
|
||||||
Package: smbnetfs-utils
|
|
||||||
Version: %VERSION%
|
|
||||||
Section: contrib
|
|
||||||
Priority: optional
|
|
||||||
Architecture: all
|
|
||||||
Depends: smbnetfs
|
|
||||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
|
||||||
Description: smbnetfs-utils
|
|
|
@ -1,17 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
source /etc/default/smbnetfs-utils
|
|
||||||
|
|
||||||
ACTION=$1
|
|
||||||
if [ ! -e ${HOME}/${CONF_FILE} ]; then
|
|
||||||
echo 'configuration file needed'
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$ACTION" == "" ]; then
|
|
||||||
echo 'smbnetfs-utils [mount/unmount]'
|
|
||||||
elif [ "$ACTION" == "mount" ]; then
|
|
||||||
[ ! -e ${HOME}/${SMBNETFS_MOUNT_POINT} ] && mkdir -p ${HOME}/${SMBNETFS_MOUNT_POINT}
|
|
||||||
/usr/bin/smbnetfs -f ${HOME}/${SMBNETFS_MOUNT_POINT} -o config=${HOME}/${CONF_FILE}
|
|
||||||
elif [ "$ACTION" == "unmount" ] ; then
|
|
||||||
/usr/bin/fusermount -u ${HOME}/${SMBNETFS_MOUNT_POINT}
|
|
||||||
fi
|
|
|
@ -1,2 +0,0 @@
|
||||||
SMBNETFS_MOUNT_POINT=network
|
|
||||||
CONF_FILE=.smb/smbnetfs.conf
|
|
|
@ -1,14 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Mount Samba Shares
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=%i
|
|
||||||
Group=%i
|
|
||||||
ExecStart=/usr/bin/smbnetfs-utils mount
|
|
||||||
ExecStop=/usr/bin/smbnetfs-utils unmount
|
|
||||||
Restart=on-failure
|
|
||||||
RestartSec=30s
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2024.5.0
|
VERSION=2024.3.1
|
||||||
APP=vaultwarden-web
|
APP=vaultwarden-web
|
||||||
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,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.37.1
|
VERSION=1.36.1
|
||||||
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