forked from pool/system-user-gromox
Accepting request 1157390 from server:mail
- Update to release 5 OBS-URL: https://build.opensuse.org/request/show/1157390 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/system-user-gromox?expand=0&rev=2
This commit is contained in:
commit
46e97d84ac
5
debian.changelog
Normal file
5
debian.changelog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
system-user-gromox (5-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* That's it.
|
||||||
|
|
||||||
|
-- Gromox <null@gromox.com> Wed, 28 Feb 2024 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
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 12 23:54:28 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 5
|
||||||
|
* Do away with %sysusers_generate_pre, it is not needed because
|
||||||
|
system-user-gromox.%post runs before gromox.%pre anyway.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
10
system-user-gromox.dsc
Normal file
10
system-user-gromox.dsc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Format: 1.0
|
||||||
|
Source: system-user-gromox
|
||||||
|
Architecture: all
|
||||||
|
Version: 5
|
||||||
|
Maintainer: Gromox <null@gromox.com>
|
||||||
|
Homepage: https://grommunio.com
|
||||||
|
Standards-Version: 3.9.4
|
||||||
|
# You need to update both .dsc and debian.control (*sigh* - Debian)
|
||||||
|
Build-Depends:
|
||||||
|
debhelper
|
@ -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,16 +17,19 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: system-user-gromox
|
Name: system-user-gromox
|
||||||
Version: 2
|
Version: 5
|
||||||
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
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
# SUSE doing SUSE things again
|
||||||
BuildRequires: sysuser-tools
|
BuildRequires: sysuser-tools
|
||||||
%sysusers_requires
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides the gromox account.
|
This package provides the gromox account.
|
||||||
@ -34,13 +37,22 @@ 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
|
||||||
%sysusers_generate_pre u.conf user
|
# 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
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -Dpm0644 u.conf "%buildroot/%_sysusersdir/system-user-gromox.conf"
|
install -Dpm0644 u.conf "%buildroot/%_sysusersdir/system-user-gromox.conf"
|
||||||
|
|
||||||
%pre -f user.pre
|
%post
|
||||||
|
%sysusers_create system-user-gromox.conf
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%_sysusersdir/*.conf
|
%_sysusersdir/*.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user