chore(packaging): debian 12

This commit is contained in:
Hivert Quentin
2023-08-02 11:36:36 +02:00
parent f3dce5d50b
commit 528d178256
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ The following operating systems are currently supported by SOGo:
* Red Hat Enterprise Linux (RHEL) Server 7, 8 and 9 * Red Hat Enterprise Linux (RHEL) Server 7, 8 and 9
* Community ENTerprise Operating System (CentOS) 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) * 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 Make sure the required components are started automatically at boot time
+1
View File
@@ -45,6 +45,7 @@ class ManageSieve {
base64 = buff.toString('base64') base64 = buff.toString('base64')
response = await this.connection.send(`AUTHENTICATE "PLAIN" {${base64.length}+}\r\n${base64}`, { waitfor: /\b(OK|NO)/ }) response = await this.connection.send(`AUTHENTICATE "PLAIN" {${base64.length}+}\r\n${base64}`, { waitfor: /\b(OK|NO)/ })
// console.debug(`ManageSieve.authenticate => ${response}`) // console.debug(`ManageSieve.authenticate => ${response}`)
// console.log(`AUTHENTICATE "PLAIN" {${base64.length}+}\r\n${base64}`)
parsedResponse = this.parseResponse(response) parsedResponse = this.parseResponse(response)
if (!Object.keys(parsedResponse).includes('OK')) { if (!Object.keys(parsedResponse).includes('OK')) {
throw new Error(`Authentication failed: ${parsedResponse['NO']}`) throw new Error(`Authentication failed: ${parsedResponse['NO']}`)
+1 -1
View File
@@ -9,6 +9,7 @@ let prefs, webdav, utility, manageSieve, user
describe('Sieve', function() { describe('Sieve', function() {
async function _getSogoSieveScript() { async function _getSogoSieveScript() {
await manageSieve.authenticate(true)
const scripts = await manageSieve.listScripts() const scripts = await manageSieve.listScripts()
expect(Object.keys(scripts)) expect(Object.keys(scripts))
@@ -59,7 +60,6 @@ describe('Sieve', function() {
beforeEach(async function() { beforeEach(async function() {
await _killFilters() await _killFilters()
await manageSieve.authenticate(true)
}) })
afterAll(async function() { afterAll(async function() {
+5
View File
@@ -32,6 +32,11 @@ ifeq ($(DIST_CODENAME), bullseye)
MFA_CONFIG=--enable-mfa MFA_CONFIG=--enable-mfa
endif endif
# Debian 12
ifeq ($(DIST_CODENAME), bookworm)
MFA_CONFIG=--enable-mfa
endif
# Ubuntu 12.04 # Ubuntu 12.04
ifeq ($(DIST_CODENAME), precise) ifeq ($(DIST_CODENAME), precise)
SODIUM_CONFIG=--disable-sodium SODIUM_CONFIG=--disable-sodium