Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package system-user-grommunio for 
openSUSE:Factory checked in at 2023-01-18 13:11:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/system-user-grommunio (Old)
 and      /work/SRC/openSUSE:Factory/.system-user-grommunio.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "system-user-grommunio"

Wed Jan 18 13:11:27 2023 rev:2 rq:1059291 version:3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/system-user-grommunio/system-user-grommunio.changes  
    2022-09-01 22:11:43.640335426 +0200
+++ 
/work/SRC/openSUSE:Factory/.system-user-grommunio.new.32243/system-user-grommunio.changes
   2023-01-18 13:11:50.425088178 +0100
@@ -1,0 +2,5 @@
+Tue Jan 17 15:45:41 UTC 2023 - Jan Engelhardt <jeng...@inai.de>
+
+- Add groweb user for grommunio-web, grommunio-index
+
+-------------------------------------------------------------------

New:
----
  debian.changelog
  debian.compat
  debian.control
  debian.rules
  debian.system-user-grommunio.install
  debian.system-user-grommunio.postinst
  dummy_for_debtransform.tgz
  system-user-grommunio.dsc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ system-user-grommunio.spec ++++++
--- /var/tmp/diff_new_pack.MLuPna/_old  2023-01-18 13:11:50.845089805 +0100
+++ /var/tmp/diff_new_pack.MLuPna/_new  2023-01-18 13:11:50.849089820 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package system-user-grommunio
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,30 +17,55 @@
 
 
 Name:           system-user-grommunio
-Version:        2
+Version:        3
 Release:        0
-Summary:        System user and group grommunio
+Summary:        System users and groups for grommunio
 License:        MIT
 Group:          System/Fhs
 URL:            https://grommunio.com/
+Source:         dummy_for_debtransform.tgz
 BuildArch:      noarch
 BuildRequires:  systemd-rpm-macros
+Obsoletes:      system-user-groweb < %version-%release
+Provides:       system-user-groweb = %version-%release
+%if 0%{?suse_version}
 BuildRequires:  sysuser-tools
 %sysusers_requires
+%else
+Provides:       group(grommunio)
+Provides:       group(groweb)
+Provides:       user(grommunio)
+Provides:       user(groweb)
+Requires(pre):  /usr/sbin/useradd
+Requires(pre):  /usr/sbin/groupadd
+%endif
 
 %description
-This package provides the grommunio account.
+This package provides the system accounts for grommunio.
 
 %prep
 
 %build
-echo 'u grommunio - "Grommunio administration"' >u.conf
-%sysusers_generate_pre u.conf user
+echo 'u grommunio - "user for grommunio administration"' >u.conf
+echo 'u groweb - "user for grommunio-web"' >>u.conf
+%if 0%{?suse_version}
+%sysusers_generate_pre u.conf user system-user-grommunio.conf
+%else
+>user.pre
+%endif
 
 %install
 install -Dpm0644 u.conf "%buildroot/%_sysusersdir/system-user-grommunio.conf"
 
 %pre -f user.pre
+%if !0%{?suse_version}
+getent group grommunio >/dev/null || %_sbindir/groupadd -r grommunio
+getent passwd grommunio >/dev/null || %_sbindir/useradd -g grommunio -s 
/sbin/nologin \
+       -r -c "user for grommunio administration" -d / grommunio
+getent group groweb >/dev/null || %_sbindir/groupadd -r groweb
+getent passwd groweb >/dev/null || %_sbindir/useradd -g groweb -s 
/sbin/nologin \
+       -r -c "user for grommunio-web" -d / groweb
+%endif
 
 %files
 %_sysusersdir/*.conf

++++++ debian.changelog ++++++
system-user-grommunio (0-0) unstable; urgency=low

  * Initial package.

 -- Grommunio <n...@grommunio.com>  Mon, 25 Jan 2021 10:00:00 +0100

++++++ debian.compat ++++++
12

++++++ debian.control ++++++
Source: system-user-grommunio
Priority: optional
Section: mail
Maintainer: Grommunio <n...@grommunio.com>
Standards-Version: 4.5.0

Package: system-user-grommunio
Architecture: all
Pre-Depends: ${misc:Pre-Depends}
Depends: adduser, ${misc:Depends}
Provides: system-user-groweb
Replaces: system-user-groweb
Conflicts: system-user-groweb
Description: System user and group grommunio
 .
 This package provides the grommunio account.

++++++ debian.rules ++++++
#!/usr/bin/make -f
%:
        dh $@ --parallel

++++++ debian.system-user-grommunio.postinst ++++++
#!/bin/sh
getent group grommunio >/dev/null || addgroup --system grommunio
getent passwd grommunio >/dev/null || \
        adduser --system grommunio --home / --no-create-home 
--disabled-password --ingroup grommunio
getent group groweb >/dev/null || addgroup --system groweb
getent passwd groweb >/dev/null || \
        adduser --system groweb --home / --no-create-home --disabled-password 
--ingroup groweb

++++++ system-user-grommunio.dsc ++++++
Format: 1.0
Source: system-user-grommunio
Architecture: all
Version: 3
Maintainer: Grommunio <n...@grommunio.com>
Homepage: https://grommunio.com
Standards-Version: 3.9.4
# You need to update both .dsc and debian.control (*sigh* - Debian)
Build-Depends:
        debhelper

Reply via email to