karsten / rpms / uw-imap

Forked from rpms/uw-imap 6 years ago
Clone
3d87698
3a2b666
# Fedora review: http://bugzilla.redhat.com/166008
3a2b666
6267840
#define beta 1
49b7f41
#define dev .DEV.SNAP-
49b7f41
#define snap 0709171900
6bb640d
6267840
# ship static lib, matches default upstream config
6267840
# as convenience to users, since our hacked shlib can potentially break 
6267840
# abi semi-often
6267840
%define _with_static 1
6267840
3d87698
Summary: UW Server daemons for IMAP and POP network mail protocols
3d87698
Name:	 uw-imap 
6267840
Version: 2007a1
2432c3f
Release: 2%{?dist}.1
004b59f
5e07b04
# See LICENSE.txt, http://www.apache.org/licenses/LICENSE-2.0
49b7f41
License: ASL 2.0 
3d87698
Group: 	 System Environment/Daemons
3d87698
URL:	 http://www.washington.edu/imap/
3d87698
# Old (non-latest) releases live at  ftp://ftp.cac.washington.edu/imap/old/
49b7f41
Source0: ftp://ftp.cac.washington.edu/imap/imap-%{version}%{?beta}%{?dev}%{?snap}.tar.Z
3d87698
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3d87698
3d87698
%define soname    c-client
40dac17
#define somajor   %{version} 
6267840
%define somajor   2007
4e0e696
%define shlibname lib%{soname}.so.%{somajor}
c48006f
%if 0%{?fedora} > 2 || %{?rhel} > 5
6267840
%define imap_libs lib%{soname}
c48006f
%else
c48006f
# rhel (4,5) requires parallel-installable shlib, to not conflict with 
c48006f
# os-provided libc-client
c48006f
%define imap_libs lib%{soname}%{somajor}
c48006f
%endif
3d87698
4e0e696
# FC4+ uses %%_sysconfdir/pki/tls/certs, previous releases used %%_datadir/ssl/certs
a41c9a3
%global sslcerts  %(if [ -d %{_sysconfdir}/pki/tls/certs ]; then echo "%{_sysconfdir}/pki/tls/certs"; else echo "%{_datadir}/ssl/certs"; fi)
3d87698
3d87698
# imap -> uw-imap rename
3d87698
Obsoletes: imap < 1:%{version}
3d87698
7992bad
# new pam setup, using new "include" feature
8575867
Source21: imap.pam
8575867
# legacy/old pam setup, using pam_stack.so
8575867
Source22: imap-legacy.pam
a41c9a3
a41c9a3
Source31: imap-xinetd
8575867
Source32: imaps-xinetd
8575867
Source33: ipop2-xinetd
8575867
Source34: ipop3-xinetd
a41c9a3
Source35: pop3s-xinetd
a41c9a3
6267840
Patch1: imap-2007-paths.patch
49b7f41
# See http://bugzilla.redhat.com/229781 , http://bugzilla.redhat.com/127271
49b7f41
Patch2: imap-2004a-doc.patch
3d87698
Patch5: imap-2001a-overflow.patch
3d87698
Patch9: imap-2002e-shared.patch
3d87698
Patch10: imap-2002e-authmd5.patch
3d87698
3d87698
BuildRequires: krb5-devel
3d87698
BuildRequires: openssl-devel
3d87698
BuildRequires: pam-devel
3d87698
3d87698
# Prereq is shorter than separate Requires, Requires(post), Requires(postun)
3d87698
Prereq: xinetd
3d87698
Requires(post): openssl
3d87698
3d87698
%description
3d87698
The %{name} package provides UW server daemons for both the IMAP (Internet
3d87698
Message Access Protocol) and POP (Post Office Protocol) mail access
3d87698
protocols.  The POP protocol uses a "post office" machine to collect
3d87698
mail for users and allows users to download their mail to their local
3d87698
machine for reading. The IMAP protocol allows a user to read mail on a
3d87698
remote machine without downloading it to their local machine.
3d87698
3d87698
%package -n %{imap_libs} 
3d87698
Summary: UW C-client mail library 
3d87698
Group:	 System Environment/Libraries
8e7d84b
Obsoletes: libc-client2004d < 1:2004d-2
8e7d84b
Obsoletes: libc-client2004e < 2004e-2
3a2b666
Obsoletes: libc-client2004g < 2004g-7
6267840
Obsoletes: libc-client2006 < 2006k-1
c48006f
%if "%{imap_libs}" != "libc-client2007"
6267840
Obsoletes: libc-client2007 < 2007-2
c48006f
%endif
3d87698
%description -n %{imap_libs} 
3d87698
Provides a common API for accessing mailboxes. 
3d87698
3d87698
%package devel
3d87698
Summary: Development tools for programs which will use the UW IMAP library
3d87698
Group: 	 Development/Libraries
3d87698
Requires: %{imap_libs} = %{version}-%{release}
3d87698
# imap -> uw-imap rename
3d87698
Obsoletes: imap-devel < 1:%{version}
c48006f
%if "%{imap_libs}" == "libc-client"
49b7f41
Obsoletes: libc-client-devel < %{version}-%{release}
49b7f41
Provides:  libc-client-devel = %{version}-%{release}
2432c3f
%else
2432c3f
Conflicts: libc-client-devel < %{version}-%{release}
c48006f
%endif
3d87698
%description devel
40dac17
Contains the header files and libraries for developing programs 
3d87698
which will use the UW C-client common API.
3d87698
40dac17
%package static 
7beeeeb
Summary: UW IMAP static library
7beeeeb
Group:   Development/Libraries
7beeeeb
Requires: %{name}-devel = %{version}-%{release}
c48006f
#Provides: libc-client-static = %{version}-%{release}
7beeeeb
Requires: krb5-devel openssl-devel pam-devel
40dac17
%description static 
6267840
Contains static libraries for developing programs 
7beeeeb
which will use the UW C-client common API.
7beeeeb
3d87698
%package utils
3d87698
Summary: UW IMAP Utilities to make managing your email simpler
3d87698
Group: 	 Applications/System 
3d87698
# imap -> uw-imap rename
3d87698
Obsoletes: imap-utils < 1:%{version}
3d87698
%description utils
6267840
This package contains some utilities for managing UW IMAP email,including:
6267840
* dmail : procmail Mail Delivery Module
6267840
* mailutil : mail utility program
6267840
* mtest : C client test program
6267840
* tmail : Mail Delivery Module
6267840
* mlock
6267840
3d87698
3d87698
3d87698
%prep
6267840
#setup -q -n imap-%{version}%{?dev}%{?snap}
6267840
%setup -q -n imap-2007a
3d87698
3d87698
%patch1 -p1 -b .paths
49b7f41
%patch2 -p1 -b .doc
3d87698
3d87698
%patch5 -p1 -b .overflow
3d87698
3d87698
%patch9 -p1 -b .shared
3d87698
%patch10 -p1 -b .authmd5
3d87698
6bb640d
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
a41c9a3
install -p -m644 %{SOURCE21} imap.pam
7992bad
%else
a41c9a3
install -p -m644 %{SOURCE22} imap.pam
7992bad
%endif
3d87698
3d87698
3d87698
%build
3d87698
8e7d84b
# Kerberos setup
6bb640d
test -f %{_sysconfdir}/profile.d/krb5-devel.sh && source %{_sysconfdir}/profile.d/krb5-devel.sh
6bb640d
test -f %{_sysconfdir}/profile.d/krb5.sh && source %{_sysconfdir}/profile.d/krb5.sh
3d87698
GSSDIR=$(krb5-config --prefix)
3d87698
3a2b666
# SSL setup, probably legacy-only, but shouldn't hurt -- Rex
3d87698
export EXTRACFLAGS="$EXTRACFLAGS $(pkg-config --cflags openssl 2>/dev/null)"
3a2b666
# $RPM_OPT_FLAGS
3a2b666
export EXTRACFLAGS="$EXTRACFLAGS $RPM_OPT_FLAGS"
3a2b666
# jorton added these, I'll assume he knows what he's doing. :) -- Rex
3a2b666
export EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
3a2b666
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
3a2b666
export EXTRACFLAGS="$EXTRACFLAGS -Wno-pointer-sign"
3a2b666
%endif
3d87698
6bb640d
echo "y" | \
3d87698
make %{?_smp_mflags} lnp \
3d87698
EXTRACFLAGS="$EXTRACFLAGS" \
3d87698
EXTRALDFLAGS="$EXTRALDFLAGS" \
3d87698
EXTRAAUTHENTICATORS=gss \
3d87698
SPECIALS="GSSDIR=${GSSDIR} LOCKPGM=%{_sbindir}/mlock SSLCERTS=%{sslcerts} SSLDIR=%{_datadir}/ssl SSLINCLUDE=%{_includedir}/openssl SSLLIB=%{_libdir}" \
3d87698
SSLTYPE=unix \
3d87698
CCLIENTLIB=$(pwd)/c-client/%{shlibname} \
3d87698
SHLIBBASE=%{soname} \
3d87698
SHLIBNAME=%{shlibname}
3d87698
# Blank line
3d87698
3d87698
3d87698
%install
3d87698
rm -rf $RPM_BUILD_ROOT
3d87698
7992bad
mkdir -p $RPM_BUILD_ROOT%{_libdir}/
a41c9a3
a41c9a3
%if "%{?_with_static:1}" == "1"
3d87698
install -p -m644 ./c-client/c-client.a $RPM_BUILD_ROOT%{_libdir}/
7992bad
ln -s c-client.a $RPM_BUILD_ROOT%{_libdir}/libc-client.a
a41c9a3
%endif
3d87698
3d87698
install -p -m755 ./c-client/%{shlibname} $RPM_BUILD_ROOT%{_libdir}/
3d87698
ln -s %{shlibname} $RPM_BUILD_ROOT%{_libdir}/lib%{soname}.so
3d87698
7992bad
mkdir -p $RPM_BUILD_ROOT%{_includedir}/imap/
3a2b666
install -m644 ./c-client/*.h $RPM_BUILD_ROOT%{_includedir}/imap/
3d87698
# Added linkage.c to fix (#34658) <mharris>
3a2b666
install -m644 ./c-client/linkage.c $RPM_BUILD_ROOT%{_includedir}/imap/
3a2b666
install -m644 ./src/osdep/tops-20/shortsym.h $RPM_BUILD_ROOT%{_includedir}/imap/
3d87698
6267840
install -p -D -m644 src/imapd/imapd.8 $RPM_BUILD_ROOT%{_mandir}/man8/imapd.8uw
6267840
install -p -D -m644 src/ipopd/ipopd.8 $RPM_BUILD_ROOT%{_mandir}/man8/ipopd.8uw
6267840
3d87698
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
3d87698
install -p -m755 ipopd/ipop{2d,3d} $RPM_BUILD_ROOT%{_sbindir}/
3d87698
install -p -m755 imapd/imapd $RPM_BUILD_ROOT%{_sbindir}/
3d87698
install -p -m755 mlock/mlock $RPM_BUILD_ROOT%{_sbindir}/
3d87698
7992bad
mkdir -p $RPM_BUILD_ROOT%{_bindir}/
3d87698
install -p -m755 dmail/dmail mailutil/mailutil mtest/mtest tmail/tmail $RPM_BUILD_ROOT%{_bindir}/
7992bad
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
3d87698
install -p -m644 src/{dmail/dmail,mailutil/mailutil,tmail/tmail}.1 $RPM_BUILD_ROOT%{_mandir}/man1/
3d87698
7992bad
install -p -m644 -D imap.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/imap
7992bad
install -p -m644 -D imap.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/pop
3d87698
a41c9a3
install -p -m644 -D %{SOURCE31} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/imap
a41c9a3
install -p -m644 -D %{SOURCE32} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/imaps
a41c9a3
install -p -m644 -D %{SOURCE33} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/ipop2
a41c9a3
install -p -m644 -D %{SOURCE34} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/ipop3
a41c9a3
install -p -m644 -D %{SOURCE35} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/pop3s
3d87698
3a2b666
## %ghost'd items 
3a2b666
# *.pem files
7992bad
mkdir -p $RPM_BUILD_ROOT%{sslcerts}/
3d87698
touch $RPM_BUILD_ROOT%{sslcerts}/{imapd,ipop3d}.pem
3a2b666
# c-client.cf
3a2b666
touch $RPM_BUILD_ROOT%{_sysconfdir}/c-client.cf
3d87698
40dac17
6267840
# FIXME -- Rex
3d87698
%post
3d87698
{
3d87698
cd %{sslcerts} &> /dev/null || :
3d87698
for CERT in imapd.pem ipop3d.pem ;do
3d87698
   if [ ! -e $CERT ];then
3d87698
      if [ -e stunnel.pem ];then
3d87698
         cp stunnel.pem $CERT &> /dev/null || :
3d87698
      elif [ -e Makefile ];then
3d87698
         make $CERT << EOF &> /dev/null || :
3d87698
--
3d87698
SomeState
3d87698
SomeCity
3d87698
SomeOrganization
3d87698
SomeOrganizationalUnit
3d87698
localhost.localdomain
3d87698
root@localhost.localdomain
3d87698
EOF
3d87698
      fi
3d87698
   fi
3d87698
done
3d87698
} || :
3d87698
/sbin/service xinetd reload > /dev/null 2>&1 || :
3d87698
3d87698
%postun
3d87698
/sbin/service xinetd reload > /dev/null 2>&1 || :
3d87698
3d87698
%post -n %{imap_libs} -p /sbin/ldconfig
3d87698
3d87698
%postun -n %{imap_libs} -p /sbin/ldconfig
3d87698
3d87698
3d87698
%clean
3d87698
rm -rf $RPM_BUILD_ROOT
3d87698
3d87698
3d87698
%files
45f6deb
%defattr(-,root,root,-)
7992bad
%doc docs/SSLBUILD
e15b347
%config(noreplace) %{_sysconfdir}/pam.d/imap
e15b347
%config(noreplace) %{_sysconfdir}/pam.d/pop
3d87698
%config(noreplace) %{_sysconfdir}/xinetd.d/imap
3d87698
%config(noreplace) %{_sysconfdir}/xinetd.d/ipop2
3d87698
%config(noreplace) %{_sysconfdir}/xinetd.d/ipop3
a41c9a3
# These need to be replaced (ie, can't use %%noreplace), or imaps/pop3s can fail on upgrade
e15b347
# do this in a %trigger or something not here... -- Rex
e15b347
%config(noreplace) %{_sysconfdir}/xinetd.d/imaps
e15b347
%config(noreplace) %{_sysconfdir}/xinetd.d/pop3s
3d87698
%attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{sslcerts}/imapd.pem
3d87698
%attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{sslcerts}/ipop3d.pem
3d87698
%{_mandir}/man8/*
3d87698
%{_sbindir}/ipop2d
3d87698
%{_sbindir}/ipop3d
3d87698
%{_sbindir}/imapd
3d87698
3d87698
%files utils
45f6deb
%defattr(-,root,root,-)
3d87698
%{_bindir}/*
3d87698
%attr(2755, root, mail) %{_sbindir}/mlock
3d87698
%{_mandir}/man1/*
3d87698
40dac17
%files -n %{imap_libs} 
3d87698
%defattr(-,root,root)
5e07b04
%doc LICENSE.txt NOTICE SUPPORT 
3d87698
%doc docs/RELNOTES docs/*.txt
f88062a
%ghost %config(missingok,noreplace) %{_sysconfdir}/c-client.cf
3d87698
%{_libdir}/lib%{soname}.so.*
3d87698
3d87698
%files devel
45f6deb
%defattr(-,root,root,-)
7992bad
%{_includedir}/imap/
7beeeeb
%{_libdir}/lib%{soname}.so
7beeeeb
40dac17
%if "%{?_with_static:1}" == "1"
40dac17
%files static
7beeeeb
%defattr(-,root,root,-)
3d87698
%{_libdir}/c-client.a
3d87698
%{_libdir}/libc-client.a
40dac17
%endif
3d87698
3d87698
3d87698
%changelog
6267840
* Wed Mar 19 2008 Rex Dieter <rdieter@fedoraproject.org> 2007a1-2
6267840
- uw-imap conflicts with cyrus-imapd (#222486)
6267840
6267840
* Wed Mar 19 2008 Rex Dieter <rdieter@fedoraproject.org> 2007a1-1
6267840
- imap-2007a1
6267840
- include static lib
6267840
- utils: update %%description
6267840
6267840
* Thu Mar 13 2008 Rex Dieter <rdieter@fedoraproject.org> 2007a-1
6267840
- imap-2007a
6267840
6267840
* Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 2007-3 
6267840
- respin (gcc43)
6267840
6267840
* Wed Jan 23 2008 Rex Dieter <rdieter@fedoraproject.org> 2007-2
6267840
- Obsoletes: libc-client2006 (#429796)
6267840
- drop libc-client hacks for parallel-installability, fun while it lasted
6267840
6267840
* Fri Dec 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2007-1
6267840
- imap-2007
6267840
6267840
* Tue Dec 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006k-2
6267840
- respin for new openssl
6267840
49b7f41
* Fri Nov 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006k-1
49b7f41
- imap-2006k (final)
49b7f41
49b7f41
* Wed Sep 19 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006k-0.1.0709171900
49b7f41
- imap-2006k.DEV.SNAP-0709171900
49b7f41
49b7f41
* Tue Aug 21 2007 Joe Orton <jorton@redhat.com> 2006j-3
49b7f41
- fix License
49b7f41
49b7f41
* Tue Jul 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006j-2
49b7f41
- imap-2006j2
49b7f41
49b7f41
* Mon Jul 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006j-1
49b7f41
- imap-2006j1
49b7f41
49b7f41
* Wed Jun 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006i-1
49b7f41
- imap-2006i
49b7f41
49b7f41
* Wed May 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006h-1
49b7f41
- imap-2006h
49b7f41
- Obsolete pre-merge libc-client pkgs
49b7f41
49b7f41
* Fri Apr 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006g-3
49b7f41
- imap-2004a-doc.patch (#229781,#127271)
49b7f41
3a2b666
* Mon Apr  2 2007 Joe Orton <jorton@redhat.com> 2006g-2
3a2b666
- use $RPM_OPT_FLAGS during build
3a2b666
3a2b666
* Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006g-1
3a2b666
- imap-2006g
3a2b666
3a2b666
* Wed Feb 07 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006e-3
3a2b666
- Obsoletes: libc-client2004g
3a2b666
- cleanup/simplify c-client.cf handling
3a2b666
6bb640d
* Fri Jan 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006e-2
6bb640d
- use /etc/profile.d/krb5-devel.sh
6bb640d
6bb640d
* Fri Jan 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006e-1
6bb640d
- imap-2006e
6bb640d
6bb640d
* Mon Dec 18 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 2006d-1
6bb640d
- imap-2006d (#220121)
6bb640d
6bb640d
* Wed Oct 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006c1-1
6bb640d
- imap-2006c1
6bb640d
f88062a
* Fri Oct 06 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006b-1
f88062a
- imap-2006b
f88062a
- %%ghost %%config(missingok,noreplace) %%{_sysconfdir}/c-client.cf
f88062a
e15b347
* Fri Oct 06 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006a-6
e15b347
- omit EOL whitespace from c-client.cf
e15b347
e15b347
* Thu Oct 05 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006a-5
e15b347
- %%config(noreplace) all xinetd.d/pam.d bits
e15b347
8575867
* Thu Oct 05 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006a-4
8575867
- eek, pam.d/xinet.d bits were all mixed up, fixed.
8575867
a41c9a3
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006a-3
a41c9a3
- libc-client: move c-client.cf here
a41c9a3
- c-client.cf: +set new-folder-format same-as-inbox
a41c9a3
a41c9a3
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006a-2
a41c9a3
- omit mixproto patch (lvn bug #1184)
a41c9a3
40dac17
* Tue Sep 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006a-1
40dac17
- imap-2006a
40dac17
- omit static lib (for now, at least)
40dac17
7beeeeb
* Mon Sep 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006-4
7beeeeb
- -devel-static: package static lib separately. 
7beeeeb
5e07b04
* Mon Sep 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006-3
5e07b04
- License: Apache 2.0
5e07b04
9843c7e
* Fri Sep 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2006-2
8e7d84b
- imap-2006
8e7d84b
- change default (CREATEPROTO) driver to mix
8e7d84b
- Obsolete old libc-clients
8e7d84b
81c03f1
* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2004g-6 
81c03f1
- fc6 respin
81c03f1
45f6deb
* Fri Aug 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2004g-5
45f6deb
- cleanup, respin for fc6
45f6deb
68c0660
* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> 
c41350f
- fc5: gcc/glibc respin
c41350f
7992bad
* Thu Nov 17 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2004g-4
7992bad
- use pam's "include" feature on fc5
7992bad
- cleanup %%doc handling, remove useless bits
7992bad
6439350
* Thu Nov 17 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2004g-3
6439350
- omit trailing whitespace in default c-client.cf
6439350
48983c6
* Wed Nov 16 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2004g-2 
48983c6
- rebuild for new openssl
48983c6
3d87698
* Mon Sep 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2004g-1
3d87698
- imap-2004g
3d87698
- /etc -> %%_sysconfdir
3d87698
- use %%{?_smp_mflags}
3d87698
3d87698
* Mon Aug 15 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2004e-1
3d87698
- imap-2004e
3d87698
- rename: imap -> uw-imap (yay, we get to drop the Epoch)
3d87698
- sslcerts=%{_sysconfdir}/pki/tls/certs if exists, else /usr/share/ssl/certs
3d87698
3d87698
* Fri Apr 29 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1:2004d-1
3d87698
- 2004d
3d87698
- imap-libs -> lib%%{soname}%%{version} (ie, libc-client2004d), so we can 
3d87698
  have multiple versions (shared-lib only) installed
3d87698
- move mlock to -utils.
3d87698
- revert RFC2301, locks out too many folks where SSL is unavailable
3d87698
3d87698
* Thu Apr 28 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1:2004-0.fdr.11.c1
3d87698
- change default driver from mbox to mbx
3d87698
- comply with RFC 3501 security: Unencrypted plaintext passwords are prohibited
3d87698
3d87698
* Fri Jan 28 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1:2004-0.fdr.10.c1
3d87698
- imap-2004c1 security release:
3d87698
  http://www.kb.cert.org/vuls/id/702777
3d87698
3d87698
* Thu Jan 20 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1:2004-0.fdr.9.c
3d87698
- imap2004c
3d87698
- -utils: dmail,mailutil,tmail
3d87698
- -libs: include mlock (so it's available for other imap clients, like pine)
3d87698
- remove extraneous patches
3d87698
- %%_sysconfigdir/c-client.cf: use to set MailDir (but don't if upgrading from
3d87698
  an older version (ie, if folks don't want/expect a change in behavior)
3d87698
3d87698
* Mon Sep 13 2004 Rex Dieter 
3d87698
- don't use mailsubdir patch (for now)
3d87698
3d87698
* Wed Aug 11 2004 Rex Dieter <rexdieter at sf.net> 1:2004-0.fdr.7.a
3d87698
- mailsubdir patch (default to ~/Mail instead of ~)
3d87698
3d87698
* Fri Jul 23 2004 Rex Dieter <rexdieter at sf.net> 1:2004-0.fdr.6.a
3d87698
- remove Obsoletes/Provides: libc-client (they can, in fact, co-xist)
3d87698
- -devel: remove O/P: libc-client-devel -> Conflicts: libc-client-devel
3d87698
3d87698
* Thu Jul 16 2004 Rex Dieter <rexdieter at sf.net> 1:2004-0.fdr.5.a
3d87698
- imap2004a
3d87698
3d87698
* Tue Jul 13 2004 Rex Dieter <rexdieter at sf.net> 1:2004-0.fdr.4
3d87698
- -devel: Req: %%{name}-libs
3d87698
3d87698
* Tue Jul 13 2004 Rex Dieter <rexdieter at sf.net> 1:2004-0.fdr.3
3d87698
- previous imap pkgs had Epoch: 1, we need it too.
3d87698
3d87698
* Wed Jul 07 2004 Rex Dieter <rexdieter at sf.net> 2004-0.fdr.2
3d87698
- use %%version as %%somajver (like how openssl does it)
3d87698
3d87698
* Wed Jul 07 2004 Rex Dieter <rexdieter at sf.net> 2004-0.fdr.1
3d87698
- imap-2004
3d87698
- use mlock, if available.
3d87698
- Since libc-client is an attrocious name choice, we'll trump it, 
3d87698
  and provide imap, imap-libs, imap-devel instead (redhat bug #120873)
3d87698
3d87698
* Wed Apr 07 2004 Kaj J. Niemi <kajtzu@fi.basen.net> 2002e-4
3d87698
- Use CFLAGS (and RPM_OPT_FLAGS) during the compilation
3d87698
- Build the .so through gcc instead of directly calling ld 
3d87698
3d87698
* Fri Mar  5 2004 Joe Orton <jorton@redhat.com> 2002e-3
3d87698
- install .so with permissions 0755
3d87698
- make auth_md5.c functions static to avoid symbol conflicts
3d87698
- remove Epoch: 0
3d87698
3d87698
* Tue Mar 02 2004 Kaj J. Niemi <kajtzu@fi.basen.net> 0:2002e-2
3d87698
- "lnp" already uses RPM_OPT_FLAGS
3d87698
- have us conflict with imap, imap-devel
3d87698
3d87698
* Tue Mar  2 2004 Joe Orton <jorton@redhat.com> 0:2002e-1
3d87698
- add post/postun, always use -fPIC
3d87698
3d87698
* Tue Feb 24 2004 Kaj J. Niemi <kajtzu@fi.basen.net>
3d87698
- Name change from c-client to libc-client
3d87698
3d87698
* Sat Feb 14 2004 Kaj J. Niemi <kajtzu@fi.basen.net> 0:2002e-0.1
3d87698
- c-client 2002e is based on imap-2002d
3d87698
- Build shared version, build logic is copied from FreeBSD net/cclient
3d87698