From owner-freebsd-ports Thu Dec 13 17: 0:24 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CB38637B41C for ; Thu, 13 Dec 2001 17:00:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBE100K03848; Thu, 13 Dec 2001 17:00:00 -0800 (PST) (envelope-from gnats) Received: from utopia.leeym.com (utopia.leeym.com [211.72.162.194]) by hub.freebsd.org (Postfix) with ESMTP id 81BB037B41D for ; Thu, 13 Dec 2001 16:54:07 -0800 (PST) Received: by utopia.leeym.com (Postfix, from userid 1000) id DF8E7C3B00; Fri, 14 Dec 2001 08:53:59 +0800 (CST) Message-Id: <20011214005359.DF8E7C3B00@utopia.leeym.com> Date: Fri, 14 Dec 2001 08:53:59 +0800 (CST) From: Yen-Ming Lee Reply-To: Yen-Ming Lee To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32821: update port: mail/ricochet (bug fix) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32821 >Category: ports >Synopsis: update port: mail/ricochet (bug fix) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Dec 13 17:00:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 4.4-STABLE FreeBSD 4.4-STABLE #54: Sun Nov 25 08:19:18 CST 2001 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: change -f to -d in patchfile. bump PORTREVISION >How-To-Repeat: >Fix: diff -ruN --exclude CVS /usr/ports/mail/ricochet/Makefile ricochet/Makefile --- /usr/ports/mail/ricochet/Makefile Mon Oct 15 19:37:29 2001 +++ ricochet/Makefile Fri Dec 14 08:51:09 2001 @@ -7,6 +7,7 @@ PORTNAME= ricochet PORTVERSION= 0.97 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://vipul.net/perl/sources/spamcontrol/ricochet/ diff -ruN --exclude CVS /usr/ports/mail/ricochet/files/patch-ricochet ricochet/files/patch-ricochet --- /usr/ports/mail/ricochet/files/patch-ricochet Mon Oct 15 19:37:30 2001 +++ ricochet/files/patch-ricochet Tue Sep 25 11:03:14 2001 @@ -5,7 +5,7 @@ sub initialize { my $self = shift; - my $rc = "$ENV{RICOCHET}" || "$ENV{HOME}/.ricochet"; $rc .= "/ricochetrc"; -+ my $rc = "$ENV{RICOCHET}" || -f "$ENV{HOME}/.ricochet" ? "$ENV{HOME}/.ricochet" : "%%PREFIX%%/share/ricochet"; ++ my $rc = "$ENV{RICOCHET}" || -d "$ENV{HOME}/.ricochet" ? "$ENV{HOME}/.ricochet" : "%%PREFIX%%/share/ricochet"; + $rc .= "/ricochetrc"; Carp::croak "** Ricochet configuration file $rc doesn't exist. Aborting.\n" unless -e $rc; open (RC, $rc); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message