]> git.proxmox.com Git - dab-pve-appliances.git/commitdiff
add Proxmox Mailgatway 6.0 template
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Aug 2019 10:27:36 +0000 (12:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Aug 2019 10:27:36 +0000 (12:27 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian-10.0-pmg-64/Makefile [new file with mode: 0644]
debian-10.0-pmg-64/dab.conf [new file with mode: 0644]

diff --git a/debian-10.0-pmg-64/Makefile b/debian-10.0-pmg-64/Makefile
new file mode 100644 (file)
index 0000000..b309d8b
--- /dev/null
@@ -0,0 +1,25 @@
+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 '/^deb.*\.proxmox\.com\/.*$$/d;$${/^$$/d;}' ${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 *~
diff --git a/debian-10.0-pmg-64/dab.conf b/debian-10.0-pmg-64/dab.conf
new file mode 100644 (file)
index 0000000..e1cb254
--- /dev/null
@@ -0,0 +1,15 @@
+Suite: buster
+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://download.proxmox.com/debian/pmg/ SUITE pmg-no-subscription
+Architecture: amd64
+Name: proxmox-mailgateway-6.0-standard
+Version: 6.0-1
+Section: mail
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Infopage: https://www.proxmox.com/de/proxmox-mail-gateway
+Description: Proxmox Mailgateway 6.0
+ A full featured mail proxy for spam and virus filtering, optimized for
+ container environment.