summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2008-10-22 14:37:38 +0000
committerTorsten Veller <tove@gentoo.org>2008-10-22 14:37:38 +0000
commit8dcb9c37247020a151ac65bcb302256a22c6cee8 (patch)
tree67d617eb6dac6ab59ff0a22176af3a6fd754b931 /dev-perl/MIME-Lite
parentTaking over as proxy committer, Matthias Schöffmann is going to be the proxy... (diff)
downloadhistorical-8dcb9c37247020a151ac65bcb302256a22c6cee8.tar.gz
historical-8dcb9c37247020a151ac65bcb302256a22c6cee8.tar.bz2
historical-8dcb9c37247020a151ac65bcb302256a22c6cee8.zip
Add a patch from debian (#243214)
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26-tuxonice i686
Diffstat (limited to 'dev-perl/MIME-Lite')
-rw-r--r--dev-perl/MIME-Lite/ChangeLog6
-rw-r--r--dev-perl/MIME-Lite/MIME-Lite-3.021.ebuild9
-rw-r--r--dev-perl/MIME-Lite/Manifest11
-rw-r--r--dev-perl/MIME-Lite/files/3.021-no_sendmail.patch26
4 files changed, 44 insertions, 8 deletions
diff --git a/dev-perl/MIME-Lite/ChangeLog b/dev-perl/MIME-Lite/ChangeLog
index f338cf9c264f..b82debdb4a15 100644
--- a/dev-perl/MIME-Lite/ChangeLog
+++ b/dev-perl/MIME-Lite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-perl/MIME-Lite
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/MIME-Lite/ChangeLog,v 1.17 2008/10/22 10:22:06 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/MIME-Lite/ChangeLog,v 1.18 2008/10/22 14:37:38 tove Exp $
+
+ 22 Oct 2008; Torsten Veller <tove@gentoo.org>
+ +files/3.021-no_sendmail.patch, MIME-Lite-3.021.ebuild:
+ Add a patch from debian (#243214)
*MIME-Lite-3.021 (22 Oct 2008)
diff --git a/dev-perl/MIME-Lite/MIME-Lite-3.021.ebuild b/dev-perl/MIME-Lite/MIME-Lite-3.021.ebuild
index c942db641877..5d76ec624617 100644
--- a/dev-perl/MIME-Lite/MIME-Lite-3.021.ebuild
+++ b/dev-perl/MIME-Lite/MIME-Lite-3.021.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/MIME-Lite/MIME-Lite-3.021.ebuild,v 1.1 2008/10/22 10:22:06 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/MIME-Lite/MIME-Lite-3.021.ebuild,v 1.2 2008/10/22 14:37:38 tove Exp $
MODULE_AUTHOR=RJBS
-inherit perl-module
+inherit perl-module eutils
DESCRIPTION="low-calorie MIME generator"
@@ -18,6 +18,11 @@ DEPEND="dev-lang/perl
dev-perl/MailTools"
#SRC_TEST=do
+src_unpack(){
+ perl-module_src_unpack
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-no_sendmail.patch"
+}
src_install(){
perl-module_src_install
diff --git a/dev-perl/MIME-Lite/Manifest b/dev-perl/MIME-Lite/Manifest
index 89eff03fc625..d3d64bf098b8 100644
--- a/dev-perl/MIME-Lite/Manifest
+++ b/dev-perl/MIME-Lite/Manifest
@@ -1,16 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX 3.021-no_sendmail.patch 713 RMD160 bdc57e1c23f4b3a71a79763c72333585d43bfb36 SHA1 d05f9a55299e8f5e3a67633ff38b5a319905b657 SHA256 309a03a5f8214d098d6fed899adf453f817de72c7a5fd87c06a4d9dbdf54ffb2
DIST MIME-Lite-3.01.tar.gz 49778 RMD160 b080220052eedcee0b59591b48bcccfc31d31da3 SHA1 8c1ce3591bf0b8422b19851f89dd813169d495f3 SHA256 69e394b1e1601fd011451ed160e85e8e66177f999bb2707cbc66633bed67adcc
DIST MIME-Lite-3.021.tar.gz 62656 RMD160 d01f24ecb6d6d154546bedbc73234b3bedf476a4 SHA1 198c0fffa6d29c28bc0bb3c535116bda37def587 SHA256 5d6dcc387a28d5533c481827704b9e33dd187840dc2a0f19c2fc4dba2ab51d50
EBUILD MIME-Lite-3.01.ebuild 688 RMD160 8b7483c84ff9030722b196e9b4b73166e0d98761 SHA1 9dba3a6c617cfdfc9bcb24a216316191ff52c585 SHA256 c6316cc09ccf5761ecde8c6298a910ead4c28801336fae0d944e772946c5862a
-EBUILD MIME-Lite-3.021.ebuild 604 RMD160 4a10ea816f58f9ae2a9807c2a3e77a146029cae6 SHA1 6e60e196c77022727cf4e177d83371985013d373 SHA256 051303fe540ac572cee73993b03a31b1409e546084cd34886afa255a69f16317
-MISC ChangeLog 1939 RMD160 8afe673533fb5947cf730ece4a121bcc0d037ee7 SHA1 ff755b4a4a172279c3d1f6e7d2f74a637b9147f0 SHA256 6924c9a57f8dd16973bb200a496c1a2818d5660d8fba3b9b202610a6751bd97d
+EBUILD MIME-Lite-3.021.ebuild 708 RMD160 a9dcf82527664c855e0c74a53a95ad5a4fa72ef6 SHA1 4d2842114109939d7444fae341e339d93b1a404f SHA256 5d4ae513d3a6bfe1b45e0ba744868dde17f9294b311f8d161b38145b0f427c18
+MISC ChangeLog 2082 RMD160 1b6a9979a89332b20061d136e4d8247a4987e31c SHA1 3024dfce3a037f4ecf0047fcbfafd1a870b42f01 SHA256 910a010aba5fb4d9a1ffea4fde1fc1b36a47f574aea9a69cf2cbfbeef0eb45d8
MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkj+/sEACgkQV3J2n04EauwIrgCfVLzAB+WUiD6dtXnBHFW6KS1D
-nC8AniGIznzazzWfDLBCC18Ztrf1y5gO
-=0SKu
+iEYEARECAAYFAkj/OqUACgkQV3J2n04EauxQHQCdFSkIYZMaKPE6hBCa+/Qton6x
+JE8An2iJPnXno9Ai9nzIYP8smXD/iLvR
+=yY2o
-----END PGP SIGNATURE-----
diff --git a/dev-perl/MIME-Lite/files/3.021-no_sendmail.patch b/dev-perl/MIME-Lite/files/3.021-no_sendmail.patch
new file mode 100644
index 000000000000..3294e7239c4e
--- /dev/null
+++ b/dev-perl/MIME-Lite/files/3.021-no_sendmail.patch
@@ -0,0 +1,26 @@
+--- a/lib/MIME/Lite.pm
++++ b/lib/MIME/Lite.pm
+@@ -401,13 +401,13 @@ if ( $^O =~ /win32/i ) {
+ }
+ }
+ unless (-x $SENDMAIL) {
+- Carp::croak "can't find an executable sendmail"
++ undef $SENDMAIL;
+ }
+ }
+
+ ### Our sending facilities:
+ my %SenderArgs = (
+- sendmail => ["$SENDMAIL -t -oi -oem"],
++ sendmail => [$SENDMAIL ? "$SENDMAIL -t -oi -oem" : undef],
+ smtp => [],
+ sub => [],
+ );
+@@ -2666,6 +2666,7 @@ sub send_by_sendmail {
+ if ( @_ == 1 and !ref $_[0] ) {
+ ### Use the given command...
+ my $sendmailcmd = shift @_;
++ Carp::croak "No sendmail command available" unless $sendmailcmd;
+
+ ### Do it:
+ local *SENDMAIL;