mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
chore(packaging): debian 12
This commit is contained in:
@@ -164,7 +164,7 @@ The following operating systems are currently supported by SOGo:
|
||||
|
||||
* Red Hat Enterprise Linux (RHEL) Server 7, 8 and 9
|
||||
* Community ENTerprise Operating System (CentOS) 7, 8 and 9
|
||||
* Debian GNU/Linux 7.0 (Wheezy), 8.0 (Jessie), 9.0 (Stretch) and 10.0 (Buster)
|
||||
* Debian GNU/Linux 7.0 (Wheezy), 8.0 (Jessie), 9.0 (Stretch), 10 (Buster), 11 (Bullseye) and 12 (Bookworm)
|
||||
* Ubuntu 14.04 (Trusty), 16.04 (Xenial), 18.04 (Bionic), 20.04 (Focal) and 22.04 (Jammy)
|
||||
|
||||
Make sure the required components are started automatically at boot time
|
||||
|
||||
@@ -45,6 +45,7 @@ class ManageSieve {
|
||||
base64 = buff.toString('base64')
|
||||
response = await this.connection.send(`AUTHENTICATE "PLAIN" {${base64.length}+}\r\n${base64}`, { waitfor: /\b(OK|NO)/ })
|
||||
// console.debug(`ManageSieve.authenticate => ${response}`)
|
||||
// console.log(`AUTHENTICATE "PLAIN" {${base64.length}+}\r\n${base64}`)
|
||||
parsedResponse = this.parseResponse(response)
|
||||
if (!Object.keys(parsedResponse).includes('OK')) {
|
||||
throw new Error(`Authentication failed: ${parsedResponse['NO']}`)
|
||||
|
||||
@@ -9,6 +9,7 @@ let prefs, webdav, utility, manageSieve, user
|
||||
describe('Sieve', function() {
|
||||
|
||||
async function _getSogoSieveScript() {
|
||||
await manageSieve.authenticate(true)
|
||||
const scripts = await manageSieve.listScripts()
|
||||
|
||||
expect(Object.keys(scripts))
|
||||
@@ -59,7 +60,6 @@ describe('Sieve', function() {
|
||||
|
||||
beforeEach(async function() {
|
||||
await _killFilters()
|
||||
await manageSieve.authenticate(true)
|
||||
})
|
||||
|
||||
afterAll(async function() {
|
||||
|
||||
@@ -32,6 +32,11 @@ ifeq ($(DIST_CODENAME), bullseye)
|
||||
MFA_CONFIG=--enable-mfa
|
||||
endif
|
||||
|
||||
# Debian 12
|
||||
ifeq ($(DIST_CODENAME), bookworm)
|
||||
MFA_CONFIG=--enable-mfa
|
||||
endif
|
||||
|
||||
# Ubuntu 12.04
|
||||
ifeq ($(DIST_CODENAME), precise)
|
||||
SODIUM_CONFIG=--disable-sodium
|
||||
|
||||
Reference in New Issue
Block a user