unbreak policies with php 8; maxattsize should be an integer and not a string
This commit is contained in:
parent
5685da2247
commit
99e439718b
|
@ -2,7 +2,7 @@ COMMENT= ActiveSync protocol implementation
|
|||
|
||||
V= 2.6.2
|
||||
DISTNAME= z-push-${V}
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
|
||||
CATEGORIES= mail www
|
||||
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
$OpenBSD: patch-src_lib_syncobjects_syncprovisioning_php,v 1.1 2022/05/29 12:35:51 robert Exp $
|
||||
|
||||
Index: src/lib/syncobjects/syncprovisioning.php
|
||||
--- src/lib/syncobjects/syncprovisioning.php.orig
|
||||
+++ src/lib/syncobjects/syncprovisioning.php
|
||||
@@ -264,7 +264,7 @@ class SyncProvisioning extends SyncObject {
|
||||
$this->mindevpwlenngth = 4;
|
||||
$this->maxinacttimedevlock = 900;
|
||||
$this->maxdevpwfailedattempts = 8;
|
||||
- $this->maxattsize = '';
|
||||
+ $this->maxattsize = -1;
|
||||
$this->allowsimpledevpw = 1;
|
||||
$this->devpwexpiration = 0;
|
||||
$this->devpwhistory = 0;
|
|
@ -0,0 +1,21 @@
|
|||
$OpenBSD: patch-src_policies_ini,v 1.1 2022/05/29 12:35:51 robert Exp $
|
||||
|
||||
Index: src/policies.ini
|
||||
--- src/policies.ini.orig
|
||||
+++ src/policies.ini
|
||||
@@ -67,7 +67,7 @@ maxinacttimedevlock = 900
|
||||
maxdevpwfailedattempts = 8
|
||||
|
||||
; The maximum attachment size in bytes as determined by security policy.
|
||||
-maxattsize = ''
|
||||
+maxattsize = -1
|
||||
|
||||
; Specifies if the device allows simple passwords. A simple password contains
|
||||
; repeated ("0000") or sequential ("xyz") characters only.
|
||||
@@ -231,4 +231,4 @@ allowconsumeremail = 1
|
||||
; Specifies if the device allows the use of Internet Sharing.
|
||||
; 0 - Do not allow the use of Internet Sharing.
|
||||
; 1 - Allow the use of Internet Sharing.
|
||||
-allowinternetsharing = 1
|
||||
\ No newline at end of file
|
||||
+allowinternetsharing = 1
|
Loading…
Reference in New Issue