mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Added group and user
SVN revision: 216
This commit is contained in:
parent
112951ada5
commit
a084750d9a
11
elog.spec
11
elog.spec
@ -1,6 +1,10 @@
|
|||||||
|
# OpenSSH privilege separation requires a user & group ID
|
||||||
|
%define elog_uid 105
|
||||||
|
%define elog_gid 105
|
||||||
|
|
||||||
Name: elog
|
Name: elog
|
||||||
Summary: elog is a standalone electronic web logbook
|
Summary: elog is a standalone electronic web logbook
|
||||||
Version: 2.0.3
|
Version: 2.1.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
Group: Applications/Networking
|
Group: Applications/Networking
|
||||||
@ -38,6 +42,8 @@ access control, etc. Moreover, a single server can host several weblogs, and
|
|||||||
each weblog can be totally different from the rest.
|
each weblog can be totally different from the rest.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 13 2002 Stefan Ritt <stefan.ritt@psi.ch>
|
||||||
|
- Added elog group and user, thanks to Nicolas Chuche [nchuche@teaser.fr]
|
||||||
* Tue Jun 18 2002 Stefan Ritt <stefan.ritt@psi.ch>
|
* Tue Jun 18 2002 Stefan Ritt <stefan.ritt@psi.ch>
|
||||||
- Put elogd.init into TAR file, add logbooks directory, put elogd in sbin/
|
- Put elogd.init into TAR file, add logbooks directory, put elogd in sbin/
|
||||||
* Tue Jun 18 2002 Serge Droz <serge.droz@psi.ch>
|
* Tue Jun 18 2002 Serge Droz <serge.droz@psi.ch>
|
||||||
@ -50,6 +56,9 @@ each weblog can be totally different from the rest.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%{_sbindir}/groupadd -r -g %{elog_gid} elog 2>/dev/null || :
|
||||||
|
%{_sbindir}/useradd -d /no/such/path -s /bin/false -u %{elog_uid} \
|
||||||
|
-g elog -M -r elog 2>/dev/null || :
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user