From owner-freebsd-ports Sat Jan 22 13:40: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BADD714F99 for ; Sat, 22 Jan 2000 13:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA90548; Sat, 22 Jan 2000 13:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from area51.fremont.ca.us (adsl-63-195-147-14.dsl.scrm01.pacbell.net [63.195.147.14]) by hub.freebsd.org (Postfix) with ESMTP id 0F7C214FA4 for ; Sat, 22 Jan 2000 13:33:49 -0800 (PST) (envelope-from mharo@area51.fremont.ca.us) Received: (from mharo@localhost) by area51.fremont.ca.us (8.9.3/8.9.3) id NAA38325; Sat, 22 Jan 2000 13:33:48 -0800 (PST) (envelope-from mharo) Message-Id: <200001222133.NAA38325@area51.fremont.ca.us> Date: Sat, 22 Jan 2000 13:33:48 -0800 (PST) From: mharo@area51.fremont.ca.us Reply-To: mharo@area51.fremont.ca.us To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/16305: Upgrade majordomo to 1.94.5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16305 >Category: ports >Synopsis: Upgrade majordomo to 1.94.5 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 22 13:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Michael Haro >Release: FreeBSD 3.1-STABLE i386 >Organization: >Environment: >Description: Changes: - New version (1.94.4 -> 1.94.5) I'm not sure if any of the patches should be removed. make patch works fine though, so I'm assuming that all is well. portlint: 18 warnings, 0 errors patches: 0 new, 0 removed >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/majordomo/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile 1999/08/31 06:47:27 1.20 +++ Makefile 2000/01/22 21:24:47 @@ -1,16 +1,17 @@ # New ports collection makefile for: majordomo -# Version required: 1.94.4 +# Version required: 1.94.5 # Date created: 23 October 1996 # Whom: jfitz@FreeBSD.org # # $FreeBSD: ports/mail/majordomo/Makefile,v 1.20 1999/08/31 06:47:27 mharo Exp $ # -DISTNAME= majordomo-1.94.4 +DISTNAME= majordomo-1.94.5 CATEGORIES= mail -MASTER_SITES= ftp://ftp.sgi.com/other/majordomo/1.94.4/ \ - ftp://ftp-europe.sgi.com/other/majordomo/1.94.4/ -# ftp://ftp.greatcircle.com/pub/majordomo/1.94.3/ \ +MASTER_SITES= ftp://ftp.sgi.com/other/majordomo/1.94.5/ \ + ftp://ftp-europe.sgi.com/other/majordomo/1.94.5/ \ + http://www.greatcircle.com/majordomo/1.94.5/ \ + ftp://ftp.greatcircle.com/pub/majordomo/1.94.5/ EXTRACT_SUFX= .tgz MAINTAINER= jfitz@FreeBSD.org Index: files/md5 =================================================================== RCS file: /home/ncvs/ports/mail/majordomo/files/md5,v retrieving revision 1.6 diff -u -r1.6 md5 --- md5 1997/09/10 02:52:40 1.6 +++ md5 2000/01/22 21:25:21 @@ -1 +1 @@ -MD5 (majordomo-1.94.4.tgz) = c58f51102d87ca271af1d583a7fc8522 +MD5 (majordomo-1.94.5.tgz) = 337b2bbcc866803c6700e403e27390a7 Index: patches/patch-sec1 =================================================================== RCS file: /home/ncvs/ports/mail/majordomo/patches/patch-sec1,v retrieving revision 1.1 diff -u -r1.1 patch-sec1 --- patch-sec1 2000/01/05 09:59:39 1.1 +++ patch-sec1 2000/01/22 21:28:09 @@ -170,42 +170,3 @@ chdir($homedir) || die("Can't chdir(\"$homedir\"): $!"); unshift(@INC, $homedir); ---- resend Mon Jan 3 15:14:49 2000 -+++ resend.new Mon Jan 3 15:16:01 2000 -@@ -56,7 +56,7 @@ - if ($ARGV[0] =~ /^\@/) { - $fn = shift(@ARGV); - $fn =~ s/^@//; -- open(AV, $fn) || die("open(AV, \"$fn\"): $!\nStopped"); -+ sysopen(AV, $fn, O_RDONLY) || die("sysopen(AV, \"$fn\", O_RDONLY): $!\nStopped"); - undef($/); # set input field separator - $av = ; # read whole file into string - close(AV); -@@ -84,11 +84,23 @@ - # Despite not having a place to send the remains of the body, - # it would be nice to send a message to root or postmaster, at least... - # --if (! -r $cf) { -- die("$cf not readable; stopped"); --} - --require "$cf"; -+if (not sysopen CONFIG,$cf,O_RDONLY) -+{ -+ die sprintf qq|Unable to sysopen config file "$cf"%s.\n|,$! ? ": $!" : ''; -+} -+elsif ((stat CONFIG)[4] != $>) -+{ -+ die qq|Config file "$cf" not owned by effective UID.\n|; -+} -+elsif (eval(join '',),$@) -+{ -+ die qq|Unable to eval "$cf": $@.\n|; -+} -+else -+{ -+ close CONFIG; -+} - - chdir($homedir) || die("Can't chdir(\"$homedir\"): $!"); - >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message