[Frugalware-darcs] frugalware-current: mutt-ng-20070514-1-i686

VMiklos vmiklos at frugalware.org
Fri Jun 8 23:06:19 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070608210337-e2957-7afaa09a4bc39058377abfabdf72236c5559d291.gz;

[mutt-ng-20070514-1-i686
VMiklos <vmiklos at frugalware.org>**20070608210337
 added CVE-2007-2683.diff secfix, closes #2140
 updated version to 1.5.15
 updated patches to 20070514
 no longer fetch the patches on the fly (grrr it did till now..)
 no longer run configure twice
 removed svn from makedepends
] {
addfile ./source/network-extra/mutt-ng/CVE-2007-2683.diff
hunk ./source/network-extra/mutt-ng/CVE-2007-2683.diff 1
+
+# HG changeset patch
+# User Jonathan Smith <https://issues.rpath.com/>
+# Date 1179873167 14400
+# Node ID 736653ce1896d754da5771458af0c6f68c4cf17c
+# Parent 3d1d7f6cf693b610993860b2495fb3f01da97f88
+merge changeset 47d08903b79b: Use signed arithmetic in mutt_gecos_name to avoid an overflow. Closes #2885.
+
+--- a/muttlib.c	Mon Apr 02 15:20:58 2007 -0700
++++ b/muttlib.c	Tue May 22 18:32:47 2007 -0400
+@@ -514,7 +514,7 @@ char *mutt_gecos_name (char *dest, size_
+     if (dest[idx] == '&')
+     {
+       memmove (&dest[idx + pwnl], &dest[idx + 1],
+-	       MAX(destlen - idx - pwnl - 1, 0));
++	       MAX((ssize_t)(destlen - idx - pwnl - 1), 0));
+       memcpy (&dest[idx], pw->pw_name, MIN(destlen - idx - 1, pwnl));
+       dest[idx] = toupper (dest[idx]);
+     }
+
hunk ./source/network-extra/mutt-ng/FrugalBuild 5
-pkgver=20070125
-muttver=1.5.13
+pkgver=20070514
+muttver=1.5.15
hunk ./source/network-extra/mutt-ng/FrugalBuild 13
-makedepends=('tetex' 'libxslt' 'docbook-xml' 'docbook-xsl' 'subversion')
+makedepends=('tetex' 'libxslt' 'docbook-xml' 'docbook-xsl')
hunk ./source/network-extra/mutt-ng/FrugalBuild 17
-up2date="$pkgver"
-source=(http://mutt.kublai.com/nightlies/mutt-$pkgver.tar.gz)
-sha1sums=('ccf520e3aabd095bb93a17872995eebcf83dfbd3')
+up2date="svn log --limit 1 http://bereshit.synflood.at/svn/mutt-patches/trunk|sed -n 's/[^|]*|[^|]*| \([^ ]*\) .*/\1/;s/-//g;2p'"
+source=(ftp://ftp.mutt.org/mutt/devel/mutt-$muttver.tar.gz \
+	http://ftp.frugalware.org/pub/other/sources/mutt-ng/mutt-patches-$pkgver.tar.gz \
+	CVE-2007-2683.diff)
+sha1sums=('1adabf6e07e099bb664c83e3c0100bbbdfec7a9a' \
+          'bb5c208890c8e872912ad76c5b2d8f531858eb22' \
+          '4d458de180b57558c41450992b5d78ce8b3040f0')
hunk ./source/network-extra/mutt-ng/FrugalBuild 27
-	cd $Fsrcdir 
-		svn co http://bereshit.synflood.at/svn/mutt-patches/trunk || Fdie
-	Fcd mutt-${muttver}cvs
-	for muttng in $(cat ../trunk/patches/series | cut -d ' ' -f 1); do
-		Fpatch trunk/patches/${muttng}
+	Fcd mutt-${muttver}
+	for muttng in $(cat ../mutt-patches-$pkgver/patches/series | cut -d ' ' -f 1)
+	do
+		Fpatch mutt-patches-$pkgver/patches/${muttng}
hunk ./source/network-extra/mutt-ng/FrugalBuild 32
-	./prepare || Fdie
+	autoreconf --install --include=m4 || Fdie
}


More information about the Frugalware-darcs mailing list