Google Groups Home
Help | Sign in
A misfeature in libnet-1.20 (Net::Cmd, Net::SMTP)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mark Martinec  
View profile  
 More options Feb 8 2007, 9:04 pm
Newsgroups: mailing.unix.amavis-user
From: Mark.Martinec+ama...@ijs.si (Mark Martinec)
Date: Fri, 9 Feb 2007 10:04:47 +0800 (CST)
Local: Thurs, Feb 8 2007 9:04 pm
Subject: [AMaViS-user] A misfeature in libnet-1.20 (Net::Cmd, Net::SMTP)
The Perl module 'libnet' (implementing Net::SMTP, Net::Cmd)
has recently been upgraded from 1.19 to 1.20
(also known as port net/p5-Net in FreeBSD ports collection).

It unwarrantedly attempts to convert 8-bit characters
to UTF-8 without considering a declared MIME type.

See a bug report in CPAN:
  http://rt.cpan.org/Public/Bug/Display.html?id=24835

Please stay away from libnet-1.20 until the problem
is fixed, or apply the following simple patch to one
of its files:

--- Net/Cmd.pm~ Fri Oct 27 13:08:07 2006
+++ Net/Cmd.pm  Thu Feb  8 17:32:52 2007
@@ -22,6 +22,4 @@
 }

-my $doUTF8 = eval { require utf8 };
-
 $VERSION = "2.27";
 @ISA     = qw(Exporter);
@@ -395,6 +393,4 @@
  my $arr = @_ == 1 && ref($_[0]) ? $_[0] : \@_;
  my $line = join("" ,@$arr);
-
- utf8::encode($line) if $doUTF8;

  return 0 unless defined(fileno($cmd));

Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-u...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
franck.lepre...@gmail.com  
View profile  
 More options Mar 19 2007, 10:13 am
Newsgroups: mailing.unix.amavis-user
From: franck.lepre...@gmail.com
Date: 19 Mar 2007 07:13:15 -0700
Local: Mon, Mar 19 2007 10:13 am
Subject: Re: A misfeature in libnet-1.20 (Net::Cmd, Net::SMTP)
On 9 fév, 03:04, Mark.Martinec+ama...@ijs.si (Mark Martinec) wrote:

thank you very much for this patch.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
vah...@gmail.com  
View profile  
 More options Mar 24 2007, 12:38 pm
Newsgroups: mailing.unix.amavis-user
From: vah...@gmail.com
Date: 24 Mar 2007 09:38:18 -0700
Local: Sat, Mar 24 2007 12:38 pm
Subject: Re: A misfeature in libnet-1.20 (Net::Cmd, Net::SMTP)
On Feb 9, 4:04 am, Mark.Martinec+ama...@ijs.si (Mark Martinec) wrote:

Hi

applying this patch (copy-pasted from the post to a file) with:

cd /usr/lib/perl5/5.8.5
patch -p0 < /root/patchfile

gives me this message:

   Hunk #1 FAILED at 22.
   1 out of 1 hunk FAILED -- saving rejects to file Net/Cmd.pm.rej
   missing header for unified diff at line 11 of patch
   (Patch is indented 1 space.)
   can't find file to patch at input line 11
   Perhaps you used the wrong -p or --strip option?
   The text leading up to this was:
   --------------------------
   | @ISA     = qw(Exporter);
   --------------------------
   File to patch:

Am I doing something wrong here? (using CentOS 4.4)

Vahur


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
vah...@gmail.com  
View profile  
 More options Mar 24 2007, 12:59 pm
Newsgroups: mailing.unix.amavis-user
From: vah...@gmail.com
Date: 24 Mar 2007 09:59:11 -0700
Local: Sat, Mar 24 2007 12:59 pm
Subject: Re: A misfeature in libnet-1.20 (Net::Cmd, Net::SMTP)
On Mar 24, 6:38 pm, vah...@gmail.com wrote:

Soleved it by removing the lines manually from the Cmd.pm file. But I
still cannot see why the patch didn't work :(

Vahur


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google