Accepting request 262938 from server:mail
1 OBS-URL: https://build.opensuse.org/request/show/262938 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dovecot?expand=0&rev=3
This commit is contained in:
commit
7e50355017
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 04:46:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashisms in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 18 14:22:32 UTC 2014 - mrueckert@suse.de
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1230
|
||||
%bcond_without systemd
|
||||
%else
|
||||
@ -50,6 +51,7 @@ Source8: dovecot.service
|
||||
Source9: dovecot.socket
|
||||
Source10: dovecot-2.1-pigeonhole.configfiles
|
||||
Source11: dovecot-2.2-pigeonhole.configfiles
|
||||
|
||||
%description
|
||||
Dovecot is an IMAP and POP3 server for Linux and UNIX-like systems,
|
||||
written primarily with security in mind. Although it is written in C,
|
||||
@ -96,11 +98,10 @@ install -D -m 0644 %{S:9} %{buildroot}%{_unitdir}/dovecot.socket
|
||||
%{buildroot}%{_var}/run/%{name}/login/ \
|
||||
%{buildroot}%{_var}/lib/%{name}/
|
||||
|
||||
|
||||
%pre
|
||||
/usr/sbin/groupadd -r %{name} &>/dev/null || :
|
||||
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Dovecot imapd" -d %{_var}/run/%{name} %{name} &>/dev/null || :
|
||||
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Dovecot login" -d %{_var}/run/%{name} dovenull &>/dev/null || :
|
||||
/usr/sbin/groupadd -r %{name} >/dev/null 2>&1 || :
|
||||
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Dovecot imapd" -d %{_var}/run/%{name} %{name} >/dev/null 2>&1 || :
|
||||
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Dovecot login" -d %{_var}/run/%{name} dovenull >/dev/null 2>&1 || :
|
||||
# try to copy the default configuration.
|
||||
#
|
||||
# we fail silently if the dovecot-implementation package is not
|
||||
|
Loading…
Reference in New Issue
Block a user