Hi Axel,
On 29-09-2012 15:46, Kim Bisgaard wrote:
Hi,
A lot of versions have rushed under the bridge ... and dovecot is at
2.1.10 and pigeonhole is at 0.3.3.
Status now is 2.2.1 for dovecot and 0.4.0 for pigeonhole. I have
attached spec-files :-) I have been using them since 10/5-2013 on
f17-i686
Regards,
Kim
I build for myself updated packages for f16 based on these versions.
If others are interested in doing the same:
yum install atrpms-rpm-config
Getting the Atrpms src.rpm packages for your OS and install them (will
only install the source)
change the version number to fit in the spec-files
downloaded sources (look in the spec-files)
rpmbuild -bb rpm/SPEC/package.spec
yum localinstall package.rpm
For F16 and F17 i think you should add these args [[--with systemd 1]]
to the rpmbuild command, not convinced that atrpms-rpm-config knows what
to default for each OS :-(
Regards,
Kim
___
atrpms-devel mailing list
atrpms-devel@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-devel
%bcond_without inotify
%bcond_with forcequota2
%bcond_without pidfile
%bcond_without solr
%bcond_without systemd
%bcond_without rquota
Summary: Dovecot Secure imap server
Name: dovecot
Epoch: 1
Version: 2.2.1
Release: 2_132%{?dist}
License: MIT
Group: System Environment/Daemons
URL: http://www.dovecot.org/
Source0: http://www.dovecot.org/releases/2.2/%{name}-%{version}.tar.gz
Source1: dovecot.init
Source2: dovecot.pam
Source3: maildir-migration.txt
Source9: dovecot.sysconfig
Source10: dovecot.tmpfilesd
#our own
Source14: dovecot.conf.5
Source88: dovecot.logrotate
Patch1: dovecot-2.1-defaultconfig.patch
Patch2: dovecot-1.0.beta2-mkcert-permissions.patch
Patch3: dovecot-1.0.rc7-mkcert-paths.patch
Patch4: dovecot-2.1-privatetmp.patch
Patch102: dovecot-1.1.3-pam-setcred.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: autoconf, automake, libtool, gettext-devel
BuildRequires: gcc-c++
BuildRequires: krb5-devel
BuildRequires: openssl-devel
BuildRequires: openldap-devel, cyrus-sasl-devel
BuildRequires: pam-devel
BuildRequires: pkgconfig
BuildRequires: zlib-devel, bzip2-devel
BuildRequires: libcap-devel
%{?with_solr:BuildRequires: libcurl-devel expat-devel}
%{?with_lucene:BuildRequires: clucene-core-devel}
%{?with_rquota:BuildRequires: quota-devel}
# Explicit Runtime Requirements
#Requires: openssl = 0.9.7f-4
Requires: openssl
Requires: shadow-utils
%if %{with systemd}
Requires: systemd
%else
Requires: initscripts, chkconfig
%endif
Provides: %{name}-pgsql = %{evr}, %{name}-mysql = %{evr}
Obsoletes: %{name}-pgsql %{epoch}:%{version}-%{release}, %{name}-mysql %{epoch}:%{version}-%{release}, %{name}-sqlite %{epoch}:%{version}-%{release}, %{name}-ldap %{epoch}:%{version}-%{release}, %{name}-gssapi %{epoch}:%{version}-%{release}
Conflicts: %{name}-pgsql %{epoch}:%{version}-%{release}, %{name}-mysql %{epoch}:%{version}-%{release}, %{name}-sqlite %{epoch}:%{version}-%{release}, %{name}-ldap %{epoch}:%{version}-%{release}, %{name}-gssapi %{epoch}:%{version}-%{release}
BuildRequires: postgresql-devel
BuildRequires: mysql-devel
BuildRequires: sqlite-devel
BuildRequires: db4-devel
%define ssldir %{_sysconfdir}/pki/%{name}
%description
Dovecot is an IMAP server for Linux/UNIX-like systems, written with security
primarily in mind. It also contains a small POP3 server. It supports mail
in either of maildir or mbox formats.
%package devel
Summary: Libraries and headers for Dovecot
Group: Development/Libraries
Requires: %name = %{epoch}:%{version}-%{release}
Requires: openssl-devel
%description devel
This package contains development files for linking against %{name}.
%prep
%setup -q
%patch1 -p1 -b .default-settings
%patch2 -p1 -b .mkcert-permissions
%patch3 -p1 -b .mkcert-paths
%patch4 -p1 -b .privatetmp
sed -i '/DEFAULT_INCLUDES *=/s|$| '$(pkg-config --cflags libclucene-core)| src/plugins/fts-lucene/Makefile.in
%patch102 -p1 -b .pam-setcred
cat Makefile.am Makefile.am.bak
echo 'ACLOCAL_AMFLAGS=-I .' Makefile.am
cat Makefile.am.bak Makefile.am
%build
#autoreconf -ifv
#required for fdpass.c line 125,190: dereferencing type-punned pointer will break strict-aliasing rules
#export CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
%configure \
--disable-dependency-tracking \
INSTALL_DATA=install -c -p -m644 \
--docdir=%{_docdir}/%{name}-%{version} \
--enable-header-install \
--disable-static \
--with-nss \
--with-shadow\
--with-pam \
--with-gssapi=plugin \
--with-ldap=plugin \
--with-sql=plugin\
--with-pgsql \
--with-mysql \
--with-sqlite\
--with-zlib \
--with-sql-drivers \
--with-libcap\
--with-db\
--with-ssl=openssl \