Skip to content

Commit

Permalink
chore(packaging): debian 12
Browse files Browse the repository at this point in the history
  • Loading branch information
QHivert committed Aug 2, 2023
1 parent f3dce5d commit 528d178
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/SOGoInstallationGuide.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Tests/lib/ManageSieve.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']}`)
Expand Down
2 changes: 1 addition & 1 deletion Tests/spec/SieveSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -59,7 +60,6 @@ describe('Sieve', function() {

beforeEach(async function() {
await _killFilters()
await manageSieve.authenticate(true)
})

afterAll(async function() {
Expand Down
5 changes: 5 additions & 0 deletions packaging/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 528d178

Please sign in to comment.