Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
--- /dev/null
+BASEDIR:=$(shell dab basedir)
+
+all: info/init_ok
+ dab bootstrap --minimal
+ sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/' ${BASEDIR}/etc/ssh/sshd_config
+ dab exec /bin/systemctl enable systemd-timesyncd.service
+ touch ${BASEDIR}/proxmox_install_mode
+ dab install libdbi-perl perl-openssl-defaults libcgi-pm-perl proxmox-mailgateway-container
+ rm ${BASEDIR}/proxmox_install_mode
+ sed -i 's/^deb.*repo.proxmox.com\/staging.*$$//' ${BASEDIR}/etc/apt/sources.list
+ dab finalize
+
+info/init_ok: dab.conf
+ dab init
+ touch $@
+
+.PHONY: clean
+clean:
+ dab clean
+ rm -f *~
+
+.PHONY: dist-clean
+dist-clean:
+ dab dist-clean
+ rm -f *~
--- /dev/null
+Suite: stretch
+CacheDir: ../cache
+Source: http://ftp.debian.org/debian SUITE main contrib
+Source: http://ftp.debian.org/debian SUITE-updates main contrib
+Source: http://security.debian.org SUITE/updates main contrib
+Source: http://repo.proxmox.com/staging/pmg/ SUITE pmg-5.0
+Architecture: amd64
+Name: proxmox-mailgateway-5.2-standard
+Version: 5.2-1
+Section: mail
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Infopage: https://www.proxmox.com/de/proxmox-mail-gateway
+Description: Proxmox Mailgateway 5.2
+ A full featured mail proxy for spam and virus filtering, optimized for
+ container environment.