- Update to release 9
OBS-URL: https://build.opensuse.org/package/show/server:mail/system-user-gromox?expand=0&rev=14
This commit is contained in:
parent
0ee5a0f925
commit
6af20e7c2c
@ -1,3 +1,11 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
%:
|
%:
|
||||||
dh $@ --parallel
|
dh $@ --parallel
|
||||||
|
sudir = usr/lib/sysusers.d
|
||||||
|
sufile = ${sudir}/system-user-gromox.conf
|
||||||
|
override_dh_auto_install:
|
||||||
|
mkdir -p ${sudir}
|
||||||
|
echo 'g gromox -' >${sufile}
|
||||||
|
echo 'g gromoxcf -' >>${sufile}
|
||||||
|
echo 'u gromox - "Gromox services"' >>${sufile}
|
||||||
|
echo 'm gromox gromoxcf' >>${sufile}
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
usr/
|
@ -1,6 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
getent group gromox >/dev/null || addgroup --system gromox
|
case "$1" in
|
||||||
getent group gromoxcf >/dev/null || addgroup --system gromoxcf
|
configure|reconfigure)
|
||||||
getent passwd gromox >/dev/null || \
|
if [ -x /usr/bin/systemd-sysusers ]; then
|
||||||
adduser --system gromox --home /var/lib/gromox --no-create-home --disabled-password --ingroup gromox
|
/usr/bin/systemd-sysusers system-user-gromox.conf
|
||||||
usermod gromox -aG gromoxcf
|
else
|
||||||
|
getent group gromox >/dev/null || addgroup --system gromox
|
||||||
|
getent group gromoxcf >/dev/null || addgroup --system gromoxcf
|
||||||
|
getent passwd gromox >/dev/null || \
|
||||||
|
adduser --system gromox --home /var/lib/gromox --no-create-home --disabled-password --ingroup gromox
|
||||||
|
usermod gromox -aG gromoxcf
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 4 19:28:11 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 9
|
||||||
|
* Switch to sysusers mechanism on Debian as well
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 4 08:06:05 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Tue Jun 4 08:06:05 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Format: 1.0
|
Format: 1.0
|
||||||
Source: system-user-gromox
|
Source: system-user-gromox
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Version: 6
|
Version: 9
|
||||||
Maintainer: Gromox <null@gromox.com>
|
Maintainer: Gromox <null@gromox.com>
|
||||||
Homepage: https://grommunio.com
|
Homepage: https://grommunio.com
|
||||||
Standards-Version: 3.9.4
|
Standards-Version: 3.9.4
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: system-user-gromox
|
Name: system-user-gromox
|
||||||
Version: 7
|
Version: 9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System user and group gromox
|
Summary: System user and group gromox
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -46,10 +46,6 @@ This package provides:
|
|||||||
%prep
|
%prep
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# The conf file is provided by system-user-gromox rather than
|
|
||||||
# gromox.spec so that e.g. grommunio-admin-api does not grow a
|
|
||||||
# BuildRequire on gromox (wait times).
|
|
||||||
#
|
|
||||||
>user.pre
|
>user.pre
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%sysusers_generate_pre %_sourcedir/system-user-gromox.conf user system-user-gromox.conf
|
%sysusers_generate_pre %_sourcedir/system-user-gromox.conf user system-user-gromox.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user