From f8e85eec7966cda92e7defcc905b346d78cf73ba Mon Sep 17 00:00:00 2001 From: thomas Date: Tue, 11 Jul 2023 23:15:31 +0200 Subject: [PATCH] 2nd version of the day --- ressources/adguardhome/debmaker | 5 ++-- ressources/baikal/debian/README | 6 +++++ ressources/baikal/debian/baikal-apache.conf | 11 ++++++++ ressources/baikal/debian/baikal.install | 9 +++++++ ressources/baikal/debian/baikal.links | 2 ++ ressources/baikal/debian/changelog | 5 ++++ ressources/baikal/debian/conffiles | 1 + ressources/baikal/debian/control | 12 +++++++++ ressources/baikal/debian/copyright | 29 +++++++++++++++++++++ ressources/baikal/debian/postinst | 3 +++ ressources/baikal/debian/rules | 6 +++++ ressources/baikal/debian/source/format | 1 + ressources/baikal/debmaker | 25 ++++++++++++++++++ ressources/joplin-desktop/debmaker | 6 ++--- ressources/kimai2/debmaker | 2 +- 15 files changed, 116 insertions(+), 7 deletions(-) create mode 100644 ressources/baikal/debian/README create mode 100644 ressources/baikal/debian/baikal-apache.conf create mode 100644 ressources/baikal/debian/baikal.install create mode 100644 ressources/baikal/debian/baikal.links create mode 100644 ressources/baikal/debian/changelog create mode 100644 ressources/baikal/debian/conffiles create mode 100644 ressources/baikal/debian/control create mode 100644 ressources/baikal/debian/copyright create mode 100755 ressources/baikal/debian/postinst create mode 100755 ressources/baikal/debian/rules create mode 100644 ressources/baikal/debian/source/format create mode 100755 ressources/baikal/debmaker diff --git a/ressources/adguardhome/debmaker b/ressources/adguardhome/debmaker index 686275c..cd7fea0 100755 --- a/ressources/adguardhome/debmaker +++ b/ressources/adguardhome/debmaker @@ -1,12 +1,11 @@ #!/bin/bash -VERSION=0.108.0-b.35 +VERSION=0.108.0-b.40 APP=adguardhome DEPOT=https://github.com/AdguardTeam/AdGuardHome.git GIT_VERSION=v${VERSION} -GIT_VERSION=v0.108.0-b.30 DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) -DEBIAN_VERSION_CODENAME=bullseye +DEBIAN_VERSION_CODENAME=bookworm IMAGE_SIZE=4 PACKAGE_DEPENDENCY="build-essential nodejs yarn" diff --git a/ressources/baikal/debian/README b/ressources/baikal/debian/README new file mode 100644 index 0000000..05ef0e4 --- /dev/null +++ b/ressources/baikal/debian/README @@ -0,0 +1,6 @@ +The Debian Package vnctv +---------------------------- + +Comments regarding the Package + + -- Thomas Leagy Sun, 03 Apr 2022 12:36:14 +0200 diff --git a/ressources/baikal/debian/baikal-apache.conf b/ressources/baikal/debian/baikal-apache.conf new file mode 100644 index 0000000..2aa075d --- /dev/null +++ b/ressources/baikal/debian/baikal-apache.conf @@ -0,0 +1,11 @@ + + servername dav.domaine.com + ServerAdmin admin@domaine.fr + DocumentRoot /usr/share/baikal/html/ + + + Options FollowSymLinks + AllowOverride None + Require all granted + + diff --git a/ressources/baikal/debian/baikal.install b/ressources/baikal/debian/baikal.install new file mode 100644 index 0000000..33561e2 --- /dev/null +++ b/ressources/baikal/debian/baikal.install @@ -0,0 +1,9 @@ +build/baikal/Core usr/share/baikal/Core +build/baikal/vendor usr/share/baikal/vendor +build/baikal/html usr/share/baikal/html +build/baikal/Core usr/share/baikal/html +build/baikal/Specific var/lib/baikal +build/baikal/README.md usr/share/doc/baikal/README.md +build/baikal/LICENSE usr/share/doc/baikal/LICENSE +config/baikal.yaml.dist etc/baikal/baikal.yaml +debian/baikal-apache.conf usr/share/doc/baikal/baikal-apache.conf diff --git a/ressources/baikal/debian/baikal.links b/ressources/baikal/debian/baikal.links new file mode 100644 index 0000000..be663ea --- /dev/null +++ b/ressources/baikal/debian/baikal.links @@ -0,0 +1,2 @@ +etc/baikal usr/share/baikal/config +var/lib/baikal usr/share/baikal/Specific diff --git a/ressources/baikal/debian/changelog b/ressources/baikal/debian/changelog new file mode 100644 index 0000000..380b486 --- /dev/null +++ b/ressources/baikal/debian/changelog @@ -0,0 +1,5 @@ +baikal (0.9.2) UNRELEASED; urgency=medium + + * First deb version + + -- Thomas Legay Mon, 17 Sep 2022 21:08:37 +0200 diff --git a/ressources/baikal/debian/conffiles b/ressources/baikal/debian/conffiles new file mode 100644 index 0000000..9584add --- /dev/null +++ b/ressources/baikal/debian/conffiles @@ -0,0 +1 @@ +/etc/baikal/baikal.yaml diff --git a/ressources/baikal/debian/control b/ressources/baikal/debian/control new file mode 100644 index 0000000..64b7c10 --- /dev/null +++ b/ressources/baikal/debian/control @@ -0,0 +1,12 @@ +Source: baikal +Section: contrib +Priority: optional +Maintainer: Thomas Legay +Build-Depends: debhelper-compat (= 13) +Standards-Version: 3.9.8 + +Package: baikal +Architecture: all +Priority: optional +Depends: php-mbstring, php-exif, php-opcache, php-sockets, php-tokenizer, php-iconv, php-json, php-phar, php-curl +Description: baikal diff --git a/ressources/baikal/debian/copyright b/ressources/baikal/debian/copyright new file mode 100644 index 0000000..3a3b409 --- /dev/null +++ b/ressources/baikal/debian/copyright @@ -0,0 +1,29 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mautrix-whatsapp +Upstream-Contact: +Source: + +Files: * +Copyright: 2022 tulir +License: GPL-3.0+ + +Files: debian/* +Copyright: 2022 Thomas Legay +License: GPL-3.0+ + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/ressources/baikal/debian/postinst b/ressources/baikal/debian/postinst new file mode 100755 index 0000000..bd2d3c4 --- /dev/null +++ b/ressources/baikal/debian/postinst @@ -0,0 +1,3 @@ +#!/bin/bash +chown -R www-data:www-data /var/lib/baikal/ +chown www-data:www-data /etc/baikal/baikal.yaml diff --git a/ressources/baikal/debian/rules b/ressources/baikal/debian/rules new file mode 100755 index 0000000..4fd073a --- /dev/null +++ b/ressources/baikal/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_auto_build: + make diff --git a/ressources/baikal/debian/source/format b/ressources/baikal/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/ressources/baikal/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/ressources/baikal/debmaker b/ressources/baikal/debmaker new file mode 100755 index 0000000..417cd7a --- /dev/null +++ b/ressources/baikal/debmaker @@ -0,0 +1,25 @@ +#!/bin/bash + +VERSION=0.9.3 +APP=baikal +DEPOT=https://github.com/sabre-io/Baikal.git +GIT_VERSION=${VERSION} +DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) +DEBIAN_VERSION_CODENAME=bullseye +IMAGE_SIZE=2 +PACKAGE_DEPENDENCY="php-mbstring php-exif php-opcache php-sockets php-tokenizer php-iconv php-json php-phar php-curl rsync zip make composer unzip debhelper-compat" + +main(){ + base_package_upgrade + install_package_dependency + get_git_source + makedeb +} + +makedeb(){ + cd /tmp/${APP}/ + cp -fr /tmp/src/debian /tmp/${APP} + dch -v ${VERSION} + dpkg-buildpackage -us -uc + cp /tmp/*.deb /tmp/dist +} diff --git a/ressources/joplin-desktop/debmaker b/ressources/joplin-desktop/debmaker index ba02689..7cd4637 100755 --- a/ressources/joplin-desktop/debmaker +++ b/ressources/joplin-desktop/debmaker @@ -1,13 +1,13 @@ #!/bin/bash -VERSION=2.11.9 +VERSION=2.12.4 APP=joplin-desktop GIT_VERSION=v${VERSION} DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M) DEPOT=https://github.com/laurent22/joplin.git -DEBIAN_VERSION_CODENAME=bullseye +DEBIAN_VERSION_CODENAME=bookworm IMAGE_SIZE=10 -PACKAGE_DEPENDENCY="build-essential python nodejs rsync yarn" +PACKAGE_DEPENDENCY="build-essential python-is-python3 nodejs rsync yarn" main(){ base_package_upgrade diff --git a/ressources/kimai2/debmaker b/ressources/kimai2/debmaker index 7876193..6c825cd 100755 --- a/ressources/kimai2/debmaker +++ b/ressources/kimai2/debmaker @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=2.0.25 +VERSION=2.0.28 APP=kimai2 DEPOT=https://github.com/kevinpapst/kimai2.git GIT_VERSION=${VERSION}