/[smeserver]/rpms/e-smith-lib/sme10/e-smith-lib.spec
ViewVC logotype

Diff of /rpms/e-smith-lib/sme10/e-smith-lib.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.19 by trevorb, Wed Jun 28 08:24:32 2023 UTC Revision 1.20 by trevorb, Tue Jul 11 02:49:10 2023 UTC
# Line 6  Summary: e-smith server and gateway - li Line 6  Summary: e-smith server and gateway - li
6  %define name e-smith-lib  %define name e-smith-lib
7  Name: %{name}  Name: %{name}
8  %define version 2.6.0  %define version 2.6.0
9  %define release 17  %define release 16
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: Artistic  License: Artistic
# Line 29  BuildArchitectures: noarch Line 29  BuildArchitectures: noarch
29  BuildRequires: e-smith-devtools >= 1.6.3-01  BuildRequires: e-smith-devtools >= 1.6.3-01
30  Obsoletes: %{name}-Tai64n  Obsoletes: %{name}-Tai64n
31  Obsoletes: whiptail  Obsoletes: whiptail
32    Requires(pre): e-smith
33  Requires: dialog  Requires: dialog
34  Requires: perl, perl(Text::Template)  Requires: perl, perl(Text::Template)
35  Requires: perl(Time::HiRes), perl(MIME::Base64)  Requires: perl(Time::HiRes), perl(MIME::Base64)
# Line 42  Requires: pciutils Line 43  Requires: pciutils
43  e-smith server and gateway software - library module.  e-smith server and gateway software - library module.
44    
45  %changelog  %changelog
 * Wed Jun 28 2023 Trevor Batley <trevor@batley.id.au> 2.6.0-17.sme  
 - add in user and group adds from e-smith package [SME: 12369]  
   
46  * Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-16.sme  * Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-16.sme
47  - allow call to systemctl aliases in etc [SME: 12194]  - allow call to systemctl aliases in etc [SME: 12194]
48    fix network=>networking service is not restarted.    fix network=>networking service is not restarted.
# Line 891  mkdir root/etc/e-smith/events/e-smith-li Line 889  mkdir root/etc/e-smith/events/e-smith-li
889  %patch10 -p1  %patch10 -p1
890    
891  %pre  %pre
892  #--------------------------------------------------  
 # add admin, public and www user accounts  
 #--------------------------------------------------  
 /usr/sbin/groupadd \  
   -g 500 shared 2>/dev/null || :  
 /usr/sbin/groupadd \  
   -g 102 -o www 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 102 -g 102 -o -c 'SME Server web server' -d /home/e-smith \  
   -G shared -M -s /bin/false www  || :  
 /usr/sbin/groupadd \  
   -g 102 -o apache 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 102 -g 102 -o -c 'Apache' -d /var/www \  
   -M -s /sbin/nologin apache  || :  
 /usr/sbin/groupadd \  
   -g 101 -o admin 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 101 -g 101 -c 'SME Server administrator' -d /home/e-smith \  
   -G shared,root,www -M -s /sbin/e-smith/console admin  || :  
 /usr/sbin/groupadd \  
   -g 103 -o public 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 103 -g 103 -c 'SME Server guest' -d /home/e-smith \  
   -G shared -M -s /bin/false public  || :  
 /usr/sbin/groupadd \  
   -g 1002 -o smelog 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 1002 -g 1002 -c 'SME Server log user' -d /var/log/smelog \  
   -M -s /bin/false smelog  || :  
893    
894  %post  %post
895    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed