1 BASEDIR
:=$(shell dab basedir
)
3 CVD_FILES
:=main.cvd bytecode.cvd daily.cvd safebrowsing.cvd
5 all: info/init_ok
${CVD_FILES}
6 dab bootstrap
--minimal
7 sed
-i
's/^#\?PermitRootLogin.*/PermitRootLogin yes/' ${BASEDIR}/etc
/ssh
/sshd_config
8 dab exec
/bin
/systemctl enable systemd-timesyncd.service
9 touch
${BASEDIR}/proxmox_install_mode
10 dab
install libdbi-perl perl-openssl-defaults libcgi-pm-perl proxmox-mailgateway-container gpg
11 rm ${BASEDIR}/proxmox_install_mode
12 sed
-i
'/^deb.*\.proxmox\.com\/.*$$/d;$${/^$$/d;}' ${BASEDIR}/etc
/apt
/sources.list
13 cp
${CVD_FILES} ${BASEDIR}/var
/lib
/clamav
/
16 info/init_ok
: dab.conf
34 curl
-L
--silent
--show-error
--fail
--time-cond
$@
-o
$@.tmp http
://database.clamav.net
/$@
35 [ -f
$@.tmp
] && mv
$@.tmp
$@ || true
36 if command
-v sigtool
> /dev
/null
; then sigtool
-i
$@
; else echo
"skipping verification of $@"; fi