Compare commits
33 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2774a2529a | |||
| e79a0a502a | |||
| 38e3e5dd02 | |||
|
|
5f496625db | ||
|
|
ddcb6555f2 | ||
| dc70f9c235 | |||
|
|
caa90bb4ea | ||
|
|
ea0f0068c8 | ||
| 8e09cf25c0 | |||
|
|
770e3da5df | ||
| fa68a94307 | |||
|
|
a0808a5994 | ||
| 37befaf4a7 | |||
|
|
867ea2bba8 | ||
| b198c8ddaf | |||
|
|
bc67987ff7 | ||
| ce767bcfca | |||
|
|
f248b8133f | ||
| c43683edc5 | |||
|
|
b8beb84727 | ||
| 90d7319ab9 | |||
|
|
f4e3c0e37f | ||
|
|
5819edb002 | ||
| 17706cadf7 | |||
|
|
6d5073a93f | ||
|
|
c870f98574 | ||
| b5629c5c75 | |||
|
|
adb6f37005 | ||
| c25f5de061 | |||
|
|
3cd232db6f | ||
| 421859be11 | |||
| 4f7f0acd5c | |||
| 0f6aaf279c |
@@ -1 +1 @@
|
||||
gromox (3.1) UNRELEASED; urgency=low
|
||||
gromox (0) unstable; urgency=low
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
Source: gromox
|
||||
Priority: optional
|
||||
Section: mail
|
||||
Maintainer: Gromox <dev@gromox.com>
|
||||
Maintainer: Gromox <null@gromox.com>
|
||||
Standards-Version: 4.5.0
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Build-Depends: debhelper-compat (= 12)
|
||||
|
||||
Package: gromox
|
||||
Architecture: any
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends},
|
||||
php-cli, php-fpm, php-mysql, php-simplexml, php-soap,
|
||||
system-user-grommunio, system-user-gromox (>= 4), w3m
|
||||
system-user-grommunio, system-user-gromox (>= 4), w3m,
|
||||
libhx32 (>= 4.27)
|
||||
Provides: php-mapi-gromox
|
||||
Description: Groupware server (backend) with RPCH, IMAP and Z-MAPI support
|
||||
.
|
||||
Gromox is the central groupware server component of grommunio. It is
|
||||
capable of serving as a replacement for Microsoft Exchange and
|
||||
compatibles. Connectivity options include Outlook Anywhere
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Source: https://grommunio.com/, https://github.com/grommunio/gromox
|
||||
Upstream-Name: gromox
|
||||
Upstream-Contact: grommunio <dev@grommunio.com>
|
||||
|
||||
Files: *
|
||||
Copyright: Copyright 2019-2025 grommunio GmbH.
|
||||
License: AGPL-3 and GPL-3 and GPL-2
|
||||
See LICENSE.txt for official license document.
|
||||
.
|
||||
Gromox incorporates code from the Samba project, which is subject
|
||||
to the GPL-3, found /usr/share/common-licenses/GPL-3 on Debian based
|
||||
systems.
|
||||
.
|
||||
Gromox also incorporates programs from Steep, which carried the following
|
||||
block of information. "Certain software" refers to the Samba parts
|
||||
that Steep also included.
|
||||
.
|
||||
-----8<-----
|
||||
.
|
||||
This is a release of steep 1.0, brought to you by Yang Songyi.
|
||||
This software is released under version 2 of the GNU General
|
||||
Public License (GPLv2), as set forth below, with the following
|
||||
additional permissions:
|
||||
.
|
||||
This distribution of steep 1.0 is distributed with certain software
|
||||
that is licensed under separate terms, as designated in a particular
|
||||
file or component or in the license documentation. Without limiting
|
||||
your rights under the GPLv2, the authors of steep hereby grant you an
|
||||
additional permission to link the program and your derivative works
|
||||
with the separately licensed software that they have included with
|
||||
the program.
|
||||
.
|
||||
Election of GPLv2
|
||||
.
|
||||
For the avoidance of doubt, except that if any license choice other
|
||||
than GPL or LGPL is available it will apply instead, Yang Songyi elects
|
||||
to use only the General Public License version 2 (GPLv2) at this time for
|
||||
any software where a choice of GPL license versions is made available
|
||||
with the language indicating that GPLv2 or any later version may be
|
||||
used, or where a choice of which version of the GPL is applied is
|
||||
otherwise unspecified.
|
||||
.
|
||||
------>8-------------
|
||||
.
|
||||
GPL-2 can be found in /usr/share/common-licenses/GPL-2 on Debian based
|
||||
systems.
|
||||
.
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE version 3 (AGPL-3) text in adjoining
|
||||
LICENSE.txt
|
||||
@@ -1,2 +0,0 @@
|
||||
LICENSE.txt
|
||||
README.rst
|
||||
@@ -1,10 +1,6 @@
|
||||
#!/bin/sh
|
||||
# postinst script for grommunio-admin-api
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
set_perms()
|
||||
@@ -14,7 +10,7 @@ set_perms()
|
||||
MODE="$3"
|
||||
FILE="$4"
|
||||
if ! dpkg-statoverride --list "$FILE" >/dev/null 2>&1; then
|
||||
chown "$USER:$GROUP" "$FILE"
|
||||
chown -h "$USER:$GROUP" "$FILE"
|
||||
chmod $MODE "$FILE"
|
||||
fi
|
||||
}
|
||||
@@ -35,29 +31,27 @@ xpostinst()
|
||||
set_perms gromox gromox 0750 /var/log/gromox || :
|
||||
|
||||
# %post
|
||||
if test -x /usr/bin/systemd-tmpfiles; then
|
||||
systemd-tmpfiles --create tmpfiles-gromox.conf || :
|
||||
else
|
||||
echo "There is no systemd-tmpfiles present in the system. /run/gromox may not have been created."
|
||||
fi
|
||||
if test -x /usr/bin/systemctl; then
|
||||
systemctl daemon-reload || :
|
||||
systemctl try-restart \
|
||||
systemctl try-restart gromox-delivery.service \
|
||||
gromox-delivery-queue.service gromox-event.service \
|
||||
gromox-http.service gromox-imap.service gromox-midb.service \
|
||||
gromox-pop3.service gromox-timer.service gromox-zcore.service \
|
||||
grommunio-chat.service \
|
||||
php7.4-fpm.service php8.0-fpm.service php8.1-fpm.service \
|
||||
php8.2-fpm.service php8.3-fpm.service \
|
||||
saslauthd.service 2>/dev/null || :
|
||||
fi
|
||||
}
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <postinst> `abort-remove'
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see https://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
case "$1" in
|
||||
configure|reconfigure)
|
||||
xpostinst
|
||||
;;
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
@@ -66,12 +60,3 @@ abort-upgrade|abort-remove|abort-deconfigure)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
xpostinst
|
||||
|
||||
exit 0
|
||||
|
||||
17
debian.rules
17
debian.rules
@@ -2,17 +2,9 @@
|
||||
export DH_VERBOSE=1
|
||||
phpdir := $(shell readlink -f $$(php-config --ini-path)/..)
|
||||
INSTDIR := debian/gromox
|
||||
unitdir := $(shell pkg-config systemd --variable systemdsystemunitdir)
|
||||
|
||||
%:
|
||||
-mkdir -p debian/source && echo "1.0" > debian/source/format
|
||||
dh $@ --with autoreconf
|
||||
|
||||
# Somehow autoconf is not picking up systemd unitdir correctly
|
||||
# we need to install system unit files in the correct place depending
|
||||
# on whether the distro is by default /usr merged or not
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --with-unitdir=$(unitdir)
|
||||
dh $@ --parallel --with autoreconf
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
@@ -37,10 +29,3 @@ override_dh_auto_install:
|
||||
mv -v debian/gromox${phpdir}/cli/conf.d/mapi.ini debian/gromox${phpdir}/mods-available/
|
||||
ln -s ${phpdir}/mods-available/mapi.ini debian/gromox${phpdir}/cli/conf.d/mapi.ini
|
||||
ln -s ${phpdir}/mods-available/mapi.ini debian/gromox${phpdir}/fpm/conf.d/mapi.ini
|
||||
|
||||
# Remove run/gromox as its a mounted tmpfs
|
||||
rm -rf debian/gromox/run debian/gromox/var/run || true
|
||||
|
||||
# Add grommunio standard systemd service handling
|
||||
override_dh_installsystemd:
|
||||
dh_installsystemd --no-start --no-enable --restart-after-upgrade
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
|
||||
# OBS debtransform does things with debian/changelog
|
||||
gromox source: no-nmu-in-changelog
|
||||
|
||||
# OBS debtransform does things with debian/changelog
|
||||
gromox source: source-nmu-has-incorrect-version-number
|
||||
|
||||
# OBS debtransform versioning is not incomprehensible...
|
||||
gromox source: odd-historical-debian-changelog-version
|
||||
|
||||
7
gromox-2.45.tar.asc
Normal file
7
gromox-2.45.tar.asc
Normal file
@@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEABYKAB0WIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCZ/7HnwAKCRCutpQaL5yZ
|
||||
REQmAQCjWkMRQV6YjvH/vXTnjx+FeaTJx3FNoHBlQwRpCzWo2gD+Ol7MrYkKu3xY
|
||||
uIP22L15QPVqt5JQ1N9ZtXOi8SjfoQo=
|
||||
=WIbq
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
gromox-2.45.tar.zst
LFS
Normal file
BIN
gromox-2.45.tar.zst
LFS
Normal file
Binary file not shown.
@@ -1,8 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iJEEABYKADkWIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCaYCDZhsUgAAAAAAEAA5t
|
||||
YW51MiwyLjUrMS4xMSwyLDIACgkQrraUGi+cmUR1nwD+PCv7Vwyev6Zau4JbTQa2
|
||||
+90/2xDC8N+rWi6rSFNLU9QA/0TiIKsYApqUZZGzFKk0xrvJPgmCvy23S7gp6ClE
|
||||
vqYP
|
||||
=HqSL
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
gromox-3.4.tar.zst
LFS
BIN
gromox-3.4.tar.zst
LFS
Binary file not shown.
214
gromox.changes
214
gromox.changes
@@ -1,217 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 2 11:36:15 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 3.4
|
||||
* mbop: new "zaddrxlat" command
|
||||
* delivery: add pre-delivery junk shelving and ``lda_junk_rules``
|
||||
config directive
|
||||
* mrautoproc: server-side processed meeting requests
|
||||
automatically entered into the calendar had lacked the flags
|
||||
asfMeeting+asfReceived, which was fixed.
|
||||
* nsp: seeking backwards with the seekEntries routine jumped too
|
||||
far backwards, causing the last screenful of the Outlook GAL to
|
||||
be misrepresented.
|
||||
* oxcmail: the "Keywords:" RFC5322 header (Categories) used to
|
||||
get filled with text garbage, which is now fixed.
|
||||
* zcore: plug a memory leak occuring when importing vCards
|
||||
* Any data, when converted from windows-1255 or 1258 character
|
||||
set to Unicode, sometimes lost the last character in the
|
||||
conversion, which has been fixed.
|
||||
* exmdb: abort purge-datafiles if there is a database error midway
|
||||
* imap: release potentially-large APPEND buffers much earlier
|
||||
* exporter: plug two memory leaks
|
||||
* oxcmail: limit nesting depth of attachments during export to 7
|
||||
* oxcmail: RFC 5322 header fields are now treated as US-ASCII as
|
||||
mandated, and no longer magically assumed to be in the same
|
||||
charset as the body.
|
||||
* exporter: FAI messages are no longer emitted by default and
|
||||
explicitly need to be requested with the -a option.
|
||||
* ruleproc: treat not only "Busy" as a collision, but also
|
||||
"Tentative" and "Out-Of-Office"
|
||||
* ab_tree: PR_COMPANY_NAME is no longer synthesized from the
|
||||
title of the domain a user belongs to
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 27 11:53:34 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 3.3
|
||||
* oxvcard: include photo when converting MAPI contact objects to
|
||||
VCARD
|
||||
* exporter: support export of multiple messages to GXMT
|
||||
* exporter: support for folder export to GXMT
|
||||
* importer: support a read-only mode
|
||||
* exmdb: include RTF in the cross-body format synchronization
|
||||
when the message is saved, making Outlook Notes or Outlook
|
||||
Contact notes display something in grommunio-web and other
|
||||
clients
|
||||
* exmdb: new read_delegate/write_delegate EXRPCs so that
|
||||
delegates.txt is no longer accessed via filesystem
|
||||
* exch: allow user sending mail with From: line set to own aliases
|
||||
* mysql_adaptor: regard aliases for user_ids and displayname
|
||||
* ews: recognize <TimeZoneContext> elements located in the SOAP
|
||||
header
|
||||
* ews: avoid sending newly created message items when message
|
||||
invitation flag is set
|
||||
* zcore: obtain freebusy information for own mailbox using owner
|
||||
mode, so that setting e.g. the "default" ACL default for one's
|
||||
calender does not deprive the user of his own freebusy view.
|
||||
* exmdb: the event volley when the last row of a MAPI table with
|
||||
categories got deleted had wrong event data
|
||||
* emsmdb: calls over RPCH with large outputs would sometimes just
|
||||
report an error due to insufficient buffer sizes, which has
|
||||
been fixed.
|
||||
* mapi_lib: repair botched html_to_rtf with non-UTF-8 HTML input
|
||||
* rtf_to_html and html_to_plain misconverted
|
||||
U+007F,U+07FF,U+7FFF,U+7FFFF to faulty UTF-8, which has been
|
||||
fixed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 24 16:35:44 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 3.2
|
||||
* More supported EWS handlers and types (GetRoomLists, GetRooms,
|
||||
tItemAttachment, tUserConfigurationName, CategoryList, ReplyTo)
|
||||
* istore: standalone exmdb_provider process launcher
|
||||
* oxcmail: on export (MAPI-to-IM), recognize EX-in-ONEOFF and
|
||||
EMSAB (GAB) entryids in the Reply-To field and substitute them
|
||||
* kdb2mt: entryids and search keys for senders/recipients are now
|
||||
translated with the help of user maps
|
||||
* ab_tree: users with HIDE_FROM_GAL or HIDE_FROM_AL were not
|
||||
hidden in all cases, which has been rectified
|
||||
* imap: suppress ``AUTH=LOGIN`` advertisement before TLS
|
||||
established and instead emit ``LOGINDISABLED`` capability
|
||||
* ews: avoid sending out emClient's draft messages
|
||||
* exmdb: MAPI table row deletion events were not being delivered,
|
||||
which was fixed
|
||||
* delivery: the OOF autoresponder was rewritten so it does not
|
||||
use direct filesystem access anymore (since the mailbox might
|
||||
not be present on the same host where the LDA runs)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 26 16:09:53 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 3.1
|
||||
* http: support for SPNEGO authentication (Kerberos-in-SPNEGO or
|
||||
NTLMSSP-in-SPNEGO) with the HTTP "Authorization: Negotiate"
|
||||
header.
|
||||
* dscli: try all oxdisco URLs until one succeeds
|
||||
* exmdb: support repeated import of permission data
|
||||
* ews: create calendar item after accepting a MR with MacMail
|
||||
* emsmdb,zcore: Send-As mail now correctly has the delegator in
|
||||
Envelope-From
|
||||
* email_lib: deal with MIME parts with zero header lines
|
||||
* nsp: avoid buffer overruns in nsp_interface_fetch_property
|
||||
* emsmdb: Partial message change tracking was buggy and deleted
|
||||
* http: A workaround was added for OpenSSL 3.0 so that
|
||||
connections from Outlook 2010 once again succeed.
|
||||
* mysql_adaptor: Improve the time needed to compute the composite
|
||||
mailbox permission for user in a case of a mailbox with 100K
|
||||
ACL entries.
|
||||
* exmdb: deactivate movecopy/deletemessages event storm compaction
|
||||
* emsmdb: outgoing lzxpress compression in the EMSMDB protocol is
|
||||
now disabled as it does not compress well for the time
|
||||
invested.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 30 21:02:03 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 3.0
|
||||
* eml2mt now transmits the RFC5322 representation into the
|
||||
message store.
|
||||
* midb now transmits the RFC5322 representations of messages
|
||||
created via IMAP into the message store.
|
||||
* oxcical: implement support for VTODO and VJOURNAL.
|
||||
* mbop: add "freeze" and "thaw" commands.
|
||||
* mbop: support UTC/zone suffixes for getfreebusy -a/-b
|
||||
arguments.
|
||||
* exmdb: new config directive ``exmdb_eph_prefix`` to put
|
||||
ephmeral files like tables.sqlite3 on a local disk.
|
||||
* exmdb: add a time index over messages to speed up common cases
|
||||
of grommunio-web GetContentsTable requests.
|
||||
* oxdisco: the AutoConfig mechanism now emits an EWS server
|
||||
information block.
|
||||
* oxcical: iCal events with a date in DTSTART & DTEND but without
|
||||
X-MICROSOFT-CDO-ALLDAYEVENT are now transformed into Allday
|
||||
events even if the event is longer than one day.
|
||||
* delivery: emit MDN-RRT messages even with
|
||||
``lda_twostep_ruleproc`` is set.
|
||||
* oxdisco: AutoConfig XML now features the incomingServer type
|
||||
parameter in the right place.
|
||||
* oxdisco: AutoConfig now emits outgoing server port 587 as type
|
||||
smtp.
|
||||
* ruleproc: auto-enter MRs into target calender even if the
|
||||
sender is not going to get a response.
|
||||
* ews: Avoid sending multiple ``<?xml ?>`` lines into the
|
||||
notification stream HTTP response body.
|
||||
* ews: trim "duplicate" recipients when a newly-created item has
|
||||
recipients in both <mimeContent> and <To>/<Cc>.
|
||||
* ews: prevent FAI messages from polluting the Normal Message Set
|
||||
during ICS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 31 16:06:13 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2.48
|
||||
* gromox.cfg now has a ``ruleproc_debug`` directive (applies to
|
||||
the TWOSTEP Processor only)
|
||||
* ews: repair a nullptr dereference from the OOF XML change
|
||||
* exmdb: make EXRPC write_message_v2 fill in return MID/CN values
|
||||
* ab_tree: restore filtering of objects with AB_HIDE_FROM_GAL
|
||||
for NSP (this was lost in a Global Address Book provider
|
||||
rewrite in 2.40)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 28 16:42:44 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2.47
|
||||
* oxdisco: support RFC 6764 well-known endpoints for
|
||||
CalDAV/CardDAV (if not running grommunio nginx config in front)
|
||||
* oxcical: try to handle ICS files with missing VTIMEZONE blocks
|
||||
* oxcical: support YEARLY recurrences with BYDAY without BYSETPOS
|
||||
* imap: offer $Forwarded keyword for APPEND/STORE commands
|
||||
* nsp: remove meaningless session_check directive; no longer
|
||||
erroneously reject requests after daemon received SIGHUP
|
||||
* oxcical: avoid setting out-of-spec MAPI recurnum for
|
||||
FREQ=MONTHLY,BYDAY= recurrences
|
||||
* oxcical: fix wrong BYMONTH calculation for MONTHNTH recurrences
|
||||
being exported to iCal
|
||||
* midb, imap: make EXPUNGE synchronous so that old UIDs don't
|
||||
reappear in a subsequent FETCH
|
||||
* midb: respect setting \Deleted, \Answered, \Flagged during APPEND
|
||||
* exmdb: resolve a case of "INSERT INTO t... UNIQUE constraint
|
||||
failed" log message
|
||||
* exmdb: stop losing RFC5322 representation when a message is
|
||||
copied
|
||||
* HTML-to-Text conversion using w3m suffered from an encoding
|
||||
mismatch, which was fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 15:02:51 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2.46
|
||||
* cgkrepair: detect Change Keys with impossibly high values
|
||||
* cgkrepair: retain a PCL's foreign XIDs
|
||||
* ical2mapi: support FREQ=MONTHLY recurrences using BYDAY= but
|
||||
no BYSETPOS= * mt2exm: the -B option now supports numeric
|
||||
identifiers
|
||||
* ical2mapi: expand E-2718 error into new codes E-28xx with
|
||||
extended reason
|
||||
* imap: allow '%' '*' and '?' in folder names
|
||||
* daemons: the default log destination is now "automatic"
|
||||
(stderr/syslog autodetect) rather than "stderr"
|
||||
* mapi2ical: deal with strange allday events that do not
|
||||
start/end on midnight
|
||||
* htmltotext: w3m is now instructed on charsets and does not
|
||||
need to guess anymore
|
||||
* exch: value for the PR_MAX_SUBMIT_MESSAGE_SIZE property was
|
||||
off by a factor of 1024, which has been fixed
|
||||
* mkprivate/mkpublic: generate a PR_MAPPING_SIGNATURE value
|
||||
distinct from PR_STORE_RECORD_KEY for newly-initialized
|
||||
stores
|
||||
* ical2mt, vcf2mt: messages are no longer emitted with an
|
||||
anchor, which now allows free placement with mt2exm -B
|
||||
* ical2mapi: ignore unreasonable requests like BYMONTHDAY=32
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 21:48:13 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
15
gromox.dsc
15
gromox.dsc
@@ -1,9 +1,9 @@
|
||||
Format: 1.0
|
||||
Source: gromox
|
||||
Architecture: any
|
||||
Version: 3.4
|
||||
Version: 2.45
|
||||
DEBTRANSFORM-RELEASE: 1
|
||||
Maintainer: Gromox <dev@gromox.com>
|
||||
Maintainer: Gromox <null@gromox.com>
|
||||
Homepage: https://gromox.com
|
||||
Standards-Version: 4.5.0
|
||||
# libbfio is in the require list because libpff-dev is lacking it (bug)
|
||||
@@ -12,16 +12,16 @@ Build-Depends:
|
||||
automake (>= 1:1.11) | automake1.11,
|
||||
autotools-dev,
|
||||
binutils (>= 2.20),
|
||||
debhelper-compat (= 13),
|
||||
debhelper-compat (>= 12),
|
||||
devscripts,
|
||||
fakeroot,
|
||||
g++ (>= 12),
|
||||
g++ (>= 7),
|
||||
gettext,
|
||||
libbfio-dev,
|
||||
libcurl4-openssl-dev,
|
||||
libesedb-dev,
|
||||
libfmt-dev (>= 8),
|
||||
libhx-dev (>= 4.28),
|
||||
libhx-dev (>= 4.27),
|
||||
libjsoncpp-dev (>= 1.4.0),
|
||||
libkrb5-dev,
|
||||
libldap2-dev,
|
||||
@@ -44,9 +44,8 @@ Build-Depends:
|
||||
php-dev (>= 7.0),
|
||||
pkg-config (>= 0.23),
|
||||
sed,
|
||||
systemd-dev | systemd,
|
||||
systemd,
|
||||
uuid-dev,
|
||||
wmime-dev (>= 1),
|
||||
zlib1g-dev,
|
||||
lintian
|
||||
zlib1g-dev
|
||||
Files:
|
||||
|
||||
38
gromox.spec
38
gromox.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gromox
|
||||
#
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%define _libexecdir %_prefix/libexec
|
||||
|
||||
Name: gromox
|
||||
Version: 3.4
|
||||
Version: 2.45
|
||||
Release: 0
|
||||
Summary: Groupware server backend with RPC, IMAP,POP3, PHP-MAPI support
|
||||
License: AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
|
||||
@@ -30,7 +30,7 @@ Source2: https://github.com/grommunio/gromox/releases/download/%name-%ver
|
||||
Source8: %name.keyring
|
||||
BuildRequires: fdupes
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1600
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc14-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
@@ -55,7 +55,7 @@ BuildRequires: group(gromox)
|
||||
BuildRequires: pkgconfig(fmt) >= 8
|
||||
BuildRequires: pkgconfig(jsoncpp) >= 1.4.0
|
||||
BuildRequires: pkgconfig(krb5-gssapi)
|
||||
BuildRequires: pkgconfig(libHX) >= 4.28
|
||||
BuildRequires: pkgconfig(libHX) >= 4.27
|
||||
BuildRequires: pkgconfig(libcrypto)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(libesedb)
|
||||
@@ -124,7 +124,7 @@ ready-to-run installation of Gromox.
|
||||
%build
|
||||
%configure \
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1600
|
||||
CC=gcc-12 CXX=g++-12 \
|
||||
CC=gcc-14 CXX=g++-14 \
|
||||
%endif
|
||||
%nil
|
||||
%make_build V=1
|
||||
@@ -168,11 +168,7 @@ cp -a "$b/usr/share/gromox/fpm-gromox.conf.sample" "$b/etc/php-fpm.d/gromox.conf
|
||||
perl -i -lpe 's{Type=simple}{Type=simple\nRestart=on-failure}' "$b/%_unitdir"/*.service
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
%check
|
||||
%make_build check V=1
|
||||
|
||||
# Though services autoreconnect, starting them in the preferred order services is smoother
|
||||
%global services gromox-timer.service gromox-http.service gromox-zcore.service gromox-event.service gromox-midb.service gromox-imap.service gromox-pop3.service gromox-delivery.service gromox-delivery-queue.service gromox-snapshot.service gromox-snapshot.timer gromox-cleaner.service
|
||||
%global services gromox-delivery.service gromox-delivery-queue.service gromox-event.service gromox-http.service gromox-imap.service gromox-midb.service gromox-pop3.service gromox-snapshot.service gromox-snapshot.timer gromox-timer.service gromox-zcore.service
|
||||
|
||||
%if 0%{?service_add_pre:1}
|
||||
%pre
|
||||
@@ -197,6 +193,27 @@ fi
|
||||
# the pam module will be combined with a too old version of gromox
|
||||
# libs. No good solution in sight..
|
||||
/usr/bin/systemctl try-restart grommunio-chat.service php-fpm.service saslauthd.service 2>/dev/null || :
|
||||
# Delete old service links
|
||||
if /usr/bin/systemctl is-enabled gromox-exch.target >/dev/null 2>/dev/null; then
|
||||
echo Migrating gromox-exch.target
|
||||
/usr/bin/systemctl enable gromox-http.service gromox-midb.service gromox-zcore.service || :
|
||||
/usr/bin/systemctl disable gromox-exch.target || :
|
||||
fi
|
||||
if /usr/bin/systemctl is-enabled gromox-mra.target >/dev/null 2>/dev/null; then
|
||||
echo Migrating gromox-mra.target
|
||||
/usr/bin/systemctl enable gromox-imap.service gromox-pop3.service || :
|
||||
/usr/bin/systemctl disable gromox-mra.target || :
|
||||
fi
|
||||
if /usr/bin/systemctl is-enabled gromox-mta.target >/dev/null 2>/dev/null; then
|
||||
echo Migrating gromox-mta.target
|
||||
/usr/bin/systemctl enable gromox-delivery.service gromox-delivery-queue.service || :
|
||||
/usr/bin/systemctl disable gromox-mta.target || :
|
||||
fi
|
||||
if /usr/bin/systemctl is-enabled gromox-sa.target >/dev/null 2>/dev/null; then
|
||||
echo Migrating gromox-sa.target
|
||||
/usr/bin/systemctl enable gromox-event.service gromox-timer.service || :
|
||||
/usr/bin/systemctl disable gromox-sa.target || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
%if 0%{?service_del_preun:1}
|
||||
@@ -220,6 +237,7 @@ fi
|
||||
%attr(0755,grommunio,gromoxcf) %dir %_sysconfdir/%name/
|
||||
%_sbindir/gromox-*
|
||||
%_libdir/*.so.*
|
||||
%_libdir/%name/
|
||||
%_libdir/php*/
|
||||
%_libexecdir/%name/
|
||||
%_pamdir/
|
||||
|
||||
Reference in New Issue
Block a user