summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-08-15 07:23:57 +0000
committerEray Aslan <eras@gentoo.org>2011-08-15 07:23:57 +0000
commit88ec1b6e91ad78e7952482b849c4b9e85359c2bf (patch)
tree0859c03d56c4c71ab5d47943a5b0555963ede502 /mail-filter
parentVersion bump. (diff)
downloadhistorical-88ec1b6e91ad78e7952482b849c4b9e85359c2bf.tar.gz
historical-88ec1b6e91ad78e7952482b849c4b9e85359c2bf.tar.bz2
historical-88ec1b6e91ad78e7952482b849c4b9e85359c2bf.zip
Fix segfault in reformime on some arches - bug #379101
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/maildrop/ChangeLog6
-rw-r--r--mail-filter/maildrop/Manifest23
-rw-r--r--mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch14
-rw-r--r--mail-filter/maildrop/maildrop-2.5.4.ebuild3
4 files changed, 37 insertions, 9 deletions
diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog
index a9d8a24af5c3..f247e15d125a 100644
--- a/mail-filter/maildrop/ChangeLog
+++ b/mail-filter/maildrop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/maildrop
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.115 2011/08/09 12:53:36 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.116 2011/08/15 07:23:57 eras Exp $
+
+ 15 Aug 2011; Eray Aslan <eras@gentoo.org> maildrop-2.5.4.ebuild,
+ +files/maildrop-2.5.4-reformime.patch:
+ Fix segfault in reformime on some arches - bug #379101
09 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> maildrop-2.5.4.ebuild:
ppc/ppc64 stable wrt #376563
diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest
index 5b03249d376b..3a85557a5d50 100644
--- a/mail-filter/maildrop/Manifest
+++ b/mail-filter/maildrop/Manifest
@@ -4,6 +4,7 @@ Hash: SHA256
AUX maildrop-1.8.1-disable-fam.patch 2511 RMD160 3fc7bf21d425c6e676475458c99a5ed2d4e93469 SHA1 7b6148b485bbc0379fa849a8af2706b93ea22432 SHA256 e4621bbe990d7a90d703e7a8b8cf07bb59655a22a96e62c275352d28c79684a3
AUX maildrop-2.2.0-db4.patch 2509 RMD160 15d213da460130f30cdfae26686883f127dd20c9 SHA1 2a46020bd957c198306acbb695d9b92ac3c48282 SHA256 d42b04c4d8557d2c82f9dea6f176b3cd935c839bcc2ccc2212f0356cf42edecb
AUX maildrop-2.5.1-db.patch 2498 RMD160 c39895d8df8cad8fa1a5a82657d115bb950c30af SHA1 1c7f5a3c1eae47186684a6833b3653710119bccb SHA256 9740a68669d31e7b7a234f0ddeec8604bd72dff63006ebd98018e955d94d5f8c
+AUX maildrop-2.5.4-reformime.patch 452 RMD160 fc57a8ffd2be28dbb5b58a3fed3f628d45fb7ff8 SHA1 c8d0c4c8206c1cd5130dd4fc368257cb9b04f727 SHA256 c2196375c5b760eb8b23ea63bd2874a6548eabd53ce51cce08bf89b724a61897
AUX maildrop-testsuite.patch 2141 RMD160 3011d0fcef89cb5ca1b2e566c85b3f95a0daee5b SHA1 b7002eb05132a6dde2e5561f3437f59f5fdd0322 SHA256 ab1fc5d152bf59a1063ea51a3a25e68b0ba096c6a8842fddb7d9f2fd735c3ec2
AUX maildroprc 58 RMD160 1d53d6c05cb809bb9d637ae347d9dee1362f1b09 SHA1 a2fd605991606a3bf89296f2d3f3a5f7a7327aba SHA256 2feec7b63d9b3fae442ddab96810929ce4080871c31a1f23401cd3b61d00add1
DIST maildrop-2.4.2.tar.bz2 2413925 RMD160 8f7a93ab242ea83f7c9cc07abd13c0e3acae52f0 SHA1 191f580cc05a4935d9061514017713f025437c73 SHA256 e020bfebb8287ff81f9d8668e871c3c252c0e6f2a7d3c5ec21e8377131635303
@@ -14,15 +15,23 @@ EBUILD maildrop-2.4.2-r1.ebuild 3150 RMD160 8c362e9cb8e4092301b4d157df223e4de43c
EBUILD maildrop-2.4.2.ebuild 2843 RMD160 949aa62027ded33663700dea267b60c3e9094f37 SHA1 04a8fe51df3bccd3cc21381a1785f34633721d00 SHA256 3780da207704b88d6fe75e049aa34a3746bded8a328427dabc2e1d20961686e8
EBUILD maildrop-2.5.1.ebuild 2891 RMD160 32c81f58c8a46dc388487c006aeaf3b28e217a65 SHA1 872e7718a1260efb0bee45543fa19a65604f33da SHA256 b7ab48048d48ac1d7988fbe0691aa2aa7891067fc71ecf80c76f51cf1ad456a9
EBUILD maildrop-2.5.3.ebuild 2978 RMD160 c4f9f698af140adabd1afdc5fab3bac62165535e SHA1 a1ce6c7183da491271316691e0d030d2ff3337af SHA256 9819725773e66a16be7838353fc5abc52a979f2f3e6e35c6309dd912f159e747
-EBUILD maildrop-2.5.4.ebuild 3749 RMD160 7394124a200836517929fda2d739145a6367cea5 SHA1 de43ddb94d3aae95c22826a92944b19b453cbce5 SHA256 4cd9645597c20e7d2da87b7147298724a0e17348a9dda37690c50ed2887fd9b7
-MISC ChangeLog 22170 RMD160 f0d0607720ad5120fdcf1b9af6e4596b41c553f1 SHA1 8c9917f585ace68ee2c6c924845f611836d643f3 SHA256 63bbdf8cda539fde6aa1da44cfb85d52e833feb75fb73b3e20ffc963906b1e77
+EBUILD maildrop-2.5.4.ebuild 3786 RMD160 36e9acb937e50d4303e9035090b458ce9a3c9e04 SHA1 7df057a5d0a03c903171dd1b6d4a6a0f7fc8f01e SHA256 da2211d569b33d5bdf0ae413bd46be03b2078d4e6c5ad5bc53082859389e23c2
+MISC ChangeLog 22330 RMD160 d6a57f2eb8d2d04304999adbcc41756194bc5a4f SHA1 3c02aae8c856d20528f2c8fd075b308059d35a73 SHA256 e77e4aabe1dcdd005dac56b8774bde6c3872ccef808b4ecdebdcf7c628d4f0df
MISC metadata.xml 313 RMD160 a54c7c17c1fb1708ba9987cdad3e1f91bafd5e7e SHA1 c030dc401f831ea71224dbec6685200e34798962 SHA256 8e4845f749808afe7959162a14069b0eb59436401ee3a2ed8661a3bdc18fb5fe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQEIAAYFAk5BLd4ACgkQIiMqcbOVdxTHyAP/dOqxCd+smImqqxuXv3lZU/8S
-Obb3Qzvf7U7EtEfnw+mBKHN/qqCPGxYnGAqJ30WRp47QACuoVG0qVcHOWD+ikaqE
-aATv/yJwDPow/bSWIChHVKB1Muy3Zk++jA2NdJQGiPaMXpiyDHAyjq3psrn3vcDm
-W/tD4DF0T2Ki7p6QoLk=
-=dpWm
+iQIcBAEBCAAGBQJOSMmbAAoJEHfx8XVYajsfj+gQAJSKtq2WUA4t76t5TjTzM5vz
+ygdGYloMUQ0O0Kve9V4RIqW//wymiBv9isIOarskAwca3BXdRK0bMjo4HJ0FRow9
+FH7h3t3fl1O+Eu3YaRI0kjEj3gmvQtdZpQUfmEHWQxYTdnmxyncXFCVypLxaQob5
+nQAyBHjwgqmDwnlDrGk3w7SS7ht1v7uyaoUlGOps21yN/Sw6htma5j5DUXorjBvj
+74BFstXHurlQ2xSILNJkJhfU4D9wX/MH7Epbvd1/5O/jXxW5owawvohWHxG7WH8i
+FtDBkVyNdyRH7oB57Towa4tGE0dcdq476N1ogTWyWofkPU0wohi9HshZJtoMdKLa
+zMHGSU+BPiSOAk4xExbqSoRTW9S4VdxmxrxPFRD02iiMVatiZ3cLw7BcGjvBv0rD
+vJLDeXF30FuM4CLf7NVc3oLIuXDjvruV6ufOqYUiRP5SW2IIsk2FSLqpwbyov1c8
+X+/Tkrl8h93EwcmFsQIeIafU0weOfABWllZ+mZD8PaHl8I2KJGZBSetIOk/u6wTl
+fe0KHsn7LvylFeos4vygmuBblMLQMuiPK/t5LznkEmlm5Otf/2/ca9uNbHh8B23n
+P7mzDEO2XfjTT4MJP4PWN8R8DGLZWk3vFdJWVfI1zJ9u4xNSnJ8HefRJIPuEehNW
+4yqkghn907SUf7MxKKet
+=LLf5
-----END PGP SIGNATURE-----
diff --git a/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch b/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch
new file mode 100644
index 000000000000..4eb24a4a2d18
--- /dev/null
+++ b/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch
@@ -0,0 +1,14 @@
+some arches put argv into readonly memory - bug #379101
+Index: rfc2045/reformime.c
+===================================================================
+--- rfc2045/reformime.c (revision 102)
++++ rfc2045/reformime.c (working copy)
+@@ -996,7 +996,7 @@
+ case 's':
+ if (!optarg && argn < argc)
+ optarg=argv[argn++];
+- if (optarg && *optarg) section=optarg;
++ if (optarg && *optarg) section=strdup(optarg);
+ break;
+ case 'i':
+ doinfo=1;
diff --git a/mail-filter/maildrop/maildrop-2.5.4.ebuild b/mail-filter/maildrop/maildrop-2.5.4.ebuild
index bda05dee0eb3..254ccd7f9b74 100644
--- a/mail-filter/maildrop/maildrop-2.5.4.ebuild
+++ b/mail-filter/maildrop/maildrop-2.5.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.5.4.ebuild,v 1.8 2011/08/09 12:53:36 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.5.4.ebuild,v 1.9 2011/08/15 07:23:57 eras Exp $
EAPI=4
@@ -62,6 +62,7 @@ src_prepare() {
's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \
"${S}"/maildrop/configure.in || die "sed failed"
epatch "${FILESDIR}"/${PN}-testsuite.patch
+ epatch "${FILESDIR}/${P}-reformime.patch"
eautoreconf
}