1 |
# $Id: e-smith.spec,v 1.1 2013/01/25 17:18:00 slords Exp $ |
# $Id: e-smith.spec,v 1.2 2013/03/06 20:19:43 slords Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway |
Summary: e-smith server and gateway |
4 |
Name: e-smith |
Name: e-smith |
5 |
%define version 5.4.0 |
%define version 5.4.0 |
6 |
%define release 2 |
%define release 3 |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
License: GPL |
License: GPL |
15 |
AutoReqProv: no |
AutoReqProv: no |
16 |
|
|
17 |
%changelog |
%changelog |
18 |
|
* Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 5.4.0-3.sme |
19 |
|
- Ensure group www exists before user [SME: 7319] |
20 |
|
|
21 |
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 5.4.0-2.sme |
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 5.4.0-2.sme |
22 |
- Fix pre script to make www and apache the same [SME: 7319] |
- Fix pre script to make www and apache the same [SME: 7319] |
23 |
|
|
91 |
#-------------------------------------------------- |
#-------------------------------------------------- |
92 |
/usr/sbin/groupadd \ |
/usr/sbin/groupadd \ |
93 |
-g 500 shared 2>/dev/null || : |
-g 500 shared 2>/dev/null || : |
94 |
|
/usr/sbin/groupadd \ |
95 |
|
-g 102 -o www 2>/dev/null || : |
96 |
/usr/sbin/useradd \ |
/usr/sbin/useradd \ |
97 |
-u 102 -g 102 -c 'e-smith web server' -d /home/e-smith \ |
-u 102 -g 102 -o -c 'e-smith web server' -d /home/e-smith \ |
98 |
-G shared -M -s /bin/false www 2>/dev/null || : |
-G shared -M -s /bin/false www 2>/dev/null || : |
99 |
/usr/sbin/useradd \ |
/usr/sbin/useradd \ |
100 |
-u 101 -c 'e-smith administrator' -d /home/e-smith \ |
-u 101 -c 'e-smith administrator' -d /home/e-smith \ |