- Update to release 3
OBS-URL: https://build.opensuse.org/package/show/server:mail/system-user-gromox?expand=0&rev=6
This commit is contained in:
parent
5f07978042
commit
076db17130
5
debian.changelog
Normal file
5
debian.changelog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
system-user-gromox (0-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial package.
|
||||||
|
|
||||||
|
-- Gromox <null@gromox.com> Mon, 25 Jan 2021 10:00:00 +0100
|
1
debian.compat
Normal file
1
debian.compat
Normal file
@ -0,0 +1 @@
|
|||||||
|
12
|
13
debian.control
Normal file
13
debian.control
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Source: system-user-gromox
|
||||||
|
Priority: optional
|
||||||
|
Section: mail
|
||||||
|
Maintainer: Gromox <null@gromox.com>
|
||||||
|
Standards-Version: 4.5.0
|
||||||
|
|
||||||
|
Package: system-user-gromox
|
||||||
|
Architecture: all
|
||||||
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
|
Depends: adduser, ${misc:Depends}
|
||||||
|
Description: System user and group gromox
|
||||||
|
.
|
||||||
|
This package provides the gromox account.
|
3
debian.rules
Normal file
3
debian.rules
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
%:
|
||||||
|
dh $@ --parallel
|
0
debian.system-user-gromox.install
Normal file
0
debian.system-user-gromox.install
Normal file
6
debian.system-user-gromox.postinst
Normal file
6
debian.system-user-gromox.postinst
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
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
|
46
system-user-gromox-EL9.spec
Normal file
46
system-user-gromox-EL9.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
#
|
||||||
|
# spec file for package system-user-gromox-EL9
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: system-user-gromox
|
||||||
|
Version: 3
|
||||||
|
Release: 0
|
||||||
|
Summary: System user and group gromox
|
||||||
|
License: MIT
|
||||||
|
Group: System/Fhs
|
||||||
|
URL: https://grommunio.com/
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires(pre): shadow-utils
|
||||||
|
Requires(pre): glibc-common
|
||||||
|
Provides: group(gromox)
|
||||||
|
Provides: group(gromoxcf)
|
||||||
|
Provides: user(gromox)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides the gromox account.
|
||||||
|
|
||||||
|
%pre
|
||||||
|
getent group gromox >/dev/null || groupadd -r gromox
|
||||||
|
getent group gromoxcf >/dev/null || groupadd -r gromoxcf
|
||||||
|
getent passwd gromox >/dev/null || \
|
||||||
|
useradd -r -M -g gromox -d /var/lib/gromox -s /sbin/nologin \
|
||||||
|
-c "Gromox services" gromox
|
||||||
|
usermod gromox -aG gromoxcf
|
||||||
|
|
||||||
|
%files
|
||||||
|
|
||||||
|
%changelog
|
46
system-user-gromox-Fedora_39.spec
Normal file
46
system-user-gromox-Fedora_39.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
#
|
||||||
|
# spec file for package system-user-gromox-Fedora_39
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: system-user-gromox
|
||||||
|
Version: 3
|
||||||
|
Release: 0
|
||||||
|
Summary: System user and group gromox
|
||||||
|
License: MIT
|
||||||
|
Group: System/Fhs
|
||||||
|
URL: https://grommunio.com/
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires(pre): shadow-utils
|
||||||
|
Requires(pre): glibc-common
|
||||||
|
Provides: group(gromox)
|
||||||
|
Provides: group(gromoxcf)
|
||||||
|
Provides: user(gromox)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides the gromox account.
|
||||||
|
|
||||||
|
%pre
|
||||||
|
getent group gromox >/dev/null || groupadd -r gromox
|
||||||
|
getent group gromoxcf >/dev/null || groupadd -r gromoxcf
|
||||||
|
getent passwd gromox >/dev/null || \
|
||||||
|
useradd -r -M -g gromox -d /var/lib/gromox -s /sbin/nologin \
|
||||||
|
-c "Gromox services" gromox
|
||||||
|
usermod gromox -aG gromoxcf
|
||||||
|
|
||||||
|
%files
|
||||||
|
|
||||||
|
%changelog
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 21 22:20:25 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 3
|
||||||
|
* Create gromoxcf group
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 2 09:17:46 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
Thu Jun 2 09:17:46 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package system-user-gromox
|
# spec file for package system-user-gromox
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,11 +17,12 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: system-user-gromox
|
Name: system-user-gromox
|
||||||
Version: 2
|
Version: 3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System user and group gromox
|
Summary: System user and group gromox
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Fhs
|
Group: System/Fhs
|
||||||
|
#Source: https://download.grommunio.com/community/openSUSE_Tumbleweed/system-user-gromox-*.src.rpm
|
||||||
URL: https://grommunio.com/
|
URL: https://grommunio.com/
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
@ -34,7 +35,16 @@ This package provides the gromox account.
|
|||||||
%prep
|
%prep
|
||||||
|
|
||||||
%build
|
%build
|
||||||
echo 'u gromox - "Gromox services"' >u.conf
|
# 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).
|
||||||
|
#
|
||||||
|
cat >u.conf <<-EOF
|
||||||
|
g gromox -
|
||||||
|
g gromoxcf -
|
||||||
|
u gromox - "Gromox services"
|
||||||
|
m gromox gromoxcf
|
||||||
|
EOF
|
||||||
%sysusers_generate_pre u.conf user
|
%sysusers_generate_pre u.conf user
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user