Compare commits
4 commits
bbe3d9c7f5
...
7a7fee21f7
Author | SHA1 | Date | |
---|---|---|---|
7a7fee21f7 | |||
22a3721029 | |||
c2993daeb6 | |||
7e590b390a |
6 changed files with 7 additions and 40 deletions
|
@ -1 +0,0 @@
|
|||
DatabaseMirror database.clamav.net
|
|
@ -1,12 +1,3 @@
|
|||
# brew install
|
||||
|
||||
actions['brew_install'] = {
|
||||
'command': '/opt/homebrew/bin/brew install ' + ' '.join(node.metadata.get('brew')),
|
||||
'unless': f"""PKGS=$(/opt/homebrew/bin/brew leaves); for p in {' '.join(node.metadata.get('brew'))}; do grep -q "$p" <<< $PKGS || exit 9; done"""
|
||||
}
|
||||
|
||||
# bw init
|
||||
|
||||
directories['/Users/mwiegand/.config/bundlewrap/lock'] = {}
|
||||
|
||||
# home
|
||||
|
@ -30,16 +21,6 @@ files['/Users/mwiegand/.local/share/direnv/pyenv'] = {}
|
|||
files['/Users/mwiegand/.local/share/direnv/venv'] = {}
|
||||
files['/Users/mwiegand/.local/share/direnv/bundlewrap'] = {}
|
||||
|
||||
|
||||
# clamav
|
||||
|
||||
files['/opt/homebrew/etc/clamav/freshclam.conf'] = {
|
||||
'group': 'admin',
|
||||
}
|
||||
# run me baby one more time:
|
||||
# freshclam && clamscan --infected --recursive --exclude-dir ~/Library/Mail ~
|
||||
|
||||
|
||||
##################
|
||||
|
||||
for element in [*files.values(), *directories.values()]:
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
defaults = {
|
||||
'brew': {
|
||||
'clamav',
|
||||
},
|
||||
}
|
||||
defaults = {}
|
||||
|
|
|
@ -31,7 +31,7 @@ $config['db_dsnw'] = '${database['provider']}://${database['user']}:${database['
|
|||
// For example %n = mail.domain.tld, %t = domain.tld
|
||||
// WARNING: After hostname change update of mail_host column in users table is
|
||||
// required to match old user data records with the new host.
|
||||
$config['imap_host'] = 'localhost';
|
||||
$config['default_host'] = 'localhost';
|
||||
|
||||
// ----------------------------------
|
||||
// SMTP
|
||||
|
@ -46,7 +46,7 @@ $config['imap_host'] = 'localhost';
|
|||
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
|
||||
// %z - IMAP domain (IMAP hostname without the first part)
|
||||
// For example %n = mail.domain.tld, %t = domain.tld
|
||||
$config['smtp_host'] = 'tls://localhost';
|
||||
$config['smtp_server'] = 'tls://localhost';
|
||||
|
||||
// SMTP username (if required) if you use %u as the username Roundcube
|
||||
// will use the current username for login
|
||||
|
|
|
@ -43,7 +43,7 @@ actions['extract_roundcube'] = {
|
|||
],
|
||||
'triggers': [
|
||||
'action:chown_roundcube',
|
||||
'action:composer_lock_reset',
|
||||
'action:composer_install',
|
||||
],
|
||||
}
|
||||
actions['chown_roundcube'] = {
|
||||
|
@ -75,16 +75,7 @@ files['/opt/roundcube/plugins/password/config.inc.php'] = {
|
|||
'action:chown_roundcube',
|
||||
],
|
||||
}
|
||||
actions['composer_lock_reset'] = {
|
||||
'command': 'rm /opt/roundcube/composer.lock',
|
||||
'triggered': True,
|
||||
'needs': [
|
||||
'action:chown_roundcube',
|
||||
],
|
||||
'triggers': [
|
||||
'action:composer_install',
|
||||
],
|
||||
}
|
||||
|
||||
actions['composer_install'] = {
|
||||
'command': "cp /opt/roundcube/composer.json-dist /opt/roundcube/composer.json && su www-data -s /bin/bash -c '/usr/bin/composer -d /opt/roundcube install'",
|
||||
'triggered': True,
|
||||
|
|
|
@ -194,8 +194,8 @@
|
|||
},
|
||||
'roundcube': {
|
||||
'product_name': 'Sublimity Mail',
|
||||
'version': '1.6.2',
|
||||
'installer': False,
|
||||
'version': '1.5.0',
|
||||
'installer': True,
|
||||
},
|
||||
'vm': {
|
||||
'cores': 4,
|
||||
|
|
Loading…
Reference in a new issue