- Update to release 1.4
OBS-URL: https://build.opensuse.org/package/show/server:mail/gromox?expand=0&rev=2
This commit is contained in:
parent
cfe62c770d
commit
fe48a204a6
2
_service
2
_service
@ -4,7 +4,7 @@
|
|||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://github.com/grommunio/gromox</param>
|
<param name="url">https://github.com/grommunio/gromox</param>
|
||||||
<param name="revision">master</param>
|
<param name="revision">master</param>
|
||||||
<param name="parent-tag">gromox-1.1</param>
|
<param name="parent-tag">gromox-1.4</param>
|
||||||
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
|
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
|
||||||
<param name="versionrewrite-pattern">gromox-?(.*)</param>
|
<param name="versionrewrite-pattern">gromox-?(.*)</param>
|
||||||
</service>
|
</service>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
gromox (1.1.43.566b624e-0) unstable; urgency=low
|
gromox (1.4.0-0) unstable; urgency=low
|
||||||
|
|
||||||
* Initial package.
|
* Initial package.
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
12
|
|
@ -3,11 +3,14 @@ Priority: optional
|
|||||||
Section: mail
|
Section: mail
|
||||||
Maintainer: Gromox <null@gromox.com>
|
Maintainer: Gromox <null@gromox.com>
|
||||||
Standards-Version: 4.5.0
|
Standards-Version: 4.5.0
|
||||||
|
Build-Depends: debhelper-compat (= 12)
|
||||||
|
|
||||||
Package: gromox
|
Package: gromox
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Pre-Depends: ${misc:Pre-Depends}
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
Depends: php-cli, php-mysql, php-soap, w3m, ${shlibs:Depends}, ${misc:Depends}
|
Depends: ${misc:Depends}, ${shlibs:Depends},
|
||||||
|
php-cli, php-fpm, php-mysql, php-simplexml, php-soap,
|
||||||
|
system-user-gromox, w3m, libhx32 (>= 4.0)
|
||||||
Description: Groupware server (backend) with RPCH, IMAP and Z-MAPI support
|
Description: Groupware server (backend) with RPCH, IMAP and Z-MAPI support
|
||||||
.
|
.
|
||||||
Gromox is the central groupware server component of grommunio. It is
|
Gromox is the central groupware server component of grommunio. It is
|
||||||
@ -16,8 +19,8 @@ Description: Groupware server (backend) with RPCH, IMAP and Z-MAPI support
|
|||||||
(RPC-over-HTTP), IMAP/POP3, an SMTP-speaking LDA, and a PHP module
|
(RPC-over-HTTP), IMAP/POP3, an SMTP-speaking LDA, and a PHP module
|
||||||
with a Z-MAPI function subset.
|
with a Z-MAPI function subset.
|
||||||
.
|
.
|
||||||
Gromox relies on other components to provide a sensibly complete mail
|
Gromox relies on other components to provide a sensibly complete
|
||||||
system, such as Postfix as a mail transfer agent, and grommunio-admin
|
mail system, such as Postfix as a mail transfer agent, and
|
||||||
for user management. A webmail client interface is available with
|
grommunio-admin for user management. A web interface is available with
|
||||||
grommunio-web. The grommunio appliance for example ships such a
|
grommunio-web. The grommunio distribution ships these essentials and has a
|
||||||
ready-to-run installation of Gromox.
|
ready-to-run installation of Gromox.
|
||||||
|
12
debian.gromox.postinst
Normal file
12
debian.gromox.postinst
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# %files
|
||||||
|
chown gromox:gromox /var/lib/gromox /var/log/gromox || :
|
||||||
|
chmod 0770 /var/lib/gromox /var/log/gromox || :
|
||||||
|
|
||||||
|
# %post
|
||||||
|
if test -x /usr/bin/systemctl; then
|
||||||
|
systemd-tmpfiles --create tmpfiles-gromox.conf || :
|
||||||
|
systemctl daemon-reload || :
|
||||||
|
systemctl try-restart gromox-adaptor.service 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 2>/dev/null || :
|
||||||
|
fi
|
18
debian.rules
18
debian.rules
@ -1,3 +1,21 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
export DH_VERBOSE=1
|
||||||
%:
|
%:
|
||||||
dh $@ --parallel --with autoreconf
|
dh $@ --parallel --with autoreconf
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
dh_auto_install
|
||||||
|
find ${INSTDIR} -type f -name "*.la" -delete
|
||||||
|
for i in /var/lib/gromox /var/lib/gromox/domain \
|
||||||
|
/var/lib/gromox/queue /var/lib/gromox/queue/clone \
|
||||||
|
/var/lib/gromox/queue/mess /var/lib/gromox/queue/save \
|
||||||
|
/var/lib/gromox/queue/cache /var/lib/gromox/queue/insulation \
|
||||||
|
/var/lib/gromox/queue/timer /var/lib/gromox/user \
|
||||||
|
/var/log/gromox /run/gromox \
|
||||||
|
/usr/lib/sysctl.d; do \
|
||||||
|
mkdir -pv debian/gromox/$$i; \
|
||||||
|
done
|
||||||
|
mkdir -pv debian/gromox/etc/php/7.4/mods-available debian/gromox/etc/php/7.4/cli/conf.d debian/gromox/etc/php/7.4/fpm/conf.d
|
||||||
|
mv -v debian/gromox/etc/php/7.4/cli/conf.d/mapi.ini debian/gromox/etc/php/7.4/mods-available/
|
||||||
|
ln -s ../mods-available/mapi.ini debian/gromox/etc/php/7.4/cli/conf.d/mapi.ini
|
||||||
|
ln -s ../mods-available/mapi.ini debian/gromox/etc/php/7.4/fpm/conf.d/mapi.ini
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0366bd646017d4e5f85127be4aad08250509727f59f75dec9831ab96226c74ba
|
|
||||||
size 972076
|
|
3
gromox-1.4.0.66f7fe55.tar.xz
Normal file
3
gromox-1.4.0.66f7fe55.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:71cfd018b497ebd3746f44f1f654c9b192136b36b955696304289113ee9beda1
|
||||||
|
size 976820
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 8 19:36:00 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 1.4
|
||||||
|
* The event(8gx) and timer(8gx) daemons now run unprivileged.
|
||||||
|
* gromox-pff2mt now skips over unrecognizable MAPI properties
|
||||||
|
rather than exiting.
|
||||||
|
* gromox-mt2exm now supports storing to public mailboxes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 1 10:03:05 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Wed Sep 1 10:03:05 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Format: 1.0
|
Format: 1.0
|
||||||
Source: gromox
|
Source: gromox
|
||||||
Architecture: any all
|
Architecture: any
|
||||||
Version: 1.1.43.566b624e
|
Version: 1.4
|
||||||
DEBTRANSFORM-RELEASE: 1
|
DEBTRANSFORM-RELEASE: 1
|
||||||
Maintainer: Gromox <null@gromox.com>
|
Maintainer: Gromox <null@gromox.com>
|
||||||
Homepage: https://gromox.com
|
Homepage: https://gromox.com
|
||||||
@ -11,14 +11,14 @@ Build-Depends:
|
|||||||
automake (>= 1:1.11) | automake1.11,
|
automake (>= 1:1.11) | automake1.11,
|
||||||
autotools-dev,
|
autotools-dev,
|
||||||
binutils (>= 2.20),
|
binutils (>= 2.20),
|
||||||
debhelper (>= 12),
|
debhelper-compat (>= 12),
|
||||||
devscripts,
|
devscripts,
|
||||||
fakeroot,
|
fakeroot,
|
||||||
g++ (>= 7),
|
g++ (>= 7),
|
||||||
gettext,
|
gettext,
|
||||||
libbfio-dev,
|
libbfio-dev,
|
||||||
libgumbo-dev,
|
libgumbo-dev,
|
||||||
libhx-dev (>= 3),
|
libhx-dev (>= 4.0),
|
||||||
libjsoncpp-dev (>= 1.4.0),
|
libjsoncpp-dev (>= 1.4.0),
|
||||||
libldap2-dev,
|
libldap2-dev,
|
||||||
libmariadbclient-dev | libmysqlclient-dev | libmariadb-dev,
|
libmariadbclient-dev | libmysqlclient-dev | libmariadb-dev,
|
||||||
|
43
gromox.spec
43
gromox.spec
@ -3,7 +3,7 @@
|
|||||||
%define _libexecdir %_prefix/libexec
|
%define _libexecdir %_prefix/libexec
|
||||||
|
|
||||||
Name: gromox
|
Name: gromox
|
||||||
Version: 1.1.43.566b624e
|
Version: 1.4.0.66f7fe55
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Groupware server backend with RPC, IMAP,POP3, PHP-MAPI support
|
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
|
License: AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
|
||||||
@ -33,7 +33,7 @@ BuildRequires: xz
|
|||||||
BuildRequires: group(gromox)
|
BuildRequires: group(gromox)
|
||||||
BuildRequires: pkgconfig(gumbo)
|
BuildRequires: pkgconfig(gumbo)
|
||||||
BuildRequires: pkgconfig(jsoncpp)
|
BuildRequires: pkgconfig(jsoncpp)
|
||||||
BuildRequires: pkgconfig(libHX) >= 3
|
BuildRequires: pkgconfig(libHX) >= 4.0
|
||||||
BuildRequires: pkgconfig(libcrypto)
|
BuildRequires: pkgconfig(libcrypto)
|
||||||
BuildRequires: pkgconfig(libpff)
|
BuildRequires: pkgconfig(libpff)
|
||||||
BuildRequires: pkgconfig(libssl)
|
BuildRequires: pkgconfig(libssl)
|
||||||
@ -47,10 +47,8 @@ Requires: w3m
|
|||||||
Requires(pre): user(gromox)
|
Requires(pre): user(gromox)
|
||||||
Requires(pre): group(gromox)
|
Requires(pre): group(gromox)
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
%if !0%{?_pamdir:1}
|
||||||
%define pamdir /%_lib/security
|
%define _pamdir /%_lib/security
|
||||||
%else
|
|
||||||
%define pamdir %_libdir/security
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -63,7 +61,7 @@ module with a Z-MAPI function subset.
|
|||||||
Gromox relies on other components to provide a sensibly complete mail
|
Gromox relies on other components to provide a sensibly complete mail
|
||||||
system, such as Postfix as a mail transfer agent, and grommunio-admin
|
system, such as Postfix as a mail transfer agent, and grommunio-admin
|
||||||
for user management. A webmail client interface is available with
|
for user management. A webmail client interface is available with
|
||||||
grommunio-web. The grommunio appliance for example ships such a
|
grommunio-web. The grommunio appliance ships these essentials and has a
|
||||||
ready-to-run installation of Gromox.
|
ready-to-run installation of Gromox.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -77,33 +75,26 @@ autoreconf -fi
|
|||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
%make_install
|
%make_install
|
||||||
|
%if "%_pamdir" != "%_libdir/security"
|
||||||
|
# libtool gets confused if pamlibdir is not below prefix;
|
||||||
|
# as such we are not using `make install pamlibdir=...`
|
||||||
|
mkdir -pv "$b/%_pamdir"
|
||||||
|
mv "$b/%_libdir/security"/* "$b/%_pamdir/"
|
||||||
|
%endif
|
||||||
|
rm -fv "%buildroot/%_sysusersdir/sysusers-gromox.conf"
|
||||||
for i in /var/lib/gromox /var/lib/gromox/domain \
|
for i in /var/lib/gromox /var/lib/gromox/domain \
|
||||||
/var/lib/gromox/queue /var/lib/gromox/queue/clone \
|
/var/lib/gromox/queue /var/lib/gromox/queue/clone \
|
||||||
/var/lib/gromox/queue/mess /var/lib/gromox/queue/save \
|
/var/lib/gromox/queue/mess /var/lib/gromox/queue/save \
|
||||||
/var/lib/gromox/queue/cache /var/lib/gromox/queue/insulation \
|
/var/lib/gromox/queue/cache /var/lib/gromox/queue/insulation \
|
||||||
/var/lib/gromox/queue/timer /var/lib/gromox/user \
|
/var/lib/gromox/queue/timer /var/lib/gromox/user \
|
||||||
/var/log/gromox /run/gromox \
|
/var/log/gromox; do
|
||||||
/usr/lib/sysctl.d; do
|
|
||||||
mkdir -p "$b/$i"
|
mkdir -p "$b/$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
cat <<-EOF >"$b/usr/lib/sysctl.d/50-gromox.conf"
|
|
||||||
# privdrop mechanism not optimal yet
|
|
||||||
fs.suid_dumpable=2
|
|
||||||
EOF
|
|
||||||
|
|
||||||
find "$b" -type f -name "*.la" -delete
|
find "$b" -type f -name "*.la" -delete
|
||||||
rm -fv "$b/%_libdir"/*.so
|
rm -fv "$b/%_libdir"/*.so
|
||||||
%if "%pamdir" != "%_libdir/security"
|
|
||||||
mkdir -p "$b/%pamdir"
|
|
||||||
mv "$b/%_libdir/security"/* "$b/%pamdir/"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
mkdir -p "$b/%_sysconfdir/%name" "$b/%_datadir/%name"
|
mkdir -p "$b/%_sysconfdir/%name" "$b/%_datadir/%name"
|
||||||
mkdir -p "$b/%_sysusersdir" "$b/%_tmpfilesdir"
|
|
||||||
ln -s "%_datadir/gromox/tmpfiles-gromox.conf" "$b/%_tmpfilesdir/gromox.conf"
|
|
||||||
|
|
||||||
perl -i -lpe 's{Type=simple}{Type=simple\nRestart=on-failure}' "$b/%_unitdir"/*.service
|
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%global services gromox-adaptor.service 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
|
%global services gromox-adaptor.service 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
|
||||||
@ -115,7 +106,7 @@ perl -i -lpe 's{Type=simple}{Type=simple\nRestart=on-failure}' "$b/%_unitdir"/*.
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%tmpfiles_create gromox.conf
|
%tmpfiles_create tmpfiles-gromox.conf
|
||||||
%if 0%{?service_add_post:1}
|
%if 0%{?service_add_post:1}
|
||||||
%service_add_post %services
|
%service_add_post %services
|
||||||
%else
|
%else
|
||||||
@ -124,7 +115,7 @@ perl -i -lpe 's{Type=simple}{Type=simple\nRestart=on-failure}' "$b/%_unitdir"/*.
|
|||||||
if ! test -x /usr/bin/systemctl; then
|
if ! test -x /usr/bin/systemctl; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
/usr/bin/systemctl try-restart php-fpm.service || :
|
/usr/bin/systemctl try-restart grommunio-chat.service php-fpm.service || :
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%if 0%{?service_del_preun:1}
|
%if 0%{?service_del_preun:1}
|
||||||
@ -152,16 +143,14 @@ fi
|
|||||||
%_libdir/*.so.*
|
%_libdir/*.so.*
|
||||||
%_libdir/%name/
|
%_libdir/%name/
|
||||||
%_libdir/php*/
|
%_libdir/php*/
|
||||||
%_prefix/lib/sysctl.d/
|
|
||||||
%_libexecdir/%name/
|
%_libexecdir/%name/
|
||||||
%pamdir/
|
%_pamdir/
|
||||||
%_datadir/%name/
|
%_datadir/%name/
|
||||||
%_mandir/man*/*.[0-9]*
|
%_mandir/man*/*.[0-9]*
|
||||||
%_tmpfilesdir/*.conf
|
%_tmpfilesdir/*.conf
|
||||||
%_unitdir/*
|
%_unitdir/*
|
||||||
%attr(0770,gromox,gromox) /var/lib/gromox/
|
%attr(0770,gromox,gromox) /var/lib/gromox/
|
||||||
%attr(0770,gromox,gromox) /var/log/gromox/
|
%attr(0770,gromox,gromox) /var/log/gromox/
|
||||||
%attr(0770,gromox,gromox) %ghost /run/gromox/
|
|
||||||
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
|
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
|
||||||
%dir %_libexecdir
|
%dir %_libexecdir
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user