1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Update to version 4.0.b2.

Submitted by:	maintainer
This commit is contained in:
Dmitry Sivachenko 2004-02-16 07:15:01 +00:00
parent 46689973af
commit 25a972f6f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101010
5 changed files with 68 additions and 2 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= sympa
PORTVERSION?= 4.0.a8
PORTVERSION?= 4.0.b2
CATEGORIES= mail
MASTER_SITES?= http://www.sympa.org/distribution/

View File

@ -1 +1 @@
MD5 (sympa-4.0.a8.tar.gz) = 1d30040e1774d10372c30cd94abba579
MD5 (sympa-4.0.b2.tar.gz) = 428c1d3f0750296eb161fb28cb9675f1

View File

@ -0,0 +1,12 @@
--- soap/sympa_soap_server.fcgi 2003/11/28 18:16:39
+++ soap/sympa_soap_server.fcgi 2003/12/28 18:16:39
@@ -78,7 +78,7 @@
my $server = SOAP::Transport::HTTP::FCGI::Sympa->new();
#$server->dispatch_with({'urn:Sympa' => 'sympasoap'});
-$server->dispatch_to('/home/sympa/bin','sympasoap');
+$server->dispatch_to('--LIBDIR--','sympasoap');
$server->handle($birthday);

View File

@ -0,0 +1,12 @@
--- src/etc/script/orphan_killer.pl 2003/11/28 18:16:39
+++ src/etc/script/orphan_killer.pl 2003/12/02 16:32:40
@@ -24,7 +24,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-use lib '/home/sympa/bin';
+use lib '--LIBDIR--';
use Conf;
## Change to your wwsympa.conf location

View File

@ -0,0 +1,42 @@
--- wwsympa/wwsympa.fcgi 2003/11/28 18:16:39
+++ wwsympa/wwsympa.fcgi 2003/12/28 18:16:39
@@ -3523,10 +3523,10 @@
close MSG;
$param->{'spool'}{$id}{'size'} = int( (-s "$Conf{'queuemod'}/$msg") / 1024 + 0.5);
- $param->{'spool'}{$id}{'subject'} = &MIME::Words::decode_mimewords($mail->head->get('Subject'));
+ $param->{'spool'}{$id}{'subject'} = &tools::decode_mimewords($mail->head->get('Subject'));
$param->{'spool'}{$id}{'subject'} ||= 'no_subject';
$param->{'spool'}{$id}{'date'} = $mail->head->get('Date');
- $param->{'spool'}{$id}{'from'} = &MIME::Words::decode_mimewords($mail->head->get('From'));
+ $param->{'spool'}{$id}{'from'} = &tools::decode_mimewords($mail->head->get('From'));
foreach my $field ('subject','date','from') {
$param->{'spool'}{$id}{$field} =~ s/</&lt;/;
$param->{'spool'}{$id}{$field} =~ s/>/&gt;/;
@@ -3595,7 +3595,7 @@
unless ($#sender_hdr == -1) {
my $rejected_sender = $sender_hdr[0]->address;
my %context;
- $context{'subject'} = &MIME::Words::decode_mimewords($msg->head->get('subject'));
+ $context{'subject'} = &tools::decode_mimewords($msg->head->get('subject'));
$context{'rejected_by'} = $param->{'user'}{'email'};
$list->send_file('reject', $rejected_sender, $robot, \%context);
}
@@ -4352,7 +4352,7 @@
## Decode subject header fields
foreach my $m (@{$param->{'res'}}) {
- $m->{'subj'} = &MIME::Words::decode_mimewords($m->{'subj'});
+ $m->{'subj'} = &tools::decode_mimewords($m->{'subj'});
}
return 1;
@@ -9020,7 +9020,7 @@
($param->{'local_to'},$param->{'domain_to'}) = split ('@',$param->{'to'});
$param->{'mailto'}= &mailto($list,$param->{'to'});
- $param->{'subject'}= &MIME::Words::encode_mimewords($in{'subject'});
+ $param->{'subject'}= $in{'subject'}; # &tools::encode_mimewords($in{'subject'});
$param->{'in_reply_to'}= $in{'in_reply_to'};
$param->{'message_id'} = &tools::get_message_id($robot);
return 1;