- compile with kerberos support
This commit is contained in:
parent
bed4b9beec
commit
190a85a76b
23
cyrus-imapd-2.3.7-krb4.patch
Normal file
23
cyrus-imapd-2.3.7-krb4.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
--- cyrus-imapd-2.3.7/imap/version.c.krb4 2005-02-16 22:06:19.000000000 +0100
|
||||||
|
+++ cyrus-imapd-2.3.7/imap/version.c 2007-01-22 15:36:27.000000000 +0100
|
||||||
|
@@ -169,7 +169,7 @@
|
||||||
|
"; lock = %s", lock_method_desc);
|
||||||
|
snprintf(env_buf + strlen(env_buf), MAXIDVALUELEN - strlen(env_buf),
|
||||||
|
"; nonblock = %s", nonblock_method_desc);
|
||||||
|
-#ifdef HAVE_KRB
|
||||||
|
+#if 0
|
||||||
|
snprintf(env_buf + strlen(env_buf), MAXIDVALUELEN - strlen(env_buf),
|
||||||
|
" (%s)", krb4_version);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
--- cyrus-imapd-2.3.7/imap/pop3d.c.krb4 2007-01-22 15:41:14.000000000 +0100
|
||||||
|
+++ cyrus-imapd-2.3.7/imap/pop3d.c 2007-01-22 15:41:15.000000000 +0100
|
||||||
|
@@ -88,8 +88,6 @@
|
||||||
|
#include "sync_log.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_KRB
|
||||||
|
-/* kerberos des is purported to conflict with OpenSSL DES */
|
||||||
|
-#define DES_DEFS
|
||||||
|
#include <krb.h>
|
||||||
|
|
||||||
|
/* MIT's kpop authentication kludge */
|
@ -1,6 +1,6 @@
|
|||||||
Name: cyrus-imapd
|
Name: cyrus-imapd
|
||||||
Version: 2.3.7
|
Version: 2.3.7
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
|
|
||||||
# ********************** BUILD TIME OPTIONS START **********************
|
# ********************** BUILD TIME OPTIONS START **********************
|
||||||
|
|
||||||
@ -148,6 +148,7 @@ Patch14: cyrus-imapd-2.3.1-authid_normalize.patch
|
|||||||
Patch15: cyrus-imapd-2.3.1-make_md5_defaults.patch
|
Patch15: cyrus-imapd-2.3.1-make_md5_defaults.patch
|
||||||
Patch16: cyrus-imapd-2.3.7-db4.5.patch
|
Patch16: cyrus-imapd-2.3.7-db4.5.patch
|
||||||
Patch17: cyrus-imapd-2.3.7-makeinstallfix.patch
|
Patch17: cyrus-imapd-2.3.7-makeinstallfix.patch
|
||||||
|
Patch18: cyrus-imapd-2.3.7-krb4.patch
|
||||||
# Patches >= 100 are / will be fixed in CVS
|
# Patches >= 100 are / will be fixed in CVS
|
||||||
Patch100: cyrus-imapd-2.3.1-make_md5.patch
|
Patch100: cyrus-imapd-2.3.1-make_md5.patch
|
||||||
Patch101: cyrus-imapd-2.3.1-backend_sigsegv.patch
|
Patch101: cyrus-imapd-2.3.1-backend_sigsegv.patch
|
||||||
@ -158,6 +159,7 @@ BuildRequires: cyrus-sasl-devel >= 2.1.15-1, perl, tcp_wrappers
|
|||||||
BuildRequires: %{_dbver}-devel, openssl-devel, pkgconfig
|
BuildRequires: %{_dbver}-devel, openssl-devel, pkgconfig
|
||||||
BuildRequires: flex, bison, groff >= 1.15-8, automake
|
BuildRequires: flex, bison, groff >= 1.15-8, automake
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
|
BuildRequires: krb5-devel
|
||||||
%if %{SNMP}
|
%if %{SNMP}
|
||||||
BuildRequires: %{_snmpver}-snmp-devel
|
BuildRequires: %{_snmpver}-snmp-devel
|
||||||
%ifarch i386 x86_64
|
%ifarch i386 x86_64
|
||||||
@ -264,6 +266,7 @@ one running the server.
|
|||||||
%patch15 -p1 -b .make_md5_defaults
|
%patch15 -p1 -b .make_md5_defaults
|
||||||
%patch16 -p1 -b .db4.5
|
%patch16 -p1 -b .db4.5
|
||||||
%patch17 -p1 -b .makeinstallfix
|
%patch17 -p1 -b .makeinstallfix
|
||||||
|
%patch18 -p1 -b .krb4
|
||||||
# fixed upstream
|
# fixed upstream
|
||||||
#%patch100 -p1 -b .make_md5
|
#%patch100 -p1 -b .make_md5
|
||||||
# fixed upstream
|
# fixed upstream
|
||||||
@ -286,6 +289,7 @@ if pkg-config openssl; then
|
|||||||
CFLAGS="$(pkg-config --cflags openssl) $CFLAGS"; export CFLAGS
|
CFLAGS="$(pkg-config --cflags openssl) $CFLAGS"; export CFLAGS
|
||||||
LDFLAGS="$(pkg-config --libs-only-L openssl) $LDFLAGS"; export LDFLAGS
|
LDFLAGS="$(pkg-config --libs-only-L openssl) $LDFLAGS"; export LDFLAGS
|
||||||
fi
|
fi
|
||||||
|
CPPFLAGS="-I%{_includedir}/kerberosIV $CPPFLAGS"; export CPPFLAGS
|
||||||
CCDLFLAGS="-rdynamic"; export CCDLFLAGS
|
CCDLFLAGS="-rdynamic"; export CCDLFLAGS
|
||||||
%if %{USEPIE}
|
%if %{USEPIE}
|
||||||
%ifnarch ppc ppc64
|
%ifnarch ppc ppc64
|
||||||
@ -319,7 +323,8 @@ LDFLAGS="$LDFLAGS -pie"; export LDFLAGS
|
|||||||
--with-service-path=%{_cyrexecdir} \
|
--with-service-path=%{_cyrexecdir} \
|
||||||
--with-bdb-incdir=%{_includedir}/%{_dbver} \
|
--with-bdb-incdir=%{_includedir}/%{_dbver} \
|
||||||
--with-extraident="Invoca-RPM-%{version}-%{release}" \
|
--with-extraident="Invoca-RPM-%{version}-%{release}" \
|
||||||
--with-syslogfacility=%{SYSLOGFACILITY}
|
--with-syslogfacility=%{SYSLOGFACILITY} \
|
||||||
|
--with-krbimpl=mit
|
||||||
|
|
||||||
%{__make} -C man -f Makefile.dist
|
%{__make} -C man -f Makefile.dist
|
||||||
%{__make} -C doc -f Makefile.dist
|
%{__make} -C doc -f Makefile.dist
|
||||||
@ -810,6 +815,9 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 24 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.7-8
|
||||||
|
- compile with kerberos support
|
||||||
|
|
||||||
* Wed Jan 24 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.7-7
|
* Wed Jan 24 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.7-7
|
||||||
- fixed Makefile typo (caused multiarch conflict)
|
- fixed Makefile typo (caused multiarch conflict)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user