Compare commits
2 commits
e3b1112be7
...
e287405a25
Author | SHA1 | Date | |
---|---|---|---|
|
e287405a25 | ||
|
8681875d98 |
2 changed files with 45 additions and 0 deletions
14
ressources/postfixadmin/README.MD
Normal file
14
ressources/postfixadmin/README.MD
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#### postfixadmin
|
||||||
|
|
||||||
|
##### Information
|
||||||
|
Source : https://github.com/postfixadmin/postfixadmin
|
||||||
|
|
||||||
|
##### Install
|
||||||
|
|
||||||
|
```
|
||||||
|
apt install -y wget ca-certificates
|
||||||
|
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y postfixadmin
|
||||||
|
```
|
||||||
|
|
31
ressources/postfixadmin/debmaker
Executable file
31
ressources/postfixadmin/debmaker
Executable file
|
@ -0,0 +1,31 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=3.3.13
|
||||||
|
APP=postfixadmin
|
||||||
|
DEPOT=https://github.com/postfixadmin/postfixadmin.git
|
||||||
|
GIT_VERSION=postfixadmin-${VERSION}
|
||||||
|
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||||
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
|
IMAGE_SIZE=4
|
||||||
|
PACKAGE_DEPENDENCY="debhelper-compat build-essential:native dh-apache2 composer php-sqlite3 php-mysql php-xml"
|
||||||
|
|
||||||
|
main(){
|
||||||
|
base_package_upgrade
|
||||||
|
install_package_dependency
|
||||||
|
get_git_source
|
||||||
|
build
|
||||||
|
makedeb
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cd /tmp/${APP}/
|
||||||
|
composer -n install
|
||||||
|
composer -n build
|
||||||
|
echo -e "postfixadmin (${DEB_VERSION}) unstable; urgency=medium\n\n * fake changelog\n\n Thomas Legay <thomas@lgy.fr> $(date -R)" > debian/changelog
|
||||||
|
}
|
||||||
|
|
||||||
|
makedeb(){
|
||||||
|
cd /tmp/${APP}/
|
||||||
|
make -f debian/rules binary-indep
|
||||||
|
cp /tmp/*.deb /tmp/dist
|
||||||
|
}
|
Loading…
Reference in a new issue