ajout firebird
This commit is contained in:
parent
e233164591
commit
9a51326d12
|
@ -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
|
||||||
|
```
|
|
@ -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
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
Package: firebirdfdw
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Depends: postgresql
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Description: firebirdfdw
|
|
@ -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
|
||||||
|
|
||||||
|
```
|
|
@ -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
|
||||||
|
}
|
|
@ -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
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
chown -R www-data:www-data /var/lib/humhub/
|
|
@ -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
|
||||||
|
```
|
|
@ -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
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
Package: libfq
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Description: libfq
|
Loading…
Reference in New Issue