automatic version update by autodist [release 2.3.15-1mamba;Wed Jun 23 2021]
This commit is contained in:
parent
a94e6668f7
commit
44268f5683
71
dovecot.spec
71
dovecot.spec
@ -5,7 +5,7 @@
|
|||||||
%define dovecot_userid 65427
|
%define dovecot_userid 65427
|
||||||
|
|
||||||
Name: dovecot
|
Name: dovecot
|
||||||
Version: 2.3.14
|
Version: 2.3.15
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: An IMAP and POP3 server written with security primarily in mind
|
Summary: An IMAP and POP3 server written with security primarily in mind
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
@ -21,31 +21,56 @@ BuildRequires: glibc-devel
|
|||||||
BuildRequires: libbzip2-devel
|
BuildRequires: libbzip2-devel
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libe2fs-devel
|
BuildRequires: libe2fs-devel
|
||||||
|
BuildRequires: libexttextcat-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libkrb5-devel
|
BuildRequires: libkrb5-devel
|
||||||
BuildRequires: libmysql5-devel
|
BuildRequires: liblz4-devel
|
||||||
|
BuildRequires: liblzma-devel
|
||||||
|
BuildRequires: libmariadb-devel
|
||||||
BuildRequires: libopenldap-devel
|
BuildRequires: libopenldap-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: libpam-devel
|
||||||
|
BuildRequires: libsodium-devel
|
||||||
|
BuildRequires: libstemmer-devel
|
||||||
|
BuildRequires: libsystemd-devel
|
||||||
|
BuildRequires: libtirpc-devel
|
||||||
|
BuildRequires: libunwind-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: libzstd-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libsasl-devel >= 2.1.21
|
BuildRequires: libsasl-devel >= 2.1.21
|
||||||
BuildRequires: libgssapi-devel >= 0.10
|
BuildRequires: libgssapi-devel >= 0.10
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Although it's written in C, it uses several coding techniques to avoid most of the common pitfalls.
|
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Although it's written in C, it uses several coding techniques to avoid most of the common pitfalls.
|
||||||
Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. It's easy to migrate from them to Dovecot. Dovecot will also soon have its own high performance mailbox format called dbox. Perhaps some day in future Dovecot will also support storing mails in SQL databases.
|
Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. It's easy to migrate from them to Dovecot. Dovecot will also soon have its own high performance mailbox format called dbox. Perhaps some day in future Dovecot will also support storing mails in SQL databases.
|
||||||
|
|
||||||
%package devel
|
%package -n lib%{name}
|
||||||
Group: Development/Libraries
|
Group: System/Libraries
|
||||||
Summary: Static libraries and headers for %{name}
|
Summary: Shared libraries for %{name}
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
%description -n lib%{name}
|
||||||
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Although it's written in C, it uses several coding techniques to avoid most of the common pitfalls.
|
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Although it's written in C, it uses several coding techniques to avoid most of the common pitfalls.
|
||||||
Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. It's easy to migrate from them to Dovecot. Dovecot will also soon have its own high performance mailbox format called dbox. Perhaps some day in future Dovecot will also support storing mails in SQL databases.
|
Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. It's easy to migrate from them to Dovecot. Dovecot will also soon have its own high performance mailbox format called dbox. Perhaps some day in future Dovecot will also support storing mails in SQL databases.
|
||||||
|
This package contains the shared libraries provided by %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Static libraries and headers for %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: dovecot-devel
|
||||||
|
Obsoletes: dovecot-devel < 2.3.15
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Although it's written in C, it uses several coding techniques to avoid most of the common pitfalls.
|
||||||
|
Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. It's easy to migrate from them to Dovecot. Dovecot will also soon have its own high performance mailbox format called dbox. Perhaps some day in future Dovecot will also support storing mails in SQL databases.
|
||||||
This package contains the headers and static libraries needed for development with %{name}.
|
This package contains the headers and static libraries needed for development with %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?append_ver}
|
%setup -q -n %{name}-%{version}%{?append_ver}
|
||||||
sed -i "s|/usr/local/sbin/dovecot|%{_sbindir}/dovecot|" doc/dovecot-initd.sh
|
sed -i "s|/usr/local/sbin/dovecot|%{_sbindir}/dovecot|" doc/dovecot-initd.sh
|
||||||
@ -66,7 +91,7 @@ LDFLAGS+="-ltirpc" \
|
|||||||
|
|
||||||
cp -a %{buildroot}%{_docdir}/dovecot/example-config/* %{buildroot}%{_sysconfdir}/dovecot/
|
cp -a %{buildroot}%{_docdir}/dovecot/example-config/* %{buildroot}%{_sysconfdir}/dovecot/
|
||||||
|
|
||||||
install -D -m0755 doc/dovecot-initd.sh %{buildroot}%{_initrddir}/dovecot
|
#install -D -m0755 doc/dovecot-initd.sh %{buildroot}%{_initrddir}/dovecot
|
||||||
install -D -m0755 doc/mkcert.sh %{buildroot}%{_docdir}/dovecot/mkcert.sh
|
install -D -m0755 doc/mkcert.sh %{buildroot}%{_docdir}/dovecot/mkcert.sh
|
||||||
install -D -m0644 doc/dovecot-openssl.cnf %{buildroot}%{_docdir}/dovecot/dovecot-openssl.cnf
|
install -D -m0644 doc/dovecot-openssl.cnf %{buildroot}%{_docdir}/dovecot/dovecot-openssl.cnf
|
||||||
|
|
||||||
@ -92,6 +117,7 @@ fi
|
|||||||
:
|
:
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
%systemd_post dovecot.socket
|
||||||
if [ $1 -ge 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
[ -e %{_sysconfdir}/ssl/certs/dovecot.pem ] || \
|
[ -e %{_sysconfdir}/ssl/certs/dovecot.pem ] || \
|
||||||
OPENSSLCONFIG=%{_docdir}/dovecot/dovecot-openssl.cnf %{_docdir}/dovecot/mkcert.sh &>/dev/null
|
OPENSSLCONFIG=%{_docdir}/dovecot/dovecot-openssl.cnf %{_docdir}/dovecot/mkcert.sh &>/dev/null
|
||||||
@ -99,6 +125,7 @@ fi
|
|||||||
:
|
:
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
%systemd_preun dovecot.socket
|
||||||
# erase
|
# erase
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/usr/sbin/userdel dovecot 2>/dev/null
|
/usr/sbin/userdel dovecot 2>/dev/null
|
||||||
@ -108,9 +135,15 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
:
|
:
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%systemd_postun dovecot.socket
|
||||||
|
:
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_initrddir}/dovecot
|
|
||||||
%dir %{_sysconfdir}/dovecot
|
%dir %{_sysconfdir}/dovecot
|
||||||
%{_sysconfdir}/dovecot/README
|
%{_sysconfdir}/dovecot/README
|
||||||
%config(noreplace) %{_sysconfdir}/dovecot/dovecot.conf
|
%config(noreplace) %{_sysconfdir}/dovecot/dovecot.conf
|
||||||
@ -125,6 +158,15 @@ fi
|
|||||||
%{_bindir}/dovecot-sysreport
|
%{_bindir}/dovecot-sysreport
|
||||||
%{_bindir}/dsync
|
%{_bindir}/dsync
|
||||||
%{_sbindir}/dovecot
|
%{_sbindir}/dovecot
|
||||||
|
%{_unitdir}/dovecot.service
|
||||||
|
%{_unitdir}/dovecot.socket
|
||||||
|
%dir %{_docdir}/dovecot
|
||||||
|
%{_docdir}/dovecot/*
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
%{_mandir}/man7/*
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/dovecot/
|
%dir %{_libdir}/dovecot/
|
||||||
%{_libdir}/dovecot/lib*_plugin.*
|
%{_libdir}/dovecot/lib*_plugin.*
|
||||||
%{_libdir}/dovecot/libdovecot-*.so.*
|
%{_libdir}/dovecot/libdovecot-*.so.*
|
||||||
@ -151,13 +193,9 @@ fi
|
|||||||
%{_libdir}/dovecot/old-stats/*
|
%{_libdir}/dovecot/old-stats/*
|
||||||
%dir %{_libexecdir}/dovecot
|
%dir %{_libexecdir}/dovecot
|
||||||
%{_libexecdir}/dovecot/*
|
%{_libexecdir}/dovecot/*
|
||||||
%dir %{_docdir}/dovecot
|
|
||||||
%{_docdir}/dovecot/*
|
|
||||||
%{_mandir}/man1/*
|
|
||||||
%{_mandir}/man7/*
|
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
%files devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/dovecot
|
%dir %{_includedir}/dovecot
|
||||||
%{_includedir}/dovecot/*.h
|
%{_includedir}/dovecot/*.h
|
||||||
@ -176,6 +214,9 @@ fi
|
|||||||
%doc ChangeLog NEWS README TODO
|
%doc ChangeLog NEWS README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 23 2021 Automatic Build System <autodist@mambasoft.it> 2.3.15-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Fri Mar 05 2021 Automatic Build System <autodist@mambasoft.it> 2.3.14-1mamba
|
* Fri Mar 05 2021 Automatic Build System <autodist@mambasoft.it> 2.3.14-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user