Compare commits

...
Sign in to create a new pull request.

21 commits

Author SHA1 Message Date
Rex Dieter
6a2dc15831 Merge branch 'el6' into el5 2014-07-21 08:52:33 -05:00
Rex Dieter
fef03e379d move scriptlets near matching %%files sections 2014-07-21 08:51:36 -05:00
e17b409ec5 Merge remote-tracking branch 'origin/el6' into el5 2011-08-02 23:55:54 -05:00
906363bdc7 backport 2007f fix for mac os x lion compatibility 2011-08-02 23:15:06 -05:00
f95f3140e0 unused patch 2011-08-02 23:08:09 -05:00
66d0861055 Revert "imap-2007f"
This reverts commit 31c5aaa8b1.
2011-08-02 23:07:56 -05:00
b1cad16c6f Merge remote-tracking branch 'origin/el6' into el5
Conflicts:
	.gitignore
	branch
	sources
	uw-imap.spec
2011-08-02 22:39:47 -05:00
Fedora Release Engineering
c3a75afd99 dist-git conversion 2010-07-29 13:19:37 +00:00
Bill Nottingham
debb1304ae Fix typo that causes a failure to update the common directory. (releng #2781) 2009-11-26 01:16:58 +00:00
30f05bf337 sync w/EL-4 branch 2009-08-31 14:50:04 +00:00
ecfbef4afa * Mon Aug 31 2009 Rex Dieter <rdieter@fedoraproject.org>
- omit -devel, -static bits in EPEL builds (#518885)
2009-08-31 14:26:44 +00:00
472285de16 * Fri Dec 19 2008 Rex Dieter <rdieter@fedoraproject.org> 2007e-1
- imap-2007e
2008-12-19 19:27:44 +00:00
eabb2aee0d * Fri Oct 31 2008 Rex Dieter <rdieter@fedoraproject.org> 2007d-1
- imap-2007d
2008-10-31 18:17:07 +00:00
cc66f9dad1 * Fri Jun 13 2008 Rex Dieter <rdieter@fedoraproject.org> 2007b-1
- imap-2007b
2008-06-13 14:36:29 +00:00
2432c3f87c -devel: Conflicts: libc-client-devel (rhel) 2008-03-21 13:43:01 +00:00
c48006f927 fix pooched logic for rhel builds (mostly don't obsolete/upgrade rhel pkgs) 2008-03-21 12:41:58 +00:00
6267840aec sync w/devel (for imap-2007a1) 2008-03-21 12:22:33 +00:00
49b7f4121e * Fri Nov 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006k-1
- imap-2006k (final)
2007-11-10 02:50:49 +00:00
Warren Togami
f1ac4ff3c2 Initialize branch EL-5 for uw-imap 2007-04-25 19:26:44 +00:00
3a2b6663ef * Mon Apr 2 2007 Joe Orton <jorton@redhat.com> 2006g-2
- use $RPM_OPT_FLAGS during build

* Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006g-1
- imap-2006g
2007-04-03 17:02:23 +00:00
6bb640d128 * Fri Jan 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006e-2
- use /etc/profile.d/krb5-devel.sh

* Fri Jan 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2006e-1
- imap-2006e
2007-01-30 19:04:18 +00:00
5 changed files with 29 additions and 26 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/imap-2007f.tar.gz
imap-2007e.tar.gz

View file

@ -1,12 +0,0 @@
--- imap-2001a/src/c-client/rfc822.c.overflow Wed Apr 17 22:39:13 2002
+++ imap-2001a/src/c-client/rfc822.c Wed Apr 17 22:40:25 2002
@@ -610,6 +610,9 @@
if (CHR (bs) == '\012'){/* following LF? */
c = SNX (bs); i--; /* yes, slurp it */
}
+ if (!i) /* Make sure we don't get an overflow for */
+ break; /* messages ending on \015 (or the following */
+ /* i-- will cause i to be MAXINT. Not good.) */
case '\012': /* at start of a line, start with -- ? */
if (i-- && ((c = SNX (bs)) == '-') && i-- && ((c = SNX (bs)) == '-')) {
/* see if cookie matches */

12
imap-2007e-osx.patch Normal file
View file

@ -0,0 +1,12 @@
diff -up imap-2007e/src/imapd/imapd.c.osx imap-2007e/src/imapd/imapd.c
--- imap-2007e/src/imapd/imapd.c.osx 2008-11-18 12:46:59.000000000 -0600
+++ imap-2007e/src/imapd/imapd.c 2011-08-02 23:13:44.555693720 -0500
@@ -2141,7 +2141,7 @@ unsigned char *snarf_base64 (unsigned ch
/* must be at least one BASE64 char */
else if (!base64mask[*ret]) return NIL;
else { /* quick and dirty */
- while (base64mask[*s++]); /* scan until end of BASE64 */
+ while (base64mask[*s]) s++; /* scan until end of BASE64 */
if (*s == '=') ++s; /* allow up to two padding chars */
if (*s == '=') ++s;
}

View file

@ -1 +1 @@
2126fd125ea26b73b20f01fcd5940369 imap-2007f.tar.gz
7903800dc2604000016de070e0c55840 imap-2007e.tar.gz

View file

@ -15,8 +15,8 @@
Summary: UW Server daemons for IMAP and POP network mail protocols
Name: uw-imap
Version: 2007f
Release: 1%{?dist}
Version: 2007e
Release: 14%{?dist}
# See LICENSE.txt, http://www.apache.org/licenses/LICENSE-2.0
License: ASL 2.0
@ -64,6 +64,9 @@ Patch5: imap-2007e-overflow.patch
Patch9: imap-2007e-shared.patch
Patch10: imap-2007e-authmd5.patch
Patch11: imap-2007e-system_c_client.patch
# mac os x lion compatibility
# http://mailman2.u.washington.edu/pipermail/imap-uw/2011-July/002838.html
Patch12: imap-2007e-osx.patch
BuildRequires: krb5-devel
BuildRequires: openssl-devel
@ -168,6 +171,7 @@ install -p -m644 %{SOURCE22} imap.pam
%if 0%{?_with_system_libc_client}
%patch11 -p1 -b .system_c_client
%endif
%patch12 -p1 -b .osx
%build
@ -262,6 +266,10 @@ mkdir -p $RPM_BUILD_ROOT%{ssldir}/certs
touch $RPM_BUILD_ROOT%{ssldir}/certs/{imapd,ipop3d}.pem
%clean
rm -rf $RPM_BUILD_ROOT
# FIXME, do on first launch (or not at all?), not here -- Rex
%post
{
@ -289,14 +297,6 @@ done
%postun
/sbin/service xinetd reload > /dev/null 2>&1 || :
%post -n %{imap_libs} -p /sbin/ldconfig
%postun -n %{imap_libs} -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
@ -324,6 +324,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*
%if ! 0%{?_with_system_libc_client}
%post -n %{imap_libs} -p /sbin/ldconfig
%postun -n %{imap_libs} -p /sbin/ldconfig
%files -n %{imap_libs}
%defattr(-,root,root)
%doc LICENSE.txt NOTICE SUPPORT
@ -348,8 +351,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Aug 02 2011 Rex Dieter <rdieter@fedoraproject.org> 2007f-1
- imap-2007f
* Tue Aug 02 2011 Rex Dieter <rdieter@fedoraproject.org> 2007e-14
- backport 2007f fix for mac os x lion compatibility
* Mon Jun 13 2011 Rex Dieter <rdieter@fedoraproject.org> 2007e-13
- _with_system_libc_client option (el6+)