Compare commits

..

2 Commits

Author SHA1 Message Date
Thomas Legay 9a51326d12 ajout firebird 2024-11-11 00:11:03 +01:00
Thomas Legay e233164591 update 2024-11-11 00:09:41 +01:00
19 changed files with 189 additions and 4 deletions

View File

@ -44,10 +44,12 @@ To enter in temporary filesystem
- [adguardhome](./ressources/adguardhome)
- [authelia](./ressources/authelia)
- [babybuddy](./ressources/babybuddy)
- [bitwarden-desktop](./ressources/bitwarden-desktop)
- [budibase](./ressources/budibase)
- [clouseau](./ressources/clouseau)
- [claper](./ressources/claper)
- [cloudbeaver](./ressources/cloudbeaver)
- [clouseau](./ressources/clouseau)
- [crfpp](./ressources/crfpp)
- [element-web](./ressources/element-web)
- [flame](./ressources/flame)
@ -55,10 +57,12 @@ To enter in temporary filesystem
- [glpi](./ressources/glpi)
- [gotify](./ressources/gotify)
- [grocy](./ressources/grocy)
- [humhub](./ressources/humhub)
- [joplin desktop](./ressources/joplin)
- [joplin-server](./ressources/joplin-server)
- [keycloak](./ressources/keycloak)
- [kimai2](./ressources/kimai2)
- [libfq](./ressources/libfq)
- [mautrix-syncproxy and mautrix-wsproxy](./ressources/mautrix-syncproxy)
- [mautrix-whatsapp](./ressources/mautrix-whatsapp)
- [mailhog](./ressources/mailhog)

View File

@ -23,6 +23,10 @@ get_git_source(){
fi
}
configure_depot_lgy(){
wget -qO - https://deb.lgy.fr/install.sh | bash
}
configure_depot_erlang_rabbitmq(){
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/erlang-rabbitmq.gpg] https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-erlang/deb/debian bookworm main" > /etc/apt/sources.list.d/erlang.list
wget -qO - "https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-erlang.E495BB49CC4BBE5B.key" | gpg --dearmor > /usr/share/keyrings/erlang-rabbitmq.gpg

View File

@ -3,6 +3,6 @@ Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Depends: inotify-tools, erlang-base, erlang-syntax-tools, erlang-xmerl
Depends: inotify-tools, erlang-base, erlang-syntax-tools, erlang-xmerl, ghostscript >= 9 , libreoffice >=24
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: claper

View File

@ -0,0 +1,13 @@
#### firebirdfdw
##### Information
Source : https://github.com/ibarwick/firebird_fdw
##### Install
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y firebirdfdw
```

31
ressources/firebirdfdw/debmaker Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
VERSION=1.4.0
APP=firebirdfdw
DEPOT=https://github.com/ibarwick/firebird_fdw.git
GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="build-essential autoconf make postgresql-server-dev-all postgresql firebird-dev libpq-dev libfq"
main(){
configure_depot_lgy
base_package_upgrade
install_package_dependency
get_git_source
build
makedeb
}
build() {
cd /tmp/${APP}
make install DESTDIR=/tmp/src/rootfs
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
}

View File

@ -0,0 +1,8 @@
Package: firebirdfdw
Version: %VERSION%
Section: contrib
Priority: optional
Depends: postgresql
Architecture: all
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: firebirdfdw

View File

@ -0,0 +1,16 @@
#### roundcubemail
##### Information
Site : https://www.humhub.com/en/
Source : https://github.com/humhub/humhub
##### Install
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt install humhub
```

46
ressources/humhub/debmaker Executable file
View File

@ -0,0 +1,46 @@
#!/bin/bash
VERSION=1.16.2
APP=humhub
DEPOT=https://github.com/humhub/humhub.git
GIT_VERSION=v${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="composer php-curl php-ldap php-xml php-dom php-zip php-gd unzip npm grunt"
main(){
base_package_upgrade
install_package_dependency
get_git_source
build
makedeb
}
build() {
cd /tmp/${APP}
export COMPOSER_ALLOW_SUPERUSER=1
composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
npm install
grunt build-assets
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
mkdir -p ${PATH_DEB}/usr/share/
mkdir -p ${PATH_DEB}/var/lib/${APP}/protected
cp -fr /tmp/${APP} ${PATH_DEB}/usr/share/
mv ${PATH_DEB}/usr/share/${APP}/{assets,uploads} ${PATH_DEB}/var/lib/${APP}/
mv ${PATH_DEB}/usr/share/${APP}/protected/{config,modules,runtime} ${PATH_DEB}/var/lib/${APP}/protected
ln -s /var/lib/${APP}/assets ${PATH_DEB}/usr/share/${APP}/assets
ln -s /var/lib/${APP}/protected/config ${PATH_DEB}/usr/share/${APP}/protected/config
ln -s /var/lib/${APP}/protected/modules ${PATH_DEB}/usr/share/${APP}/protected/modules
ln -s /var/lib/${APP}/protected/runtime ${PATH_DEB}/usr/share/${APP}/protected/runtime
ln -s /var/lib/${APP}/uploads ${PATH_DEB}/usr/share/${APP}/uploads
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
}

View File

@ -0,0 +1,8 @@
Package: humhub
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Depends: php, php-cli, php-imagick, php-curl, php-bz2, php-gd, php-intl, php-mbstring, php-mysql, php-zip, php-apcu, php-xml, php-ldap
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: humhub

View File

@ -0,0 +1,2 @@
#!/bin/bash
chown -R www-data:www-data /var/lib/humhub/

View File

@ -0,0 +1,14 @@
#### libfq
##### Information
Source : https://github.com/ibarwick/libfq
##### Install
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y libfq
```

31
ressources/libfq/debmaker Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
VERSION=0.6.1
APP=libfq
DEPOT=https://github.com/ibarwick/libfq.git
GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="build-essential firebird-dev"
main(){
base_package_upgrade
install_package_dependency
get_git_source
build
makedeb
}
build() {
cd /tmp/${APP}
./configure --prefix=/tmp/src/rootfs/usr
make install
}
makedeb(){
PATH_DEB=/tmp/src/rootfs
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
}

View File

View File

@ -0,0 +1,7 @@
Package: libfq
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: libfq

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=2_9_1
VERSION=2_9_2
APP=mysqlfdw
DEPOT=https://github.com/EnterpriseDB/mysql_fdw.git
GIT_VERSION=REL-${VERSION}

View File

@ -10,6 +10,7 @@ IMAGE_SIZE=2
PACKAGE_DEPENDENCY="php-simplexml php-curl php-zip php-cli"
main(){
configure_depot_yarn
base_package_upgrade
install_package_dependency
default_prebuild

View File

@ -1,7 +1,7 @@
#!/bin/bash
APP=rustdesk-server
VERSION=1.1.11-1
VERSION=1.1.12
GIT_VERSION=$VERSION
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm