rpms/mcrypt/F-7 mcrypt-rfc2440-bugfixes.patch, NONE, 1.1 mcrypt.spec, 1.4, 1.5 sources, 1.2, 1.3

Tom Callaway (spot) fedora-extras-commits at redhat.com
Mon Dec 17 11:53:01 UTC 2007


Author: spot

Update of /cvs/extras/rpms/mcrypt/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4435/F-7

Modified Files:
	mcrypt.spec sources 
Added Files:
	mcrypt-rfc2440-bugfixes.patch 
Log Message:

Update to 2.6.7
License change to GPLv3+
Fix rfc2440 bugs


mcrypt-rfc2440-bugfixes.patch:

--- NEW FILE mcrypt-rfc2440-bugfixes.patch ---
diff -up mcrypt-2.6.7/src/rfc2440.c.BAD mcrypt-2.6.7/src/rfc2440.c
--- mcrypt-2.6.7/src/rfc2440.c.BAD	2007-12-17 06:37:19.000000000 -0500
+++ mcrypt-2.6.7/src/rfc2440.c	2007-12-17 06:38:22.000000000 -0500
@@ -405,7 +405,7 @@ length_decode(const uchar *buf, int pos,
         len += (buf[pos+1] + 192);
     }
     else if (buf[pos] == 255) {
-        len += (buf[pos+1] << 24);
+        len = (buf[pos+1] << 24);
         len += (buf[pos+2] << 16);
         len += (buf[pos+3] << 8);
         len += buf[pos+4];
@@ -662,7 +662,7 @@ symkey_enc_encode(const DEK *dek)
 {
     USTRING result;
     int pos = 0;
-    uchar buf[13];
+    uchar buf[15];
 
     assert(dek->keylen > 0);
 


Index: mcrypt.spec
===================================================================
RCS file: /cvs/extras/rpms/mcrypt/F-7/mcrypt.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mcrypt.spec	24 Aug 2007 14:42:44 -0000	1.4
+++ mcrypt.spec	17 Dec 2007 11:52:21 -0000	1.5
@@ -1,12 +1,12 @@
 Name:		mcrypt
-Version:	2.6.4
-Release:	3%{?dist}
-License:	GPLv2+
+Version:	2.6.7
+Release:	1%{?dist}
+License:	GPLv3+
 Group:		Applications/System
 Summary:	Replacement for crypt()
 URL:		http://mcrypt.sourceforge.net/
 Source0:	http://download.sourceforge.net/mcrypt/mcrypt-%{version}.tar.gz
-Patch0:		mcrypt-2.6.4-destdirfix.patch
+Patch0:		mcrypt-rfc2440-bugfixes.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libmcrypt-devel, mhash-devel, gettext, zlib-devel
 
@@ -40,6 +40,17 @@
 %{_mandir}/man1/*
 
 %changelog
+* Mon Dec 17 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2.6.7-1
+- 2.6.7
+- fix bugs in rfc2440.c (resolves bugzilla 418481)
+
+* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2.6.6-2
+- rebuild for ppc32, license fix
+
+* Thu Jul 19 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2.6.6-1
+- bump to 2.6.6
+- destdir patch obsoleted upstream
+
 * Tue Sep 12 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.6.4-3
 - bump for FC-6
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mcrypt/F-7/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	28 Sep 2005 16:33:20 -0000	1.2
+++ sources	17 Dec 2007 11:52:21 -0000	1.3
@@ -1 +1 @@
-5a011846fd0f166428c8d97359aaa6b3  mcrypt-2.6.4.tar.gz
+ca202566d1a336a87266021e97563c81  mcrypt-2.6.7.tar.gz




More information about the fedora-extras-commits mailing list